Class: Tagfish::DockerRegistryV2Client
Instance Attribute Summary
#docker_uri, #http_auth
Instance Method Summary
collapse
#base_uri, #initialize
Instance Method Details
#api_version ⇒ Object
6
7
8
|
# File 'lib/tagfish/docker_registry_v2_client.rb', line 6
def api_version
'v2'
end
|
#catalog ⇒ Object
10
11
12
|
# File 'lib/tagfish/docker_registry_v2_client.rb', line 10
def catalog
APICall.new(catalog_uri).get_json(http_auth)
end
|
#tag_map ⇒ Object
18
19
20
|
# File 'lib/tagfish/docker_registry_v2_client.rb', line 18
def tag_map
Tagfish::Tags.new(tags_logic)
end
|
#tag_names ⇒ Object
14
15
16
|
# File 'lib/tagfish/docker_registry_v2_client.rb', line 14
def tag_names
tags["tags"]
end
|