Documentation ¶
Index ¶
- func FromBackingImageDataSourceHandlerToHandler(sync BackingImageDataSourceHandler) generic.Handler
- func FromBackingImageHandlerToHandler(sync BackingImageHandler) generic.Handler
- func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
- func FromVolumeHandlerToHandler(sync VolumeHandler) generic.Handler
- func UpdateBackingImageDataSourceDeepCopyOnChange(client BackingImageDataSourceClient, obj *v1beta1.BackingImageDataSource, ...) (*v1beta1.BackingImageDataSource, error)
- func UpdateBackingImageDeepCopyOnChange(client BackingImageClient, obj *v1beta1.BackingImage, ...) (*v1beta1.BackingImage, error)
- func UpdateSettingDeepCopyOnChange(client SettingClient, obj *v1beta1.Setting, ...) (*v1beta1.Setting, error)
- func UpdateVolumeDeepCopyOnChange(client VolumeClient, obj *v1beta1.Volume, ...) (*v1beta1.Volume, error)
- type BackingImageCache
- type BackingImageClient
- type BackingImageController
- type BackingImageDataSourceCache
- type BackingImageDataSourceClient
- type BackingImageDataSourceController
- type BackingImageDataSourceHandler
- type BackingImageDataSourceIndexer
- type BackingImageHandler
- type BackingImageIndexer
- type Interface
- type SettingCache
- type SettingClient
- type SettingController
- type SettingHandler
- type SettingIndexer
- type VolumeCache
- type VolumeClient
- type VolumeController
- type VolumeHandler
- type VolumeIndexer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromBackingImageDataSourceHandlerToHandler ¶ added in v0.3.0
func FromBackingImageDataSourceHandlerToHandler(sync BackingImageDataSourceHandler) generic.Handler
func FromBackingImageHandlerToHandler ¶ added in v0.3.0
func FromBackingImageHandlerToHandler(sync BackingImageHandler) generic.Handler
func FromSettingHandlerToHandler ¶
func FromSettingHandlerToHandler(sync SettingHandler) generic.Handler
func FromVolumeHandlerToHandler ¶
func FromVolumeHandlerToHandler(sync VolumeHandler) generic.Handler
func UpdateBackingImageDataSourceDeepCopyOnChange ¶ added in v0.3.0
func UpdateBackingImageDataSourceDeepCopyOnChange(client BackingImageDataSourceClient, obj *v1beta1.BackingImageDataSource, handler func(obj *v1beta1.BackingImageDataSource) (*v1beta1.BackingImageDataSource, error)) (*v1beta1.BackingImageDataSource, error)
func UpdateBackingImageDeepCopyOnChange ¶ added in v0.3.0
func UpdateBackingImageDeepCopyOnChange(client BackingImageClient, obj *v1beta1.BackingImage, handler func(obj *v1beta1.BackingImage) (*v1beta1.BackingImage, error)) (*v1beta1.BackingImage, error)
Types ¶
type BackingImageCache ¶ added in v0.3.0
type BackingImageCache interface { Get(namespace, name string) (*v1beta1.BackingImage, error) List(namespace string, selector labels.Selector) ([]*v1beta1.BackingImage, error) AddIndexer(indexName string, indexer BackingImageIndexer) GetByIndex(indexName, key string) ([]*v1beta1.BackingImage, error) }
type BackingImageClient ¶ added in v0.3.0
type BackingImageClient interface { Create(*v1beta1.BackingImage) (*v1beta1.BackingImage, error) Update(*v1beta1.BackingImage) (*v1beta1.BackingImage, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1beta1.BackingImage, error) List(namespace string, opts metav1.ListOptions) (*v1beta1.BackingImageList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.BackingImage, err error) }
type BackingImageController ¶ added in v0.3.0
type BackingImageController interface { generic.ControllerMeta BackingImageClient OnChange(ctx context.Context, name string, sync BackingImageHandler) OnRemove(ctx context.Context, name string, sync BackingImageHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() BackingImageCache }
func NewBackingImageController ¶ added in v0.3.0
func NewBackingImageController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackingImageController
type BackingImageDataSourceCache ¶ added in v0.3.0
type BackingImageDataSourceCache interface { Get(namespace, name string) (*v1beta1.BackingImageDataSource, error) List(namespace string, selector labels.Selector) ([]*v1beta1.BackingImageDataSource, error) AddIndexer(indexName string, indexer BackingImageDataSourceIndexer) GetByIndex(indexName, key string) ([]*v1beta1.BackingImageDataSource, error) }
type BackingImageDataSourceClient ¶ added in v0.3.0
type BackingImageDataSourceClient interface { Create(*v1beta1.BackingImageDataSource) (*v1beta1.BackingImageDataSource, error) Update(*v1beta1.BackingImageDataSource) (*v1beta1.BackingImageDataSource, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1beta1.BackingImageDataSource, error) List(namespace string, opts metav1.ListOptions) (*v1beta1.BackingImageDataSourceList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.BackingImageDataSource, err error) }
type BackingImageDataSourceController ¶ added in v0.3.0
type BackingImageDataSourceController interface { generic.ControllerMeta BackingImageDataSourceClient OnChange(ctx context.Context, name string, sync BackingImageDataSourceHandler) OnRemove(ctx context.Context, name string, sync BackingImageDataSourceHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() BackingImageDataSourceCache }
func NewBackingImageDataSourceController ¶ added in v0.3.0
func NewBackingImageDataSourceController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) BackingImageDataSourceController
type BackingImageDataSourceHandler ¶ added in v0.3.0
type BackingImageDataSourceHandler func(string, *v1beta1.BackingImageDataSource) (*v1beta1.BackingImageDataSource, error)
type BackingImageDataSourceIndexer ¶ added in v0.3.0
type BackingImageDataSourceIndexer func(obj *v1beta1.BackingImageDataSource) ([]string, error)
type BackingImageHandler ¶ added in v0.3.0
type BackingImageHandler func(string, *v1beta1.BackingImage) (*v1beta1.BackingImage, error)
type BackingImageIndexer ¶ added in v0.3.0
type BackingImageIndexer func(obj *v1beta1.BackingImage) ([]string, error)
type Interface ¶
type Interface interface { BackingImage() BackingImageController BackingImageDataSource() BackingImageDataSourceController Setting() SettingController Volume() VolumeController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type SettingCache ¶
type SettingClient ¶
type SettingClient interface { Create(*v1beta1.Setting) (*v1beta1.Setting, error) Update(*v1beta1.Setting) (*v1beta1.Setting, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Setting, error) List(namespace string, opts metav1.ListOptions) (*v1beta1.SettingList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.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(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() SettingCache }
func NewSettingController ¶
func NewSettingController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) SettingController
type VolumeCache ¶
type VolumeClient ¶
type VolumeClient interface { Create(*v1beta1.Volume) (*v1beta1.Volume, error) Update(*v1beta1.Volume) (*v1beta1.Volume, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1beta1.Volume, error) List(namespace string, opts metav1.ListOptions) (*v1beta1.VolumeList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Volume, err error) }
type VolumeController ¶
type VolumeController interface { generic.ControllerMeta VolumeClient OnChange(ctx context.Context, name string, sync VolumeHandler) OnRemove(ctx context.Context, name string, sync VolumeHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() VolumeCache }
func NewVolumeController ¶
func NewVolumeController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) VolumeController
Click to show internal directories.
Click to hide internal directories.