node

package
v0.0.0-...-eccd397 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNodeServerOrDie

func NewNodeServerOrDie(driverName, nodeID, dataRoot string, volumeLimit int64) csi.NodeServer

Types

type Metadata

type Metadata struct {
	BaName       string `json:"baName"`
	PodName      string `json:"podName"`
	PodNamespace string `json:"podNamespace"`
}

type NodeServer

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

NodeServer implements the NodePublishVolume and NodeUnpublishVolume methods of the csi.NodeServer

func (*NodeServer) NodeGetCapabilities

func (*NodeServer) NodeGetInfo

func (n *NodeServer) NodeGetInfo(ctx context.Context, request *csi.NodeGetInfoRequest) (*csi.NodeGetInfoResponse, error)

func (*NodeServer) NodePublishVolume

func (n *NodeServer) NodePublishVolume(ctx context.Context, request *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error)

func (*NodeServer) NodeUnpublishVolume

type Provisioner

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

func NewProvisioner

func NewProvisioner(dataPath string, p mount.Interface, pc client.ProvisionerClient) Provisioner

Jump to

Keyboard shortcuts

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