config

package
v0.0.0-pre.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AuthType                   string            `yaml:"auth_type"`
	ConfigDir                  string            `yaml:"config_dir"`
	MigrationManagerServer     string            `yaml:"migration_manager_server"`
	MigrationManagerServerCert *x509.Certificate `yaml:"migration_manager_server_cert"`
	TLSClientCertFile          string            `yaml:"tls_client_cert_file"`
	TLSClientKeyFile           string            `yaml:"tls_client_key_file"`
}

func LoadConfig

func LoadConfig(configFile string) (*Config, error)

func NewConfig

func NewConfig(configDir string) *Config

func (*Config) SaveConfig

func (c *Config) SaveConfig() error

Jump to

Keyboard shortcuts

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