Module Import alias Import alias ImportFrom alias ImportFrom alias alias alias alias alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str NameLoad Num Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str NameLoad Num Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str NameLoad Num Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str Str NameLoad Num Num Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Dict Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Dict Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Str keyword Dict Str Str keyword Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad Str NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore GeneratorExp NameLoad comprehension NameStore Call NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Dict Str Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad NameLoad Str Dict NameLoad NameLoad body With Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr CompareGtE Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Num Return Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str NameLoad keyword Str keyword Dict Str Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str NameLoad keyword Str keyword Dict Str Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str NameLoad Str Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str Str Str Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Dict Str Str Str NameLoad Str Num keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str BinOpAdd NameLoad Str keyword Str keyword NameLoad decorator_list decorator_list
N/A N/A docker N/A pytest N/A fake_api api_test DockerClientTest fake_request DEFAULT_TIMEOUT_SECONDS url_prefix fake_resolve_authconfig N/A N/A unittest mock N/A N/A N/A ImportError N/A N/A mock ImageTest N/A DockerClientTest N/A test_image_viz N/A N/A self N/A N/A N/A N/A N/A pytest raises Exception N/A N/A N/A N/A N/A self client images busybox viz True N/A N/A N/A self fail Viz output should not be supported! N/A test_images N/A N/A self N/A N/A N/A N/A N/A N/A self client images all True N/A N/A N/A fake_request assert_called_with GET N/A url_prefix images/json params N/A filter only_ids all None 0 1 timeout DEFAULT_TIMEOUT_SECONDS N/A test_images_quiet N/A N/A self N/A N/A N/A N/A N/A N/A self client images all True quiet True N/A N/A N/A fake_request assert_called_with GET N/A url_prefix images/json params N/A filter only_ids all None 1 1 timeout DEFAULT_TIMEOUT_SECONDS N/A test_image_ids N/A N/A self N/A N/A N/A N/A N/A N/A self client images quiet True N/A N/A N/A fake_request assert_called_with GET N/A url_prefix images/json params N/A filter only_ids all None 1 0 timeout DEFAULT_TIMEOUT_SECONDS N/A test_images_filters N/A N/A self N/A N/A N/A N/A N/A N/A self client images filters N/A dangling True N/A N/A N/A fake_request assert_called_with GET N/A url_prefix images/json params N/A filter only_ids all filters None 0 0 {"dangling": ["true"]} timeout DEFAULT_TIMEOUT_SECONDS N/A test_pull N/A N/A self N/A N/A N/A N/A N/A N/A self client pull joffrey/test001 N/A args N/A fake_request call_args N/A N/A N/A self assertEqual N/A N/A args N/A 0 N/A 1 N/A url_prefix images/create N/A N/A N/A self assertEqual N/A N/A args N/A 1 N/A params N/A tag fromImage None joffrey/test001 N/A N/A N/A self assertFalse N/A N/A args N/A 1 N/A stream N/A test_pull_stream N/A N/A self N/A N/A N/A N/A N/A N/A self client pull joffrey/test001 stream True N/A args N/A fake_request call_args N/A N/A N/A self assertEqual N/A N/A args N/A 0 N/A 1 N/A url_prefix images/create N/A N/A N/A self assertEqual N/A N/A args N/A 1 N/A params N/A tag fromImage None joffrey/test001 N/A N/A N/A self assertTrue N/A N/A args N/A 1 N/A stream N/A test_commit N/A N/A self N/A N/A N/A N/A N/A N/A self client commit N/A fake_api FAKE_CONTAINER_ID N/A N/A N/A fake_request assert_called_with POST N/A url_prefix commit data {} headers N/A Content-Type application/json params N/A repo comment tag container author changes None None None 3cc2351ab11b None None timeout DEFAULT_TIMEOUT_SECONDS N/A test_remove_image N/A N/A self N/A N/A N/A N/A N/A N/A self client remove_image N/A fake_api FAKE_IMAGE_ID N/A N/A N/A fake_request assert_called_with DELETE N/A url_prefix images/e9aa60c60128 params N/A force noprune False False timeout DEFAULT_TIMEOUT_SECONDS N/A test_image_history N/A N/A self N/A N/A N/A N/A N/A N/A self client history N/A fake_api FAKE_IMAGE_NAME N/A N/A N/A fake_request assert_called_with GET N/A url_prefix images/test_image/history timeout DEFAULT_TIMEOUT_SECONDS N/A test_import_image N/A N/A self N/A N/A N/A N/A N/A N/A self client import_image N/A fake_api FAKE_TARBALL_PATH repository N/A fake_api FAKE_REPO_NAME tag N/A fake_api FAKE_TAG_NAME N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/create params N/A repo tag fromSrc N/A fake_api FAKE_REPO_NAME N/A fake_api FAKE_TAG_NAME N/A fake_api FAKE_TARBALL_PATH data None timeout DEFAULT_TIMEOUT_SECONDS N/A test_import_image_from_bytes N/A N/A self N/A N/A N/A stream N/A i N/A i N/A range 0 100 N/A N/A N/A N/A self client import_image stream repository N/A fake_api FAKE_REPO_NAME tag N/A fake_api FAKE_TAG_NAME N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/create params N/A repo tag fromSrc N/A fake_api FAKE_REPO_NAME N/A fake_api FAKE_TAG_NAME - headers N/A Content-Type application/tar data stream timeout DEFAULT_TIMEOUT_SECONDS N/A test_import_image_from_image N/A N/A self N/A N/A N/A N/A N/A N/A self client import_image image N/A fake_api FAKE_IMAGE_NAME repository N/A fake_api FAKE_REPO_NAME tag N/A fake_api FAKE_TAG_NAME N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/create params N/A repo tag fromImage N/A fake_api FAKE_REPO_NAME N/A fake_api FAKE_TAG_NAME N/A fake_api FAKE_IMAGE_NAME data None timeout DEFAULT_TIMEOUT_SECONDS N/A test_inspect_image N/A N/A self N/A N/A N/A N/A N/A N/A self client inspect_image N/A fake_api FAKE_IMAGE_NAME N/A N/A N/A fake_request assert_called_with GET N/A url_prefix images/test_image/json timeout DEFAULT_TIMEOUT_SECONDS N/A test_inspect_image_undefined_id N/A N/A self N/A N/A N/A arg N/A None N/A True True N/A N/A N/A N/A pytest raises N/A N/A docker errors NullResource excinfo N/A N/A N/A N/A N/A self client inspect_image arg N/A N/A N/A self assertEqual N/A N/A N/A excinfo value args N/A 0 image or container param is undefined N/A test_insert_image N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self client insert N/A fake_api FAKE_IMAGE_NAME N/A fake_api FAKE_URL N/A fake_api FAKE_PATH N/A N/A N/A N/A N/A docker errors DeprecatedMethod N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A docker utils compare_version 1.12 N/A N/A self client _version 0 N/A N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/test_image/insert params N/A url path N/A fake_api FAKE_URL N/A fake_api FAKE_PATH timeout DEFAULT_TIMEOUT_SECONDS N/A test_push_image N/A N/A self N/A N/A N/A N/A N/A mock patch docker.auth.auth.resolve_authconfig fake_resolve_authconfig N/A N/A N/A N/A N/A self client push N/A fake_api FAKE_IMAGE_NAME N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/test_image/push params N/A tag None data {} headers N/A Content-Type application/json stream False timeout DEFAULT_TIMEOUT_SECONDS N/A test_push_image_with_tag N/A N/A self N/A N/A N/A N/A N/A mock patch docker.auth.auth.resolve_authconfig fake_resolve_authconfig N/A N/A N/A N/A N/A self client push N/A fake_api FAKE_IMAGE_NAME tag N/A fake_api FAKE_TAG_NAME N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/test_image/push params N/A tag N/A fake_api FAKE_TAG_NAME data {} headers N/A Content-Type application/json stream False timeout DEFAULT_TIMEOUT_SECONDS N/A test_push_image_stream N/A N/A self N/A N/A N/A N/A N/A mock patch docker.auth.auth.resolve_authconfig fake_resolve_authconfig N/A N/A N/A N/A N/A self client push N/A fake_api FAKE_IMAGE_NAME stream True N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/test_image/push params N/A tag None data {} headers N/A Content-Type application/json stream True timeout DEFAULT_TIMEOUT_SECONDS N/A test_tag_image N/A N/A self N/A N/A N/A N/A N/A N/A self client tag N/A fake_api FAKE_IMAGE_ID N/A fake_api FAKE_REPO_NAME N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/e9aa60c60128/tag params N/A tag repo force None repo 0 timeout DEFAULT_TIMEOUT_SECONDS N/A test_tag_image_tag N/A N/A self N/A N/A N/A N/A N/A N/A self client tag N/A fake_api FAKE_IMAGE_ID N/A fake_api FAKE_REPO_NAME tag N/A fake_api FAKE_TAG_NAME N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/e9aa60c60128/tag params N/A tag repo force tag repo 0 timeout DEFAULT_TIMEOUT_SECONDS N/A test_tag_image_force N/A N/A self N/A N/A N/A N/A N/A N/A self client tag N/A fake_api FAKE_IMAGE_ID N/A fake_api FAKE_REPO_NAME force True N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/e9aa60c60128/tag params N/A tag repo force None repo 1 timeout DEFAULT_TIMEOUT_SECONDS N/A test_get_image N/A N/A self N/A N/A N/A N/A N/A N/A self client get_image N/A fake_api FAKE_IMAGE_ID N/A N/A N/A fake_request assert_called_with GET N/A url_prefix images/e9aa60c60128/get stream True timeout DEFAULT_TIMEOUT_SECONDS N/A test_load_image N/A N/A self N/A N/A N/A N/A N/A N/A self client load_image Byte Stream.... N/A N/A N/A fake_request assert_called_with POST N/A url_prefix images/load data Byte Stream.... timeout DEFAULT_TIMEOUT_SECONDS N/A N/A