tos

package
v0.0.0-...-7dfd596 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDriverName = "tos.csi.volcengine.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	*csicommon.CSIDriver
}

func NewDriver

func NewDriver(name, version, nodeId string) *Driver

NewDriver create the identity/node/controller server and disk driver

func (*Driver) Run

func (d *Driver) Run(endpoint string)

type IdentityServer

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

IdentityServer driver

func NewIdentityServer

func NewIdentityServer(driver *Driver) *IdentityServer

NewIdentityServer new IdentityServer

func (*IdentityServer) GetPluginCapabilities

GetPluginCapabilities return the capabilities of the plugin

func (*IdentityServer) GetPluginInfo

GetPluginInfo return info of the plugin

func (*IdentityServer) Probe

Probe check whether the plugin is running or not.

type NodeServer

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

NodeServer driver

func NewNodeServer

func NewNodeServer(driver *Driver) *NodeServer

NewNodeServer new NodeServer

func (*NodeServer) NodeExpandVolume

NodeExpandVolume node expand volume

func (*NodeServer) NodeGetCapabilities

NodeGetCapabilities return the capabilities of the Node plugin

func (*NodeServer) NodeGetInfo

NodeGetInfo return info of the node on which this plugin is running

func (*NodeServer) NodeGetVolumeStats

NodeGetVolumeStats get volume stats

func (*NodeServer) NodePublishVolume

NodePublishVolume mount the volume

func (*NodeServer) NodeStageVolume

NodeStageVolume stage volume

func (*NodeServer) NodeUnpublishVolume

NodeUnpublishVolume unmount the volume

func (*NodeServer) NodeUnstageVolume

NodeUnstageVolume unstage volume

Jump to

Keyboard shortcuts

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