Documentation ¶
Index ¶
- func RegisterFlatNetworkIPGeneratingHandler(ctx context.Context, controller FlatNetworkIPController, apply apply.Apply, ...)
- func RegisterFlatNetworkIPStatusHandler(ctx context.Context, controller FlatNetworkIPController, ...)
- func RegisterFlatNetworkSubnetGeneratingHandler(ctx context.Context, controller FlatNetworkSubnetController, apply apply.Apply, ...)
- func RegisterFlatNetworkSubnetStatusHandler(ctx context.Context, controller FlatNetworkSubnetController, ...)
- type FlatNetworkIPCache
- type FlatNetworkIPClient
- type FlatNetworkIPController
- type FlatNetworkIPGeneratingHandler
- type FlatNetworkIPStatusHandler
- type FlatNetworkSubnetCache
- type FlatNetworkSubnetClient
- type FlatNetworkSubnetController
- type FlatNetworkSubnetGeneratingHandler
- type FlatNetworkSubnetStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFlatNetworkIPGeneratingHandler ¶
func RegisterFlatNetworkIPGeneratingHandler(ctx context.Context, controller FlatNetworkIPController, apply apply.Apply, condition condition.Cond, name string, handler FlatNetworkIPGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterFlatNetworkIPGeneratingHandler configures a FlatNetworkIPController to execute a FlatNetworkIPGeneratingHandler 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 RegisterFlatNetworkIPStatusHandler ¶
func RegisterFlatNetworkIPStatusHandler(ctx context.Context, controller FlatNetworkIPController, condition condition.Cond, name string, handler FlatNetworkIPStatusHandler)
RegisterFlatNetworkIPStatusHandler configures a FlatNetworkIPController to execute a FlatNetworkIPStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterFlatNetworkSubnetGeneratingHandler ¶
func RegisterFlatNetworkSubnetGeneratingHandler(ctx context.Context, controller FlatNetworkSubnetController, apply apply.Apply, condition condition.Cond, name string, handler FlatNetworkSubnetGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterFlatNetworkSubnetGeneratingHandler configures a FlatNetworkSubnetController to execute a FlatNetworkSubnetGeneratingHandler 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 RegisterFlatNetworkSubnetStatusHandler ¶
func RegisterFlatNetworkSubnetStatusHandler(ctx context.Context, controller FlatNetworkSubnetController, condition condition.Cond, name string, handler FlatNetworkSubnetStatusHandler)
RegisterFlatNetworkSubnetStatusHandler configures a FlatNetworkSubnetController to execute a FlatNetworkSubnetStatusHandler 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 FlatNetworkIPCache ¶
type FlatNetworkIPCache interface { generic.CacheInterface[*v1.FlatNetworkIP] }
FlatNetworkIPCache interface for retrieving FlatNetworkIP resources in memory.
type FlatNetworkIPClient ¶
type FlatNetworkIPClient interface { generic.ClientInterface[*v1.FlatNetworkIP, *v1.FlatNetworkIPList] }
FlatNetworkIPClient interface for managing FlatNetworkIP resources in Kubernetes.
type FlatNetworkIPController ¶
type FlatNetworkIPController interface { generic.ControllerInterface[*v1.FlatNetworkIP, *v1.FlatNetworkIPList] }
FlatNetworkIPController interface for managing FlatNetworkIP resources.
type FlatNetworkIPGeneratingHandler ¶
type FlatNetworkIPGeneratingHandler func(obj *v1.FlatNetworkIP, status v1.IPStatus) ([]runtime.Object, v1.IPStatus, error)
FlatNetworkIPGeneratingHandler is the top-level handler that is executed for every FlatNetworkIP event. It extends FlatNetworkIPStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type FlatNetworkIPStatusHandler ¶
type FlatNetworkIPStatusHandler func(obj *v1.FlatNetworkIP, status v1.IPStatus) (v1.IPStatus, error)
FlatNetworkIPStatusHandler is executed for every added or modified FlatNetworkIP. Should return the new status to be updated
type FlatNetworkSubnetCache ¶
type FlatNetworkSubnetCache interface { generic.CacheInterface[*v1.FlatNetworkSubnet] }
FlatNetworkSubnetCache interface for retrieving FlatNetworkSubnet resources in memory.
type FlatNetworkSubnetClient ¶
type FlatNetworkSubnetClient interface { generic.ClientInterface[*v1.FlatNetworkSubnet, *v1.FlatNetworkSubnetList] }
FlatNetworkSubnetClient interface for managing FlatNetworkSubnet resources in Kubernetes.
type FlatNetworkSubnetController ¶
type FlatNetworkSubnetController interface { generic.ControllerInterface[*v1.FlatNetworkSubnet, *v1.FlatNetworkSubnetList] }
FlatNetworkSubnetController interface for managing FlatNetworkSubnet resources.
type FlatNetworkSubnetGeneratingHandler ¶
type FlatNetworkSubnetGeneratingHandler func(obj *v1.FlatNetworkSubnet, status v1.SubnetStatus) ([]runtime.Object, v1.SubnetStatus, error)
FlatNetworkSubnetGeneratingHandler is the top-level handler that is executed for every FlatNetworkSubnet event. It extends FlatNetworkSubnetStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type FlatNetworkSubnetStatusHandler ¶
type FlatNetworkSubnetStatusHandler func(obj *v1.FlatNetworkSubnet, status v1.SubnetStatus) (v1.SubnetStatus, error)
FlatNetworkSubnetStatusHandler is executed for every added or modified FlatNetworkSubnet. Should return the new status to be updated
type Interface ¶
type Interface interface { FlatNetworkIP() FlatNetworkIPController FlatNetworkSubnet() FlatNetworkSubnetController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface