27 lines
1.1 KiB
Go
27 lines
1.1 KiB
Go
|
|
/*
|
||
|
|
* Kubernetes
|
||
|
|
*
|
||
|
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
||
|
|
*
|
||
|
|
* API version: v1.10.0
|
||
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||
|
|
*/
|
||
|
|
|
||
|
|
package client
|
||
|
|
|
||
|
|
// EnvVarSource represents a source for the value of an EnvVar.
|
||
|
|
type V1EnvVarSource struct {
|
||
|
|
|
||
|
|
// Selects a key of a ConfigMap.
|
||
|
|
ConfigMapKeyRef *V1ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`
|
||
|
|
|
||
|
|
// Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.
|
||
|
|
FieldRef *V1ObjectFieldSelector `json:"fieldRef,omitempty"`
|
||
|
|
|
||
|
|
// Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
|
||
|
|
ResourceFieldRef *V1ResourceFieldSelector `json:"resourceFieldRef,omitempty"`
|
||
|
|
|
||
|
|
// Selects a key of a secret in the pod's namespace
|
||
|
|
SecretKeyRef *V1SecretKeySelector `json:"secretKeyRef,omitempty"`
|
||
|
|
}
|