Documentation ¶
Index ¶
- func FromIPPoolHandlerToHandler(sync IPPoolHandler) generic.Handler
- func FromVirtualMachineNetworkConfigHandlerToHandler(sync VirtualMachineNetworkConfigHandler) generic.Handler
- func RegisterIPPoolGeneratingHandler(ctx context.Context, controller IPPoolController, apply apply.Apply, ...)
- func RegisterIPPoolStatusHandler(ctx context.Context, controller IPPoolController, condition condition.Cond, ...)
- func RegisterVirtualMachineNetworkConfigGeneratingHandler(ctx context.Context, controller VirtualMachineNetworkConfigController, ...)
- func RegisterVirtualMachineNetworkConfigStatusHandler(ctx context.Context, controller VirtualMachineNetworkConfigController, ...)
- func UpdateIPPoolDeepCopyOnChange(client IPPoolClient, obj *v1alpha1.IPPool, ...) (*v1alpha1.IPPool, error)
- func UpdateVirtualMachineNetworkConfigDeepCopyOnChange(client VirtualMachineNetworkConfigClient, ...) (*v1alpha1.VirtualMachineNetworkConfig, error)
- type IPPoolCache
- type IPPoolClient
- type IPPoolController
- type IPPoolGeneratingHandler
- type IPPoolHandler
- type IPPoolIndexer
- type IPPoolStatusHandler
- type Interface
- type VirtualMachineNetworkConfigCache
- type VirtualMachineNetworkConfigClient
- type VirtualMachineNetworkConfigController
- type VirtualMachineNetworkConfigGeneratingHandler
- type VirtualMachineNetworkConfigHandler
- type VirtualMachineNetworkConfigIndexer
- type VirtualMachineNetworkConfigStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromIPPoolHandlerToHandler ¶
func FromIPPoolHandlerToHandler(sync IPPoolHandler) generic.Handler
func FromVirtualMachineNetworkConfigHandlerToHandler ¶
func FromVirtualMachineNetworkConfigHandlerToHandler(sync VirtualMachineNetworkConfigHandler) generic.Handler
func RegisterIPPoolGeneratingHandler ¶
func RegisterIPPoolGeneratingHandler(ctx context.Context, controller IPPoolController, apply apply.Apply, condition condition.Cond, name string, handler IPPoolGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterIPPoolStatusHandler ¶
func RegisterIPPoolStatusHandler(ctx context.Context, controller IPPoolController, condition condition.Cond, name string, handler IPPoolStatusHandler)
func RegisterVirtualMachineNetworkConfigGeneratingHandler ¶
func RegisterVirtualMachineNetworkConfigGeneratingHandler(ctx context.Context, controller VirtualMachineNetworkConfigController, apply apply.Apply, condition condition.Cond, name string, handler VirtualMachineNetworkConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterVirtualMachineNetworkConfigStatusHandler ¶
func RegisterVirtualMachineNetworkConfigStatusHandler(ctx context.Context, controller VirtualMachineNetworkConfigController, condition condition.Cond, name string, handler VirtualMachineNetworkConfigStatusHandler)
func UpdateVirtualMachineNetworkConfigDeepCopyOnChange ¶
func UpdateVirtualMachineNetworkConfigDeepCopyOnChange(client VirtualMachineNetworkConfigClient, obj *v1alpha1.VirtualMachineNetworkConfig, handler func(obj *v1alpha1.VirtualMachineNetworkConfig) (*v1alpha1.VirtualMachineNetworkConfig, error)) (*v1alpha1.VirtualMachineNetworkConfig, error)
Types ¶
type IPPoolCache ¶
type IPPoolClient ¶
type IPPoolClient interface { Create(*v1alpha1.IPPool) (*v1alpha1.IPPool, error) Update(*v1alpha1.IPPool) (*v1alpha1.IPPool, error) UpdateStatus(*v1alpha1.IPPool) (*v1alpha1.IPPool, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha1.IPPool, error) List(namespace string, opts metav1.ListOptions) (*v1alpha1.IPPoolList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.IPPool, err error) }
type IPPoolController ¶
type IPPoolController interface { generic.ControllerMeta IPPoolClient OnChange(ctx context.Context, name string, sync IPPoolHandler) OnRemove(ctx context.Context, name string, sync IPPoolHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() IPPoolCache }
func NewIPPoolController ¶
func NewIPPoolController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) IPPoolController
type IPPoolGeneratingHandler ¶
type IPPoolGeneratingHandler func(obj *v1alpha1.IPPool, status v1alpha1.IPPoolStatus) ([]runtime.Object, v1alpha1.IPPoolStatus, error)
type IPPoolStatusHandler ¶
type IPPoolStatusHandler func(obj *v1alpha1.IPPool, status v1alpha1.IPPoolStatus) (v1alpha1.IPPoolStatus, error)
type Interface ¶
type Interface interface { IPPool() IPPoolController VirtualMachineNetworkConfig() VirtualMachineNetworkConfigController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type VirtualMachineNetworkConfigCache ¶
type VirtualMachineNetworkConfigCache interface { Get(namespace, name string) (*v1alpha1.VirtualMachineNetworkConfig, error) List(namespace string, selector labels.Selector) ([]*v1alpha1.VirtualMachineNetworkConfig, error) AddIndexer(indexName string, indexer VirtualMachineNetworkConfigIndexer) GetByIndex(indexName, key string) ([]*v1alpha1.VirtualMachineNetworkConfig, error) }
type VirtualMachineNetworkConfigClient ¶
type VirtualMachineNetworkConfigClient interface { Create(*v1alpha1.VirtualMachineNetworkConfig) (*v1alpha1.VirtualMachineNetworkConfig, error) Update(*v1alpha1.VirtualMachineNetworkConfig) (*v1alpha1.VirtualMachineNetworkConfig, error) UpdateStatus(*v1alpha1.VirtualMachineNetworkConfig) (*v1alpha1.VirtualMachineNetworkConfig, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha1.VirtualMachineNetworkConfig, error) List(namespace string, opts metav1.ListOptions) (*v1alpha1.VirtualMachineNetworkConfigList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VirtualMachineNetworkConfig, err error) }
type VirtualMachineNetworkConfigController ¶
type VirtualMachineNetworkConfigController interface { generic.ControllerMeta VirtualMachineNetworkConfigClient OnChange(ctx context.Context, name string, sync VirtualMachineNetworkConfigHandler) OnRemove(ctx context.Context, name string, sync VirtualMachineNetworkConfigHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() VirtualMachineNetworkConfigCache }
func NewVirtualMachineNetworkConfigController ¶
func NewVirtualMachineNetworkConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineNetworkConfigController
type VirtualMachineNetworkConfigGeneratingHandler ¶
type VirtualMachineNetworkConfigGeneratingHandler func(obj *v1alpha1.VirtualMachineNetworkConfig, status v1alpha1.VirtualMachineNetworkConfigStatus) ([]runtime.Object, v1alpha1.VirtualMachineNetworkConfigStatus, error)
type VirtualMachineNetworkConfigHandler ¶
type VirtualMachineNetworkConfigHandler func(string, *v1alpha1.VirtualMachineNetworkConfig) (*v1alpha1.VirtualMachineNetworkConfig, error)
type VirtualMachineNetworkConfigIndexer ¶
type VirtualMachineNetworkConfigIndexer func(obj *v1alpha1.VirtualMachineNetworkConfig) ([]string, error)
type VirtualMachineNetworkConfigStatusHandler ¶
type VirtualMachineNetworkConfigStatusHandler func(obj *v1alpha1.VirtualMachineNetworkConfig, status v1alpha1.VirtualMachineNetworkConfigStatus) (v1alpha1.VirtualMachineNetworkConfigStatus, error)
Click to show internal directories.
Click to hide internal directories.