Documentation
¶
Overview ¶
Package app provides a sample controller using the PDB primitive.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleController ¶
type ExampleController struct {
client.Client
Scheme *runtime.Scheme
Recorder record.EventRecorder
Metrics component.Recorder
// NewPDBResource is a factory function to create the PDB resource.
// This allows us to inject the resource construction logic.
NewPDBResource func(*sharedapp.ExampleApp) (component.Resource, error)
}
ExampleController reconciles an ExampleApp object using the component framework.
func (*ExampleController) Reconcile ¶
func (r *ExampleController) Reconcile(ctx context.Context, owner *sharedapp.ExampleApp) error
Reconcile performs the reconciliation for a single ExampleApp.
Click to show internal directories.
Click to hide internal directories.