Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Env = NewEnvironment( local.NewProvider(), secretdir.NewProvider(), configmap.NewProvider(), )
Env is current environment. Environment is a singleton as k8s cluster can't span multiple environment. Providers of environment hide behind this interface. Clients of this package are free to reconfigure environment.
Functions ¶
func GetManagementEndpoint ¶
func GetManagementEndpoint(topology types.Topology) ( *types.ManagementEndpoint, error, )
GetManagementEndpoint is convenience function
func NewEnvironment ¶
func NewEnvironment(p ...types.Provider) types.Environment
NewEnvironment constructs new environment from given list of providers. The order of providers is honored during lookup. This function is meant to construct Env as environment is a singleton.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.