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)
Click to show internal directories.
Click to hide internal directories.