csi

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllerServiceCapability

func NewControllerServiceCapability(cap csi.ControllerServiceCapability_RPC_Type) *csi.ControllerServiceCapability

Types

type Config

type Config struct {
	Name          string
	Version       string
	NodeID        string
	RunController bool
	RunNode       bool
	Mounter       mount.Interface
	Logger        *zap.Logger
	LocalFS       string
}

type Driver

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

func NewDatamonDriver

func NewDatamonDriver(config *Config, blobStore storage.Store, metadataStore storage.Store) (*Driver, error)

func (*Driver) Run

func (driver *Driver) Run(endpoint string)

type NonBlockingGRPCServer

type NonBlockingGRPCServer interface {
	Start(endpoint string, ids csi.IdentityServer, cs csi.ControllerServer, ns csi.NodeServer)
	Wait()
}

func NewNonBlockingGRPCServer

func NewNonBlockingGRPCServer(logger *zap.Logger) NonBlockingGRPCServer

Jump to

Keyboard shortcuts

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