options

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerOptions

type ControllerOptions struct {
	// ExtraTags is a map of tags that will be attached to each dynamically provisioned
	// resource.
	ExtraTags map[string]string
	// ExtraVolumeTags is a map of tags that will be attached to each dynamically provisioned
	// volume.
	// DEPRECATED: Use ExtraTags instead.
	ExtraVolumeTags map[string]string
}

ControllerOptions contains options and configuration settings for the controller service.

func (*ControllerOptions) AddFlags

func (s *ControllerOptions) AddFlags(fs *flag.FlagSet)

type NodeOptions

type NodeOptions struct {
	// VolumeAttachLimit specifies the value that shall be reported as "maximum number of attachable volumes"
	// in CSINode objects. It is similar to https://kubernetes.io/docs/concepts/storage/storage-limits/#custom-limits
	// which allowed administrators to specify custom volume limits by configuring the kube-scheduler.
	VolumeAttachLimit int64
}

NodeOptions contains options and configuration settings for the node service.

func (*NodeOptions) AddFlags

func (o *NodeOptions) AddFlags(fs *flag.FlagSet)

type ServerOptions

type ServerOptions struct {
	// Endpoint is the endpoint that the driver server should listen on.
	Endpoint    string
	StatehubAPI string
}

ServerOptions contains options and configuration settings for the driver server.

func (*ServerOptions) AddFlags

func (s *ServerOptions) AddFlags(fs *flag.FlagSet)

Jump to

Keyboard shortcuts

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