Package io.fabric8.kubernetes.api.model
Class ClusterTrustBundleProjection
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ClusterTrustBundleProjection
-
- All Implemented Interfaces:
Editable<ClusterTrustBundleProjectionBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterTrustBundleProjection extends Object implements Editable<ClusterTrustBundleProjectionBuilder>, KubernetesResource
ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterTrustBundleProjection()No args constructor for use in serializationClusterTrustBundleProjection(LabelSelector labelSelector, String name, Boolean optional, String path, String signerName, Long user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterTrustBundleProjectionBuilderedit()Map<String,Object>getAdditionalProperties()LabelSelectorgetLabelSelector()ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.StringgetName()Select a single ClusterTrustBundle by object name.BooleangetOptional()If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available.StringgetPath()Relative path from the volume root to write the bundle.StringgetSignerName()Select all ClusterTrustBundles that match this signer name.LonggetUser()user is Optional: The owner UID of the created file.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLabelSelector(LabelSelector labelSelector)ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.voidsetName(String name)Select a single ClusterTrustBundle by object name.voidsetOptional(Boolean optional)If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available.voidsetPath(String path)Relative path from the volume root to write the bundle.voidsetSignerName(String signerName)Select all ClusterTrustBundles that match this signer name.voidsetUser(Long user)user is Optional: The owner UID of the created file.ClusterTrustBundleProjectionBuildertoBuilder()
-
-
-
Method Detail
-
getLabelSelector
public LabelSelector getLabelSelector()
ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.
-
setLabelSelector
public void setLabelSelector(LabelSelector labelSelector)
ClusterTrustBundleProjection describes how to select a set of ClusterTrustBundle objects and project their contents into the pod filesystem.
-
getName
public String getName()
Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.
-
setName
public void setName(String name)
Select a single ClusterTrustBundle by object name. Mutually-exclusive with signerName and labelSelector.
-
getOptional
public Boolean getOptional()
If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.
-
setOptional
public void setOptional(Boolean optional)
If true, don't block pod startup if the referenced ClusterTrustBundle(s) aren't available. If using name, then the named ClusterTrustBundle is allowed not to exist. If using signerName, then the combination of signerName and labelSelector is allowed to match zero ClusterTrustBundles.
-
getPath
public String getPath()
Relative path from the volume root to write the bundle.
-
setPath
public void setPath(String path)
Relative path from the volume root to write the bundle.
-
getSignerName
public String getSignerName()
Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.
-
setSignerName
public void setSignerName(String signerName)
Select all ClusterTrustBundles that match this signer name. Mutually-exclusive with name. The contents of all selected ClusterTrustBundles will be unified and deduplicated.
-
getUser
public Long getUser()
user is Optional: The owner UID of the created file. If specified, the item-level user field takes precedence over defaultUser. (Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
-
setUser
public void setUser(Long user)
user is Optional: The owner UID of the created file. If specified, the item-level user field takes precedence over defaultUser. (Alpha) This field requires the AtomicWriteVolumeUserFields feature gate to be enabled.
-
edit
public ClusterTrustBundleProjectionBuilder edit()
- Specified by:
editin interfaceEditable<ClusterTrustBundleProjectionBuilder>
-
toBuilder
public ClusterTrustBundleProjectionBuilder toBuilder()
-
-