config

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package config - contain environment variables used by csi driver

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NodeName      string `default:"" desc:"Envvar from which to obtain the node ID" split_words:"true"`
	PluginName    string `default:"csi.networkservicemesh.io" desc:"Plugin name to register" split_words:"true"`
	SocketDir     string `default:"" desc:"Path to the NSM API socket directory" split_words:"true"`
	CSISocketPath string `default:"/nsm-csi/csi.sock" desc:"Path to the CSI socket" split_words:"true"`
	Version       string `default:"undefined" desc:"Version"`
}

Config - configuration for cmd-csi-dirver

func (*Config) IsValid

func (c *Config) IsValid() error

IsValid - check if configuration is valid

Jump to

Keyboard shortcuts

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