client

package
v1.0.0-master Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MIT Imports: 6 Imported by: 0

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(obj *crd.Database) (*crd.Database, error)

func (*Crdclient) Delete

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

func (*Crdclient) Get

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

func (*Crdclient) List

func (f *Crdclient) List(opts meta_v1.ListOptions) (*crd.DatabaseList, error)

func (*Crdclient) NewListWatch

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

Create a new List watch for our CRD

func (*Crdclient) Update

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

Jump to

Keyboard shortcuts

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