Sha256: 711707680209da4089495720f15517095e625a983a053efe9cbb8db9c6ca9af5

Contents?: true

Size: 410 Bytes

Versions: 10

Compression:

Stored size: 410 Bytes

Contents

class KuberKit::Core::Artifacts::Local < KuberKit::Core::Artifacts::AbstractArtifact
  def setup(root_path)
    @root_path = File.expand_path(root_path)
    self
  end

  def root_path
    @root_path || (raise ArgumentError.new("root path was not set. Set it using setup method"))
  end

  def cloned_path
    root_path
  end

  def sync_description
    "local"
  end

  def cleanup_needed?
    false
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kuber_kit-1.3.9 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.1.8 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.1.7 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.5 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.4 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.1.6 lib/kuber_kit/core/artifacts/local.rb
kuber_kit-1.3.3 lib/kuber_kit/core/artifacts/local.rb