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.2905.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2902.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2891.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2889.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2881.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2865.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2862.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2859.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2858.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2855.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2852.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2849.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2847.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2840.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2839.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2831.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2830.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2829.0 lib/bosh/stemcell/stemcell.rb
bosh-stemcell-1.2827.0 lib/bosh/stemcell/stemcell.rb