# Path: subuserlib/classes/userOwnedObject.py
# class UserOwnedObject(object):
#   def __init__(self,user):
#     self.user = user
# 
# Path: subuserlib/classes/describable.py
# class Describable(object):
#   __metaclass__ = abc.ABCMeta
# 
#   @abc.abstractmethod
#   def describe(self):
#     """ Print out a human readable description of the object. """
#     pass


import os
import uuid
import subuserlib.permissions
import subuserlib.docker
import subuserlib.classes.docker.dockerDaemon as dockerDaemon
import subuserlib.classes.exceptions as exceptions
import subuserlib.print
          import subuserlib.resolve
from collections import OrderedDict
from subuserlib.classes.userOwnedObject import UserOwnedObject
from subuserlib.classes.describable import Describable
# -*- coding: utf-8 -*-

"""
Images in subuser are built from ImageSource objects.
"""

#external imports
#internal imports

class ImageSource(UserOwnedObject,Describable):
  def __init__(self,user,repo,name,explicitConfig=None):
    self.name = name
    self.repo = repo
    self.__permissions = None
    self.__explicitConfig = explicitConfig

# Path: subuserlib/classes/userOwnedObject.py
# class UserOwnedObject(object):
#   def __init__(self,user):
#     self.user = user
# 
# Path: subuserlib/classes/describable.py
# class Describable(object):
#   __metaclass__ = abc.ABCMeta
# 
#   @abc.abstractmethod
#   def describe(self):
#     """ Print out a human readable description of the object. """
#     pass


# Path: subuserlib/classes/imageSource.py
import os
import uuid
import subuserlib.permissions
import subuserlib.docker
import subuserlib.classes.docker.dockerDaemon as dockerDaemon
import subuserlib.classes.exceptions as exceptions
import subuserlib.print
          import subuserlib.resolve
from collections import OrderedDict
from subuserlib.classes.userOwnedObject import UserOwnedObject
from subuserlib.classes.describable import Describable

# -*- coding: utf-8 -*-

"""
Images in subuser are built from ImageSource objects.
"""

#external imports
#internal imports

class ImageSource(UserOwnedObject,Describable):
  def __init__(self,user,repo,name,explicitConfig=None):
    self.name = name
    self.repo = repo
    self.__permissions = None
    self.__explicitConfig = explicitConfig

    UserOwnedObject.__init__(self,user)