provisioner

package
v2.6.0-RC1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BetaStorageClassAnnotation represents the beta/previous StorageClass annotation.
	// It's currently still used and will be held for backwards compatibility
	BetaStorageClassAnnotation = "volume.beta.kubernetes.io/storage-class"
)

Variables

This section is empty.

Functions

func GetStorageClassName

func GetStorageClassName(options controller.VolumeOptions) *string

GetPersistentVolumeClass returns StorageClassName.

func NewOpenEBSCASProvisioner

func NewOpenEBSCASProvisioner(client kubernetes.Interface) (controller.Provisioner, error)

NewOpenEBSProvisioner creates a new openebs provisioner

func Setlink(volAnnotations map[string]string, pvName string) map[string]string

The following will be used by the dashboard, to display links on PV page

Types

This section is empty.

Jump to

Keyboard shortcuts

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