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) Getvolumename(opts interface{}) 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/acs_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"` Vers string `json:"vers"` Mode string `json:"mode"` Opts string `json:"options"` VolumeName string `json:"kubernetes.io/pvOrVolumeName"` }
NasOptions nas options
type NasPlugin ¶
type NasPlugin struct {
// contains filtered or unexported fields
}
NasPlugin nas plugin
func (*NasPlugin) Getvolumename ¶
Getvolumename Support
func (*NasPlugin) Mountdevice ¶
Mountdevice Not Support
Click to show internal directories.
Click to hide internal directories.