client

package
v5.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 77

Documentation

Index

Constants

View Source
const (
	// SnapshotPVCAnnotation is "snapshot.alpha.kubernetes.io/snapshot"
	SnapshotPVCAnnotation = "snapshot.alpha.kubernetes.io/snapshot"
)

Variables

This section is empty.

Functions

func CreateCRD

func CreateCRD(clientset apiextensionsclient.Interface) error

CreateCRD creates CustomResourceDefinition

func NewClient

func NewClient(cfg *rest.Config) (*rest.RESTClient, *runtime.Scheme, error)

NewClient creates a new RESTClient

func WaitForSnapshotResource

func WaitForSnapshotResource(snapshotClient *rest.RESTClient) error

WaitForSnapshotResource waits for the snapshot resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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