github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_volume.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  // Volume represents a named volume in a pod that may be accessed by any container in the pod.
    13  type Volume struct {
    14  	Name                  string                             `json:"name"`
    15  	HostPath              *HostPathVolumeSource              `json:"hostPath,omitempty"`
    16  	EmptyDir              *EmptyDirVolumeSource              `json:"emptyDir,omitempty"`
    17  	GcePersistentDisk     *GcePersistentDiskVolumeSource     `json:"gcePersistentDisk,omitempty"`
    18  	AwsElasticBlockStore  *AwsElasticBlockStoreVolumeSource  `json:"awsElasticBlockStore,omitempty"`
    19  	Secret                *SecretVolumeSource                `json:"secret,omitempty"`
    20  	Nfs                   *NfsVolumeSource                   `json:"nfs,omitempty"`
    21  	PersistentVolumeClaim *PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"`
    22  	Cephfs                *CephFsVolumeSource                `json:"cephfs,omitempty"`
    23  	AzureFile             *AzureFileVolumeSource             `json:"azureFile,omitempty"`
    24  	AzureDisk             *AzureDiskVolumeSource             `json:"azureDisk,omitempty"`
    25  	ConfigMap             *ConfigMapVolumeSource             `json:"configMap,omitempty"`
    26  }