Documentation ¶
Index ¶
- func FromVirtualMachineHandlerToHandler(sync VirtualMachineHandler) generic.Handler
- func FromVirtualMachineInstanceHandlerToHandler(sync VirtualMachineInstanceHandler) generic.Handler
- func FromVirtualMachineInstanceMigrationHandlerToHandler(sync VirtualMachineInstanceMigrationHandler) generic.Handler
- func RegisterVirtualMachineGeneratingHandler(ctx context.Context, controller VirtualMachineController, apply apply.Apply, ...)
- func RegisterVirtualMachineInstanceGeneratingHandler(ctx context.Context, controller VirtualMachineInstanceController, ...)
- func RegisterVirtualMachineInstanceMigrationGeneratingHandler(ctx context.Context, controller VirtualMachineInstanceMigrationController, ...)
- func RegisterVirtualMachineInstanceMigrationStatusHandler(ctx context.Context, controller VirtualMachineInstanceMigrationController, ...)
- func RegisterVirtualMachineInstanceStatusHandler(ctx context.Context, controller VirtualMachineInstanceController, ...)
- func RegisterVirtualMachineStatusHandler(ctx context.Context, controller VirtualMachineController, ...)
- func UpdateVirtualMachineDeepCopyOnChange(client VirtualMachineClient, obj *v1.VirtualMachine, ...) (*v1.VirtualMachine, error)
- func UpdateVirtualMachineInstanceDeepCopyOnChange(client VirtualMachineInstanceClient, obj *v1.VirtualMachineInstance, ...) (*v1.VirtualMachineInstance, error)
- func UpdateVirtualMachineInstanceMigrationDeepCopyOnChange(client VirtualMachineInstanceMigrationClient, ...) (*v1.VirtualMachineInstanceMigration, error)
- type Interface
- type VirtualMachineCache
- type VirtualMachineClient
- type VirtualMachineController
- type VirtualMachineGeneratingHandler
- type VirtualMachineHandler
- type VirtualMachineIndexer
- type VirtualMachineInstanceCache
- type VirtualMachineInstanceClient
- type VirtualMachineInstanceController
- type VirtualMachineInstanceGeneratingHandler
- type VirtualMachineInstanceHandler
- type VirtualMachineInstanceIndexer
- type VirtualMachineInstanceMigrationCache
- type VirtualMachineInstanceMigrationClient
- type VirtualMachineInstanceMigrationController
- type VirtualMachineInstanceMigrationGeneratingHandler
- type VirtualMachineInstanceMigrationHandler
- type VirtualMachineInstanceMigrationIndexer
- type VirtualMachineInstanceMigrationStatusHandler
- type VirtualMachineInstanceStatusHandler
- type VirtualMachineStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromVirtualMachineHandlerToHandler ¶
func FromVirtualMachineHandlerToHandler(sync VirtualMachineHandler) generic.Handler
func FromVirtualMachineInstanceHandlerToHandler ¶
func FromVirtualMachineInstanceHandlerToHandler(sync VirtualMachineInstanceHandler) generic.Handler
func FromVirtualMachineInstanceMigrationHandlerToHandler ¶
func FromVirtualMachineInstanceMigrationHandlerToHandler(sync VirtualMachineInstanceMigrationHandler) generic.Handler
func RegisterVirtualMachineGeneratingHandler ¶
func RegisterVirtualMachineGeneratingHandler(ctx context.Context, controller VirtualMachineController, apply apply.Apply, condition condition.Cond, name string, handler VirtualMachineGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterVirtualMachineInstanceGeneratingHandler ¶
func RegisterVirtualMachineInstanceGeneratingHandler(ctx context.Context, controller VirtualMachineInstanceController, apply apply.Apply, condition condition.Cond, name string, handler VirtualMachineInstanceGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterVirtualMachineInstanceMigrationGeneratingHandler ¶
func RegisterVirtualMachineInstanceMigrationGeneratingHandler(ctx context.Context, controller VirtualMachineInstanceMigrationController, apply apply.Apply, condition condition.Cond, name string, handler VirtualMachineInstanceMigrationGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterVirtualMachineInstanceMigrationStatusHandler ¶
func RegisterVirtualMachineInstanceMigrationStatusHandler(ctx context.Context, controller VirtualMachineInstanceMigrationController, condition condition.Cond, name string, handler VirtualMachineInstanceMigrationStatusHandler)
func RegisterVirtualMachineInstanceStatusHandler ¶
func RegisterVirtualMachineInstanceStatusHandler(ctx context.Context, controller VirtualMachineInstanceController, condition condition.Cond, name string, handler VirtualMachineInstanceStatusHandler)
func RegisterVirtualMachineStatusHandler ¶
func RegisterVirtualMachineStatusHandler(ctx context.Context, controller VirtualMachineController, condition condition.Cond, name string, handler VirtualMachineStatusHandler)
func UpdateVirtualMachineDeepCopyOnChange ¶
func UpdateVirtualMachineDeepCopyOnChange(client VirtualMachineClient, obj *v1.VirtualMachine, handler func(obj *v1.VirtualMachine) (*v1.VirtualMachine, error)) (*v1.VirtualMachine, error)
func UpdateVirtualMachineInstanceDeepCopyOnChange ¶
func UpdateVirtualMachineInstanceDeepCopyOnChange(client VirtualMachineInstanceClient, obj *v1.VirtualMachineInstance, handler func(obj *v1.VirtualMachineInstance) (*v1.VirtualMachineInstance, error)) (*v1.VirtualMachineInstance, error)
func UpdateVirtualMachineInstanceMigrationDeepCopyOnChange ¶
func UpdateVirtualMachineInstanceMigrationDeepCopyOnChange(client VirtualMachineInstanceMigrationClient, obj *v1.VirtualMachineInstanceMigration, handler func(obj *v1.VirtualMachineInstanceMigration) (*v1.VirtualMachineInstanceMigration, error)) (*v1.VirtualMachineInstanceMigration, error)
Types ¶
type Interface ¶
type Interface interface { VirtualMachine() VirtualMachineController VirtualMachineInstance() VirtualMachineInstanceController VirtualMachineInstanceMigration() VirtualMachineInstanceMigrationController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type VirtualMachineCache ¶
type VirtualMachineCache interface { Get(namespace, name string) (*v1.VirtualMachine, error) List(namespace string, selector labels.Selector) ([]*v1.VirtualMachine, error) AddIndexer(indexName string, indexer VirtualMachineIndexer) GetByIndex(indexName, key string) ([]*v1.VirtualMachine, error) }
type VirtualMachineClient ¶
type VirtualMachineClient interface { Create(*v1.VirtualMachine) (*v1.VirtualMachine, error) Update(*v1.VirtualMachine) (*v1.VirtualMachine, error) UpdateStatus(*v1.VirtualMachine) (*v1.VirtualMachine, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.VirtualMachine, error) List(namespace string, opts metav1.ListOptions) (*v1.VirtualMachineList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtualMachine, err error) }
type VirtualMachineController ¶
type VirtualMachineController interface { generic.ControllerMeta VirtualMachineClient OnChange(ctx context.Context, name string, sync VirtualMachineHandler) OnRemove(ctx context.Context, name string, sync VirtualMachineHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() VirtualMachineCache }
func NewVirtualMachineController ¶
func NewVirtualMachineController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineController
type VirtualMachineGeneratingHandler ¶
type VirtualMachineGeneratingHandler func(obj *v1.VirtualMachine, status v1.VirtualMachineStatus) ([]runtime.Object, v1.VirtualMachineStatus, error)
type VirtualMachineHandler ¶
type VirtualMachineHandler func(string, *v1.VirtualMachine) (*v1.VirtualMachine, error)
type VirtualMachineIndexer ¶
type VirtualMachineIndexer func(obj *v1.VirtualMachine) ([]string, error)
type VirtualMachineInstanceCache ¶
type VirtualMachineInstanceCache interface { Get(namespace, name string) (*v1.VirtualMachineInstance, error) List(namespace string, selector labels.Selector) ([]*v1.VirtualMachineInstance, error) AddIndexer(indexName string, indexer VirtualMachineInstanceIndexer) GetByIndex(indexName, key string) ([]*v1.VirtualMachineInstance, error) }
type VirtualMachineInstanceClient ¶
type VirtualMachineInstanceClient interface { Create(*v1.VirtualMachineInstance) (*v1.VirtualMachineInstance, error) Update(*v1.VirtualMachineInstance) (*v1.VirtualMachineInstance, error) UpdateStatus(*v1.VirtualMachineInstance) (*v1.VirtualMachineInstance, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.VirtualMachineInstance, error) List(namespace string, opts metav1.ListOptions) (*v1.VirtualMachineInstanceList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtualMachineInstance, err error) }
type VirtualMachineInstanceController ¶
type VirtualMachineInstanceController interface { generic.ControllerMeta VirtualMachineInstanceClient OnChange(ctx context.Context, name string, sync VirtualMachineInstanceHandler) OnRemove(ctx context.Context, name string, sync VirtualMachineInstanceHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() VirtualMachineInstanceCache }
func NewVirtualMachineInstanceController ¶
func NewVirtualMachineInstanceController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineInstanceController
type VirtualMachineInstanceGeneratingHandler ¶
type VirtualMachineInstanceGeneratingHandler func(obj *v1.VirtualMachineInstance, status v1.VirtualMachineInstanceStatus) ([]runtime.Object, v1.VirtualMachineInstanceStatus, error)
type VirtualMachineInstanceHandler ¶
type VirtualMachineInstanceHandler func(string, *v1.VirtualMachineInstance) (*v1.VirtualMachineInstance, error)
type VirtualMachineInstanceIndexer ¶
type VirtualMachineInstanceIndexer func(obj *v1.VirtualMachineInstance) ([]string, error)
type VirtualMachineInstanceMigrationCache ¶
type VirtualMachineInstanceMigrationCache interface { Get(namespace, name string) (*v1.VirtualMachineInstanceMigration, error) List(namespace string, selector labels.Selector) ([]*v1.VirtualMachineInstanceMigration, error) AddIndexer(indexName string, indexer VirtualMachineInstanceMigrationIndexer) GetByIndex(indexName, key string) ([]*v1.VirtualMachineInstanceMigration, error) }
type VirtualMachineInstanceMigrationClient ¶
type VirtualMachineInstanceMigrationClient interface { Create(*v1.VirtualMachineInstanceMigration) (*v1.VirtualMachineInstanceMigration, error) Update(*v1.VirtualMachineInstanceMigration) (*v1.VirtualMachineInstanceMigration, error) UpdateStatus(*v1.VirtualMachineInstanceMigration) (*v1.VirtualMachineInstanceMigration, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.VirtualMachineInstanceMigration, error) List(namespace string, opts metav1.ListOptions) (*v1.VirtualMachineInstanceMigrationList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtualMachineInstanceMigration, err error) }
type VirtualMachineInstanceMigrationController ¶
type VirtualMachineInstanceMigrationController interface { generic.ControllerMeta VirtualMachineInstanceMigrationClient OnChange(ctx context.Context, name string, sync VirtualMachineInstanceMigrationHandler) OnRemove(ctx context.Context, name string, sync VirtualMachineInstanceMigrationHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() VirtualMachineInstanceMigrationCache }
func NewVirtualMachineInstanceMigrationController ¶
func NewVirtualMachineInstanceMigrationController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VirtualMachineInstanceMigrationController
type VirtualMachineInstanceMigrationGeneratingHandler ¶
type VirtualMachineInstanceMigrationGeneratingHandler func(obj *v1.VirtualMachineInstanceMigration, status v1.VirtualMachineInstanceMigrationStatus) ([]runtime.Object, v1.VirtualMachineInstanceMigrationStatus, error)
type VirtualMachineInstanceMigrationHandler ¶
type VirtualMachineInstanceMigrationHandler func(string, *v1.VirtualMachineInstanceMigration) (*v1.VirtualMachineInstanceMigration, error)
type VirtualMachineInstanceMigrationIndexer ¶
type VirtualMachineInstanceMigrationIndexer func(obj *v1.VirtualMachineInstanceMigration) ([]string, error)
type VirtualMachineInstanceMigrationStatusHandler ¶
type VirtualMachineInstanceMigrationStatusHandler func(obj *v1.VirtualMachineInstanceMigration, status v1.VirtualMachineInstanceMigrationStatus) (v1.VirtualMachineInstanceMigrationStatus, error)
type VirtualMachineInstanceStatusHandler ¶
type VirtualMachineInstanceStatusHandler func(obj *v1.VirtualMachineInstance, status v1.VirtualMachineInstanceStatus) (v1.VirtualMachineInstanceStatus, error)
type VirtualMachineStatusHandler ¶
type VirtualMachineStatusHandler func(obj *v1.VirtualMachine, status v1.VirtualMachineStatus) (v1.VirtualMachineStatus, error)
Click to show internal directories.
Click to hide internal directories.