applier

package
v0.0.0-...-b9690c5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

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

func NewApplier

func NewApplier(
	depJob bpdep.Job,
	instance bpdep.Instance,
	templatesCompiler bptplcomp.TemplatesCompiler,
	packagesCompiler bppkgscomp.PackagesCompiler,
	agentClient bpagclient.Client,
	logger boshlog.Logger,
) Applier

func (Applier) Apply

func (a Applier) Apply() error

type EmptyState

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

EmptyState represents state for a VM that should not be running any job templates.

func NewEmptyState

func NewEmptyState(instance bpdep.Instance) EmptyState

func (EmptyState) AsApplySpec

func (s EmptyState) AsApplySpec() boshas.V1ApplySpec

type JobState

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

JobState represents state for a VM that should be running 1+ job templates.

func NewJobState

func NewJobState(
	depJob bpdep.Job,
	instance bpdep.Instance,
	templatesCompiler bptplcomp.TemplatesCompiler,
	packagesCompiler bppkgscomp.PackagesCompiler,
) JobState

func (JobState) AsApplySpec

func (s JobState) AsApplySpec() (boshas.V1ApplySpec, error)

Jump to

Keyboard shortcuts

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