config

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check() error

func Create

func Create(cmd *cobra.Command, conf *lxcconf.Config) error

func GetConfigPath

func GetConfigPath() string

func GetHomePath

func GetHomePath() string

Types

type Config

type Config struct {
	Remotes map[string]Remote `yaml:"remotes"`
}

func Get

func Get() (*Config, error)

type Remote

type Remote struct {
	User          string `yaml:"user"`
	Host          string `yaml:"host"`
	SSHPrivateKey string `yaml:"ssh_private_key"`
	BaseImage     string `yaml:"baseimage"`
}

Jump to

Keyboard shortcuts

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