k8s

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SchedName is the name of the kubernetes scheduler driver implementation
	SchedName = "k8s"
)

Variables

This section is empty.

Functions

func NewPVC

func NewPVC(
	pvcName, pvcNamespace string,
	storageClassName string,
	volumeName string,
	initSize int64,
	newSize int64,
	labels map[string]string,
	uid string,
) (*v1.PersistentVolumeClaim, *v1.PersistentVolume)

NewPVC returns a new PVC object (local) based on the given arguments This should only be used for unit tests as it updates status as per test expectations in k8s_test.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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