Documentation ¶
Index ¶
- func GetEnvComponentValues(config *s2hv1beta1.ConfigSpec, compName, teamName string, ...) (s2hv1beta1.ComponentValues, error)
- func GetEnvValues(config *s2hv1beta1.ConfigSpec, envType s2hv1beta1.EnvType, teamName string) (map[string]s2hv1beta1.ComponentValues, error)
- func New(mgr cr.Manager, options ...Option) internal.ConfigController
- func ValidateConfigRequiredField(config *s2hv1beta1.Config) error
- 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, teamName 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, teamName string) ( map[string]s2hv1beta1.ComponentValues, error)
GetEnvValues returns component values per component name by the given env type
func ValidateConfigRequiredField ¶ added in v1.8.0
func ValidateConfigRequiredField(config *s2hv1beta1.Config) error
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.