backupnode

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(ctx context.Context, configPath string)

func GenerateConfig

func GenerateConfig(configPath string)

func GenerateNetworkConfig added in v0.0.11

func GenerateNetworkConfig(configFilePath string)

func Init added in v0.0.2

func Init()

func Initialize

func Initialize(ctx context.Context, configPath string)

Types

type Config

type Config struct {
	HostIP    string `yaml:"host_ip"`
	ConfigDir string `yaml:"config_dir"`

	MinioUser     string `yaml:"minio_user"`
	MinioPassword string `yaml:"minio_password"`

	MongoUser     string `yaml:"mongo_user"`
	MongoPassword string `yaml:"mongo_password"`
}

Jump to

Keyboard shortcuts

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