sregistry/main/docker/api.py
def get_manifest_selfLink(self, repo_name, digest=None):
    ''' get a selfLink for the manifest, for use by the client get_manifest
        function, along with the parents pull
 
       Parameters
       ==========
       repo_name: reference to the <username>/<repository>:<tag> to obtain
       digest: a tag or shasum version

    '''
    url = "%s/%s/manifests" % (self.base, repo_name)

    # Add a digest - a tag or hash (version)
    if digest is None:
        digest = 'latest'
    return "%s/%s" % (url, digest)
def get_manifest_selfLink(self, repo_name, digest=None):
    ''' get a selfLink for the manifest, for use by the client get_manifest
        function, along with the parents pull
 
       Parameters
       ==========
       repo_name: reference to the <username>/<repository>:<tag> to obtain
       digest: a tag or shasum version

    '''
    url = "%s/%s/manifests" % (self.base, repo_name)

    # Add a digest - a tag or hash (version)
    if digest is None:
        digest = 'latest'
    return "%s/%s" % (url, digest)
def get_manifest_selfLink ( self , repo_name , digest = None ) : url = "%s/%s/manifests" % ( self . base , repo_name ) # Add a digest - a tag or hash (version) if digest is None : digest = 'latest' return "%s/%s" % ( url , digest )
get a selfLink for the manifest, for use by the client get_manifest
        function, along with the parents pull
 
       Parameters
       ==========
       repo_name: reference to the <username>/<repository>:<tag> to obtain
       digest: a tag or shasum version
get a selfLink for the manifest for use by the client get_manifest function along with the parents pull Parameters ========== repo_name : reference to the <username > / <repository > : <tag > to obtain digest : a tag or shasum version