Module Import alias Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body While NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr Num attr Str attr TryExcept body Expr Call NameLoad SubscriptLoad NameLoad Slice Num Num handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Index Str Delete SubscriptDel NameLoad Index Str Delete SubscriptDel SubscriptLoad NameLoad Index Str Index Str If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Return NameLoad decorator_list decorator_list
N/A N/A hashlib N/A os N/A random N/A shutil docker_squash.image Image V1Image N/A Image N/A N/A FORMAT v1 _generate_image_id N/A N/A self N/A N/A N/A True N/A N/A image_id N/A N/A N/A N/A hashlib sha256 N/A N/A N/A str N/A N/A random getrandbits 128 encode utf8 hexdigest N/A N/A N/A N/A int N/A image_id N/A 0 10 N/A N/A N/A ValueError N/A N/A image_id N/A _before_squashing N/A N/A self N/A N/A N/A N/A N/A N/A super V1Image self _before_squashing N/A N/A self layers_to_move N/A N/A N/A self squash_id N/A N/A self layers_to_move N/A -1 N/A _squash N/A N/A self N/A N/A N/A N/A N/A os makedirs N/A self squashed_dir N/A N/A N/A self _squash_layers N/A self layers_to_squash N/A self layers_to_move N/A N/A N/A self _write_version_file N/A self squashed_dir N/A N/A N/A self _move_layers N/A self layers_to_move N/A self old_image_dir N/A self new_image_dir N/A config_file N/A N/A N/A os path join N/A self old_image_dir N/A self old_image_id json N/A image_id N/A N/A self _update_squashed_layer_metadata config_file N/A self squashed_dir N/A N/A N/A shutil move N/A self squashed_dir N/A N/A N/A os path join N/A self new_image_dir image_id N/A repositories_file N/A N/A N/A os path join N/A self new_image_dir repositories N/A N/A N/A self _generate_repositories_json repositories_file image_id N/A self image_name N/A self image_tag N/A image_id N/A _update_squashed_layer_metadata N/A N/A self old_json_file squashed_dir N/A N/A N/A image_id N/A N/A self _generate_image_id N/A metadata N/A N/A self _read_old_metadata old_json_file N/A N/A self squash_id N/A N/A N/A N/A metadata N/A config N/A Image N/A self squash_id N/A N/A N/A N/A N/A metadata N/A config pop Image None N/A N/A metadata N/A created N/A self date N/A N/A metadata N/A container_config N/A N/A metadata N/A container N/A N/A N/A metadata N/A config N/A Hostname N/A N/A self squash_id N/A N/A N/A metadata N/A parent N/A self squash_id N/A N/A N/A N/A metadata pop parent None N/A N/A metadata N/A id image_id N/A N/A metadata N/A Size N/A N/A N/A os path getsize N/A N/A N/A os path join squashed_dir layer.tar N/A json_metadata N/A N/A N/A self _dump_json metadata N/A 0 N/A N/A N/A self _write_json_metadata N/A %s json_metadata N/A N/A N/A os path join squashed_dir json N/A image_id N/A N/A