Files
go/kubernetes/client/v1_secret_env_source.go
Haowei Cai 6181687d2e Generated API change for kubernetes 1.10
Settings:
    export KUBERNETES_BRANCH="release-1.10"
    export CLIENT_VERSION="0.1.0a1"
    export PACKAGE_NAME="client"
2018-03-21 14:15:19 -07:00

21 lines
727 B
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
// 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"`
}