com.coralogix.zio.k8s.model.core.v1
DownwardAPIVolumeSource
Companion object DownwardAPIVolumeSource
case class DownwardAPIVolumeSource(defaultMode: Optional[Int] = Optional.Absent, items: Optional[Vector[DownwardAPIVolumeFile]] = Optional.Absent) extends Product with Serializable
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
- defaultMode
Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
Items is a list of downward API volume file
- Alphabetic
- By Inheritance
- DownwardAPIVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
DownwardAPIVolumeSource(defaultMode: Optional[Int] = Optional.Absent, items: Optional[Vector[DownwardAPIVolumeFile]] = Optional.Absent)
- defaultMode
Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
- items
Items is a list of downward API volume file
Value Members
- val defaultMode: Optional[Int]
-
def
getDefaultMode: IO[K8sFailure, Int]
Optional: mode bits to use on created files by default.
Optional: mode bits to use on created files by default. Must be a Optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getItems: IO[K8sFailure, Vector[DownwardAPIVolumeFile]]
Items is a list of downward API volume file
Items is a list of downward API volume file
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val items: Optional[Vector[DownwardAPIVolumeFile]]