Documentation ¶
Index ¶
- Variables
- func MagicEnvVar(k, v string) *corev1.EnvVar
- func NewJobGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
- func NewJobGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
- func NewWorkloadGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
- func NewWorkloadGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
- func NewWorkloadServiceGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
- func NewWorkloadServiceGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
- type MagicEnvParser
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SecretEnvParser = NewSecretEnvParser() RawEnvParser = NewRawEnvParser() )
Functions ¶
func MagicEnvVar ¶
MagicEnvVar generates a specialized EnvVar based on the key and value of environment.
Examples:
MagicEnvVar("secret_key", "secret://my_secret/my_key") MagicEnvVar("key", "value")
func NewJobGenerator ¶
func NewJobGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
func NewJobGeneratorFunc ¶
func NewJobGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
func NewWorkloadGenerator ¶
func NewWorkloadGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
func NewWorkloadGeneratorFunc ¶
func NewWorkloadGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
func NewWorkloadServiceGenerator ¶
func NewWorkloadServiceGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
NewWorkloadServiceGenerator returns a new workloadServiceGenerator instance.
func NewWorkloadServiceGeneratorFunc ¶
func NewWorkloadServiceGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
NewWorkloadServiceGeneratorFunc returns a new NewGeneratorFunc that returns a workloadServiceGenerator instance.
Types ¶
type MagicEnvParser ¶
MagicEnvParser is an interface for environment variable parsers.
func NewRawEnvParser ¶
func NewRawEnvParser() MagicEnvParser
NewRawEnvParser creates a new instance of RawEnvParser.
func NewSecretEnvParser ¶
func NewSecretEnvParser() MagicEnvParser
NewSecretEnvParser creates a new instance of SecretEnvParser.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.