v1beta1

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromMachineInventoryHandlerToHandler

func FromMachineInventoryHandlerToHandler(sync MachineInventoryHandler) generic.Handler

func FromMachineInventorySelectorHandlerToHandler

func FromMachineInventorySelectorHandlerToHandler(sync MachineInventorySelectorHandler) generic.Handler

func FromMachineInventorySelectorTemplateHandlerToHandler

func FromMachineInventorySelectorTemplateHandlerToHandler(sync MachineInventorySelectorTemplateHandler) generic.Handler

func FromMachineRegistrationHandlerToHandler

func FromMachineRegistrationHandlerToHandler(sync MachineRegistrationHandler) generic.Handler

func FromManagedOSImageHandlerToHandler

func FromManagedOSImageHandlerToHandler(sync ManagedOSImageHandler) generic.Handler

func FromManagedOSVersionChannelHandlerToHandler

func FromManagedOSVersionChannelHandlerToHandler(sync ManagedOSVersionChannelHandler) generic.Handler

func FromManagedOSVersionHandlerToHandler

func FromManagedOSVersionHandlerToHandler(sync ManagedOSVersionHandler) generic.Handler

func RegisterMachineInventoryGeneratingHandler

func RegisterMachineInventoryGeneratingHandler(ctx context.Context, controller MachineInventoryController, apply apply.Apply,
	condition condition.Cond, name string, handler MachineInventoryGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterMachineInventorySelectorStatusHandler

func RegisterMachineInventorySelectorStatusHandler(ctx context.Context, controller MachineInventorySelectorController, condition condition.Cond, name string, handler MachineInventorySelectorStatusHandler)

func RegisterMachineInventoryStatusHandler

func RegisterMachineInventoryStatusHandler(ctx context.Context, controller MachineInventoryController, condition condition.Cond, name string, handler MachineInventoryStatusHandler)

func RegisterMachineRegistrationGeneratingHandler

func RegisterMachineRegistrationGeneratingHandler(ctx context.Context, controller MachineRegistrationController, apply apply.Apply,
	condition condition.Cond, name string, handler MachineRegistrationGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterMachineRegistrationStatusHandler

func RegisterMachineRegistrationStatusHandler(ctx context.Context, controller MachineRegistrationController, condition condition.Cond, name string, handler MachineRegistrationStatusHandler)

func RegisterManagedOSImageGeneratingHandler

func RegisterManagedOSImageGeneratingHandler(ctx context.Context, controller ManagedOSImageController, apply apply.Apply,
	condition condition.Cond, name string, handler ManagedOSImageGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterManagedOSImageStatusHandler

func RegisterManagedOSImageStatusHandler(ctx context.Context, controller ManagedOSImageController, condition condition.Cond, name string, handler ManagedOSImageStatusHandler)

func RegisterManagedOSVersionChannelStatusHandler

func RegisterManagedOSVersionChannelStatusHandler(ctx context.Context, controller ManagedOSVersionChannelController, condition condition.Cond, name string, handler ManagedOSVersionChannelStatusHandler)

func RegisterManagedOSVersionGeneratingHandler

func RegisterManagedOSVersionGeneratingHandler(ctx context.Context, controller ManagedOSVersionController, apply apply.Apply,
	condition condition.Cond, name string, handler ManagedOSVersionGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterManagedOSVersionStatusHandler

func RegisterManagedOSVersionStatusHandler(ctx context.Context, controller ManagedOSVersionController, condition condition.Cond, name string, handler ManagedOSVersionStatusHandler)

func UpdateManagedOSImageDeepCopyOnChange

func UpdateManagedOSImageDeepCopyOnChange(client ManagedOSImageClient, obj *v1beta1.ManagedOSImage, handler func(obj *v1beta1.ManagedOSImage) (*v1beta1.ManagedOSImage, error)) (*v1beta1.ManagedOSImage, error)

Types

type Interface

type Interface interface {
	MachineInventory() MachineInventoryController
	MachineInventorySelector() MachineInventorySelectorController
	MachineInventorySelectorTemplate() MachineInventorySelectorTemplateController
	MachineRegistration() MachineRegistrationController
	ManagedOSImage() ManagedOSImageController
	ManagedOSVersion() ManagedOSVersionController
	ManagedOSVersionChannel() ManagedOSVersionChannelController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type MachineInventoryCache

type MachineInventoryCache interface {
	Get(namespace, name string) (*v1beta1.MachineInventory, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.MachineInventory, error)

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

type MachineInventoryClient

type MachineInventoryClient interface {
	Create(*v1beta1.MachineInventory) (*v1beta1.MachineInventory, error)
	Update(*v1beta1.MachineInventory) (*v1beta1.MachineInventory, error)
	UpdateStatus(*v1beta1.MachineInventory) (*v1beta1.MachineInventory, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.MachineInventory, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.MachineInventoryList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.MachineInventory, err error)
}

type MachineInventoryController

type MachineInventoryController interface {
	generic.ControllerMeta
	MachineInventoryClient

	OnChange(ctx context.Context, name string, sync MachineInventoryHandler)
	OnRemove(ctx context.Context, name string, sync MachineInventoryHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() MachineInventoryCache
}

func NewMachineInventoryController

func NewMachineInventoryController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) MachineInventoryController

type MachineInventoryHandler

type MachineInventoryHandler func(string, *v1beta1.MachineInventory) (*v1beta1.MachineInventory, error)

type MachineInventoryIndexer

type MachineInventoryIndexer func(obj *v1beta1.MachineInventory) ([]string, error)

type MachineInventorySelectorCache

type MachineInventorySelectorCache interface {
	Get(namespace, name string) (*v1beta1.MachineInventorySelector, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.MachineInventorySelector, error)

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

type MachineInventorySelectorClient

type MachineInventorySelectorClient interface {
	Create(*v1beta1.MachineInventorySelector) (*v1beta1.MachineInventorySelector, error)
	Update(*v1beta1.MachineInventorySelector) (*v1beta1.MachineInventorySelector, error)
	UpdateStatus(*v1beta1.MachineInventorySelector) (*v1beta1.MachineInventorySelector, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.MachineInventorySelector, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.MachineInventorySelectorList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.MachineInventorySelector, err error)
}

type MachineInventorySelectorController

type MachineInventorySelectorController interface {
	generic.ControllerMeta
	MachineInventorySelectorClient

	OnChange(ctx context.Context, name string, sync MachineInventorySelectorHandler)
	OnRemove(ctx context.Context, name string, sync MachineInventorySelectorHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() MachineInventorySelectorCache
}

func NewMachineInventorySelectorController

func NewMachineInventorySelectorController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) MachineInventorySelectorController

type MachineInventorySelectorIndexer

type MachineInventorySelectorIndexer func(obj *v1beta1.MachineInventorySelector) ([]string, error)

type MachineInventorySelectorTemplateCache

type MachineInventorySelectorTemplateCache interface {
	Get(namespace, name string) (*v1beta1.MachineInventorySelectorTemplate, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.MachineInventorySelectorTemplate, error)

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

type MachineInventorySelectorTemplateController

type MachineInventorySelectorTemplateController interface {
	generic.ControllerMeta
	MachineInventorySelectorTemplateClient

	OnChange(ctx context.Context, name string, sync MachineInventorySelectorTemplateHandler)
	OnRemove(ctx context.Context, name string, sync MachineInventorySelectorTemplateHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() MachineInventorySelectorTemplateCache
}

func NewMachineInventorySelectorTemplateController

func NewMachineInventorySelectorTemplateController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) MachineInventorySelectorTemplateController

type MachineInventorySelectorTemplateIndexer

type MachineInventorySelectorTemplateIndexer func(obj *v1beta1.MachineInventorySelectorTemplate) ([]string, error)

type MachineRegistrationCache

type MachineRegistrationCache interface {
	Get(namespace, name string) (*v1beta1.MachineRegistration, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.MachineRegistration, error)

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

type MachineRegistrationClient

type MachineRegistrationClient interface {
	Create(*v1beta1.MachineRegistration) (*v1beta1.MachineRegistration, error)
	Update(*v1beta1.MachineRegistration) (*v1beta1.MachineRegistration, error)
	UpdateStatus(*v1beta1.MachineRegistration) (*v1beta1.MachineRegistration, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.MachineRegistration, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.MachineRegistrationList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.MachineRegistration, err error)
}

type MachineRegistrationController

type MachineRegistrationController interface {
	generic.ControllerMeta
	MachineRegistrationClient

	OnChange(ctx context.Context, name string, sync MachineRegistrationHandler)
	OnRemove(ctx context.Context, name string, sync MachineRegistrationHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() MachineRegistrationCache
}

func NewMachineRegistrationController

func NewMachineRegistrationController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) MachineRegistrationController

type MachineRegistrationIndexer

type MachineRegistrationIndexer func(obj *v1beta1.MachineRegistration) ([]string, error)

type ManagedOSImageCache

type ManagedOSImageCache interface {
	Get(namespace, name string) (*v1beta1.ManagedOSImage, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.ManagedOSImage, error)

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

type ManagedOSImageClient

type ManagedOSImageClient interface {
	Create(*v1beta1.ManagedOSImage) (*v1beta1.ManagedOSImage, error)
	Update(*v1beta1.ManagedOSImage) (*v1beta1.ManagedOSImage, error)
	UpdateStatus(*v1beta1.ManagedOSImage) (*v1beta1.ManagedOSImage, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.ManagedOSImage, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.ManagedOSImageList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ManagedOSImage, err error)
}

type ManagedOSImageController

type ManagedOSImageController interface {
	generic.ControllerMeta
	ManagedOSImageClient

	OnChange(ctx context.Context, name string, sync ManagedOSImageHandler)
	OnRemove(ctx context.Context, name string, sync ManagedOSImageHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() ManagedOSImageCache
}

func NewManagedOSImageController

func NewManagedOSImageController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ManagedOSImageController

type ManagedOSImageHandler

type ManagedOSImageHandler func(string, *v1beta1.ManagedOSImage) (*v1beta1.ManagedOSImage, error)

type ManagedOSImageIndexer

type ManagedOSImageIndexer func(obj *v1beta1.ManagedOSImage) ([]string, error)

type ManagedOSVersionCache

type ManagedOSVersionCache interface {
	Get(namespace, name string) (*v1beta1.ManagedOSVersion, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.ManagedOSVersion, error)

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

type ManagedOSVersionChannelCache

type ManagedOSVersionChannelCache interface {
	Get(namespace, name string) (*v1beta1.ManagedOSVersionChannel, error)
	List(namespace string, selector labels.Selector) ([]*v1beta1.ManagedOSVersionChannel, error)

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

type ManagedOSVersionChannelClient

type ManagedOSVersionChannelClient interface {
	Create(*v1beta1.ManagedOSVersionChannel) (*v1beta1.ManagedOSVersionChannel, error)
	Update(*v1beta1.ManagedOSVersionChannel) (*v1beta1.ManagedOSVersionChannel, error)
	UpdateStatus(*v1beta1.ManagedOSVersionChannel) (*v1beta1.ManagedOSVersionChannel, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.ManagedOSVersionChannel, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.ManagedOSVersionChannelList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ManagedOSVersionChannel, err error)
}

type ManagedOSVersionChannelController

type ManagedOSVersionChannelController interface {
	generic.ControllerMeta
	ManagedOSVersionChannelClient

	OnChange(ctx context.Context, name string, sync ManagedOSVersionChannelHandler)
	OnRemove(ctx context.Context, name string, sync ManagedOSVersionChannelHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() ManagedOSVersionChannelCache
}

func NewManagedOSVersionChannelController

func NewManagedOSVersionChannelController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ManagedOSVersionChannelController

type ManagedOSVersionChannelIndexer

type ManagedOSVersionChannelIndexer func(obj *v1beta1.ManagedOSVersionChannel) ([]string, error)

type ManagedOSVersionClient

type ManagedOSVersionClient interface {
	Create(*v1beta1.ManagedOSVersion) (*v1beta1.ManagedOSVersion, error)
	Update(*v1beta1.ManagedOSVersion) (*v1beta1.ManagedOSVersion, error)
	UpdateStatus(*v1beta1.ManagedOSVersion) (*v1beta1.ManagedOSVersion, error)
	Delete(namespace, name string, options *metav1.DeleteOptions) error
	Get(namespace, name string, options metav1.GetOptions) (*v1beta1.ManagedOSVersion, error)
	List(namespace string, opts metav1.ListOptions) (*v1beta1.ManagedOSVersionList, error)
	Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ManagedOSVersion, err error)
}

type ManagedOSVersionController

type ManagedOSVersionController interface {
	generic.ControllerMeta
	ManagedOSVersionClient

	OnChange(ctx context.Context, name string, sync ManagedOSVersionHandler)
	OnRemove(ctx context.Context, name string, sync ManagedOSVersionHandler)
	Enqueue(namespace, name string)
	EnqueueAfter(namespace, name string, duration time.Duration)

	Cache() ManagedOSVersionCache
}

func NewManagedOSVersionController

func NewManagedOSVersionController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ManagedOSVersionController

type ManagedOSVersionHandler

type ManagedOSVersionHandler func(string, *v1beta1.ManagedOSVersion) (*v1beta1.ManagedOSVersion, error)

type ManagedOSVersionIndexer

type ManagedOSVersionIndexer func(obj *v1beta1.ManagedOSVersion) ([]string, error)

Jump to

Keyboard shortcuts

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