github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_env_var_source.go (about)

     1  /*
     2   * Testkube API
     3   *
     4   * Testkube provides a Kubernetes-native framework for test definition, execution and results
     5   *
     6   * API version: 1.0.0
     7   * Contact: testkube@kubeshop.io
     8   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     9   */
    10  package testkube
    11  
    12  // EnvVarSource represents a source for the value of an EnvVar.
    13  type EnvVarSource struct {
    14  	ConfigMapKeyRef  *EnvVarSourceConfigMapKeyRef  `json:"configMapKeyRef,omitempty"`
    15  	FieldRef         *EnvVarSourceFieldRef         `json:"fieldRef,omitempty"`
    16  	ResourceFieldRef *EnvVarSourceResourceFieldRef `json:"resourceFieldRef,omitempty"`
    17  	SecretKeyRef     *EnvVarSourceSecretKeyRef     `json:"secretKeyRef,omitempty"`
    18  }