driver

package
v0.0.0-...-f34f863 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

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

A Driver is a gRPC server that implements the CSI spec. It can be used to build a CSI driver that generates private key data and automatically creates cert-manager CertificateRequests to obtain signed certificate data.

func New

func New(ctx context.Context, endpoint, name, version string, idm identity.Interface, cm controller.Interface, ns *node.Server, log logr.Logger) (*Driver, error)

func NewWithListener

func NewWithListener(lis net.Listener, name, version string, idm identity.Interface, cm controller.Interface, ns *node.Server, log logr.Logger) (*Driver, error)

NewWithListener will construct a new CSI driver using the given net.Listener. This is useful when more control over the listening parameters is required.

func (*Driver) Start

func (d *Driver) Start(ctx context.Context)

func (*Driver) Stop

func (d *Driver) Stop()

Jump to

Keyboard shortcuts

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