cpfs

package
v0.0.0-...-4f17fb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const (
	CPFS_TEMP_MNTPath = "/mnt/acs_mnt/k8s_cpfs/"
)

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"`
}

type CpfsPlugin

type CpfsPlugin struct {
}

func (*CpfsPlugin) Attach

func (p *CpfsPlugin) Attach(opts interface{}, nodeName string) utils.Result

func (*CpfsPlugin) Detach

func (p *CpfsPlugin) Detach(device string, nodeName string) utils.Result

func (*CpfsPlugin) ExpandFS

func (p *CpfsPlugin) ExpandFS(opt interface{}, devicePath, deviceMountPath, newSize, oldSize string) utils.Result

Not Support

func (*CpfsPlugin) ExpandVolume

func (p *CpfsPlugin) ExpandVolume(opt interface{}, devicePath, newSize, oldSize string) utils.Result

Not Support

func (*CpfsPlugin) Getvolumename

func (p *CpfsPlugin) Getvolumename(opts interface{}) utils.Result

Support

func (*CpfsPlugin) Init

func (p *CpfsPlugin) Init() utils.Result

support volume metric

func (*CpfsPlugin) Mount

func (p *CpfsPlugin) Mount(opts interface{}, mountPath string) utils.Result

cpfs support mount and umount

func (*CpfsPlugin) Mountdevice

func (p *CpfsPlugin) Mountdevice(mountPath string, opts interface{}) utils.Result

Not Support

func (*CpfsPlugin) NewOptions

func (p *CpfsPlugin) NewOptions() interface{}

func (*CpfsPlugin) Unmount

func (p *CpfsPlugin) Unmount(mountPoint string) utils.Result

func (*CpfsPlugin) Waitforattach

func (p *CpfsPlugin) Waitforattach(devicePath string, opts interface{}) utils.Result

Not Support

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL