Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Customizer ¶
type Customizer interface {
CustomizeEnvironment(environment Environment) error
}
type Environment ¶
type Environment interface {
ActiveProfiles() []string
DefaultProfiles() []string
IsProfileActive(profile string) bool
SetActiveProfiles(profiles ...string) error
AddActiveProfile(profile ...string) error
SetDefaultProfiles(profiles ...string) error
Merge(parent Environment)
Variables() Variables
PropertySources() *property.Sources
PropertyResolver() property.Resolver
}
func New ¶
func New() Environment
func WithSources ¶
func WithSources(sources *property.Sources) Environment
Click to show internal directories.
Click to hide internal directories.