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