iscsi

package
v0.0.0-...-8580cd0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFS      = "ext4"
	ConnectTimeout = 3 * time.Second
	Gigabytes      = int64(1024 * 1024 * 1024)
)
View Source
const (
	NodeLabelKey = apis.LabelHostname

	StorageNamespace = "zcloud"
)

Variables

This section is empty.

Functions

func NewControllerServer

func NewControllerServer(d *csicommon.CSIDriver, c client.Client, conf *PluginConf) *controllerServer

func NewIdentityServer

func NewIdentityServer(d *csicommon.CSIDriver) *identityServer

func NewNodeServer

func NewNodeServer(d *csicommon.CSIDriver, c client.Client, conf *PluginConf) *nodeServer

Types

type Driver

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

func NewDriver

func NewDriver(client client.Client) *Driver

func (*Driver) Run

func (lvm *Driver) Run(conf *PluginConf)

type PluginConf

type PluginConf struct {
	Endpoint   string
	DriverName string
	NodeID     string
	VgName     string
	PoolName   string
	LabelKey   string
	LabelValue string
	LvmdDsName string
}

Jump to

Keyboard shortcuts

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