cpfs

package
v0.0.0-...-274861e Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Init

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

Init plugin init

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

Jump to

Keyboard shortcuts

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