Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvManager ¶
type EnvManager struct { }
EnvManager manages secret exchange from job pods using env
func NewEnvManager ¶
func NewEnvManager() *EnvManager
NewEnvManager returns an implementation of the Manager
func (EnvManager) GetEnvs ¶
func (m EnvManager) GetEnvs() (secretEnvs []string)
GetEnvs gets secret envs
type Manager ¶
type Manager interface { // Prepare prepares secret env vars based on secret envs and variables Prepare(secretEnvs map[string]string, variables map[string]testkube.Variable) (secretEnvVars []corev1.EnvVar) // GetEnvs get secret envs GetEnvs() (secretEnvs []string) // GetVars gets secret vars GetVars(variables map[string]testkube.Variable) }
Manager is responsible for exchanging secrets with executor pod
Click to show internal directories.
Click to hide internal directories.