Documentation
¶
Index ¶
- Constants
- type NasOptions
- type NasPlugin
- func (p *NasPlugin) Attach(opts interface{}, nodeName string) utils.Result
- func (p *NasPlugin) Detach(device string, nodeName string) utils.Result
- func (p *NasPlugin) Init() utils.Result
- func (p *NasPlugin) Mount(opts interface{}, mountPath string) utils.Result
- func (p *NasPlugin) Mountdevice(mountPath string, opts interface{}) utils.Result
- func (p *NasPlugin) NewOptions() interface{}
- func (p *NasPlugin) Unmount(mountPoint string) utils.Result
- func (p *NasPlugin) Waitforattach(devicePath string, opts interface{}) utils.Result
Constants ¶
View Source
const ( NASPORTNUM = "2049" NASTEMPMNTPath = "/mnt/cds_mnt/k8s_nas/" // used for create sub directory; MODECHAR = "01234567" )
const values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NasOptions ¶
type NasOptions struct {
Server string `json:"server"`
Path string `json:"path,omitempty"`
Vers string `json:"vers,omitempty"`
Mode string `json:"mode,omitempty"`
Opts string `json:"options,omitempty"`
VolumeName string `json:"kubernetes.io/pvOrVolumeName"`
}
NasOptions nas options
Click to show internal directories.
Click to hide internal directories.