Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver prepares, calculates and resolves the manifest
func NewResolver ¶
func NewResolver( m *model.RoleManifest, releaseResolver model.ReleaseResolver, options model.LoadRoleManifestOptions, ) *Resolver
NewResolver returns a new resolver
func (*Resolver) Resolve ¶
func (r *Resolver) Resolve() (*model.RoleManifest, error)
Resolve pre-processes the manifest calls ResolveRoleManifest() as well as ResolveLinks()
func (*Resolver) ResolveLinks ¶
func (r *Resolver) ResolveLinks() validation.ErrorList
ResolveLinks examines the BOSH links specified in the job specs and maps them to the correct role / job that can be looked up at runtime. This method was made public so tests can have their own package and we avoid import cycles.
func (*Resolver) ResolveRoleManifest ¶
ResolveRoleManifest takes a role manifest and validates it to ensure it has no errors, and that the various ancillary structures are correctly populated. This method was made public so tests can have their own package and we avoid import cycles.