Documentation
¶
Index ¶
- func RegisterClusterNetworkGeneratingHandler(ctx context.Context, controller ClusterNetworkController, apply apply.Apply, ...)
- func RegisterClusterNetworkStatusHandler(ctx context.Context, controller ClusterNetworkController, ...)
- func RegisterVlanStatusGeneratingHandler(ctx context.Context, controller VlanStatusController, apply apply.Apply, ...)
- func RegisterVlanStatusStatusHandler(ctx context.Context, controller VlanStatusController, condition condition.Cond, ...)
- type ClusterNetworkCache
- type ClusterNetworkClient
- type ClusterNetworkController
- type ClusterNetworkGeneratingHandler
- type ClusterNetworkStatusHandler
- type Interface
- type VlanConfigCache
- type VlanConfigClient
- type VlanConfigController
- type VlanStatusCache
- type VlanStatusClient
- type VlanStatusController
- type VlanStatusGeneratingHandler
- type VlanStatusStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterClusterNetworkGeneratingHandler ¶
func RegisterClusterNetworkGeneratingHandler(ctx context.Context, controller ClusterNetworkController, apply apply.Apply, condition condition.Cond, name string, handler ClusterNetworkGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterClusterNetworkGeneratingHandler configures a ClusterNetworkController to execute a ClusterNetworkGeneratingHandler 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 RegisterClusterNetworkStatusHandler ¶
func RegisterClusterNetworkStatusHandler(ctx context.Context, controller ClusterNetworkController, condition condition.Cond, name string, handler ClusterNetworkStatusHandler)
RegisterClusterNetworkStatusHandler configures a ClusterNetworkController to execute a ClusterNetworkStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterVlanStatusGeneratingHandler ¶
func RegisterVlanStatusGeneratingHandler(ctx context.Context, controller VlanStatusController, apply apply.Apply, condition condition.Cond, name string, handler VlanStatusGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterVlanStatusGeneratingHandler configures a VlanStatusController to execute a VlanStatusGeneratingHandler 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 RegisterVlanStatusStatusHandler ¶
func RegisterVlanStatusStatusHandler(ctx context.Context, controller VlanStatusController, condition condition.Cond, name string, handler VlanStatusStatusHandler)
RegisterVlanStatusStatusHandler configures a VlanStatusController to execute a VlanStatusStatusHandler 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 ClusterNetworkCache ¶
type ClusterNetworkCache interface { generic.NonNamespacedCacheInterface[*v1beta1.ClusterNetwork] }
ClusterNetworkCache interface for retrieving ClusterNetwork resources in memory.
type ClusterNetworkClient ¶
type ClusterNetworkClient interface { generic.NonNamespacedClientInterface[*v1beta1.ClusterNetwork, *v1beta1.ClusterNetworkList] }
ClusterNetworkClient interface for managing ClusterNetwork resources in Kubernetes.
type ClusterNetworkController ¶
type ClusterNetworkController interface { generic.NonNamespacedControllerInterface[*v1beta1.ClusterNetwork, *v1beta1.ClusterNetworkList] }
ClusterNetworkController interface for managing ClusterNetwork resources.
type ClusterNetworkGeneratingHandler ¶
type ClusterNetworkGeneratingHandler func(obj *v1beta1.ClusterNetwork, status v1beta1.ClusterNetworkStatus) ([]runtime.Object, v1beta1.ClusterNetworkStatus, error)
ClusterNetworkGeneratingHandler is the top-level handler that is executed for every ClusterNetwork event. It extends ClusterNetworkStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type ClusterNetworkStatusHandler ¶
type ClusterNetworkStatusHandler func(obj *v1beta1.ClusterNetwork, status v1beta1.ClusterNetworkStatus) (v1beta1.ClusterNetworkStatus, error)
ClusterNetworkStatusHandler is executed for every added or modified ClusterNetwork. Should return the new status to be updated
type Interface ¶
type Interface interface { ClusterNetwork() ClusterNetworkController VlanConfig() VlanConfigController VlanStatus() VlanStatusController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type VlanConfigCache ¶
type VlanConfigCache interface { generic.NonNamespacedCacheInterface[*v1beta1.VlanConfig] }
VlanConfigCache interface for retrieving VlanConfig resources in memory.
type VlanConfigClient ¶
type VlanConfigClient interface { generic.NonNamespacedClientInterface[*v1beta1.VlanConfig, *v1beta1.VlanConfigList] }
VlanConfigClient interface for managing VlanConfig resources in Kubernetes.
type VlanConfigController ¶
type VlanConfigController interface { generic.NonNamespacedControllerInterface[*v1beta1.VlanConfig, *v1beta1.VlanConfigList] }
VlanConfigController interface for managing VlanConfig resources.
type VlanStatusCache ¶
type VlanStatusCache interface { generic.NonNamespacedCacheInterface[*v1beta1.VlanStatus] }
VlanStatusCache interface for retrieving VlanStatus resources in memory.
type VlanStatusClient ¶
type VlanStatusClient interface { generic.NonNamespacedClientInterface[*v1beta1.VlanStatus, *v1beta1.VlanStatusList] }
VlanStatusClient interface for managing VlanStatus resources in Kubernetes.
type VlanStatusController ¶
type VlanStatusController interface { generic.NonNamespacedControllerInterface[*v1beta1.VlanStatus, *v1beta1.VlanStatusList] }
VlanStatusController interface for managing VlanStatus resources.
type VlanStatusGeneratingHandler ¶
type VlanStatusGeneratingHandler func(obj *v1beta1.VlanStatus, status v1beta1.VlStatus) ([]runtime.Object, v1beta1.VlStatus, error)
VlanStatusGeneratingHandler is the top-level handler that is executed for every VlanStatus event. It extends VlanStatusStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type VlanStatusStatusHandler ¶
type VlanStatusStatusHandler func(obj *v1beta1.VlanStatus, status v1beta1.VlStatus) (v1beta1.VlStatus, error)
VlanStatusStatusHandler is executed for every added or modified VlanStatus. Should return the new status to be updated