config

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CinderDriverType               = "cinder"
	CephDriverType                 = "ceph"
	LVMDriverType                  = "lvm"
	IBMSpectrumScaleDriverType     = "spectrumscale"
	HuaweiOceanStorBlockDriverType = "huawei_oceanstor_block"
	HuaweiFusionStorageDriverType  = "huawei_fusionstorage"
	HuaweiOceanStorFileDriverType  = "huawei_oceanstor_file"
	HpeNimbleDriverType            = "hpe_nimble"
	DRBDDriverType                 = "drbd"
	ScutechCMSDriverType           = "scutech_cms"
	ManilaDriverType               = "manila"
	FujitsuEternusDriverType       = "fujitsu_eternus"
	ChubaofsDriverType             = "chubaofs"
	NetappOntapSanDriverType       = "netapp_ontap_san"
)

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

View Source
const (
	NFSDriverType            = "nfs"
	NetappOntapNasDriverType = "netapp_ontap_nas"
)
View Source
const (
	ISCSIProtocol  = "iscsi"
	RBDProtocol    = "rbd"
	FCProtocol     = "fibre_channel"
	NVMEOFProtocol = "nvmeof"
	NFSProtocol    = "nfs"
)

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().

View Source
const (
	MetricResourceTypeController = "controller"
	MetricResourceTypePool       = "pool"
	MetricResourceTypeFilesystem = "filesystem"
	MetricResourceTypeDisk       = "disk"
	MetricResourceTypeVolume     = "volume"
)

Telemetry metric resource type

View Source
const (
	KMetricIOPS               = "iops"
	KMetricBandwidth          = "bandwidth"
	KMetricLatency            = "latency"
	KMetricServiceTime        = "service_time"
	KMetricUtilizationPercent = "utilization_prcnt"
	KMetricCacheHitRatio      = "cache_hit_ratio"
	KMetricCpuUsage           = "cpu_usage"
)

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