Documentation ¶
Index ¶
- Constants
- func ExtractAllDockerImages(manifests []unstructured.Unstructured) ([]string, error)
- func ExtractEphemeralContainers(pods []corev1.Pod) map[string][]*EphemeralContainerData
- func ExtractImageFromManifestYaml(manifestYaml string) []string
- func ExtractImages(obj unstructured.Unstructured) []string
- func HideValuesIfSecret(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
- func HideValuesIfSecretForManifestStringInput(manifest string, kind string, group string) (string, error)
- func HideValuesIfSecretForWholeYamlInput(wholeYamlFileContent string) (string, error)
- func IsExternalEphemeralContainer(cmds []string, name string) bool
- func IsPod(kind string, group string) bool
- type EphemeralContainerData
Constants ¶
View Source
const EphemeralContainerStartingShellScriptFileName = "./tmp/%s-devtron.sh"
Variables ¶
This section is empty.
Functions ¶
func ExtractAllDockerImages ¶ added in v0.0.17
func ExtractAllDockerImages(manifests []unstructured.Unstructured) ([]string, error)
func ExtractEphemeralContainers ¶ added in v0.0.8
func ExtractEphemeralContainers(pods []corev1.Pod) map[string][]*EphemeralContainerData
ExtractEphemeralContainers will only return map of pod_name vs running ephemeral_containers list of this pod. Note: pod may contain other ephemeral containers which are not in running state
func ExtractImageFromManifestYaml ¶ added in v0.0.17
func ExtractImages ¶ added in v0.0.17
func ExtractImages(obj unstructured.Unstructured) []string
func HideValuesIfSecret ¶
func HideValuesIfSecret(obj *unstructured.Unstructured) (*unstructured.Unstructured, error)
func IsExternalEphemeralContainer ¶ added in v0.0.8
Types ¶
type EphemeralContainerData ¶ added in v0.0.8
Click to show internal directories.
Click to hide internal directories.