kube

package
v0.0.0-...-a991c86 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPvName

func GetPvName(pvObj *corev1.PersistentVolume) string

Types

type KubeController

type KubeController struct {
	// contains filtered or unexported fields
}

func (*KubeController) GetPvMap

func (k *KubeController) GetPvMap() map[string]*corev1.PersistentVolume

func (*KubeController) GetPvcIndex

func (c *KubeController) GetPvcIndex(pvcObj *corev1.PersistentVolumeClaim) string

func (*KubeController) GetPvcMap

func (k *KubeController) GetPvcMap() map[string]*corev1.PersistentVolumeClaim

func (*KubeController) SetPvMap

func (k *KubeController) SetPvMap(pvName string, pvObj *corev1.PersistentVolume)

func (*KubeController) SetPvcMap

func (k *KubeController) SetPvcMap(pvcName string, pvcObj *corev1.PersistentVolumeClaim)

Jump to

Keyboard shortcuts

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