utils

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindStorageClass = "StorageClass"
)

Variables

This section is empty.

Functions

func CreateStorageClass

func CreateStorageClass(
	providerName string,
	storageClassName string,
	storageClassConfig v1alpha1.StorageClassConfig,
	provisioner v1alpha1.StorageProvisioner,
	isDefault bool,
	defaultParameters map[string]string,
) *storagev1.StorageClass

func CreateStorageClassesOnRemote added in v0.11.0

func CreateStorageClassesOnRemote(
	ctx context.Context,
	cl ctrlclient.Client,
	configs map[string]v1alpha1.StorageClassConfig,
	cluster *clusterv1.Cluster,
	defaultStorage v1alpha1.DefaultStorage,
	csiProvider string,
	provisioner v1alpha1.StorageProvisioner,
	defaultParameters map[string]string,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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