Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvVarRefString ¶
func GetEnvVarRefString(from *kapi.EnvVarSource) string
GenEnvVarRefString returns a text description of the supplied EnvVarSource
func GetEnvVarRefValue ¶
func GetEnvVarRefValue(f *clientcmd.Factory, kc kclientset.Interface, ns string, store *ResourceStore, from *kapi.EnvVarSource, obj runtime.Object, c *kapi.Container) (string, error)
GenEnvVarRefValue returns the value referenced by the supplied EnvVarSource given the other supplied information
Types ¶
type ResourceStore ¶
type ResourceStore struct { SecretStore map[string]*kapi.Secret ConfigMapStore map[string]*kapi.ConfigMap }
ResourceStore defines a new resource store data structure
func NewResourceStore ¶
func NewResourceStore() *ResourceStore
NewResourceStore returns a pointer to a new resource store data structure
Click to show internal directories.
Click to hide internal directories.