driver

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginName    = "csi.hetzner.cloud"
	PluginVersion = "1.6.0"

	MaxVolumesPerNode = 16
	MinVolumeSize     = 10 // GB
	DefaultVolumeSize = MinVolumeSize

	TopologySegmentLocation = PluginName + "/location"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerService

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

func NewControllerService

func NewControllerService(
	logger log.Logger,
	volumeService volumes.Service,
	location string,
) *ControllerService

func (*ControllerService) ControllerGetVolume

func (*ControllerService) CreateVolume

func (*ControllerService) DeleteVolume

func (*ControllerService) GetCapacity

func (*ControllerService) ListSnapshots

func (*ControllerService) ListVolumes

type IdentityService

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

func NewIdentityService

func NewIdentityService(logger log.Logger) *IdentityService

func (*IdentityService) Probe

func (*IdentityService) SetReady

func (s *IdentityService) SetReady(ready bool)

type NodeService

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

func NewNodeService

func NewNodeService(
	logger log.Logger,
	server *hcloud.Server,
	volumeService volumes.Service,
	volumeMountService volumes.MountService,
	volumeResizeService volumes.ResizeService,
	volumeStatsService volumes.StatsService,
) *NodeService

func (*NodeService) NodeExpandVolume

func (*NodeService) NodeGetCapabilities

func (*NodeService) NodeGetInfo

func (*NodeService) NodeGetVolumeStats

func (*NodeService) NodePublishVolume

func (*NodeService) NodeStageVolume

func (*NodeService) NodeUnpublishVolume

func (*NodeService) NodeUnstageVolume

Jump to

Keyboard shortcuts

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