backupnode

package
v0.0.0-...-8edbb7c Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 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

func GenerateNetworkConfig(configFilePath string)

func Init

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