Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultInsecureSkipVerify = true
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"` ISCSITargetPrefix string `yaml:"iSCSITargetPrefix,omitempty"` DynamicTargetLunAllocation string `yaml:"dynamicTargetLunAllocation"` NumOfLunsPerTarget string `yaml:"numOfLunsPerTarget"` UseChapAuth string `yaml:"useChapAuth"` ChapUser string `yaml:"chapUser"` ChapSecret string `yaml:"chapSecret"` MountPointPermissions string `yaml:"mountPointPermissions"` InsecureSkipVerify *bool `yaml:"insecureSkipVerify,omitempty"` }
Click to show internal directories.
Click to hide internal directories.