Documentation ¶
Index ¶
- func RegisterCloudInitGeneratingHandler(ctx context.Context, controller CloudInitController, apply apply.Apply, ...)
- func RegisterCloudInitStatusHandler(ctx context.Context, controller CloudInitController, condition condition.Cond, ...)
- func RegisterKsmtunedGeneratingHandler(ctx context.Context, controller KsmtunedController, apply apply.Apply, ...)
- func RegisterKsmtunedStatusHandler(ctx context.Context, controller KsmtunedController, condition condition.Cond, ...)
- func RegisterNodeConfigGeneratingHandler(ctx context.Context, controller NodeConfigController, apply apply.Apply, ...)
- func RegisterNodeConfigStatusHandler(ctx context.Context, controller NodeConfigController, condition condition.Cond, ...)
- type CloudInitCache
- type CloudInitClient
- type CloudInitController
- type CloudInitGeneratingHandler
- type CloudInitStatusHandler
- type Interface
- type KsmtunedCache
- type KsmtunedClient
- type KsmtunedController
- type KsmtunedGeneratingHandler
- type KsmtunedStatusHandler
- type NodeConfigCache
- type NodeConfigClient
- type NodeConfigController
- type NodeConfigGeneratingHandler
- type NodeConfigStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCloudInitGeneratingHandler ¶ added in v0.1.9
func RegisterCloudInitGeneratingHandler(ctx context.Context, controller CloudInitController, apply apply.Apply, condition condition.Cond, name string, handler CloudInitGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterCloudInitGeneratingHandler configures a CloudInitController to execute a CloudInitGeneratingHandler 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 RegisterCloudInitStatusHandler ¶ added in v0.1.9
func RegisterCloudInitStatusHandler(ctx context.Context, controller CloudInitController, condition condition.Cond, name string, handler CloudInitStatusHandler)
RegisterCloudInitStatusHandler configures a CloudInitController to execute a CloudInitStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterKsmtunedGeneratingHandler ¶
func RegisterKsmtunedGeneratingHandler(ctx context.Context, controller KsmtunedController, apply apply.Apply, condition condition.Cond, name string, handler KsmtunedGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterKsmtunedGeneratingHandler configures a KsmtunedController to execute a KsmtunedGeneratingHandler 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 RegisterKsmtunedStatusHandler ¶
func RegisterKsmtunedStatusHandler(ctx context.Context, controller KsmtunedController, condition condition.Cond, name string, handler KsmtunedStatusHandler)
RegisterKsmtunedStatusHandler configures a KsmtunedController to execute a KsmtunedStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterNodeConfigGeneratingHandler ¶ added in v0.1.5
func RegisterNodeConfigGeneratingHandler(ctx context.Context, controller NodeConfigController, apply apply.Apply, condition condition.Cond, name string, handler NodeConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterNodeConfigGeneratingHandler configures a NodeConfigController to execute a NodeConfigGeneratingHandler 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 RegisterNodeConfigStatusHandler ¶ added in v0.1.5
func RegisterNodeConfigStatusHandler(ctx context.Context, controller NodeConfigController, condition condition.Cond, name string, handler NodeConfigStatusHandler)
RegisterNodeConfigStatusHandler configures a NodeConfigController to execute a NodeConfigStatusHandler 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 CloudInitCache ¶ added in v0.1.9
type CloudInitCache interface { generic.NonNamespacedCacheInterface[*v1beta1.CloudInit] }
CloudInitCache interface for retrieving CloudInit resources in memory.
type CloudInitClient ¶ added in v0.1.9
type CloudInitClient interface { generic.NonNamespacedClientInterface[*v1beta1.CloudInit, *v1beta1.CloudInitList] }
CloudInitClient interface for managing CloudInit resources in Kubernetes.
type CloudInitController ¶ added in v0.1.9
type CloudInitController interface { generic.NonNamespacedControllerInterface[*v1beta1.CloudInit, *v1beta1.CloudInitList] }
CloudInitController interface for managing CloudInit resources.
type CloudInitGeneratingHandler ¶ added in v0.1.9
type CloudInitGeneratingHandler func(obj *v1beta1.CloudInit, status v1beta1.CloudInitStatus) ([]runtime.Object, v1beta1.CloudInitStatus, error)
CloudInitGeneratingHandler is the top-level handler that is executed for every CloudInit event. It extends CloudInitStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type CloudInitStatusHandler ¶ added in v0.1.9
type CloudInitStatusHandler func(obj *v1beta1.CloudInit, status v1beta1.CloudInitStatus) (v1beta1.CloudInitStatus, error)
CloudInitStatusHandler is executed for every added or modified CloudInit. Should return the new status to be updated
type Interface ¶
type Interface interface { CloudInit() CloudInitController Ksmtuned() KsmtunedController NodeConfig() NodeConfigController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type KsmtunedCache ¶
type KsmtunedCache interface { generic.NonNamespacedCacheInterface[*v1beta1.Ksmtuned] }
KsmtunedCache interface for retrieving Ksmtuned resources in memory.
type KsmtunedClient ¶
type KsmtunedClient interface { generic.NonNamespacedClientInterface[*v1beta1.Ksmtuned, *v1beta1.KsmtunedList] }
KsmtunedClient interface for managing Ksmtuned resources in Kubernetes.
type KsmtunedController ¶
type KsmtunedController interface { generic.NonNamespacedControllerInterface[*v1beta1.Ksmtuned, *v1beta1.KsmtunedList] }
KsmtunedController interface for managing Ksmtuned resources.
type KsmtunedGeneratingHandler ¶
type KsmtunedGeneratingHandler func(obj *v1beta1.Ksmtuned, status v1beta1.KsmtunedStatus) ([]runtime.Object, v1beta1.KsmtunedStatus, error)
KsmtunedGeneratingHandler is the top-level handler that is executed for every Ksmtuned event. It extends KsmtunedStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type KsmtunedStatusHandler ¶
type KsmtunedStatusHandler func(obj *v1beta1.Ksmtuned, status v1beta1.KsmtunedStatus) (v1beta1.KsmtunedStatus, error)
KsmtunedStatusHandler is executed for every added or modified Ksmtuned. Should return the new status to be updated
type NodeConfigCache ¶ added in v0.1.5
type NodeConfigCache interface { generic.CacheInterface[*v1beta1.NodeConfig] }
NodeConfigCache interface for retrieving NodeConfig resources in memory.
type NodeConfigClient ¶ added in v0.1.5
type NodeConfigClient interface { generic.ClientInterface[*v1beta1.NodeConfig, *v1beta1.NodeConfigList] }
NodeConfigClient interface for managing NodeConfig resources in Kubernetes.
type NodeConfigController ¶ added in v0.1.5
type NodeConfigController interface { generic.ControllerInterface[*v1beta1.NodeConfig, *v1beta1.NodeConfigList] }
NodeConfigController interface for managing NodeConfig resources.
type NodeConfigGeneratingHandler ¶ added in v0.1.5
type NodeConfigGeneratingHandler func(obj *v1beta1.NodeConfig, status v1beta1.NodeConfigStatus) ([]runtime.Object, v1beta1.NodeConfigStatus, error)
NodeConfigGeneratingHandler is the top-level handler that is executed for every NodeConfig event. It extends NodeConfigStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type NodeConfigStatusHandler ¶ added in v0.1.5
type NodeConfigStatusHandler func(obj *v1beta1.NodeConfig, status v1beta1.NodeConfigStatus) (v1beta1.NodeConfigStatus, error)
NodeConfigStatusHandler is executed for every added or modified NodeConfig. Should return the new status to be updated