Sha256: 7849a138e0ddc900a9a2545930caa21ba893aaaf78ed74d079cf80e878b4486c

Contents?: true

Size: 511 Bytes

Versions: 139

Compression:

Stored size: 511 Bytes

Contents

module Bosh
  module Stemcell
    class Stemcell
      attr_reader :version, :definition, :disk_format, :base_name

      def initialize(definition, base_name, version, disk_format)
        @definition = definition
        @base_name = base_name
        @version = version
        @disk_format = disk_format
      end

      def infrastructure
        @definition.infrastructure
      end

      def name
        ArchiveFilename.new(version, definition, base_name, disk_format).to_s
      end
    end
  end
end

Version data entries

139 entries across 139 versions & 1 rubygems

Version Path
bosh-stemcell-1.3048.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3042.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3039.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3033.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3031.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3030.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3029.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3026.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3025.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3022.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3016.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3012.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3010.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3008.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3004.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3003.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3001.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3000.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2999.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2992.0 lib/bosh/stemcell/stemcell.rb