config

package
v0.0.0-...-74ce1f9 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 7 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 {
	RunDirectory string                 `yaml:"run_directory"`
	Service      string                 `yaml:"service"`
	Image        string                 `yaml:"image"`
	DigitalOcean providers.DigitalOcean `yaml:"digital_ocean"`
	Builder      struct {
		Dockerfile string `yaml:"dockerfile"`
		Context    string `yaml:"context"`
	} `yaml:"builder"`
	SSH struct {
		PrivateKey string `yaml:"private_key"`
	} `yaml:"ssh"`
	Servers   []string `yaml:"servers"`
	Bootstrap struct {
		Servers int `yaml:"servers"`
	} `yaml:"bootstrap"`
}

func FromFile

func FromFile(filename string) (*Config, error)

Jump to

Keyboard shortcuts

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