Class: Tagfish::DockerRegistryV2Client

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

Instance Attribute Summary

Attributes inherited from DockerRegistryVbothClient

#api_call, #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

#tag_namesObject



10
11
12
# File 'lib/tagfish/docker_registry_v2_client.rb', line 10

def tag_names
  tags_json["tags"]
end

#tagsObject



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

def tags
  Tagfish::Tags.new(tags_list)
end