Documentation
¶
Index ¶
Constants ¶
View Source
const ( CreatedState = "Created" UpdatedState = "Updated" OpsAppliedState = "OpsApplied" VariableGeneratedState = "VariableGenerated" VariableInterpolatedState = "VariableInterpolated" DataGatheredState = "DataGathered" DeployingState = "Deploying" DeployedState = "Deployed" )
State of instance
Variables ¶
This section is empty.
Functions ¶
func AddDeployment ¶ added in v0.2.0
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.
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 reads that state of the cluster for a BOSHDeployment object and makes changes based on the state read and what is in the BOSHDeployment.Spec Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
Source Files
¶
- deployment_controller.go
- deployment_reconciler.go
Click to show internal directories.
Click to hide internal directories.