Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str handlers ExceptHandler type NameLoad body Pass If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str orelse If BoolOpAnd CompareEq SubscriptLoad NameLoad Index Str Str Call AttributeLoad NameLoad attr NameLoad NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Pass Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr Dict Str IfExp NameLoad Str Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr If UnaryOpNot Call AttributeLoad NameLoad attr Str body Continue Assign NameStore SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call NameLoad GeneratorExp TupleLoad NameLoad AttributeLoad NameLoad attr comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Str Num Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Str Num Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad Str Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad keyword Num keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad Str Str NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass Return Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str For NameStore ListLoad Str Str Str body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str handlers ExceptHandler type NameLoad body Pass If BoolOpOr UnaryOpNot NameLoad UnaryOpNot Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Expr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Num Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad TryExcept body For TupleStore NameStore NameStore Call AttributeLoad Call NameLoad keyword NameLoad keyword NameLoad attr body Expr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Str Num orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Call AttributeLoad NameLoad attr Str keyword ListLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr
N/A N/A datetime N/A logging N/A re N/A time N/A flask N/A gevent docker_registry.core compat docker_registry.core exceptions N/A json N/A compat json N/A storage N/A toolkit app app lib mirroring lib signals N/A store N/A N/A storage load N/A logger N/A N/A logging getLogger __name__ N/A RE_USER_AGENT N/A N/A re compile ([^\s/]+)/([^\s/]+) N/A RE_VALID_TAG N/A N/A re compile ^[\w][\w.-]{0,127}$ set_properties N/A N/A namespace repository N/A N/A N/A N/A N/A logger debug N/A N/A [set_access] namespace={0}; repository={1} format namespace repository N/A data None N/A N/A N/A data N/A N/A json loads N/A N/A N/A N/A flask request data decode utf8 N/A N/A N/A ValueError N/A N/A N/A N/A N/A data N/A N/A isinstance data dict N/A N/A N/A N/A toolkit api_error Invalid data N/A private_flag_path N/A N/A store private_flag_path namespace repository N/A N/A N/A N/A data N/A access private N/A N/A N/A store is_private namespace repository N/A N/A N/A N/A store put_content private_flag_path N/A N/A N/A N/A N/A data N/A access public N/A N/A store is_private namespace repository N/A N/A N/A N/A N/A N/A store remove private_flag_path N/A N/A N/A Exception N/A N/A N/A N/A N/A toolkit response N/A N/A N/A app route /v1/repositories/<path:repository>/properties methods N/A PUT N/A toolkit parse_repository_name N/A toolkit requires_auth get_properties N/A N/A namespace repository N/A N/A N/A N/A N/A logger debug N/A N/A [get_access] namespace={0}; repository={1} format namespace repository N/A is_private N/A N/A store is_private namespace repository N/A N/A N/A toolkit response N/A access N/A is_private private public N/A N/A N/A app route /v1/repositories/<path:repository>/properties methods N/A GET N/A toolkit parse_repository_name N/A toolkit requires_auth get_tags N/A N/A namespace repository N/A N/A N/A tag_path N/A N/A store tag_path namespace repository N/A greenlets N/A N/A fname N/A N/A store list_directory tag_path N/A N/A full_tag_name N/A N/A N/A N/A fname split / pop N/A N/A N/A N/A full_tag_name startswith tag_ N/A N/A N/A tag_name N/A full_tag_name N/A 4 N/A N/A greenlets N/A tag_name N/A N/A gevent spawn N/A store get_content N/A N/A store tag_path namespace repository tag_name N/A N/A N/A gevent joinall N/A N/A greenlets values N/A N/A dict N/A N/A k N/A g value N/A N/A k g N/A N/A greenlets items N/A _get_tags N/A N/A namespace repository N/A N/A N/A N/A N/A logger debug N/A N/A [get_tags] namespace={0}; repository={1} format namespace repository N/A N/A N/A data N/A get_tags namespace namespace repository repository N/A N/A N/A N/A exceptions FileNotFoundError N/A N/A N/A N/A toolkit api_error Repository not found 404 N/A N/A N/A toolkit response data N/A N/A N/A app route /v1/repositories/<path:repository>/tags methods N/A GET N/A toolkit parse_repository_name N/A toolkit requires_auth N/A mirroring source_lookup_tag get_tag N/A N/A namespace repository tag N/A N/A N/A N/A N/A logger debug N/A N/A [get_tag] namespace={0}; repository={1}; tag={2} format namespace repository tag N/A data None N/A tag_path N/A N/A store tag_path namespace repository tag N/A N/A N/A data N/A N/A store get_content tag_path N/A N/A N/A N/A exceptions FileNotFoundError N/A N/A N/A N/A toolkit api_error Tag not found 404 N/A N/A N/A toolkit response data N/A N/A N/A app route /v1/repositories/<path:repository>/tags/<tag> methods N/A GET N/A toolkit parse_repository_name N/A toolkit requires_auth N/A mirroring source_lookup_tag get_repository_json N/A N/A namespace repository N/A N/A N/A json_path N/A N/A store repository_json_path namespace repository N/A headers N/A N/A data N/A last_update docker_version docker_go_version arch os kernel None None None amd64 linux None N/A N/A N/A data N/A N/A store get_json json_path N/A N/A N/A N/A exceptions FileNotFoundError N/A N/A N/A N/A mirroring is_mirror N/A N/A N/A N/A toolkit response data code 404 headers headers N/A N/A N/A toolkit response data headers headers N/A N/A N/A app route /v1/repositories/<path:repository>/json methods N/A GET N/A toolkit parse_repository_name N/A toolkit requires_auth N/A N/A mirroring source_lookup stream False cache True get_repository_tag_json N/A N/A namespace repository tag N/A N/A N/A json_path N/A N/A store repository_tag_json_path namespace repository tag N/A data N/A last_update docker_version docker_go_version arch os kernel None None None amd64 linux None N/A N/A N/A data N/A N/A store get_json json_path N/A N/A N/A N/A exceptions FileNotFoundError N/A N/A N/A N/A N/A toolkit response data N/A N/A N/A app route /v1/repositories/<path:repository>/tags/<tag>/json methods N/A GET N/A toolkit parse_repository_name N/A toolkit requires_auth create_tag_json N/A N/A user_agent N/A N/A N/A props N/A last_update N/A int N/A N/A time mktime N/A N/A N/A N/A N/A datetime datetime utcnow timetuple N/A ua N/A dict N/A N/A RE_USER_AGENT findall user_agent N/A N/A docker ua N/A N/A N/A props N/A docker_version N/A ua N/A docker N/A N/A go ua N/A N/A N/A props N/A docker_go_version N/A ua N/A go N/A k N/A arch kernel os N/A N/A N/A k ua N/A N/A N/A props N/A k N/A N/A N/A ua N/A k lower N/A N/A N/A json dumps props N/A put_tag N/A N/A namespace repository tag N/A N/A N/A N/A N/A logger debug N/A N/A [put_tag] namespace={0}; repository={1}; tag={2} format namespace repository tag N/A N/A N/A N/A RE_VALID_TAG match tag N/A N/A N/A N/A toolkit api_error N/A N/A Invalid tag name (must match {0}) format N/A RE_VALID_TAG pattern N/A data None N/A N/A N/A data N/A N/A json loads N/A N/A N/A N/A flask request data decode utf8 N/A N/A N/A ValueError N/A N/A N/A N/A N/A data N/A N/A isinstance data basestring N/A N/A N/A N/A toolkit api_error Invalid data N/A N/A N/A N/A store exists N/A N/A store image_json_path data N/A N/A N/A N/A toolkit api_error Image not found 404 N/A N/A N/A store put_content N/A N/A store tag_path namespace repository tag data N/A sender N/A N/A N/A flask current_app _get_current_object N/A N/A N/A N/A signals tag_created send sender namespace namespace repository repository tag tag value data N/A ua N/A N/A N/A N/A flask request headers get user-agent N/A data N/A create_tag_json user_agent ua N/A json_path N/A N/A store repository_tag_json_path namespace repository tag N/A N/A N/A store put_content json_path data N/A N/A tag latest N/A N/A json_path N/A N/A store repository_json_path namespace repository N/A N/A N/A store put_content json_path data N/A N/A N/A toolkit response N/A N/A N/A app route /v1/repositories/<path:repository>/tags/<tag> methods N/A PUT N/A toolkit parse_repository_name N/A toolkit requires_auth delete_tag N/A N/A namespace repository tag N/A N/A N/A N/A N/A logger debug N/A N/A [delete_tag] namespace={0}; repository={1}; tag={2} format namespace repository tag N/A tag_path N/A N/A store tag_path namespace repository tag N/A image N/A N/A store get_content path tag_path N/A N/A N/A store remove tag_path N/A N/A N/A store remove N/A N/A store repository_tag_json_path namespace repository tag N/A sender N/A N/A N/A flask current_app _get_current_object N/A N/A tag latest N/A N/A N/A N/A store remove N/A N/A store repository_json_path namespace repository N/A N/A N/A N/A signals tag_deleted send sender namespace namespace repository repository tag tag image image N/A _delete_tag N/A N/A namespace repository tag N/A N/A N/A N/A N/A N/A delete_tag namespace namespace repository repository tag tag N/A N/A N/A N/A exceptions FileNotFoundError N/A N/A N/A N/A toolkit api_error N/A Tag not found: %s tag 404 N/A N/A N/A toolkit response N/A N/A N/A app route /v1/repositories/<path:repository>/tags/<tag> methods N/A DELETE N/A toolkit parse_repository_name N/A toolkit requires_auth delete_repository N/A N/A namespace repository N/A N/A N/A Remove a repository from storage

    This endpoint exists in both the registry API [1] and the indexer
    API [2], but has the same semantics in each instance.  It's in the
    tags module (instead of the index module which handles most
    repository tasks) because it should be available regardless of
    whether the rest of the index-module endpoints are enabled via the
    'standalone' config setting.

    [1]: http://docs.docker.io/en/latest/reference/api/registry_api/#delete--v1-repositories-%28namespace%29-%28repository%29- # nopep8
    [2]: http://docs.docker.io/en/latest/reference/api/index_api/#delete--v1-repositories-%28namespace%29-%28repo_name%29- # nopep8
     N/A N/A N/A logger debug N/A N/A [delete_repository] namespace={0}; repository={1} format namespace repository N/A N/A N/A N/A tag_name tag_content N/A N/A N/A get_tags namespace namespace repository repository items N/A N/A N/A delete_tag namespace namespace repository repository tag tag_name N/A N/A N/A store remove N/A N/A store repository_path namespace namespace repository repository N/A N/A N/A N/A exceptions FileNotFoundError N/A N/A N/A N/A toolkit api_error Repository not found 404 N/A N/A sender N/A N/A N/A flask current_app _get_current_object N/A N/A N/A N/A signals repository_deleted send sender namespace namespace repository repository N/A N/A N/A toolkit response N/A N/A N/A app route /v1/repositories/<path:repository>/ methods N/A DELETE N/A N/A app route /v1/repositories/<path:repository>/tags methods N/A DELETE N/A toolkit parse_repository_name N/A toolkit requires_auth