runtimeconfig

package
v1.26.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Path to the runtime config file
	RuntimeConfigFilename string
)

Functions

This section is empty.

Types

type NfsConfig

type NfsConfig struct {
	// When mounting an NFS share, select an export location with matching IP address.
	// No match between this address and at least a single export location for this share
	// will result in an error.
	// Expects a CIDR-formatted address. If prefix is not provided,
	// /32 or /128 prefix is assumed for IPv4 and IPv6 respectively.
	MatchExportLocationAddress string `json:"matchExportLocationAddress,omitempty"`
}

type RuntimeConfig

type RuntimeConfig struct {
	Nfs *NfsConfig `json:"nfs,omitempty"`
}

func Get

func Get() (*RuntimeConfig, error)

Jump to

Keyboard shortcuts

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