(self, endpoint, imagerepo, tag)
Get list of tags in a repo from Docker Hub
Get list of tags in a repo from Docker Hub
Get list of tags in a repo from Docker Hub
def get_v1_image_tag(self, endpoint, imagerepo, tag):
        """Get list of tags in a repo from Docker Hub"""
        url = endpoint + "/v1/repositories/" + imagerepo + "/tags/" + tag
        Msg().out("Info: tags url", url, l=Msg.DBG)
        (hdr, buf) = self._get_url(url)
        try:
            return (hdr.data, json.loads(buf.getvalue()))
        except (IOError, OSError, AttributeError, ValueError, TypeError):
            return (hdr.data, [])
def get_v1_image_tag ( self , endpoint , imagerepo , tag ) : url = endpoint + "/v1/repositories/" + imagerepo + "/tags/" + tag Msg ( ) . out ( "Info: tags url" , url , l = Msg . DBG ) ( hdr , buf ) = self . _get_url ( url ) try : return ( hdr . data , json . loads ( buf . getvalue ( ) ) ) except ( IOError , OSError , AttributeError , ValueError , TypeError ) : return ( hdr . data , [ ] )