releaseresolver

package
v7.0.1-0...-b8e8e6a Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadReleasesFromDisk

func LoadReleasesFromDisk(options model.ReleaseOptions) ([]*model.Release, error)

LoadReleasesFromDisk loads information about BOSH releases

Types

type ReleaseResolver

type ReleaseResolver struct {
	// contains filtered or unexported fields
}

ReleaseResolver state

func NewReleaseResolver

func NewReleaseResolver(path string) *ReleaseResolver

NewReleaseResolver returns a new ReleaseResolver

func (*ReleaseResolver) CanValidate

func (r *ReleaseResolver) CanValidate() bool

CanValidate returns false because this resolver produces validatable results

func (*ReleaseResolver) FindRelease

func (r *ReleaseResolver) FindRelease(name string) (*model.Release, bool)

FindRelease returns the release with the given name

func (*ReleaseResolver) Load

func (r *ReleaseResolver) Load(options model.ReleaseOptions, releaseRefs []*model.ReleaseRef) (model.Releases, error)

Load loads all releases from either disk or URL

func (*ReleaseResolver) MapReleases

func (r *ReleaseResolver) MapReleases(releases model.Releases) error

MapReleases needs to be called before FindRelease

Jump to

Keyboard shortcuts

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