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