csidriver

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GroupResource            = "resource"
	DefaultNamespace         = "default"
	DefaultReceiveModuleName = "cloudhub"
)

Constant defines csi related parameters

View Source
const (
	// DefaultBufferSize represents default buffer size
	DefaultBufferSize = 10480
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIDriver

type CSIDriver struct {
	options.CSIDriverOptions
	// contains filtered or unexported fields
}

func NewCSIDriver

func NewCSIDriver(opts *options.CSIDriverOptions) (*CSIDriver, error)

func (*CSIDriver) Run

func (cd *CSIDriver) Run()

type UnixDomainSocket

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

UnixDomainSocket struct

func NewUnixDomainSocket

func NewUnixDomainSocket(filename string, buffersize ...int) *UnixDomainSocket

NewUnixDomainSocket create new socket

func (*UnixDomainSocket) Connect

func (us *UnixDomainSocket) Connect() (net.Conn, error)

Connect for client

func (*UnixDomainSocket) Send

func (us *UnixDomainSocket) Send(c net.Conn, context string) (string, error)

Send msg for client

Jump to

Keyboard shortcuts

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