public class V1SecretVolumeSource extends Object
Constructor and Description |
---|
V1SecretVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1SecretVolumeSource |
addItemsItem(V1KeyToPath itemsItem) |
V1SecretVolumeSource |
defaultMode(Integer defaultMode) |
boolean |
equals(Object o) |
Integer |
getDefaultMode()
Optional: mode bits to use on created files by default.
|
List<V1KeyToPath> |
getItems()
If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value.
|
String |
getSecretName()
Name of the secret in the pod's namespace to use.
|
int |
hashCode() |
Boolean |
isOptional()
Specify whether the Secret or it's keys must be defined
|
V1SecretVolumeSource |
items(List<V1KeyToPath> items) |
V1SecretVolumeSource |
optional(Boolean optional) |
V1SecretVolumeSource |
secretName(String secretName) |
void |
setDefaultMode(Integer defaultMode) |
void |
setItems(List<V1KeyToPath> items) |
void |
setOptional(Boolean optional) |
void |
setSecretName(String secretName) |
String |
toString() |
public V1SecretVolumeSource defaultMode(Integer defaultMode)
public Integer getDefaultMode()
public void setDefaultMode(Integer defaultMode)
public V1SecretVolumeSource items(List<V1KeyToPath> items)
public V1SecretVolumeSource addItemsItem(V1KeyToPath itemsItem)
public List<V1KeyToPath> getItems()
public void setItems(List<V1KeyToPath> items)
public V1SecretVolumeSource optional(Boolean optional)
public Boolean isOptional()
public void setOptional(Boolean optional)
public V1SecretVolumeSource secretName(String secretName)
public String getSecretName()
public void setSecretName(String secretName)
Copyright © 2018. All rights reserved.