controller

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginCapability_CONTROLLER_SERVICE = iota
	PluginCapability_ACCESSIBILITY_CONSTRAINTS
	ControllerCapability_CREATE_DELETE_VOLUME
	ControllerCapability_CREATE_DELETE_SNAPSHOT
)

Variables

This section is empty.

Functions

func Connect

func Connect(address string, timeout time.Duration) (*grpc.ClientConn, error)

func GenerateAccessibilityRequirements added in v0.4.1

func GenerateAccessibilityRequirements(
	kubeClient kubernetes.Interface,
	csiAPIClient csiclientset.Interface,
	driverName string,
	allowedTopologies []v1.TopologySelectorTerm,
	selectedNode *v1.Node) (*csi.TopologyRequirement, error)

func GenerateVolumeNodeAffinity added in v0.4.1

func GenerateVolumeNodeAffinity(accessibleTopology []*csi.Topology) *v1.VolumeNodeAffinity

func NewCSIProvisioner

func NewCSIProvisioner(client kubernetes.Interface,
	csiAPIClient csiclientset.Interface,
	csiEndpoint string,
	connectionTimeout time.Duration,
	identity string,
	volumeNamePrefix string,
	volumeNameUUIDLength int,
	grpcClient *grpc.ClientConn,
	snapshotClient snapclientset.Interface) controller.Provisioner

NewCSIProvisioner creates new CSI provisioner

Types

This section is empty.

Jump to

Keyboard shortcuts

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