client

package
v2.7.0-RC1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 0

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