generic

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Create(ctx context.Context, obj runtime.Object) error
	Get(ctx context.Context, obj runtime.Object, namespace, name string) error
	Update(ctx context.Context, obj runtime.Object) error
	Delete(ctx context.Context, obj runtime.Object, namespace, name string) error
	List(ctx context.Context, obj runtime.Object, namespace string) error
	UpdateStatus(ctx context.Context, obj runtime.Object) error
}

func New

func New(config *rest.Config) (Client, error)

func NewForConfigOrDie

func NewForConfigOrDie(config *rest.Config) Client

func NewForConfigOrDieWithUserAgent

func NewForConfigOrDieWithUserAgent(config *rest.Config, userAgent string) Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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