v1beta1

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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)

func UpdatePCIDeviceDeepCopyOnChange

func UpdatePCIDeviceDeepCopyOnChange(client PCIDeviceClient, obj *v1beta1.PCIDevice, handler func(obj *v1beta1.PCIDevice) (*v1beta1.PCIDevice, error)) (*v1beta1.PCIDevice, error)

Types

type Interface

type Interface interface {
	PCIDevice() PCIDeviceController
	PCIDeviceClaim() PCIDeviceClaimController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type PCIDeviceCache

type PCIDeviceCache interface {
	Get(name string) (*v1beta1.PCIDevice, error)
	List(selector labels.Selector) ([]*v1beta1.PCIDevice, error)

	AddIndexer(indexName string, indexer PCIDeviceIndexer)
	GetByIndex(indexName, key string) ([]*v1beta1.PCIDevice, error)
}

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 PCIDeviceClaimHandler

type PCIDeviceClaimHandler func(string, *v1beta1.PCIDeviceClaim) (*v1beta1.PCIDeviceClaim, error)

type PCIDeviceClaimIndexer

type PCIDeviceClaimIndexer func(obj *v1beta1.PCIDeviceClaim) ([]string, 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 PCIDeviceHandler func(string, *v1beta1.PCIDevice) (*v1beta1.PCIDevice, error)

type PCIDeviceIndexer

type PCIDeviceIndexer func(obj *v1beta1.PCIDevice) ([]string, error)

type PCIDeviceStatusHandler

type PCIDeviceStatusHandler func(obj *v1beta1.PCIDevice, status v1beta1.PCIDeviceStatus) (v1beta1.PCIDeviceStatus, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL