Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthTypeUntrusted = AuthType("untrusted") AuthTypeTLS = AuthType("tls") AuthTypeOIDC = AuthType("oidc") )
View Source
const ( // Name of the application, also determines the directory names for e.g. // the applications var and log directories. ApplicationName = "operations-center" // Name of the env var prefix used by this application. ApplicationEnvPrefix = "OPERATIONS_CENTER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Config from global flags
Verbose bool `yaml:"-"`
Debug bool `yaml:"-"`
ForceLocal bool `yaml:"-"`
ConfigDir string `yaml:"-"`
DefaultRemote string `yaml:"default_remote"`
Remotes map[string]Remote `yaml:"remotes"`
CertInfo *incusTLS.CertInfo `yaml:"-"`
}
func (*Config) LoadConfig ¶
func (*Config) SaveConfig ¶
Click to show internal directories.
Click to hide internal directories.