client

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crdclient

type Crdclient struct {
	// contains filtered or unexported fields
}

func CrdClient

func CrdClient(cl *rest.RESTClient, scheme *runtime.Scheme, namespace string) *Crdclient

func (*Crdclient) Create

func (f *Crdclient) Create(ctx context.Context, obj *crd.Database) (*crd.Database, error)

func (*Crdclient) Delete

func (f *Crdclient) Delete(ctx context.Context, name string, options *meta_v1.DeleteOptions) error

func (*Crdclient) Get

func (f *Crdclient) Get(ctx context.Context, name string) (*crd.Database, error)

func (*Crdclient) List

func (*Crdclient) NewListWatch

func (f *Crdclient) NewListWatch() *cache.ListWatch

Create a new List watch for our CRD

func (*Crdclient) Update

func (f *Crdclient) Update(ctx context.Context, obj *crd.Database) (*crd.Database, error)

Source Files

Jump to

Keyboard shortcuts

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