options

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVolumeControlServerEndpoint = "unix:///var/run/dsc/volume-controller.sock"
	GrpcEndpointSeparator              = "://"
)

Variables

This section is empty.

Functions

func ValidateVolumeControllerFlags

func ValidateVolumeControllerFlags(vco *VolumeControllerOptions) error

Types

type VolumeControllerOptions

type VolumeControllerOptions struct {
	ConsumerKubeConfig   string
	ConsumerApiServerUrl string

	GrpcServerEndpoint string

	FuseConfig   *fuseconfig.FuseOptions
	VolumeConfig *volumeconfig.VolumeOptions

	ContainerRuntimeConfig *runtimeconfig.ContainerRuntimeOptions

	MessageQueuePublisher *publishconfig.MessageQueuePublisherOptions
}

func NewVolumeControllerOptions

func NewVolumeControllerOptions() *VolumeControllerOptions

func (*VolumeControllerOptions) AddFlags

func (vco *VolumeControllerOptions) AddFlags(flagSet *pflag.FlagSet)

Jump to

Keyboard shortcuts

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