config

package
v0.0.0-...-295c363 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CinderDriverType              = "cinder"
	CephDriverType                = "ceph"
	LVMDriverType                 = "lvm"
	HuaweiDoradoDriverType        = "huawei_dorado"
	HuaweiFusionStorageDriverType = "huawei_fusionstorage"

	DRBDDriverType = "drbd"
)

These constants below represent the vendor name of all storage drivers which can be supported by now.

View Source
const (
	ISCSIProtocol = "iscsi"
	DSWARE        = "DSWARE"
	RBDProtocol   = "rbd"
	FCProtocol    = "fibre_channel"
)

These constants below represent the access protocol type of all storage drivers which can be supported by now. Please NOTICE that currently these constants can NOT be used by all methods except InitializeConnection().

Variables

This section is empty.

Functions

func Parse

func Parse(conf interface{}, p string) (interface{}, error)

Types

type PoolProperties

type PoolProperties struct {
	// The storage type of the storage pool.
	// One of: "block", "file" or "object".
	StorageType string `yaml:"storageType,omitempty"`

	// The locality that pool belongs to.
	AvailabilityZone string `yaml:"availabilityZone,omitempty"`

	// Map of keys and StoragePoolExtraSpec object that represents the properties
	// of the pool, such as supported capabilities.
	// +optional
	Extras model.StoragePoolExtraSpec `yaml:"extras,omitempty"`

	// The volumes belong to the pool can be attached more than once.
	MultiAttach bool `yaml:"multiAttach,omitempty"`
}

Jump to

Keyboard shortcuts

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