imagedriver

package
Version: v0.0.0-...-8468296 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DriverName = "image.stager.csi.k8s.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

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

func NewDriver

func NewDriver(
	vendorVesion, nodeID, endpoint, defaultStageInImage string,
	buildahPath string, buildahTimeout, buildahGcTimeout, buildahGcPeriod time.Duration,
	kubeClient kubernetes.Interface,
	clock clock.Clock) *Driver

func (*Driver) GetPluginInfo

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

func (*Driver) LogWithVolume

func (d *Driver) LogWithVolume(parent zerolog.Logger, vol *image.Volume) zerolog.Logger

func (*Driver) NodeExpandVolume

func (*Driver) NodeGetCapabilities

func (*Driver) NodeGetInfo

func (d *Driver) NodeGetInfo(ctx context.Context, req *csi.NodeGetInfoRequest) (*csi.NodeGetInfoResponse, error)

func (*Driver) NodeGetVolumeStats

func (*Driver) NodePublishVolume

func (*Driver) NodeStageVolume

func (*Driver) NodeUnpublishVolume

func (*Driver) NodeUnstageVolume

func (*Driver) Probe

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

func (*Driver) Run

func (d *Driver) Run() error

func (*Driver) Shutdown

func (d *Driver) Shutdown()

Jump to

Keyboard shortcuts

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