service

package
v0.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// EnvAPI is the name of the API to use with vSphere
	EnvAPI = "X_CSI_VSPHERE_APINAME"

	// EnvCloudConfig contains the path to the vSphere Cloud Config
	EnvCloudConfig = "X_CSI_VSPHERE_CLOUD_CONFIG"
)
View Source
const (
	// Name is the name of this CSI SP.
	Name = "io.k8s.cloud-provider-vsphere.vsphere"

	// APIFCD is the FCD API
	APIFCD = "FCD"
)
View Source
const (
	// DefaultCloudConfigPath is /etc/cloud/vsphere.conf
	DefaultCloudConfigPath = "/etc/cloud/vsphere.conf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	FullPath string
	Name     string
	RealDev  string
}

Device is a struct for holding details about a block device

type Service

type Service interface {
	csi.IdentityServer
	csi.NodeServer
	GetController() csi.ControllerServer
	BeforeServe(context.Context, *gocsi.StoragePlugin, net.Listener) error
}

Service is a CSI SP and idempotency.Provider.

func New

func New() Service

New returns a new Service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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