Documentation ¶
Index ¶
- func GetEnvComponentValues(config *s2hv1beta1.ConfigSpec, compName string, envType s2hv1beta1.EnvType) (s2hv1beta1.ComponentValues, error)
- func GetEnvValues(config *s2hv1beta1.ConfigSpec, envType s2hv1beta1.EnvType) (map[string]s2hv1beta1.ComponentValues, error)
- func New(mgr cr.Manager, options ...Option) internal.ConfigController
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvComponentValues ¶ added in v1.1.0
func GetEnvComponentValues(config *s2hv1beta1.ConfigSpec, compName string, envType s2hv1beta1.EnvType) ( s2hv1beta1.ComponentValues, error)
GetEnvComponentValues returns component values by the given env type and component name
func GetEnvValues ¶ added in v1.1.0
func GetEnvValues(config *s2hv1beta1.ConfigSpec, envType s2hv1beta1.EnvType) ( map[string]s2hv1beta1.ComponentValues, error)
GetEnvValues returns component values per component name by the given env type
Types ¶
type Option ¶ added in v1.1.0
type Option func(*controller)
func WithClient ¶ added in v1.1.0
func WithS2hConfig ¶ added in v1.5.0
func WithS2hConfig(s2hConfig internal.SamsahaiConfig) Option
func WithS2hCtrl ¶ added in v1.1.5
func WithS2hCtrl(s2hCtrl internal.SamsahaiController) Option
Click to show internal directories.
Click to hide internal directories.