Documentation ¶
Index ¶
- func PodStatusToExpansionTemplateMapper(selfOnly bool) handler.MapFunc
- type Adder
- func (a *Adder) Add(mgr manager.Manager) error
- func (a *Adder) InjectControllerSwitch(cs *watch.ControllerSwitch)
- func (a *Adder) InjectExpansionSystem(expansionSystem *expansion.System)
- func (a *Adder) InjectMutationSystem(mutationSystem *mutation.System)
- func (a *Adder) InjectOpa(o *constraintclient.Client)
- func (a *Adder) InjectProviderCache(providerCache *externaldata.ProviderCache)
- func (a *Adder) InjectTracker(t *readiness.Tracker)
- func (a *Adder) InjectWatchManager(w *watch.Manager)
- type ReconcileExpansionStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PodStatusToExpansionTemplateMapper ¶
PodStatusToExpansionTemplateMapper correlates a ExpansionTemplatePodStatus with its corresponding expansion template. `selfOnly` tells the mapper to only map statuses corresponding to the current pod.
Types ¶
type Adder ¶
type Adder struct { Opa *constraintclient.Client WatchManager *watch.Manager }
func (*Adder) Add ¶
Add creates a new Constraint Status Controller and adds it to the Manager. The Manager will set fields on the Controller and Start it when the Manager is Started.
func (*Adder) InjectControllerSwitch ¶
func (a *Adder) InjectControllerSwitch(cs *watch.ControllerSwitch)
func (*Adder) InjectExpansionSystem ¶
func (*Adder) InjectMutationSystem ¶
func (*Adder) InjectOpa ¶
func (a *Adder) InjectOpa(o *constraintclient.Client)
func (*Adder) InjectProviderCache ¶
func (a *Adder) InjectProviderCache(providerCache *externaldata.ProviderCache)
func (*Adder) InjectTracker ¶
func (*Adder) InjectWatchManager ¶
type ReconcileExpansionStatus ¶
type ReconcileExpansionStatus struct {
// contains filtered or unexported fields
}
ReconcileExpansionStatus reconciles an arbitrary constraint object described by Kind.
func (*ReconcileExpansionStatus) Reconcile ¶
func (r *ReconcileExpansionStatus) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a constraint object and makes changes based on the state read and what is in the constraint.Spec.
Click to show internal directories.
Click to hide internal directories.