Documentation ¶
Overview ¶
Package config provides utilities for reading configfiles
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load loads controller configuration from the given file using the types registered in the scheme.
func OptionsFromConfig ¶ added in v0.8.0
OptionsFromConfig creates a manager.Options based on a configuration file
func TokenFromConfig ¶ added in v0.12.5
func TokenFromConfig(cfg *v2alpha2.ProjectConfig) (string, error)
TokenFromConfig returns the Styra DAS api token directly from "styra.token" in the config or using the "styra.tokenSecretPath" to retrieve it fra a secret
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.