Documentation ¶
Index ¶
- func FromControllerRevisionHandlerToHandler(sync ControllerRevisionHandler) generic.Handler
- func UpdateControllerRevisionDeepCopyOnChange(client ControllerRevisionClient, obj *v1.ControllerRevision, ...) (*v1.ControllerRevision, error)
- type ControllerRevisionCache
- type ControllerRevisionClient
- type ControllerRevisionController
- type ControllerRevisionHandler
- type ControllerRevisionIndexer
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromControllerRevisionHandlerToHandler ¶
func FromControllerRevisionHandlerToHandler(sync ControllerRevisionHandler) generic.Handler
func UpdateControllerRevisionDeepCopyOnChange ¶
func UpdateControllerRevisionDeepCopyOnChange(client ControllerRevisionClient, obj *v1.ControllerRevision, handler func(obj *v1.ControllerRevision) (*v1.ControllerRevision, error)) (*v1.ControllerRevision, error)
Types ¶
type ControllerRevisionCache ¶
type ControllerRevisionCache interface { Get(namespace, name string) (*v1.ControllerRevision, error) List(namespace string, selector labels.Selector) ([]*v1.ControllerRevision, error) AddIndexer(indexName string, indexer ControllerRevisionIndexer) GetByIndex(indexName, key string) ([]*v1.ControllerRevision, error) }
type ControllerRevisionClient ¶
type ControllerRevisionClient interface { Create(*v1.ControllerRevision) (*v1.ControllerRevision, error) Update(*v1.ControllerRevision) (*v1.ControllerRevision, error) Delete(namespace, name string, options *metav1.DeleteOptions) error Get(namespace, name string, options metav1.GetOptions) (*v1.ControllerRevision, error) List(namespace string, opts metav1.ListOptions) (*v1.ControllerRevisionList, error) Watch(namespace string, opts metav1.ListOptions) (watch.Interface, error) Patch(namespace, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ControllerRevision, err error) }
type ControllerRevisionController ¶
type ControllerRevisionController interface { generic.ControllerMeta ControllerRevisionClient OnChange(ctx context.Context, name string, sync ControllerRevisionHandler) OnRemove(ctx context.Context, name string, sync ControllerRevisionHandler) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, duration time.Duration) Cache() ControllerRevisionCache }
func NewControllerRevisionController ¶
func NewControllerRevisionController(gvk schema.GroupVersionKind, resource string, namespaced bool, controller controller.SharedControllerFactory) ControllerRevisionController
type ControllerRevisionHandler ¶
type ControllerRevisionHandler func(string, *v1.ControllerRevision) (*v1.ControllerRevision, error)
type ControllerRevisionIndexer ¶
type ControllerRevisionIndexer func(obj *v1.ControllerRevision) ([]string, error)
type Interface ¶
type Interface interface {
ControllerRevision() ControllerRevisionController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
Click to show internal directories.
Click to hide internal directories.