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.
Click to show internal directories.
Click to hide internal directories.