class Local

Public Instance Methods

local?() click to toggle source
# File lib/kuber_kit/core/registries/registry.rb, line 21
def local?
  @remote_url.nil?
end
path() click to toggle source
# File lib/kuber_kit/core/registries/registry.rb, line 9
def path
  name.to_s
end
remote?() click to toggle source
# File lib/kuber_kit/core/registries/registry.rb, line 17
def remote?
  !local?
end
remote_path() click to toggle source
# File lib/kuber_kit/core/registries/registry.rb, line 13
def remote_path
  [@remote_url, path].compact.join("/")
end
set_remote_url(remote_url) click to toggle source
# File lib/kuber_kit/core/registries/registry.rb, line 2
def set_remote_url(remote_url)
  @remote_url = remote_url
  
  self
end
Also aliased as: setup
setup(remote_url)
Alias for: set_remote_url