Documentation ¶
Index ¶
- func FromNetworkAttachmentDefinitionHandlerToHandler(sync NetworkAttachmentDefinitionHandler) generic.Handler
- func UpdateNetworkAttachmentDefinitionDeepCopyOnChange(client NetworkAttachmentDefinitionClient, obj *v1.NetworkAttachmentDefinition, ...) (*v1.NetworkAttachmentDefinition, error)
- type Interface
- type NetworkAttachmentDefinitionCache
- type NetworkAttachmentDefinitionClient
- type NetworkAttachmentDefinitionController
- type NetworkAttachmentDefinitionHandler
- type NetworkAttachmentDefinitionIndexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromNetworkAttachmentDefinitionHandlerToHandler ¶
func FromNetworkAttachmentDefinitionHandlerToHandler(sync NetworkAttachmentDefinitionHandler) generic.Handler
func UpdateNetworkAttachmentDefinitionDeepCopyOnChange ¶
func UpdateNetworkAttachmentDefinitionDeepCopyOnChange(client NetworkAttachmentDefinitionClient, obj *v1.NetworkAttachmentDefinition, handler func(obj *v1.NetworkAttachmentDefinition) (*v1.NetworkAttachmentDefinition, error)) (*v1.NetworkAttachmentDefinition, error)
Types ¶
type Interface ¶
type Interface interface {
NetworkAttachmentDefinition() NetworkAttachmentDefinitionController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type NetworkAttachmentDefinitionCache ¶
type NetworkAttachmentDefinitionCache interface { Get(namespace, name string) (*v1.NetworkAttachmentDefinition, error) List(namespace string, selector labels.Selector) ([]*v1.NetworkAttachmentDefinition, error) AddIndexer(indexName string, indexer NetworkAttachmentDefinitionIndexer) GetByIndex(indexName, key string) ([]*v1.NetworkAttachmentDefinition, error) }
type NetworkAttachmentDefinitionClient ¶
type NetworkAttachmentDefinitionClient interface { Create(*v1.NetworkAttachmentDefinition) (*v1.NetworkAttachmentDefinition, error) Update(*v1.NetworkAttachmentDefinition) (*v1.NetworkAttachmentDefinition, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.NetworkAttachmentDefinition, error) List(namespace string, opts metav1.ListOptions) (*v1.NetworkAttachmentDefinitionList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.NetworkAttachmentDefinition, err error) }
type NetworkAttachmentDefinitionController ¶
type NetworkAttachmentDefinitionController interface { generic.ControllerMeta NetworkAttachmentDefinitionClient OnChange(ctx context.Context, name string, sync NetworkAttachmentDefinitionHandler) OnRemove(ctx context.Context, name string, sync NetworkAttachmentDefinitionHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() NetworkAttachmentDefinitionCache }
func NewNetworkAttachmentDefinitionController ¶
func NewNetworkAttachmentDefinitionController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) NetworkAttachmentDefinitionController
type NetworkAttachmentDefinitionHandler ¶
type NetworkAttachmentDefinitionHandler func(string, *v1.NetworkAttachmentDefinition) (*v1.NetworkAttachmentDefinition, error)
type NetworkAttachmentDefinitionIndexer ¶
type NetworkAttachmentDefinitionIndexer func(obj *v1.NetworkAttachmentDefinition) ([]string, error)
Click to show internal directories.
Click to hide internal directories.