clientset

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2018 License: Apache-2.0 Imports: 9 Imported by: 48

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

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

func New

func New(config *rest.Config, resources *dynamicdiscovery.ResourceMap) *Clientset

func (*Clientset) HasSynced

func (cs *Clientset) HasSynced() bool

func (*Clientset) Kind

func (cs *Clientset) Kind(apiVersion, kind, namespace string) (*ResourceClient, error)

func (*Clientset) Resource

func (cs *Clientset) Resource(apiVersion, resource, namespace string) (*ResourceClient, error)

type ResourceClient

type ResourceClient struct {
	dynamic.ResourceInterface
	// contains filtered or unexported fields
}

func (*ResourceClient) APIResource

func (rc *ResourceClient) APIResource() *dynamicdiscovery.APIResource

func (*ResourceClient) GroupResource

func (rc *ResourceClient) GroupResource() schema.GroupResource

func (*ResourceClient) GroupVersion

func (rc *ResourceClient) GroupVersion() schema.GroupVersion

func (*ResourceClient) GroupVersionKind

func (rc *ResourceClient) GroupVersionKind() schema.GroupVersionKind

func (*ResourceClient) Kind

func (rc *ResourceClient) Kind() string

func (*ResourceClient) UpdateWithRetries

func (rc *ResourceClient) UpdateWithRetries(orig *unstructured.Unstructured, update func(obj *unstructured.Unstructured) bool) (result *unstructured.Unstructured, err error)

func (*ResourceClient) WithNamespace

func (rc *ResourceClient) WithNamespace(namespace string) *ResourceClient

Jump to

Keyboard shortcuts

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