config

package
v0.0.0-...-cf0705c Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetEnvironmentMetanaConfig

func SetEnvironmentMetanaConfig(mc *MetanaConfig, env, store string, FS afero.Fs, wd string) error

func SetMetanaConfig

func SetMetanaConfig(mc *MetanaConfig, FS afero.Fs, wd string) error

Types

type Environment

type Environment struct {
	Name  string `yaml:"name"`
	Dir   string `yaml:"dir"`
	Store string `yaml:"store"`
}

type MetanaConfig

type MetanaConfig struct {
	Dir          string        `yaml:"dir"`
	StoreConn    string        `yaml:"store"`
	Environments []Environment `yaml:"environments"`
}

func GetMetanaConfig

func GetMetanaConfig(FS afero.Fs, wd string) (*MetanaConfig, error)

Jump to

Keyboard shortcuts

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