Documentation ¶
Index ¶
- func FromClusterNetworkHandlerToHandler(sync ClusterNetworkHandler) generic.Handler
- func FromNodeNetworkHandlerToHandler(sync NodeNetworkHandler) generic.Handler
- func RegisterNodeNetworkGeneratingHandler(ctx context.Context, controller NodeNetworkController, apply apply.Apply, ...)
- func RegisterNodeNetworkStatusHandler(ctx context.Context, controller NodeNetworkController, ...)
- func UpdateClusterNetworkDeepCopyOnChange(client ClusterNetworkClient, obj *v1beta1.ClusterNetwork, ...) (*v1beta1.ClusterNetwork, error)
- func UpdateNodeNetworkDeepCopyOnChange(client NodeNetworkClient, obj *v1beta1.NodeNetwork, ...) (*v1beta1.NodeNetwork, error)
- type ClusterNetworkCache
- type ClusterNetworkClient
- type ClusterNetworkController
- type ClusterNetworkHandler
- type ClusterNetworkIndexer
- type Interface
- type NodeNetworkCache
- type NodeNetworkClient
- type NodeNetworkController
- type NodeNetworkGeneratingHandler
- type NodeNetworkHandler
- type NodeNetworkIndexer
- type NodeNetworkStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromClusterNetworkHandlerToHandler ¶
func FromClusterNetworkHandlerToHandler(sync ClusterNetworkHandler) generic.Handler
func FromNodeNetworkHandlerToHandler ¶
func FromNodeNetworkHandlerToHandler(sync NodeNetworkHandler) generic.Handler
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 UpdateClusterNetworkDeepCopyOnChange ¶
func UpdateClusterNetworkDeepCopyOnChange(client ClusterNetworkClient, obj *v1beta1.ClusterNetwork, handler func(obj *v1beta1.ClusterNetwork) (*v1beta1.ClusterNetwork, error)) (*v1beta1.ClusterNetwork, error)
func UpdateNodeNetworkDeepCopyOnChange ¶
func UpdateNodeNetworkDeepCopyOnChange(client NodeNetworkClient, obj *v1beta1.NodeNetwork, handler func(obj *v1beta1.NodeNetwork) (*v1beta1.NodeNetwork, error)) (*v1beta1.NodeNetwork, 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) 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 ClusterNetworkHandler ¶
type ClusterNetworkHandler func(string, *v1beta1.ClusterNetwork) (*v1beta1.ClusterNetwork, error)
type ClusterNetworkIndexer ¶
type ClusterNetworkIndexer func(obj *v1beta1.ClusterNetwork) ([]string, error)
type Interface ¶
type Interface interface { ClusterNetwork() ClusterNetworkController NodeNetwork() NodeNetworkController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
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)
Click to show internal directories.
Click to hide internal directories.