project

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 6 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 {
	Path string `json:"path"`
	// contains filtered or unexported fields
}

type ConfigFile

type ConfigFile struct {
	Path                 string            `json:"path"`
	Default              Config            `json:"default"`
	EnvironmentOverrides map[string]Config `json:"environmentOverrides"`
}

func DetectConfig

func DetectConfig(dir string) (*ConfigFile, error)

func (*ConfigFile) MergeConfig

func (projectConfig *ConfigFile) MergeConfig(env string) Config

Jump to

Keyboard shortcuts

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