Documentation ¶
Index ¶
- func FromClusterNetworkHandlerToHandler(sync ClusterNetworkHandler) generic.Handler
- func FromLinkMonitorHandlerToHandler(sync LinkMonitorHandler) generic.Handler
- func FromNodeNetworkHandlerToHandler(sync NodeNetworkHandler) generic.Handler
- func FromVlanConfigHandlerToHandler(sync VlanConfigHandler) generic.Handler
- func FromVlanStatusHandlerToHandler(sync VlanStatusHandler) generic.Handler
- func RegisterClusterNetworkGeneratingHandler(ctx context.Context, controller ClusterNetworkController, apply apply.Apply, ...)
- func RegisterClusterNetworkStatusHandler(ctx context.Context, controller ClusterNetworkController, ...)
- func RegisterLinkMonitorGeneratingHandler(ctx context.Context, controller LinkMonitorController, apply apply.Apply, ...)
- func RegisterLinkMonitorStatusHandler(ctx context.Context, controller LinkMonitorController, ...)
- func RegisterNodeNetworkGeneratingHandler(ctx context.Context, controller NodeNetworkController, apply apply.Apply, ...)
- func RegisterNodeNetworkStatusHandler(ctx context.Context, controller NodeNetworkController, ...)
- func RegisterVlanStatusGeneratingHandler(ctx context.Context, controller VlanStatusController, apply apply.Apply, ...)
- func RegisterVlanStatusStatusHandler(ctx context.Context, controller VlanStatusController, condition condition.Cond, ...)
- func UpdateClusterNetworkDeepCopyOnChange(client ClusterNetworkClient, obj *v1beta1.ClusterNetwork, ...) (*v1beta1.ClusterNetwork, error)
- func UpdateLinkMonitorDeepCopyOnChange(client LinkMonitorClient, obj *v1beta1.LinkMonitor, ...) (*v1beta1.LinkMonitor, error)
- func UpdateNodeNetworkDeepCopyOnChange(client NodeNetworkClient, obj *v1beta1.NodeNetwork, ...) (*v1beta1.NodeNetwork, error)
- func UpdateVlanConfigDeepCopyOnChange(client VlanConfigClient, obj *v1beta1.VlanConfig, ...) (*v1beta1.VlanConfig, error)
- func UpdateVlanStatusDeepCopyOnChange(client VlanStatusClient, obj *v1beta1.VlanStatus, ...) (*v1beta1.VlanStatus, error)
- type ClusterNetworkCache
- type ClusterNetworkClient
- type ClusterNetworkController
- type ClusterNetworkGeneratingHandler
- type ClusterNetworkHandler
- type ClusterNetworkIndexer
- type ClusterNetworkStatusHandler
- type Interface
- type LinkMonitorCache
- type LinkMonitorClient
- type LinkMonitorController
- type LinkMonitorGeneratingHandler
- type LinkMonitorHandler
- type LinkMonitorIndexer
- type LinkMonitorStatusHandler
- type NodeNetworkCache
- type NodeNetworkClient
- type NodeNetworkController
- type NodeNetworkGeneratingHandler
- type NodeNetworkHandler
- type NodeNetworkIndexer
- type NodeNetworkStatusHandler
- type VlanConfigCache
- type VlanConfigClient
- type VlanConfigController
- type VlanConfigHandler
- type VlanConfigIndexer
- type VlanStatusCache
- type VlanStatusClient
- type VlanStatusController
- type VlanStatusGeneratingHandler
- type VlanStatusHandler
- type VlanStatusIndexer
- type VlanStatusStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromClusterNetworkHandlerToHandler ¶
func FromClusterNetworkHandlerToHandler(sync ClusterNetworkHandler) generic.Handler
func FromLinkMonitorHandlerToHandler ¶ added in v0.3.0
func FromLinkMonitorHandlerToHandler(sync LinkMonitorHandler) generic.Handler
func FromNodeNetworkHandlerToHandler ¶
func FromNodeNetworkHandlerToHandler(sync NodeNetworkHandler) generic.Handler
func FromVlanConfigHandlerToHandler ¶ added in v0.3.0
func FromVlanConfigHandlerToHandler(sync VlanConfigHandler) generic.Handler
func FromVlanStatusHandlerToHandler ¶ added in v0.3.0
func FromVlanStatusHandlerToHandler(sync VlanStatusHandler) generic.Handler
func RegisterClusterNetworkGeneratingHandler ¶ added in v0.3.0
func RegisterClusterNetworkGeneratingHandler(ctx context.Context, controller ClusterNetworkController, apply apply.Apply, condition condition.Cond, name string, handler ClusterNetworkGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterClusterNetworkStatusHandler ¶ added in v0.3.0
func RegisterClusterNetworkStatusHandler(ctx context.Context, controller ClusterNetworkController, condition condition.Cond, name string, handler ClusterNetworkStatusHandler)
func RegisterLinkMonitorGeneratingHandler ¶ added in v0.3.0
func RegisterLinkMonitorGeneratingHandler(ctx context.Context, controller LinkMonitorController, apply apply.Apply, condition condition.Cond, name string, handler LinkMonitorGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterLinkMonitorStatusHandler ¶ added in v0.3.0
func RegisterLinkMonitorStatusHandler(ctx context.Context, controller LinkMonitorController, condition condition.Cond, name string, handler LinkMonitorStatusHandler)
func RegisterNodeNetworkGeneratingHandler ¶
func RegisterNodeNetworkGeneratingHandler(ctx context.Context, controller NodeNetworkController, apply apply.Apply, condition condition.Cond, name string, handler NodeNetworkGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterNodeNetworkStatusHandler ¶
func RegisterNodeNetworkStatusHandler(ctx context.Context, controller NodeNetworkController, condition condition.Cond, name string, handler NodeNetworkStatusHandler)
func RegisterVlanStatusGeneratingHandler ¶ added in v0.3.0
func RegisterVlanStatusGeneratingHandler(ctx context.Context, controller VlanStatusController, apply apply.Apply, condition condition.Cond, name string, handler VlanStatusGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterVlanStatusStatusHandler ¶ added in v0.3.0
func RegisterVlanStatusStatusHandler(ctx context.Context, controller VlanStatusController, condition condition.Cond, name string, handler VlanStatusStatusHandler)
func UpdateClusterNetworkDeepCopyOnChange ¶
func UpdateClusterNetworkDeepCopyOnChange(client ClusterNetworkClient, obj *v1beta1.ClusterNetwork, handler func(obj *v1beta1.ClusterNetwork) (*v1beta1.ClusterNetwork, error)) (*v1beta1.ClusterNetwork, error)
func UpdateLinkMonitorDeepCopyOnChange ¶ added in v0.3.0
func UpdateLinkMonitorDeepCopyOnChange(client LinkMonitorClient, obj *v1beta1.LinkMonitor, handler func(obj *v1beta1.LinkMonitor) (*v1beta1.LinkMonitor, error)) (*v1beta1.LinkMonitor, error)
func UpdateNodeNetworkDeepCopyOnChange ¶
func UpdateNodeNetworkDeepCopyOnChange(client NodeNetworkClient, obj *v1beta1.NodeNetwork, handler func(obj *v1beta1.NodeNetwork) (*v1beta1.NodeNetwork, error)) (*v1beta1.NodeNetwork, error)
func UpdateVlanConfigDeepCopyOnChange ¶ added in v0.3.0
func UpdateVlanConfigDeepCopyOnChange(client VlanConfigClient, obj *v1beta1.VlanConfig, handler func(obj *v1beta1.VlanConfig) (*v1beta1.VlanConfig, error)) (*v1beta1.VlanConfig, error)
func UpdateVlanStatusDeepCopyOnChange ¶ added in v0.3.0
func UpdateVlanStatusDeepCopyOnChange(client VlanStatusClient, obj *v1beta1.VlanStatus, handler func(obj *v1beta1.VlanStatus) (*v1beta1.VlanStatus, error)) (*v1beta1.VlanStatus, error)
Types ¶
type ClusterNetworkCache ¶
type ClusterNetworkCache interface { Get(name string) (*v1beta1.ClusterNetwork, error) List(selector labels.Selector) ([]*v1beta1.ClusterNetwork, error) AddIndexer(indexName string, indexer ClusterNetworkIndexer) GetByIndex(indexName, key string) ([]*v1beta1.ClusterNetwork, error) }
type ClusterNetworkClient ¶
type ClusterNetworkClient interface { Create(*v1beta1.ClusterNetwork) (*v1beta1.ClusterNetwork, error) Update(*v1beta1.ClusterNetwork) (*v1beta1.ClusterNetwork, error) UpdateStatus(*v1beta1.ClusterNetwork) (*v1beta1.ClusterNetwork, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.ClusterNetwork, error) List(opts metav1.ListOptions) (*v1beta1.ClusterNetworkList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ClusterNetwork, err error) }
type ClusterNetworkController ¶
type ClusterNetworkController interface { generic.ControllerMeta ClusterNetworkClient OnChange(ctx context.Context, name string, sync ClusterNetworkHandler) OnRemove(ctx context.Context, name string, sync ClusterNetworkHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() ClusterNetworkCache }
func NewClusterNetworkController ¶
func NewClusterNetworkController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ClusterNetworkController
type ClusterNetworkGeneratingHandler ¶ added in v0.3.0
type ClusterNetworkGeneratingHandler func(obj *v1beta1.ClusterNetwork, status v1beta1.ClusterNetworkStatus) ([]runtime.Object, v1beta1.ClusterNetworkStatus, error)
type ClusterNetworkHandler ¶
type ClusterNetworkHandler func(string, *v1beta1.ClusterNetwork) (*v1beta1.ClusterNetwork, error)
type ClusterNetworkIndexer ¶
type ClusterNetworkIndexer func(obj *v1beta1.ClusterNetwork) ([]string, error)
type ClusterNetworkStatusHandler ¶ added in v0.3.0
type ClusterNetworkStatusHandler func(obj *v1beta1.ClusterNetwork, status v1beta1.ClusterNetworkStatus) (v1beta1.ClusterNetworkStatus, error)
type Interface ¶
type Interface interface { ClusterNetwork() ClusterNetworkController LinkMonitor() LinkMonitorController NodeNetwork() NodeNetworkController VlanConfig() VlanConfigController VlanStatus() VlanStatusController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type LinkMonitorCache ¶ added in v0.3.0
type LinkMonitorCache interface { Get(name string) (*v1beta1.LinkMonitor, error) List(selector labels.Selector) ([]*v1beta1.LinkMonitor, error) AddIndexer(indexName string, indexer LinkMonitorIndexer) GetByIndex(indexName, key string) ([]*v1beta1.LinkMonitor, error) }
type LinkMonitorClient ¶ added in v0.3.0
type LinkMonitorClient interface { Create(*v1beta1.LinkMonitor) (*v1beta1.LinkMonitor, error) Update(*v1beta1.LinkMonitor) (*v1beta1.LinkMonitor, error) UpdateStatus(*v1beta1.LinkMonitor) (*v1beta1.LinkMonitor, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.LinkMonitor, error) List(opts metav1.ListOptions) (*v1beta1.LinkMonitorList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.LinkMonitor, err error) }
type LinkMonitorController ¶ added in v0.3.0
type LinkMonitorController interface { generic.ControllerMeta LinkMonitorClient OnChange(ctx context.Context, name string, sync LinkMonitorHandler) OnRemove(ctx context.Context, name string, sync LinkMonitorHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() LinkMonitorCache }
func NewLinkMonitorController ¶ added in v0.3.0
func NewLinkMonitorController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) LinkMonitorController
type LinkMonitorGeneratingHandler ¶ added in v0.3.0
type LinkMonitorGeneratingHandler func(obj *v1beta1.LinkMonitor, status v1beta1.LinkMonitorStatus) ([]runtime.Object, v1beta1.LinkMonitorStatus, error)
type LinkMonitorHandler ¶ added in v0.3.0
type LinkMonitorHandler func(string, *v1beta1.LinkMonitor) (*v1beta1.LinkMonitor, error)
type LinkMonitorIndexer ¶ added in v0.3.0
type LinkMonitorIndexer func(obj *v1beta1.LinkMonitor) ([]string, error)
type LinkMonitorStatusHandler ¶ added in v0.3.0
type LinkMonitorStatusHandler func(obj *v1beta1.LinkMonitor, status v1beta1.LinkMonitorStatus) (v1beta1.LinkMonitorStatus, error)
type NodeNetworkCache ¶
type NodeNetworkCache interface { Get(name string) (*v1beta1.NodeNetwork, error) List(selector labels.Selector) ([]*v1beta1.NodeNetwork, error) AddIndexer(indexName string, indexer NodeNetworkIndexer) GetByIndex(indexName, key string) ([]*v1beta1.NodeNetwork, error) }
type NodeNetworkClient ¶
type NodeNetworkClient interface { Create(*v1beta1.NodeNetwork) (*v1beta1.NodeNetwork, error) Update(*v1beta1.NodeNetwork) (*v1beta1.NodeNetwork, error) UpdateStatus(*v1beta1.NodeNetwork) (*v1beta1.NodeNetwork, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.NodeNetwork, error) List(opts metav1.ListOptions) (*v1beta1.NodeNetworkList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.NodeNetwork, err error) }
type NodeNetworkController ¶
type NodeNetworkController interface { generic.ControllerMeta NodeNetworkClient OnChange(ctx context.Context, name string, sync NodeNetworkHandler) OnRemove(ctx context.Context, name string, sync NodeNetworkHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() NodeNetworkCache }
func NewNodeNetworkController ¶
func NewNodeNetworkController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) NodeNetworkController
type NodeNetworkGeneratingHandler ¶
type NodeNetworkGeneratingHandler func(obj *v1beta1.NodeNetwork, status v1beta1.NodeNetworkStatus) ([]runtime.Object, v1beta1.NodeNetworkStatus, error)
type NodeNetworkHandler ¶
type NodeNetworkHandler func(string, *v1beta1.NodeNetwork) (*v1beta1.NodeNetwork, error)
type NodeNetworkIndexer ¶
type NodeNetworkIndexer func(obj *v1beta1.NodeNetwork) ([]string, error)
type NodeNetworkStatusHandler ¶
type NodeNetworkStatusHandler func(obj *v1beta1.NodeNetwork, status v1beta1.NodeNetworkStatus) (v1beta1.NodeNetworkStatus, error)
type VlanConfigCache ¶ added in v0.3.0
type VlanConfigCache interface { Get(name string) (*v1beta1.VlanConfig, error) List(selector labels.Selector) ([]*v1beta1.VlanConfig, error) AddIndexer(indexName string, indexer VlanConfigIndexer) GetByIndex(indexName, key string) ([]*v1beta1.VlanConfig, error) }
type VlanConfigClient ¶ added in v0.3.0
type VlanConfigClient interface { Create(*v1beta1.VlanConfig) (*v1beta1.VlanConfig, error) Update(*v1beta1.VlanConfig) (*v1beta1.VlanConfig, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.VlanConfig, error) List(opts metav1.ListOptions) (*v1beta1.VlanConfigList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VlanConfig, err error) }
type VlanConfigController ¶ added in v0.3.0
type VlanConfigController interface { generic.ControllerMeta VlanConfigClient OnChange(ctx context.Context, name string, sync VlanConfigHandler) OnRemove(ctx context.Context, name string, sync VlanConfigHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() VlanConfigCache }
func NewVlanConfigController ¶ added in v0.3.0
func NewVlanConfigController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VlanConfigController
type VlanConfigHandler ¶ added in v0.3.0
type VlanConfigHandler func(string, *v1beta1.VlanConfig) (*v1beta1.VlanConfig, error)
type VlanConfigIndexer ¶ added in v0.3.0
type VlanConfigIndexer func(obj *v1beta1.VlanConfig) ([]string, error)
type VlanStatusCache ¶ added in v0.3.0
type VlanStatusCache interface { Get(name string) (*v1beta1.VlanStatus, error) List(selector labels.Selector) ([]*v1beta1.VlanStatus, error) AddIndexer(indexName string, indexer VlanStatusIndexer) GetByIndex(indexName, key string) ([]*v1beta1.VlanStatus, error) }
type VlanStatusClient ¶ added in v0.3.0
type VlanStatusClient interface { Create(*v1beta1.VlanStatus) (*v1beta1.VlanStatus, error) Update(*v1beta1.VlanStatus) (*v1beta1.VlanStatus, error) UpdateStatus(*v1beta1.VlanStatus) (*v1beta1.VlanStatus, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.VlanStatus, error) List(opts metav1.ListOptions) (*v1beta1.VlanStatusList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VlanStatus, err error) }
type VlanStatusController ¶ added in v0.3.0
type VlanStatusController interface { generic.ControllerMeta VlanStatusClient OnChange(ctx context.Context, name string, sync VlanStatusHandler) OnRemove(ctx context.Context, name string, sync VlanStatusHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() VlanStatusCache }
func NewVlanStatusController ¶ added in v0.3.0
func NewVlanStatusController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VlanStatusController
type VlanStatusGeneratingHandler ¶ added in v0.3.0
type VlanStatusHandler ¶ added in v0.3.0
type VlanStatusHandler func(string, *v1beta1.VlanStatus) (*v1beta1.VlanStatus, error)
type VlanStatusIndexer ¶ added in v0.3.0
type VlanStatusIndexer func(obj *v1beta1.VlanStatus) ([]string, error)
type VlanStatusStatusHandler ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.