pvc

package
v1.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 12 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