boshdeployment

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CreatedState              = "Created"
	UpdatedState              = "Updated"
	OpsAppliedState           = "OpsApplied"
	VariableGeneratedState    = "VariableGenerated"
	VariableInterpolatedState = "VariableInterpolated"
	DataGatheredState         = "DataGathered"
	BPMConfigsCreatedState    = "BPMConfigsCreatedState"
	DeployingState            = "Deploying"
	DeployedState             = "Deployed"
)

State of instance

Variables

This section is empty.

Functions

func AddBPM added in v0.2.2

func AddBPM(ctx context.Context, config *config.Config, mgr manager.Manager) error

AddBPM creates a new BPM Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddDeployment added in v0.2.0

func AddDeployment(ctx context.Context, config *config.Config, mgr manager.Manager) error

AddDeployment creates a new BOSHDeployment Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddGeneratedVariable added in v0.2.2

func AddGeneratedVariable(ctx context.Context, config *config.Config, mgr manager.Manager) error

AddGeneratedVariable creates a new generated variable Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.

func NewBPMReconciler added in v0.2.2

func NewBPMReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, resolver bdm.Resolver, srf setReferenceFunc, kubeConverter *bdm.KubeConverter) reconcile.Reconciler

NewBPMReconciler returns a new reconcile.Reconciler

func NewDeploymentReconciler added in v0.2.2

func NewDeploymentReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, resolver bdm.Resolver, srf setReferenceFunc) reconcile.Reconciler

NewDeploymentReconciler returns a new reconcile.Reconciler

func NewGeneratedVariableReconciler added in v0.2.2

func NewGeneratedVariableReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, resolver bdm.Resolver, srf setReferenceFunc, kubeConverter *bdm.KubeConverter) reconcile.Reconciler

NewGeneratedVariableReconciler returns a new reconcile.Reconciler

Types

type Owner added in v0.2.0

type Owner interface {
	RemoveOwnerReferences(context.Context, apis.Object, []apis.Object) error
	ListConfigsOwnedBy(context.Context, apis.Object) ([]apis.Object, error)
}

Owner bundles funcs to manage ownership on referenced configmaps and secrets

type ReconcileBOSHDeployment

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

ReconcileBOSHDeployment reconciles a BOSHDeployment object

func (*ReconcileBOSHDeployment) Reconcile

Reconcile starts the deployment process for a BOSHDeployment and deploys ExtendedJobs to generate required properties for instance groups and rendered BPM

type ReconcileBPM added in v0.2.2

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

ReconcileBPM reconciles an Instance Group BPM versioned secret

func (*ReconcileBPM) Reconcile added in v0.2.2

func (r *ReconcileBPM) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reconciles an Instance Group BPM versioned secret read the corresponding desired manifest. It then applies BPM information and deploys instance groups.

type ReconcileGeneratedVariable added in v0.2.2

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

ReconcileGeneratedVariable reconciles a manifest with ops

func (*ReconcileGeneratedVariable) Reconcile added in v0.2.2

Reconcile creates or updates variables extendedSecrets

Jump to

Keyboard shortcuts

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