Volume constructor

const Volume({
  1. Input<ConfigMapVolumeSource>? configMap,
  2. Input<EmptyDirVolumeSource>? emptyDir,
  3. Input<String>? name,
  4. Input<SecretVolumeSource>? secret,
})

Creates a new Volume. configMap Not supported in Cloud Run. emptyDir Ephemeral storage used as a shared volume. name Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved. secret The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secretName.

Implementation

const Volume({
  this.configMap,
  this.emptyDir,
  this.name,
  this.secret,
});