Documentation ¶
Index ¶
- func RegisterDaemonSetGeneratingHandler(ctx context.Context, controller DaemonSetController, apply apply.Apply, ...)
- func RegisterDaemonSetStatusHandler(ctx context.Context, controller DaemonSetController, condition condition.Cond, ...)
- func RegisterDeploymentGeneratingHandler(ctx context.Context, controller DeploymentController, apply apply.Apply, ...)
- func RegisterDeploymentStatusHandler(ctx context.Context, controller DeploymentController, condition condition.Cond, ...)
- func RegisterStatefulSetGeneratingHandler(ctx context.Context, controller StatefulSetController, apply apply.Apply, ...)
- func RegisterStatefulSetStatusHandler(ctx context.Context, controller StatefulSetController, ...)
- type DaemonSetCache
- type DaemonSetClient
- type DaemonSetController
- type DaemonSetGeneratingHandler
- type DaemonSetStatusHandler
- type DeploymentCache
- type DeploymentClient
- type DeploymentController
- type DeploymentGeneratingHandler
- type DeploymentStatusHandler
- type Interface
- type StatefulSetCache
- type StatefulSetClient
- type StatefulSetController
- type StatefulSetGeneratingHandler
- type StatefulSetStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDaemonSetGeneratingHandler ¶
func RegisterDaemonSetGeneratingHandler(ctx context.Context, controller DaemonSetController, apply apply.Apply, condition condition.Cond, name string, handler DaemonSetGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterDaemonSetGeneratingHandler configures a DaemonSetController to execute a DaemonSetGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterDaemonSetStatusHandler ¶
func RegisterDaemonSetStatusHandler(ctx context.Context, controller DaemonSetController, condition condition.Cond, name string, handler DaemonSetStatusHandler)
RegisterDaemonSetStatusHandler configures a DaemonSetController to execute a DaemonSetStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterDeploymentGeneratingHandler ¶
func RegisterDeploymentGeneratingHandler(ctx context.Context, controller DeploymentController, apply apply.Apply, condition condition.Cond, name string, handler DeploymentGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterDeploymentGeneratingHandler configures a DeploymentController to execute a DeploymentGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterDeploymentStatusHandler ¶
func RegisterDeploymentStatusHandler(ctx context.Context, controller DeploymentController, condition condition.Cond, name string, handler DeploymentStatusHandler)
RegisterDeploymentStatusHandler configures a DeploymentController to execute a DeploymentStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterStatefulSetGeneratingHandler ¶
func RegisterStatefulSetGeneratingHandler(ctx context.Context, controller StatefulSetController, apply apply.Apply, condition condition.Cond, name string, handler StatefulSetGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterStatefulSetGeneratingHandler configures a StatefulSetController to execute a StatefulSetGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterStatefulSetStatusHandler ¶
func RegisterStatefulSetStatusHandler(ctx context.Context, controller StatefulSetController, condition condition.Cond, name string, handler StatefulSetStatusHandler)
RegisterStatefulSetStatusHandler configures a StatefulSetController to execute a StatefulSetStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
Types ¶
type DaemonSetCache ¶
type DaemonSetCache interface { generic.CacheInterface[*v1.DaemonSet] }
DaemonSetCache interface for retrieving DaemonSet resources in memory.
type DaemonSetClient ¶
type DaemonSetClient interface { generic.ClientInterface[*v1.DaemonSet, *v1.DaemonSetList] }
DaemonSetClient interface for managing DaemonSet resources in Kubernetes.
type DaemonSetController ¶
type DaemonSetController interface { generic.ControllerInterface[*v1.DaemonSet, *v1.DaemonSetList] }
DaemonSetController interface for managing DaemonSet resources.
type DaemonSetGeneratingHandler ¶
type DaemonSetGeneratingHandler func(obj *v1.DaemonSet, status v1.DaemonSetStatus) ([]runtime.Object, v1.DaemonSetStatus, error)
DaemonSetGeneratingHandler is the top-level handler that is executed for every DaemonSet event. It extends DaemonSetStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type DaemonSetStatusHandler ¶
type DaemonSetStatusHandler func(obj *v1.DaemonSet, status v1.DaemonSetStatus) (v1.DaemonSetStatus, error)
DaemonSetStatusHandler is executed for every added or modified DaemonSet. Should return the new status to be updated
type DeploymentCache ¶
type DeploymentCache interface { generic.CacheInterface[*v1.Deployment] }
DeploymentCache interface for retrieving Deployment resources in memory.
type DeploymentClient ¶
type DeploymentClient interface { generic.ClientInterface[*v1.Deployment, *v1.DeploymentList] }
DeploymentClient interface for managing Deployment resources in Kubernetes.
type DeploymentController ¶
type DeploymentController interface { generic.ControllerInterface[*v1.Deployment, *v1.DeploymentList] }
DeploymentController interface for managing Deployment resources.
type DeploymentGeneratingHandler ¶
type DeploymentGeneratingHandler func(obj *v1.Deployment, status v1.DeploymentStatus) ([]runtime.Object, v1.DeploymentStatus, error)
DeploymentGeneratingHandler is the top-level handler that is executed for every Deployment event. It extends DeploymentStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type DeploymentStatusHandler ¶
type DeploymentStatusHandler func(obj *v1.Deployment, status v1.DeploymentStatus) (v1.DeploymentStatus, error)
DeploymentStatusHandler is executed for every added or modified Deployment. Should return the new status to be updated
type Interface ¶
type Interface interface { DaemonSet() DaemonSetController Deployment() DeploymentController StatefulSet() StatefulSetController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type StatefulSetCache ¶
type StatefulSetCache interface { generic.CacheInterface[*v1.StatefulSet] }
StatefulSetCache interface for retrieving StatefulSet resources in memory.
type StatefulSetClient ¶
type StatefulSetClient interface { generic.ClientInterface[*v1.StatefulSet, *v1.StatefulSetList] }
StatefulSetClient interface for managing StatefulSet resources in Kubernetes.
type StatefulSetController ¶
type StatefulSetController interface { generic.ControllerInterface[*v1.StatefulSet, *v1.StatefulSetList] }
StatefulSetController interface for managing StatefulSet resources.
type StatefulSetGeneratingHandler ¶
type StatefulSetGeneratingHandler func(obj *v1.StatefulSet, status v1.StatefulSetStatus) ([]runtime.Object, v1.StatefulSetStatus, error)
StatefulSetGeneratingHandler is the top-level handler that is executed for every StatefulSet event. It extends StatefulSetStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type StatefulSetStatusHandler ¶
type StatefulSetStatusHandler func(obj *v1.StatefulSet, status v1.StatefulSetStatus) (v1.StatefulSetStatus, error)
StatefulSetStatusHandler is executed for every added or modified StatefulSet. Should return the new status to be updated