lasso

package
v0.0.0-...-b53f32e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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) Create

func (b *Backend) Create(ctx context.Context, obj meta.Object) error

func (*Backend) Delete

func (b *Backend) Delete(ctx context.Context, obj meta.Object) error

func (*Backend) GVKForObject

func (b *Backend) GVKForObject(obj runtime.Object, scheme *runtime.Scheme) (schema.GroupVersionKind, error)

func (*Backend) Get

func (b *Backend) Get(ctx context.Context, obj meta.Object, name string, opts *meta.GetOptions) error

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) Start

func (b *Backend) Start(ctx context.Context) error

func (*Backend) Trigger

func (b *Backend) Trigger(gvk schema.GroupVersionKind, key string) error

func (*Backend) Update

func (b *Backend) Update(ctx context.Context, obj meta.Object) error

func (*Backend) UpdateStatus

func (b *Backend) UpdateStatus(ctx context.Context, obj meta.Object) error

func (*Backend) Watch

func (b *Backend) Watch(ctx context.Context, gvk schema.GroupVersionKind, name string, cb backend.Callback) error

type Runtime

type Runtime struct {
	Apply   apply.Apply
	Backend *Backend
}

func NewRuntime

func NewRuntime(cfg *rest.Config, scheme *runtime.Scheme) (*Runtime, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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