class Tagfish::DockerRegistryV2Client
Public Instance Methods
api_version()
click to toggle source
# File lib/tagfish/docker_registry_v2_client.rb, line 6 def api_version 'v2' end
tag_names()
click to toggle source
# File lib/tagfish/docker_registry_v2_client.rb, line 10 def tag_names tags_json["tags"] end
Private Instance Methods
hash(tag)
click to toggle source
# File lib/tagfish/docker_registry_v2_client.rb, line 24 def hash(tag) api_call.get!(hash_uri(tag)).json end
hash_uri(tag)
click to toggle source
# File lib/tagfish/docker_registry_v2_client.rb, line 47 def hash_uri(tag) "#{base_uri}/v2/#{docker_uri.repository}/manifests/#{tag}" end
ping_uri()
click to toggle source
# File lib/tagfish/docker_registry_v2_client.rb, line 39 def ping_uri "#{base_uri}/v2/" end