Class V1DownwardAPIVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1DownwardAPIVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T21:37:40.170033Z[Etc/UTC]")
public class V1DownwardAPIVolumeSource
extends Object
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddItemsItem
(V1DownwardAPIVolumeFile itemsItem) defaultMode
(Integer defaultMode) boolean
Optional: mode bits to use on created files by default.getItems()
Items is a list of downward API volume fileint
hashCode()
items
(List<V1DownwardAPIVolumeFile> items) void
setDefaultMode
(Integer defaultMode) void
setItems
(List<V1DownwardAPIVolumeFile> items) toString()
-
Field Details
-
SERIALIZED_NAME_DEFAULT_MODE
- See Also:
-
SERIALIZED_NAME_ITEMS
- See Also:
-
-
Constructor Details
-
V1DownwardAPIVolumeSource
public V1DownwardAPIVolumeSource()
-
-
Method Details
-
defaultMode
-
getDefaultMode
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.- Returns:
- defaultMode
-
setDefaultMode
-
items
-
addItemsItem
-
getItems
Items is a list of downward API volume file- Returns:
- items
-
setItems
-
equals
-
hashCode
public int hashCode() -
toString
-