Documentation ¶
Index ¶
- func RegisterCCEClusterConfigGeneratingHandler(ctx context.Context, controller CCEClusterConfigController, apply apply.Apply, ...)
- func RegisterCCEClusterConfigStatusHandler(ctx context.Context, controller CCEClusterConfigController, ...)
- type CCEClusterConfigCache
- type CCEClusterConfigClient
- type CCEClusterConfigController
- type CCEClusterConfigGeneratingHandler
- type CCEClusterConfigStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCCEClusterConfigGeneratingHandler ¶
func RegisterCCEClusterConfigGeneratingHandler(ctx context.Context, controller CCEClusterConfigController, apply apply.Apply, condition condition.Cond, name string, handler CCEClusterConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterCCEClusterConfigGeneratingHandler configures a CCEClusterConfigController to execute a CCEClusterConfigGeneratingHandler 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 RegisterCCEClusterConfigStatusHandler ¶
func RegisterCCEClusterConfigStatusHandler(ctx context.Context, controller CCEClusterConfigController, condition condition.Cond, name string, handler CCEClusterConfigStatusHandler)
RegisterCCEClusterConfigStatusHandler configures a CCEClusterConfigController to execute a CCEClusterConfigStatusHandler 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 CCEClusterConfigCache ¶
type CCEClusterConfigCache interface { generic.CacheInterface[*v1.CCEClusterConfig] }
CCEClusterConfigCache interface for retrieving CCEClusterConfig resources in memory.
type CCEClusterConfigClient ¶
type CCEClusterConfigClient interface { generic.ClientInterface[*v1.CCEClusterConfig, *v1.CCEClusterConfigList] }
CCEClusterConfigClient interface for managing CCEClusterConfig resources in Kubernetes.
type CCEClusterConfigController ¶
type CCEClusterConfigController interface { generic.ControllerInterface[*v1.CCEClusterConfig, *v1.CCEClusterConfigList] }
CCEClusterConfigController interface for managing CCEClusterConfig resources.
type CCEClusterConfigGeneratingHandler ¶
type CCEClusterConfigGeneratingHandler func(obj *v1.CCEClusterConfig, status v1.CCEClusterConfigStatus) ([]runtime.Object, v1.CCEClusterConfigStatus, error)
CCEClusterConfigGeneratingHandler is the top-level handler that is executed for every CCEClusterConfig event. It extends CCEClusterConfigStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type CCEClusterConfigStatusHandler ¶
type CCEClusterConfigStatusHandler func(obj *v1.CCEClusterConfig, status v1.CCEClusterConfigStatus) (v1.CCEClusterConfigStatus, error)
CCEClusterConfigStatusHandler is executed for every added or modified CCEClusterConfig. Should return the new status to be updated
type Interface ¶
type Interface interface {
CCEClusterConfig() CCEClusterConfigController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface