config

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 23 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 *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

func New added in v1.1.0

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

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