Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { NsMap map[string]NsData `yaml:"nexentastor_map"` Debug bool `yaml:"debug,omitempty"` // contains filtered or unexported fields }
Config - driver config from file
func (*Config) GetFilePath ¶
GetFilePath - get filepath of found config file
type NsData ¶
type NsData struct { Address string `yaml:"restIp"` Username string `yaml:"username"` Password string `yaml:"password"` Zone string `yaml: "zone"` DefaultVolumeGroup string `yaml:"defaultVolumeGroup,omitempty"` DefaultTargetGroup string `yaml:"defaultTargetGroup,omitempty"` DefaultTarget string `yaml:"defaultTarget,omitempty"` DefaultHostGroup string `yaml:"defaultHostGroup,omitempty"` DefaultISCSIPort string `yaml:"defaultiSCSIPort,omitempty"` DefaultDataIP string `yaml:"defaultDataIp,omitempty"` }
Click to show internal directories.
Click to hide internal directories.