Class: Tagfish::DockerRegistryV2Client

Inherits:
DockerRegistryVbothClient show all
Defined in:
lib/tagfish/docker_registry_v2_client.rb

Instance Attribute Summary

Attributes inherited from DockerRegistryVbothClient

#docker_uri, #http_auth

Instance Method Summary collapse

Methods inherited from DockerRegistryVbothClient

#base_uri, #initialize

Constructor Details

This class inherits a constructor from Tagfish::DockerRegistryVbothClient

Instance Method Details

#api_versionObject



6
7
8
# File 'lib/tagfish/docker_registry_v2_client.rb', line 6

def api_version
  'v2'
end

#catalogObject



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_mapObject



18
19
20
# File 'lib/tagfish/docker_registry_v2_client.rb', line 18

def tag_map
  Tagfish::Tags.new(tags_logic)
end

#tag_namesObject



14
15
16
# File 'lib/tagfish/docker_registry_v2_client.rb', line 14

def tag_names
  tags["tags"]
end