Documentation ¶
Index ¶
- func FromPCIDeviceClaimHandlerToHandler(sync PCIDeviceClaimHandler) generic.Handler
- func FromPCIDeviceHandlerToHandler(sync PCIDeviceHandler) generic.Handler
- func RegisterPCIDeviceClaimGeneratingHandler(ctx context.Context, controller PCIDeviceClaimController, apply apply.Apply, ...)
- func RegisterPCIDeviceClaimStatusHandler(ctx context.Context, controller PCIDeviceClaimController, ...)
- func RegisterPCIDeviceGeneratingHandler(ctx context.Context, controller PCIDeviceController, apply apply.Apply, ...)
- func RegisterPCIDeviceStatusHandler(ctx context.Context, controller PCIDeviceController, condition condition.Cond, ...)
- func UpdatePCIDeviceClaimDeepCopyOnChange(client PCIDeviceClaimClient, obj *v1beta1.PCIDeviceClaim, ...) (*v1beta1.PCIDeviceClaim, error)
- func UpdatePCIDeviceDeepCopyOnChange(client PCIDeviceClient, obj *v1beta1.PCIDevice, ...) (*v1beta1.PCIDevice, error)
- type Interface
- type PCIDeviceCache
- type PCIDeviceClaimCache
- type PCIDeviceClaimClient
- type PCIDeviceClaimController
- type PCIDeviceClaimGeneratingHandler
- type PCIDeviceClaimHandler
- type PCIDeviceClaimIndexer
- type PCIDeviceClaimStatusHandler
- type PCIDeviceClient
- type PCIDeviceController
- type PCIDeviceGeneratingHandler
- type PCIDeviceHandler
- type PCIDeviceIndexer
- type PCIDeviceStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPCIDeviceClaimHandlerToHandler ¶
func FromPCIDeviceClaimHandlerToHandler(sync PCIDeviceClaimHandler) generic.Handler
func FromPCIDeviceHandlerToHandler ¶
func FromPCIDeviceHandlerToHandler(sync PCIDeviceHandler) generic.Handler
func RegisterPCIDeviceClaimGeneratingHandler ¶
func RegisterPCIDeviceClaimGeneratingHandler(ctx context.Context, controller PCIDeviceClaimController, apply apply.Apply, condition condition.Cond, name string, handler PCIDeviceClaimGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterPCIDeviceClaimStatusHandler ¶
func RegisterPCIDeviceClaimStatusHandler(ctx context.Context, controller PCIDeviceClaimController, condition condition.Cond, name string, handler PCIDeviceClaimStatusHandler)
func RegisterPCIDeviceGeneratingHandler ¶
func RegisterPCIDeviceGeneratingHandler(ctx context.Context, controller PCIDeviceController, apply apply.Apply, condition condition.Cond, name string, handler PCIDeviceGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterPCIDeviceStatusHandler ¶
func RegisterPCIDeviceStatusHandler(ctx context.Context, controller PCIDeviceController, condition condition.Cond, name string, handler PCIDeviceStatusHandler)
func UpdatePCIDeviceClaimDeepCopyOnChange ¶
func UpdatePCIDeviceClaimDeepCopyOnChange(client PCIDeviceClaimClient, obj *v1beta1.PCIDeviceClaim, handler func(obj *v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error)) (*v1beta1.PCIDeviceClaim, error)
Types ¶
type Interface ¶
type Interface interface { PCIDevice() PCIDeviceController PCIDeviceClaim() PCIDeviceClaimController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type PCIDeviceCache ¶
type PCIDeviceClaimCache ¶
type PCIDeviceClaimCache interface { Get(name string) (*v1beta1.PCIDeviceClaim, error) List(selector labels.Selector) ([]*v1beta1.PCIDeviceClaim, error) AddIndexer(indexName string, indexer PCIDeviceClaimIndexer) GetByIndex(indexName, key string) ([]*v1beta1.PCIDeviceClaim, error) }
type PCIDeviceClaimClient ¶
type PCIDeviceClaimClient interface { Create(*v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error) Update(*v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error) UpdateStatus(*v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.PCIDeviceClaim, error) List(opts metav1.ListOptions) (*v1beta1.PCIDeviceClaimList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PCIDeviceClaim, err error) }
type PCIDeviceClaimController ¶
type PCIDeviceClaimController interface { generic.ControllerMeta PCIDeviceClaimClient OnChange(ctx context.Context, name string, sync PCIDeviceClaimHandler) OnRemove(ctx context.Context, name string, sync PCIDeviceClaimHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() PCIDeviceClaimCache }
func NewPCIDeviceClaimController ¶
func NewPCIDeviceClaimController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) PCIDeviceClaimController
type PCIDeviceClaimGeneratingHandler ¶
type PCIDeviceClaimGeneratingHandler func(obj *v1beta1.PCIDeviceClaim, status v1beta1.PCIDeviceClaimStatus) ([]runtime.Object, v1beta1.PCIDeviceClaimStatus, error)
type PCIDeviceClaimHandler ¶
type PCIDeviceClaimHandler func(string, *v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error)
type PCIDeviceClaimIndexer ¶
type PCIDeviceClaimIndexer func(obj *v1beta1.PCIDeviceClaim) ([]string, error)
type PCIDeviceClaimStatusHandler ¶
type PCIDeviceClaimStatusHandler func(obj *v1beta1.PCIDeviceClaim, status v1beta1.PCIDeviceClaimStatus) (v1beta1.PCIDeviceClaimStatus, error)
type PCIDeviceClient ¶
type PCIDeviceClient interface { Create(*v1beta1.PCIDevice) (*v1beta1.PCIDevice, error) Update(*v1beta1.PCIDevice) (*v1beta1.PCIDevice, error) UpdateStatus(*v1beta1.PCIDevice) (*v1beta1.PCIDevice, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.PCIDevice, error) List(opts metav1.ListOptions) (*v1beta1.PCIDeviceList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PCIDevice, err error) }
type PCIDeviceController ¶
type PCIDeviceController interface { generic.ControllerMeta PCIDeviceClient OnChange(ctx context.Context, name string, sync PCIDeviceHandler) OnRemove(ctx context.Context, name string, sync PCIDeviceHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() PCIDeviceCache }
func NewPCIDeviceController ¶
func NewPCIDeviceController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) PCIDeviceController
type PCIDeviceGeneratingHandler ¶
type PCIDeviceGeneratingHandler func(obj *v1beta1.PCIDevice, status v1beta1.PCIDeviceStatus) ([]runtime.Object, v1beta1.PCIDeviceStatus, error)
type PCIDeviceHandler ¶
type PCIDeviceStatusHandler ¶
type PCIDeviceStatusHandler func(obj *v1beta1.PCIDevice, status v1beta1.PCIDeviceStatus) (v1beta1.PCIDeviceStatus, error)
Click to show internal directories.
Click to hide internal directories.