Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceConfig ¶
type NamespacesConfig ¶
type NamespacesConfig struct { DefaultConfig NamespaceConfig `yaml:"defaultNamespaceSettings"` Namespaces []NamespaceConfig `yaml:"namespaces"` }
func GetNamespacesConfig ¶
func GetNamespacesConfig(namespacesConfigFileName string) (*NamespacesConfig, error)
Return NamespacesConfig from Namespaces config file TODO: Validate the config is complete and correct. And that mode is one of the accepted and lower cased Should we introduce mode defaults?
func (NamespacesConfig) GetConfig ¶
func (n NamespacesConfig) GetConfig(namespaceName string) (*NamespaceConfig, error)
Gets the config for a specific Knamespace
func (NamespacesConfig) GetDefault ¶
func (n NamespacesConfig) GetDefault() (*NamespaceConfig, error)
Return Knamespacer Defaults
Click to show internal directories.
Click to hide internal directories.