csi

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UsageControlKey        = "csi.volumes.dsc.io/usagecontrol"
	MessageQueuePublishKey = "csi.volumes.dsc.io/mqpublish"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CsiControllerClient

type CsiControllerClient struct {
	// contains filtered or unexported fields
}

func NewCsiControllerClient

func NewCsiControllerClient(
	kubeApiServerUrl string, kubeConfigPath string) (
	*CsiControllerClient, error)

func (*CsiControllerClient) AreUsageControlAndDataExportEnabled

func (ccc *CsiControllerClient) AreUsageControlAndDataExportEnabled(
	pvcNamespace string, pvcName string) (bool, bool, error)

Jump to

Keyboard shortcuts

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