Documentation ¶
Index ¶
- Constants
- type CpfsOptions
- type CpfsPlugin
- func (p *CpfsPlugin) Attach(opts interface{}, nodeName string) utils.Result
- func (p *CpfsPlugin) Detach(device string, nodeName string) utils.Result
- func (p *CpfsPlugin) Getvolumename(opts interface{}) utils.Result
- func (p *CpfsPlugin) Init() utils.Result
- func (p *CpfsPlugin) Mount(opts interface{}, mountPath string) utils.Result
- func (p *CpfsPlugin) Mountdevice(mountPath string, opts interface{}) utils.Result
- func (p *CpfsPlugin) NewOptions() interface{}
- func (p *CpfsPlugin) Unmount(mountPoint string) utils.Result
- func (p *CpfsPlugin) Waitforattach(devicePath string, opts interface{}) utils.Result
Constants ¶
View Source
const (
CPFSTEMPMNTPath = "/mnt/acs_mnt/k8s_cpfs/" // used for create sub directory;
)
const values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpfsOptions ¶
type CpfsOptions struct { Server string `json:"server"` FileSystem string `json:"fileSystem"` SubPath string `json:"subPath"` Options string `json:"options"` VolumeName string `json:"kubernetes.io/pvOrVolumeName"` }
CpfsOptions cpfs options
type CpfsPlugin ¶
type CpfsPlugin struct { }
CpfsPlugin pligin
func (*CpfsPlugin) Attach ¶
func (p *CpfsPlugin) Attach(opts interface{}, nodeName string) utils.Result
Attach not support
func (*CpfsPlugin) Detach ¶
func (p *CpfsPlugin) Detach(device string, nodeName string) utils.Result
Detach not support
func (*CpfsPlugin) Getvolumename ¶
func (p *CpfsPlugin) Getvolumename(opts interface{}) utils.Result
Getvolumename Not Support
func (*CpfsPlugin) Mount ¶
func (p *CpfsPlugin) Mount(opts interface{}, mountPath string) utils.Result
Mount cpfs support mount and umount
func (*CpfsPlugin) Mountdevice ¶
func (p *CpfsPlugin) Mountdevice(mountPath string, opts interface{}) utils.Result
Mountdevice Not Support
func (*CpfsPlugin) NewOptions ¶
func (p *CpfsPlugin) NewOptions() interface{}
NewOptions new options
func (*CpfsPlugin) Unmount ¶
func (p *CpfsPlugin) Unmount(mountPoint string) utils.Result
Unmount umount path
func (*CpfsPlugin) Waitforattach ¶
func (p *CpfsPlugin) Waitforattach(devicePath string, opts interface{}) utils.Result
Waitforattach Not Support
Click to show internal directories.
Click to hide internal directories.