config

package
v1.18.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvComponentValues added in v1.1.0

func GetEnvComponentValues(config *s2hv1.ConfigSpec, compName, teamName string, envType s2hv1.EnvType) (
	s2hv1.ComponentValues, error)

GetEnvComponentValues returns component values by the given env type and component name

func GetEnvValues added in v1.1.0

func GetEnvValues(config *s2hv1.ConfigSpec, envType s2hv1.EnvType, teamName string) (
	map[string]s2hv1.ComponentValues, error)

GetEnvValues returns component values per component name by the given env type

func New added in v1.1.0

func New(mgr cr.Manager, options ...Option) internal.ConfigController

func ValidateConfigRequiredField added in v1.8.0

func ValidateConfigRequiredField(config *s2hv1.Config) error

Types

type Option added in v1.1.0

type Option func(*controller)

func WithClient added in v1.1.0

func WithClient(client client.Client) Option

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL