common

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DriverName = "csi-vxflexos"

DriverName default

View Source
var Scheme = runtime.NewScheme()

Scheme runtime type

Functions

func InitializeSchemes

func InitializeSchemes()

InitializeSchemes init scheme

func MakePV

func MakePV(name, driverName, srcVolID, scName string, volumeAttributes map[string]string) core_v1.PersistentVolume

MakePV create a PV object

func MakePVC

func MakePVC(name, ns, scName, volumeName string, lbl labels.Set) core_v1.PersistentVolumeClaim

MakePVC create a PVC object

func MakeVG

func MakeVG(name, ns, driver, pvcLabel, vsc string, reclaimPolicy vgsv1.MemberReclaimPolicy, pvcList []string) vgsv1.DellCsiVolumeGroupSnapshot

MakeVG create a volume group snapshotter object

func MakeVSC

func MakeVSC(name, driver string) s1.VolumeSnapshotClass

MakeVSC create a Volumesnapshot Class object

func MakeVSCRetain added in v1.2.0

func MakeVSCRetain(name, driver string) s1.VolumeSnapshotClass

MakeVSCRetain create a Volumesnapshot Class object with deletion policy as Retain

Types

type Common

type Common struct {
	Namespace string
}

Common namespace

type Driver

type Driver struct {
	DriverName string
}

Driver name

Jump to

Keyboard shortcuts

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