pvc

package
v0.9.9-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePVC

func CreatePVC(tenantName, storageClass, size string, namespace string, client *kubernetes.Clientset) error

CreatePVC creates pvc for tenant

func DeletePVC

func DeletePVC(tenantName, namespace string, client *kubernetes.Clientset) error

DeletePVC delete the pvc

func UpdatePVC

func UpdatePVC(tenantName, storageClass, size string, namespace string, client *kubernetes.Clientset) error

UpdatePVC delete the old pvc and recreate another one, so the data of the pvc will lost.

Types

This section is empty.

Jump to

Keyboard shortcuts

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