configmap

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyToNamespace

func CopyToNamespace(ns string, oConfigMaps ...*v1.ConfigMap) []*v1.ConfigMap

CopyToNamespace returns a new list of config maps generated from the ones given but with the namespace changed to the given one.

func GetEnvVarSource added in v1.25.2

func GetEnvVarSource(cmName string, key string, optional bool) *v1.EnvVarSource

GetEnvVarSource returns an EnvVarSource using the given configmap name and key.

func ToRuntimeObjects added in v1.18.0

func ToRuntimeObjects(configMaps ...*v1.ConfigMap) []client.Object

ToRuntimeObjects converts the given list of configMaps to a list of client.Objects

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL