bos

package
v0.0.0-...-d1b2497 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverName = "bos.csi.baidubce.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

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

func NewDriver

func NewDriver(setOptions ...func(*common.DriverOptions)) (*Driver, error)

func (*Driver) GetPluginInfo

func (d *Driver) GetPluginInfo(ctx context.Context, req *csi.GetPluginInfoRequest) (*csi.GetPluginInfoResponse, error)

func (*Driver) Probe

func (d *Driver) Probe(ctx context.Context, req *csi.ProbeRequest) (*csi.ProbeResponse, error)

func (*Driver) Run

func (d *Driver) Run(endpoint string)

type Mounter

type Mounter interface {
	common.FileSystem

	MountByBOSFS(ctx context.Context, source string, target string, options []string, sensitiveOptions []string) error
	UnmountFromBOSFS(ctx context.Context, target string) error
}

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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