Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// Kubernetes client to manage/fetch resources.
client.Client
// The scheduling domain to scope resources to.
SchedulingDomain v1alpha1.SchedulingDomain
// contains filtered or unexported fields
}
The kpi controller checks the status of kpi dependencies and populates the kpi status accordingly.
func (*Controller) InitAllKPIs ¶
func (c *Controller) InitAllKPIs(ctx context.Context) error
Handle the startup of the manager and initialize the kpis to be used.
func (*Controller) Reconcile ¶
This loop will be called by the controller-runtime for each kpi resource that needs to be reconciled.
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr manager.Manager, mcl *multicluster.Client) error
Click to show internal directories.
Click to hide internal directories.