cfs

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverName     = "com.tencent.cloud.csi.cfs"
	DriverVerision = "1.0.0"
)

Variables

View Source
var (
	CFSDefaultStorageType  = "SD"
	CFSDefaultPGroupID     = "pgroupbasic"
	CFSDefaultNetInterface = "vpc"
	CFSDefaultProtocol     = "NFS"
	CFSStateCreating       = "creating"
	CFSStateAvailble       = "available"
	GB                     = 1 << (10 * 3)
)

Functions

func GetNormTmpSecret

func GetNormTmpSecret() (string, string, string, bool, error)

func GetSercet

func GetSercet() (secretID, secretKey, token string, isTokenUpdate bool)

func NewControllerServer

func NewControllerServer(d *driver) *controllerServer

func NewDriver

func NewDriver(nodeID, endpoint, region, zone, cfsUrl string) *driver

func NewNodeServer

func NewNodeServer(d *driver, mounter mount.Interface) *nodeServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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