util

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VSphereCNSFastCloneAnno = "csi.vsphere.volume/fast-provisioning"
)

Variables

View Source
var ThirdPartyAnnotations = []string{
	"iam.amazonaws.com/role",
}
View Source
var ThirdPartyLabels = []string{
	"azure.workload.identity/use",
}
View Source
var ThirdPartyTolerations = []string{
	"kubernetes.azure.com/scalesetpriority",
	"CriticalAddonsOnly",
}
View Source
var VeleroScheme = runtime.NewScheme()

Functions

func Contains added in v1.14.0

func Contains(slice []string, key string) bool

func GenerateSha256FromRestoreUIDAndVsName added in v1.16.0

func GenerateSha256FromRestoreUIDAndVsName(restoreUID string, vsName string) string

GenerateSha256FromRestoreUIDAndVsName Use the restore UID and the VS Name to generate the new VSC and VS name. By this way, VS and VSC RIA action can get the same VSC name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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