bosh

package
v0.0.0-...-3ac4d76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateStemcellSection

func UpdateStemcellSection(manifestContent []byte, stemcell Stemcell) ([]byte, error)

Types

type Manifest

type Manifest struct {
	Name           string      `yaml:",omitempty"`
	Update         block       `yaml:",omitempty"`
	InstanceGroups []yaml.Node `yaml:"instance_groups,omitempty"`
	Releases       []Release   `yaml:"releases,omitempty"`
	Stemcells      []Stemcell  `yaml:",omitempty"`
}

func NewManifestFromFile

func NewManifestFromFile(file []byte) (Manifest, error)

NewManifestFromFile creates a manifest from a yaml file.

func (Manifest) Deploy

func (m Manifest) Deploy(boshCLI boshCLI) error

type Release

type Release struct {
	Name     string
	SHA1     string
	Stemcell Stemcell `yaml:",omitempty"`
	URL      string
	Version  string
}

type Stemcell

type Stemcell struct {
	Alias   string `yaml:",omitempty"`
	OS      string
	Version string
}

func NewStemcellFromInput

func NewStemcellFromInput(stemcellDir string) (Stemcell, error)

NewStemcellFromInput creates a Stemcell from a stemcell concourse resource

func (Stemcell) CompareVersion

func (s Stemcell) CompareVersion(base Stemcell) (int, error)

func (Stemcell) DetectBumpTypeFrom

func (s Stemcell) DetectBumpTypeFrom(base Stemcell) (string, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址