service

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is the name of this CSI SP.
	Name = "vsphere.csi.vmware.com"

	// UnixSocketPrefix is the prefix before the path on disk
	UnixSocketPrefix = "unix://"

	// APIFCD is the FCD API
	APIFCD = "FCD"
)

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