Files
go/kubernetes/client/v1_secret_env_source.go

21 lines
727 B
Go
Raw Normal View History

/*
* 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
// SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
type V1SecretEnvSource struct {
// Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Name string `json:"name,omitempty"`
// Specify whether the Secret must be defined
Optional bool `json:"optional,omitempty"`
}