Documentation ¶
Index ¶
- type S3Stemcell
- func (f S3Stemcell) AgentType() string
- func (f S3Stemcell) DiskFormat() string
- func (f S3Stemcell) HvName() string
- func (f S3Stemcell) InfName() string
- func (f S3Stemcell) IsDeprecated() bool
- func (f S3Stemcell) IsForChina() bool
- func (f S3Stemcell) IsLight() bool
- func (f S3Stemcell) MD5() string
- func (f S3Stemcell) MustHaveSHA1() bool
- func (f S3Stemcell) Name() string
- func (f S3Stemcell) Notes() (bhnotesrepo.NoteRec, bool, error)
- func (f S3Stemcell) OSName() string
- func (f S3Stemcell) OSVersion() string
- func (f S3Stemcell) SHA1() string
- func (f S3Stemcell) SHA256() string
- func (f S3Stemcell) Size() uint64
- func (f S3Stemcell) URL() string
- func (f S3Stemcell) UpdatedAt() string
- func (f S3Stemcell) Version() semiver.Version
- type S3StemcellsRepository
- type Stemcell
- type StemcellsRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Stemcell ¶
type S3Stemcell struct {
// contains filtered or unexported fields
}
func NewS3Stemcell ¶
func NewS3Stemcell(key, etag, sha1 string, sha256 string, size uint64, lastModified, url string) *S3Stemcell
func (S3Stemcell) AgentType ¶
func (f S3Stemcell) AgentType() string
func (S3Stemcell) DiskFormat ¶
func (f S3Stemcell) DiskFormat() string
func (S3Stemcell) HvName ¶
func (f S3Stemcell) HvName() string
func (S3Stemcell) InfName ¶
func (f S3Stemcell) InfName() string
func (S3Stemcell) IsDeprecated ¶
func (f S3Stemcell) IsDeprecated() bool
func (S3Stemcell) IsForChina ¶
func (f S3Stemcell) IsForChina() bool
func (S3Stemcell) IsLight ¶
func (f S3Stemcell) IsLight() bool
func (S3Stemcell) MD5 ¶
func (f S3Stemcell) MD5() string
func (S3Stemcell) MustHaveSHA1 ¶
func (f S3Stemcell) MustHaveSHA1() bool
func (S3Stemcell) Name ¶
func (f S3Stemcell) Name() string
func (S3Stemcell) Notes ¶
func (f S3Stemcell) Notes() (bhnotesrepo.NoteRec, bool, error)
func (S3Stemcell) OSName ¶
func (f S3Stemcell) OSName() string
func (S3Stemcell) OSVersion ¶
func (f S3Stemcell) OSVersion() string
func (S3Stemcell) SHA1 ¶
func (f S3Stemcell) SHA1() string
func (S3Stemcell) SHA256 ¶
func (f S3Stemcell) SHA256() string
func (S3Stemcell) Size ¶
func (f S3Stemcell) Size() uint64
func (S3Stemcell) URL ¶
func (f S3Stemcell) URL() string
func (S3Stemcell) UpdatedAt ¶
func (f S3Stemcell) UpdatedAt() string
func (S3Stemcell) Version ¶
func (f S3Stemcell) Version() semiver.Version
type S3StemcellsRepository ¶
type S3StemcellsRepository struct {
// contains filtered or unexported fields
}
func NewS3StemcellsRepository ¶
func NewS3StemcellsRepository( legacyStemcellsIndexDir string, stemcellsIndexDirs []string, notesRepo bhnotesrepo.NotesRepository, fs boshsys.FileSystem, logger boshlog.Logger, ) S3StemcellsRepository
type Stemcell ¶
type Stemcell interface { Name() string Version() semiver.Version UpdatedAt() string Size() uint64 MD5() string SHA1() string // could be empty SHA256() string InfName() string // e.g. aws HvName() string // e.g. kvm DiskFormat() string // e.g. raw OSName() string // e.g. Ubuntu OSVersion() string // e.g. Trusty IsLight() bool IsForChina() bool URL() string Notes() (bhnotesrepo.NoteRec, bool, error) }
type StemcellsRepository ¶
Click to show internal directories.
Click to hide internal directories.