Documentation ¶
Index ¶
- func FromNodeHandlerToHandler(sync NodeHandler) generic.Handler
- func FromPCIDeviceClaimHandlerToHandler(sync PCIDeviceClaimHandler) generic.Handler
- func FromPCIDeviceHandlerToHandler(sync PCIDeviceHandler) generic.Handler
- func FromSRIOVNetworkDeviceHandlerToHandler(sync SRIOVNetworkDeviceHandler) 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 RegisterSRIOVNetworkDeviceGeneratingHandler(ctx context.Context, controller SRIOVNetworkDeviceController, ...)
- func RegisterSRIOVNetworkDeviceStatusHandler(ctx context.Context, controller SRIOVNetworkDeviceController, ...)
- func UpdateNodeDeepCopyOnChange(client NodeClient, obj *v1beta1.Node, ...) (*v1beta1.Node, error)
- func UpdatePCIDeviceClaimDeepCopyOnChange(client PCIDeviceClaimClient, obj *v1beta1.PCIDeviceClaim, ...) (*v1beta1.PCIDeviceClaim, error)
- func UpdatePCIDeviceDeepCopyOnChange(client PCIDeviceClient, obj *v1beta1.PCIDevice, ...) (*v1beta1.PCIDevice, error)
- func UpdateSRIOVNetworkDeviceDeepCopyOnChange(client SRIOVNetworkDeviceClient, obj *v1beta1.SRIOVNetworkDevice, ...) (*v1beta1.SRIOVNetworkDevice, error)
- type Interface
- type NodeCache
- type NodeClient
- type NodeController
- type NodeHandler
- type NodeIndexer
- 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
- type SRIOVNetworkDeviceCache
- type SRIOVNetworkDeviceClient
- type SRIOVNetworkDeviceController
- type SRIOVNetworkDeviceGeneratingHandler
- type SRIOVNetworkDeviceHandler
- type SRIOVNetworkDeviceIndexer
- type SRIOVNetworkDeviceStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromNodeHandlerToHandler ¶ added in v0.2.5
func FromNodeHandlerToHandler(sync NodeHandler) generic.Handler
func FromPCIDeviceClaimHandlerToHandler ¶
func FromPCIDeviceClaimHandlerToHandler(sync PCIDeviceClaimHandler) generic.Handler
func FromPCIDeviceHandlerToHandler ¶
func FromPCIDeviceHandlerToHandler(sync PCIDeviceHandler) generic.Handler
func FromSRIOVNetworkDeviceHandlerToHandler ¶ added in v0.2.5
func FromSRIOVNetworkDeviceHandlerToHandler(sync SRIOVNetworkDeviceHandler) 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 RegisterSRIOVNetworkDeviceGeneratingHandler ¶ added in v0.2.5
func RegisterSRIOVNetworkDeviceGeneratingHandler(ctx context.Context, controller SRIOVNetworkDeviceController, apply apply.Apply, condition condition.Cond, name string, handler SRIOVNetworkDeviceGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterSRIOVNetworkDeviceStatusHandler ¶ added in v0.2.5
func RegisterSRIOVNetworkDeviceStatusHandler(ctx context.Context, controller SRIOVNetworkDeviceController, condition condition.Cond, name string, handler SRIOVNetworkDeviceStatusHandler)
func UpdateNodeDeepCopyOnChange ¶ added in v0.2.5
func UpdatePCIDeviceClaimDeepCopyOnChange ¶
func UpdatePCIDeviceClaimDeepCopyOnChange(client PCIDeviceClaimClient, obj *v1beta1.PCIDeviceClaim, handler func(obj *v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error)) (*v1beta1.PCIDeviceClaim, error)
func UpdateSRIOVNetworkDeviceDeepCopyOnChange ¶ added in v0.2.5
func UpdateSRIOVNetworkDeviceDeepCopyOnChange(client SRIOVNetworkDeviceClient, obj *v1beta1.SRIOVNetworkDevice, handler func(obj *v1beta1.SRIOVNetworkDevice) (*v1beta1.SRIOVNetworkDevice, error)) (*v1beta1.SRIOVNetworkDevice, error)
Types ¶
type Interface ¶
type Interface interface { Node() NodeController PCIDevice() PCIDeviceController PCIDeviceClaim() PCIDeviceClaimController SRIOVNetworkDevice() SRIOVNetworkDeviceController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type NodeClient ¶ added in v0.2.5
type NodeClient interface { Create(*v1beta1.Node) (*v1beta1.Node, error) Update(*v1beta1.Node) (*v1beta1.Node, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.Node, error) List(opts metav1.ListOptions) (*v1beta1.NodeList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Node, err error) }
type NodeController ¶ added in v0.2.5
type NodeController interface { generic.ControllerMeta NodeClient OnChange(ctx context.Context, name string, sync NodeHandler) OnRemove(ctx context.Context, name string, sync NodeHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() NodeCache }
func NewNodeController ¶ added in v0.2.5
func NewNodeController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) NodeController
type NodeHandler ¶ added in v0.2.5
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)
type SRIOVNetworkDeviceCache ¶ added in v0.2.5
type SRIOVNetworkDeviceCache interface { Get(name string) (*v1beta1.SRIOVNetworkDevice, error) List(selector labels.Selector) ([]*v1beta1.SRIOVNetworkDevice, error) AddIndexer(indexName string, indexer SRIOVNetworkDeviceIndexer) GetByIndex(indexName, key string) ([]*v1beta1.SRIOVNetworkDevice, error) }
type SRIOVNetworkDeviceClient ¶ added in v0.2.5
type SRIOVNetworkDeviceClient interface { Create(*v1beta1.SRIOVNetworkDevice) (*v1beta1.SRIOVNetworkDevice, error) Update(*v1beta1.SRIOVNetworkDevice) (*v1beta1.SRIOVNetworkDevice, error) UpdateStatus(*v1beta1.SRIOVNetworkDevice) (*v1beta1.SRIOVNetworkDevice, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1beta1.SRIOVNetworkDevice, error) List(opts metav1.ListOptions) (*v1beta1.SRIOVNetworkDeviceList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.SRIOVNetworkDevice, err error) }
type SRIOVNetworkDeviceController ¶ added in v0.2.5
type SRIOVNetworkDeviceController interface { generic.ControllerMeta SRIOVNetworkDeviceClient OnChange(ctx context.Context, name string, sync SRIOVNetworkDeviceHandler) OnRemove(ctx context.Context, name string, sync SRIOVNetworkDeviceHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() SRIOVNetworkDeviceCache }
func NewSRIOVNetworkDeviceController ¶ added in v0.2.5
func NewSRIOVNetworkDeviceController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) SRIOVNetworkDeviceController
type SRIOVNetworkDeviceGeneratingHandler ¶ added in v0.2.5
type SRIOVNetworkDeviceGeneratingHandler func(obj *v1beta1.SRIOVNetworkDevice, status v1beta1.SRIOVNetworkDeviceStatus) ([]runtime.Object, v1beta1.SRIOVNetworkDeviceStatus, error)
type SRIOVNetworkDeviceHandler ¶ added in v0.2.5
type SRIOVNetworkDeviceHandler func(string, *v1beta1.SRIOVNetworkDevice) (*v1beta1.SRIOVNetworkDevice, error)
type SRIOVNetworkDeviceIndexer ¶ added in v0.2.5
type SRIOVNetworkDeviceIndexer func(obj *v1beta1.SRIOVNetworkDevice) ([]string, error)
type SRIOVNetworkDeviceStatusHandler ¶ added in v0.2.5
type SRIOVNetworkDeviceStatusHandler func(obj *v1beta1.SRIOVNetworkDevice, status v1beta1.SRIOVNetworkDeviceStatus) (v1beta1.SRIOVNetworkDeviceStatus, error)
Click to show internal directories.
Click to hide internal directories.