Documentation ¶
Index ¶
- func FromCatalogHandlerToHandler(sync CatalogHandler) generic.Handler
- func FromDeviceTemplateHandlerToHandler(sync DeviceTemplateHandler) generic.Handler
- func FromDeviceTemplateRevisionHandlerToHandler(sync DeviceTemplateRevisionHandler) generic.Handler
- func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
- func RegisterCatalogGeneratingHandler(ctx context.Context, controller CatalogController, apply apply.Apply, ...)
- func RegisterCatalogStatusHandler(ctx context.Context, controller CatalogController, condition condition.Cond, ...)
- func RegisterDeviceTemplateGeneratingHandler(ctx context.Context, controller DeviceTemplateController, apply apply.Apply, ...)
- func RegisterDeviceTemplateRevisionGeneratingHandler(ctx context.Context, controller DeviceTemplateRevisionController, ...)
- func RegisterDeviceTemplateRevisionStatusHandler(ctx context.Context, controller DeviceTemplateRevisionController, ...)
- func RegisterDeviceTemplateStatusHandler(ctx context.Context, controller DeviceTemplateController, ...)
- func UpdateCatalogDeepCopyOnChange(client CatalogClient, obj *v1alpha1.Catalog, ...) (*v1alpha1.Catalog, error)
- func UpdateDeviceTemplateDeepCopyOnChange(client DeviceTemplateClient, obj *v1alpha1.DeviceTemplate, ...) (*v1alpha1.DeviceTemplate, error)
- func UpdateDeviceTemplateRevisionDeepCopyOnChange(client DeviceTemplateRevisionClient, obj *v1alpha1.DeviceTemplateRevision, ...) (*v1alpha1.DeviceTemplateRevision, error)
- func UpdateSettingDeepCopyOnChange(client SettingClient, obj *v1alpha1.Setting, ...) (*v1alpha1.Setting, error)
- type CatalogCache
- type CatalogClient
- type CatalogController
- type CatalogGeneratingHandler
- type CatalogHandler
- type CatalogIndexer
- type CatalogStatusHandler
- type DeviceTemplateCache
- type DeviceTemplateClient
- type DeviceTemplateController
- type DeviceTemplateGeneratingHandler
- type DeviceTemplateHandler
- type DeviceTemplateIndexer
- type DeviceTemplateRevisionCache
- type DeviceTemplateRevisionClient
- type DeviceTemplateRevisionController
- type DeviceTemplateRevisionGeneratingHandler
- type DeviceTemplateRevisionHandler
- type DeviceTemplateRevisionIndexer
- type DeviceTemplateRevisionStatusHandler
- type DeviceTemplateStatusHandler
- type Interface
- type SettingCache
- type SettingClient
- type SettingController
- type SettingHandler
- type SettingIndexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromCatalogHandlerToHandler ¶
func FromCatalogHandlerToHandler(sync CatalogHandler) generic.Handler
func FromDeviceTemplateHandlerToHandler ¶
func FromDeviceTemplateHandlerToHandler(sync DeviceTemplateHandler) generic.Handler
func FromDeviceTemplateRevisionHandlerToHandler ¶
func FromDeviceTemplateRevisionHandlerToHandler(sync DeviceTemplateRevisionHandler) generic.Handler
func FromSettingHandlerToHandler ¶
func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
func RegisterCatalogGeneratingHandler ¶
func RegisterCatalogGeneratingHandler(ctx context.Context, controller CatalogController, apply apply.Apply, condition condition.Cond, name string, handler CatalogGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterCatalogStatusHandler ¶
func RegisterCatalogStatusHandler(ctx context.Context, controller CatalogController, condition condition.Cond, name string, handler CatalogStatusHandler)
func RegisterDeviceTemplateGeneratingHandler ¶
func RegisterDeviceTemplateGeneratingHandler(ctx context.Context, controller DeviceTemplateController, apply apply.Apply, condition condition.Cond, name string, handler DeviceTemplateGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterDeviceTemplateRevisionGeneratingHandler ¶
func RegisterDeviceTemplateRevisionGeneratingHandler(ctx context.Context, controller DeviceTemplateRevisionController, apply apply.Apply, condition condition.Cond, name string, handler DeviceTemplateRevisionGeneratingHandler, opts *generic.GeneratingHandlerOptions)
func RegisterDeviceTemplateRevisionStatusHandler ¶
func RegisterDeviceTemplateRevisionStatusHandler(ctx context.Context, controller DeviceTemplateRevisionController, condition condition.Cond, name string, handler DeviceTemplateRevisionStatusHandler)
func RegisterDeviceTemplateStatusHandler ¶
func RegisterDeviceTemplateStatusHandler(ctx context.Context, controller DeviceTemplateController, condition condition.Cond, name string, handler DeviceTemplateStatusHandler)
func UpdateDeviceTemplateDeepCopyOnChange ¶
func UpdateDeviceTemplateDeepCopyOnChange(client DeviceTemplateClient, obj *v1alpha1.DeviceTemplate, handler func(obj *v1alpha1.DeviceTemplate) (*v1alpha1.DeviceTemplate, error)) (*v1alpha1.DeviceTemplate, error)
func UpdateDeviceTemplateRevisionDeepCopyOnChange ¶
func UpdateDeviceTemplateRevisionDeepCopyOnChange(client DeviceTemplateRevisionClient, obj *v1alpha1.DeviceTemplateRevision, handler func(obj *v1alpha1.DeviceTemplateRevision) (*v1alpha1.DeviceTemplateRevision, error)) (*v1alpha1.DeviceTemplateRevision, error)
Types ¶
type CatalogCache ¶
type CatalogClient ¶
type CatalogClient interface { Create(*v1alpha1.Catalog) (*v1alpha1.Catalog, error) Update(*v1alpha1.Catalog) (*v1alpha1.Catalog, error) UpdateStatus(*v1alpha1.Catalog) (*v1alpha1.Catalog, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha1.Catalog, error) List(namespace string, opts metav1.ListOptions) (*v1alpha1.CatalogList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Catalog, err error) }
type CatalogController ¶
type CatalogController interface { generic.ControllerMeta CatalogClient OnChange(ctx context.Context, name string, sync CatalogHandler) OnRemove(ctx context.Context, name string, sync CatalogHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() CatalogCache }
func NewCatalogController ¶
func NewCatalogController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) CatalogController
type CatalogGeneratingHandler ¶
type CatalogGeneratingHandler func(obj *v1alpha1.Catalog, status v1alpha1.CatalogStatus) ([]runtime.Object, v1alpha1.CatalogStatus, error)
type CatalogHandler ¶
type CatalogStatusHandler ¶
type CatalogStatusHandler func(obj *v1alpha1.Catalog, status v1alpha1.CatalogStatus) (v1alpha1.CatalogStatus, error)
type DeviceTemplateCache ¶
type DeviceTemplateCache interface { Get(namespace, name string) (*v1alpha1.DeviceTemplate, error) List(namespace string, selector labels.Selector) ([]*v1alpha1.DeviceTemplate, error) AddIndexer(indexName string, indexer DeviceTemplateIndexer) GetByIndex(indexName, key string) ([]*v1alpha1.DeviceTemplate, error) }
type DeviceTemplateClient ¶
type DeviceTemplateClient interface { Create(*v1alpha1.DeviceTemplate) (*v1alpha1.DeviceTemplate, error) Update(*v1alpha1.DeviceTemplate) (*v1alpha1.DeviceTemplate, error) UpdateStatus(*v1alpha1.DeviceTemplate) (*v1alpha1.DeviceTemplate, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha1.DeviceTemplate, error) List(namespace string, opts metav1.ListOptions) (*v1alpha1.DeviceTemplateList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DeviceTemplate, err error) }
type DeviceTemplateController ¶
type DeviceTemplateController interface { generic.ControllerMeta DeviceTemplateClient OnChange(ctx context.Context, name string, sync DeviceTemplateHandler) OnRemove(ctx context.Context, name string, sync DeviceTemplateHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() DeviceTemplateCache }
func NewDeviceTemplateController ¶
func NewDeviceTemplateController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) DeviceTemplateController
type DeviceTemplateGeneratingHandler ¶
type DeviceTemplateGeneratingHandler func(obj *v1alpha1.DeviceTemplate, status v1alpha1.DeviceTemplateStatus) ([]runtime.Object, v1alpha1.DeviceTemplateStatus, error)
type DeviceTemplateHandler ¶
type DeviceTemplateHandler func(string, *v1alpha1.DeviceTemplate) (*v1alpha1.DeviceTemplate, error)
type DeviceTemplateIndexer ¶
type DeviceTemplateIndexer func(obj *v1alpha1.DeviceTemplate) ([]string, error)
type DeviceTemplateRevisionCache ¶
type DeviceTemplateRevisionCache interface { Get(namespace, name string) (*v1alpha1.DeviceTemplateRevision, error) List(namespace string, selector labels.Selector) ([]*v1alpha1.DeviceTemplateRevision, error) AddIndexer(indexName string, indexer DeviceTemplateRevisionIndexer) GetByIndex(indexName, key string) ([]*v1alpha1.DeviceTemplateRevision, error) }
type DeviceTemplateRevisionClient ¶
type DeviceTemplateRevisionClient interface { Create(*v1alpha1.DeviceTemplateRevision) (*v1alpha1.DeviceTemplateRevision, error) Update(*v1alpha1.DeviceTemplateRevision) (*v1alpha1.DeviceTemplateRevision, error) UpdateStatus(*v1alpha1.DeviceTemplateRevision) (*v1alpha1.DeviceTemplateRevision, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1alpha1.DeviceTemplateRevision, error) List(namespace string, opts metav1.ListOptions) (*v1alpha1.DeviceTemplateRevisionList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DeviceTemplateRevision, err error) }
type DeviceTemplateRevisionController ¶
type DeviceTemplateRevisionController interface { generic.ControllerMeta DeviceTemplateRevisionClient OnChange(ctx context.Context, name string, sync DeviceTemplateRevisionHandler) OnRemove(ctx context.Context, name string, sync DeviceTemplateRevisionHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() DeviceTemplateRevisionCache }
func NewDeviceTemplateRevisionController ¶
func NewDeviceTemplateRevisionController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) DeviceTemplateRevisionController
type DeviceTemplateRevisionGeneratingHandler ¶
type DeviceTemplateRevisionGeneratingHandler func(obj *v1alpha1.DeviceTemplateRevision, status v1alpha1.DeviceTemplateRevisionStatus) ([]runtime.Object, v1alpha1.DeviceTemplateRevisionStatus, error)
type DeviceTemplateRevisionHandler ¶
type DeviceTemplateRevisionHandler func(string, *v1alpha1.DeviceTemplateRevision) (*v1alpha1.DeviceTemplateRevision, error)
type DeviceTemplateRevisionIndexer ¶
type DeviceTemplateRevisionIndexer func(obj *v1alpha1.DeviceTemplateRevision) ([]string, error)
type DeviceTemplateRevisionStatusHandler ¶
type DeviceTemplateRevisionStatusHandler func(obj *v1alpha1.DeviceTemplateRevision, status v1alpha1.DeviceTemplateRevisionStatus) (v1alpha1.DeviceTemplateRevisionStatus, error)
type DeviceTemplateStatusHandler ¶
type DeviceTemplateStatusHandler func(obj *v1alpha1.DeviceTemplate, status v1alpha1.DeviceTemplateStatus) (v1alpha1.DeviceTemplateStatus, error)
type Interface ¶
type Interface interface { Catalog() CatalogController DeviceTemplate() DeviceTemplateController DeviceTemplateRevision() DeviceTemplateRevisionController Setting() SettingController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type SettingCache ¶
type SettingClient ¶
type SettingClient interface { Create(*v1alpha1.Setting) (*v1alpha1.Setting, error) Update(*v1alpha1.Setting) (*v1alpha1.Setting, error) Delete(name string, options *metav1.DeleteOptions) error Get(name string, options metav1.GetOptions) (*v1alpha1.Setting, error) List(opts metav1.ListOptions) (*v1alpha1.SettingList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Setting, err error) }
type SettingController ¶
type SettingController interface { generic.ControllerMeta SettingClient OnChange(ctx context.Context, name string, sync SettingHandler) OnRemove(ctx context.Context, name string, sync SettingHandler) Enqueue(name string) EnqueueAfter(name string, duration time.Duration) Cache() SettingCache }
func NewSettingController ¶
func NewSettingController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) SettingController
type SettingHandler ¶
Click to show internal directories.
Click to hide internal directories.