Documentation
¶
Index ¶
- func AddBOSHDeploymentValidator(log *zap.SugaredLogger, config *config.Config, mgr manager.Manager) (webhook.Webhook, error)
- func AddBPM(ctx context.Context, config *config.Config, mgr manager.Manager) error
- func AddDeployment(ctx context.Context, config *config.Config, mgr manager.Manager) error
- func AddGeneratedVariable(ctx context.Context, config *config.Config, mgr manager.Manager) error
- func NewBPMReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, ...) reconcile.Reconciler
- func NewDeploymentReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, ...) reconcile.Reconciler
- func NewGeneratedVariableReconciler(ctx context.Context, config *config.Config, mgr manager.Manager, ...) reconcile.Reconciler
- func NewValidator(log *zap.SugaredLogger, config *config.Config) admission.Handler
- type DesiredManifest
- type Owner
- type ReconcileBOSHDeployment
- type ReconcileBPM
- type ReconcileGeneratedVariable
- type Resolver
- type Validator
- func (v *Validator) Handle(ctx context.Context, req types.Request) types.Response
- func (v *Validator) InjectClient(c client.Client) error
- func (v *Validator) InjectDecoder(d types.Decoder) error
- func (v *Validator) OpsResourceExist(ctx context.Context, specOpsResource bdv1.Ops, ns string) (bool, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBOSHDeploymentValidator ¶ added in v0.3.1
func AddBOSHDeploymentValidator(log *zap.SugaredLogger, config *config.Config, mgr manager.Manager) (webhook.Webhook, error)
AddBOSHDeploymentValidator creates a validating hook for BOSHDeployment and adds it to the Manager
func AddBPM ¶ added in v0.2.2
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
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
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 DesiredManifest, 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 Resolver, srf setReferenceFunc) reconcile.Reconciler
NewDeploymentReconciler returns a new reconcile.Reconciler
Types ¶
type DesiredManifest ¶ added in v0.3.0
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
type ReconcileBPM ¶ added in v0.2.2
type ReconcileBPM struct {
// contains filtered or unexported fields
}
ReconcileBPM reconciles an Instance Group BPM versioned secret
type ReconcileGeneratedVariable ¶ added in v0.2.2
type ReconcileGeneratedVariable struct {
// contains filtered or unexported fields
}
ReconcileGeneratedVariable reconciles a manifest with ops
type Resolver ¶ added in v0.3.0
type Validator ¶ added in v0.3.1
type Validator struct {
// contains filtered or unexported fields
}
Validator represents a validator for BOSHDeployments
func (*Validator) Handle ¶ added in v0.3.1
Handle validates a BOSHDeployment
func (*Validator) InjectClient ¶ added in v0.3.1
InjectClient injects the client.
func (*Validator) InjectDecoder ¶ added in v0.3.1
InjectDecoder injects the decoder.
Source Files
¶
- bpm_controller.go
- bpm_reconciler.go
- deployment_controller.go
- deployment_reconciler.go
- generated_variable_controller.go
- generated_variable_reconciler.go
- validating_webhook.go