sregistry/main/docker/__init__.py
def _update_base(self, image):
        ''' update a base based on an image name, meaning detecting a particular
            registry and if necessary, updating the self.base. When the image
            name is parsed, the base will be given to remove the registry.
        '''
        base = None

        # Google Container Cloud
        if "gcr.io" in image:
            base = 'gcr.io'
            self._set_base(default_base=base)
            self._update_secrets()

        return base
def _update_base(self, image):
        ''' update a base based on an image name, meaning detecting a particular
            registry and if necessary, updating the self.base. When the image
            name is parsed, the base will be given to remove the registry.
        '''
        base = None

        # Google Container Cloud
        if "gcr.io" in image:
            base = 'gcr.io'
            self._set_base(default_base=base)
            self._update_secrets()

        return base
def _update_base ( self , image ) : base = None # Google Container Cloud if "gcr.io" in image : base = 'gcr.io' self . _set_base ( default_base = base ) self . _update_secrets ( ) return base
update a base based on an image name, meaning detecting a particular
            registry and if necessary, updating the self.base. When the image
            name is parsed, the base will be given to remove the registry.
update a base based on an image name meaning detecting a particular registry and if necessary updating the self . base . When the image name is parsed the base will be given to remove the registry .