drivers

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDriver

func SetDriver(name string, driver Driver)

SetDriver sets driver by name

Types

type Driver

type Driver interface {
	IsStorageClassValid(*storagev1.StorageClass) error
	GetPVCStub(string, string, string) (*corev1.PersistentVolumeClaim, error)
	GetCSIDriverPodLabels() (string, map[string]string)
}

Driver public functionality of a driver

func GetDriver

func GetDriver(name string) Driver

GetDriver returns given service

Directories

Path Synopsis
aws
ebs

Jump to

Keyboard shortcuts

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