csi

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartGrpcServer

func StartGrpcServer(endpoint string, vdaEndpoint string,
	enableCs bool, enableNs bool, nodeId string)

Types

type CnListenerConf

type CnListenerConf struct {
	TrType  string `json:trtype`
	TrAddr  string `json:traddr`
	AdrFam  string `json:adrfam`
	TrSvcId string `json:trsvcid`
}

type ControllerServer

type ControllerServer struct {
	csi.UnimplementedControllerServer
	// contains filtered or unexported fields
}

func (*ControllerServer) ControllerGetCapabilities

func (*ControllerServer) CreateVolume

func (*ControllerServer) DeleteVolume

type IdentityServer

type IdentityServer struct {
	// contains filtered or unexported fields
}

func (*IdentityServer) GetPluginCapabilities

func (*IdentityServer) GetPluginInfo

func (*IdentityServer) Probe

type NodeOperatorInterface

type NodeOperatorInterface interface {
	ExecWithTimeout(cmdLine []string, timeout int, ctx context.Context) error
	CheckDeviceReady(devPath string) (bool, error)
	WaitForDeviceReady(devPath string, seconds int) error
	WaitForDeviceGone(devPath string, seconds int) error
	MountAndFormat(devPath, stagingPath, fsType string, mntFlags []string) error
	Mount(stagingPath, targetPath, fsType string, mntFlags []string) error
	DeleteMountPoint(path string) error
}

type NodeServer

type NodeServer struct {
	csi.UnimplementedNodeServer
	// contains filtered or unexported fields
}

func (*NodeServer) NodeGetCapabilities

func (*NodeServer) NodeGetInfo

func (ns *NodeServer) NodeGetInfo(
	ctx context.Context,
	req *csi.NodeGetInfoRequest) (
	*csi.NodeGetInfoResponse, error)

func (*NodeServer) NodePublishVolume

func (*NodeServer) NodeStageVolume

func (*NodeServer) NodeUnpublishVolume

func (*NodeServer) NodeUnstageVolume

Jump to

Keyboard shortcuts

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