Documentation
¶
Index ¶
- type OrigWorkloadEnvValuesdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrigWorkloadEnvValues
deprecated
type OrigWorkloadEnvValues struct {
OrigManifestValues map[string]envOverwrite.OriginalEnv
}
Deprecated: Used for migration purposes only. remove in odigos v1.1
func NewOrigWorkloadEnvValues ¶
func NewOrigWorkloadEnvValues(workloadAnnotations map[string]string) (*OrigWorkloadEnvValues, error)
func (*OrigWorkloadEnvValues) GetContainerStoredEnvs ¶
func (o *OrigWorkloadEnvValues) GetContainerStoredEnvs(containerName string) envOverwrite.OriginalEnv
func (*OrigWorkloadEnvValues) InsertOriginalValue ¶
func (o *OrigWorkloadEnvValues) InsertOriginalValue(containerName, envName string, val *string)
func (*OrigWorkloadEnvValues) RemoveOriginalValue ¶
func (o *OrigWorkloadEnvValues) RemoveOriginalValue(containerName, envName string) (*string, bool)
this function is called when reverting a value back to it's original content. it removes the env, if exists, and returns the original value for the caller to populate back into the manifest.
Click to show internal directories.
Click to hide internal directories.