class KubeDeployTools::Push::Image

Attributes

registry[RW]
repository[RW]
tag[RW]

Public Class Methods

new(registry, repository, tag) click to toggle source
# File lib/kube_deploy_tools/image_registry/image.rb, line 5
def initialize(registry, repository, tag)
  registry += '/' unless registry.end_with?('/')
  @registry = registry
  @repository = repository
  @tag = tag
end

Public Instance Methods

full_tag() click to toggle source
# File lib/kube_deploy_tools/image_registry/image.rb, line 12
def full_tag
  "#{registry}#{repository}:#{tag}"
end