driver

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "0.0.1"
)

Functions

func NewControllerServer

func NewControllerServer(d *Driver, metadata metadata.IMetadata, cloud vcontainer.IVContainer) csi.ControllerServer

func NewIdentityServer

func NewIdentityServer(d *Driver) csi.IdentityServer

func NewNodeServer

func NewNodeServer(d *Driver, mounter mount.IMount, metadator metadata.IMetadata, cloud vcontainer.IVContainer) csi.NodeServer

Types

type Driver

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

func NewDriver

func NewDriver(endpoint string) *Driver

func (*Driver) AddControllerServiceCapabilities

func (s *Driver) AddControllerServiceCapabilities(cl []csi.ControllerServiceCapability_RPC_Type)

func (*Driver) AddNodeServiceCapabilities

func (s *Driver) AddNodeServiceCapabilities(nl []csi.NodeServiceCapability_RPC_Type)

func (*Driver) AddVolumeCapabilityAccessModes

func (s *Driver) AddVolumeCapabilityAccessModes(vc []csi.VolumeCapability_AccessMode_Mode) []*csi.VolumeCapability_AccessMode

func (*Driver) Run

func (s *Driver) Run()

func (*Driver) SetupDriver

func (s *Driver) SetupDriver(cloud vcontainer.IVContainer, mounter mount.IMount, metadator metadata.IMetadata)

Jump to

Keyboard shortcuts

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