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.3189.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3146.6.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3184.1.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3184.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3146.5.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3181.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3178.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3146.4.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3146.3.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3177.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3173.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3146.2.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3146.1.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3169.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3167.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3165.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3163.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3160.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3157.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.3156.0 lib/bosh/stemcell/stemcell.rb