Documentation ¶
Index ¶
- type Backend
- func (b *Backend) Create(ctx context.Context, obj meta.Object) error
- func (b *Backend) Delete(ctx context.Context, obj meta.Object) error
- func (b *Backend) GVKForObject(obj runtime.Object, scheme *runtime.Scheme) (schema.GroupVersionKind, error)
- func (b *Backend) Get(ctx context.Context, obj meta.Object, name string, opts *meta.GetOptions) error
- func (b *Backend) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind) (kcache.SharedIndexInformer, error)
- func (b *Backend) List(ctx context.Context, obj meta.ObjectList, opts *meta.ListOptions) error
- func (b *Backend) Start(ctx context.Context) error
- func (b *Backend) Trigger(gvk schema.GroupVersionKind, key string) error
- func (b *Backend) Update(ctx context.Context, obj meta.Object) error
- func (b *Backend) UpdateStatus(ctx context.Context, obj meta.Object) error
- func (b *Backend) Watch(ctx context.Context, gvk schema.GroupVersionKind, name string, ...) error
- type Runtime
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func NewBackend ¶
func NewBackend(cacheFactory controller.SharedControllerFactory, client client.Client, cache cache.Cache) *Backend
func (*Backend) GVKForObject ¶
func (*Backend) GetInformerForKind ¶
func (b *Backend) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind) (kcache.SharedIndexInformer, error)
func (*Backend) List ¶
func (b *Backend) List(ctx context.Context, obj meta.ObjectList, opts *meta.ListOptions) error
func (*Backend) UpdateStatus ¶
Click to show internal directories.
Click to hide internal directories.