Package io.fabric8.openshift.api.model
Class SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.openshift.api.model.SecurityContextConstraintsFluent<A>
-
- Direct Known Subclasses:
SecurityContextConstraintsBuilder,SecurityContextConstraintsListFluent.ItemsNested
public class SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSecurityContextConstraintsFluent.AllowedFlexVolumesNested<N>classSecurityContextConstraintsFluent.FsGroupNested<N>classSecurityContextConstraintsFluent.MetadataNested<N>classSecurityContextConstraintsFluent.RunAsUserNested<N>classSecurityContextConstraintsFluent.SeLinuxContextNested<N>classSecurityContextConstraintsFluent.SupplementalGroupsNested<N>
-
Constructor Summary
Constructors Constructor Description SecurityContextConstraintsFluent()SecurityContextConstraintsFluent(SecurityContextConstraints instance)
-
Method Summary
-
-
-
Constructor Detail
-
SecurityContextConstraintsFluent
public SecurityContextConstraintsFluent()
-
SecurityContextConstraintsFluent
public SecurityContextConstraintsFluent(SecurityContextConstraints instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(SecurityContextConstraints instance)
-
getAllowHostDirVolumePlugin
public Boolean getAllowHostDirVolumePlugin()
-
withAllowHostDirVolumePlugin
public A withAllowHostDirVolumePlugin(Boolean allowHostDirVolumePlugin)
-
hasAllowHostDirVolumePlugin
public boolean hasAllowHostDirVolumePlugin()
-
getAllowHostIPC
public Boolean getAllowHostIPC()
-
hasAllowHostIPC
public boolean hasAllowHostIPC()
-
getAllowHostNetwork
public Boolean getAllowHostNetwork()
-
hasAllowHostNetwork
public boolean hasAllowHostNetwork()
-
getAllowHostPID
public Boolean getAllowHostPID()
-
hasAllowHostPID
public boolean hasAllowHostPID()
-
getAllowHostPorts
public Boolean getAllowHostPorts()
-
hasAllowHostPorts
public boolean hasAllowHostPorts()
-
getAllowPrivilegeEscalation
public Boolean getAllowPrivilegeEscalation()
-
withAllowPrivilegeEscalation
public A withAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
-
hasAllowPrivilegeEscalation
public boolean hasAllowPrivilegeEscalation()
-
getAllowPrivilegedContainer
public Boolean getAllowPrivilegedContainer()
-
withAllowPrivilegedContainer
public A withAllowPrivilegedContainer(Boolean allowPrivilegedContainer)
-
hasAllowPrivilegedContainer
public boolean hasAllowPrivilegedContainer()
-
addAllToAllowedCapabilities
public A addAllToAllowedCapabilities(Collection<String> items)
-
removeAllFromAllowedCapabilities
public A removeAllFromAllowedCapabilities(Collection<String> items)
-
getAllowedCapability
public String getAllowedCapability(int index)
-
getFirstAllowedCapability
public String getFirstAllowedCapability()
-
getLastAllowedCapability
public String getLastAllowedCapability()
-
getMatchingAllowedCapability
public String getMatchingAllowedCapability(Predicate<String> predicate)
-
hasMatchingAllowedCapability
public boolean hasMatchingAllowedCapability(Predicate<String> predicate)
-
hasAllowedCapabilities
public boolean hasAllowedCapabilities()
-
addToAllowedFlexVolumes
public A addToAllowedFlexVolumes(int index, AllowedFlexVolume item)
-
setToAllowedFlexVolumes
public A setToAllowedFlexVolumes(int index, AllowedFlexVolume item)
-
addToAllowedFlexVolumes
public A addToAllowedFlexVolumes(AllowedFlexVolume... items)
-
addAllToAllowedFlexVolumes
public A addAllToAllowedFlexVolumes(Collection<AllowedFlexVolume> items)
-
removeFromAllowedFlexVolumes
public A removeFromAllowedFlexVolumes(AllowedFlexVolume... items)
-
removeAllFromAllowedFlexVolumes
public A removeAllFromAllowedFlexVolumes(Collection<AllowedFlexVolume> items)
-
removeMatchingFromAllowedFlexVolumes
public A removeMatchingFromAllowedFlexVolumes(Predicate<AllowedFlexVolumeBuilder> predicate)
-
buildAllowedFlexVolumes
public List<AllowedFlexVolume> buildAllowedFlexVolumes()
-
buildAllowedFlexVolume
public AllowedFlexVolume buildAllowedFlexVolume(int index)
-
buildFirstAllowedFlexVolume
public AllowedFlexVolume buildFirstAllowedFlexVolume()
-
buildLastAllowedFlexVolume
public AllowedFlexVolume buildLastAllowedFlexVolume()
-
buildMatchingAllowedFlexVolume
public AllowedFlexVolume buildMatchingAllowedFlexVolume(Predicate<AllowedFlexVolumeBuilder> predicate)
-
hasMatchingAllowedFlexVolume
public boolean hasMatchingAllowedFlexVolume(Predicate<AllowedFlexVolumeBuilder> predicate)
-
withAllowedFlexVolumes
public A withAllowedFlexVolumes(List<AllowedFlexVolume> allowedFlexVolumes)
-
withAllowedFlexVolumes
public A withAllowedFlexVolumes(AllowedFlexVolume... allowedFlexVolumes)
-
hasAllowedFlexVolumes
public boolean hasAllowedFlexVolumes()
-
addNewAllowedFlexVolume
public SecurityContextConstraintsFluent.AllowedFlexVolumesNested<A> addNewAllowedFlexVolume()
-
addNewAllowedFlexVolumeLike
public SecurityContextConstraintsFluent.AllowedFlexVolumesNested<A> addNewAllowedFlexVolumeLike(AllowedFlexVolume item)
-
setNewAllowedFlexVolumeLike
public SecurityContextConstraintsFluent.AllowedFlexVolumesNested<A> setNewAllowedFlexVolumeLike(int index, AllowedFlexVolume item)
-
editAllowedFlexVolume
public SecurityContextConstraintsFluent.AllowedFlexVolumesNested<A> editAllowedFlexVolume(int index)
-
editFirstAllowedFlexVolume
public SecurityContextConstraintsFluent.AllowedFlexVolumesNested<A> editFirstAllowedFlexVolume()
-
editLastAllowedFlexVolume
public SecurityContextConstraintsFluent.AllowedFlexVolumesNested<A> editLastAllowedFlexVolume()
-
editMatchingAllowedFlexVolume
public SecurityContextConstraintsFluent.AllowedFlexVolumesNested<A> editMatchingAllowedFlexVolume(Predicate<AllowedFlexVolumeBuilder> predicate)
-
addAllToAllowedUnsafeSysctls
public A addAllToAllowedUnsafeSysctls(Collection<String> items)
-
removeAllFromAllowedUnsafeSysctls
public A removeAllFromAllowedUnsafeSysctls(Collection<String> items)
-
getAllowedUnsafeSysctl
public String getAllowedUnsafeSysctl(int index)
-
getFirstAllowedUnsafeSysctl
public String getFirstAllowedUnsafeSysctl()
-
getLastAllowedUnsafeSysctl
public String getLastAllowedUnsafeSysctl()
-
getMatchingAllowedUnsafeSysctl
public String getMatchingAllowedUnsafeSysctl(Predicate<String> predicate)
-
hasMatchingAllowedUnsafeSysctl
public boolean hasMatchingAllowedUnsafeSysctl(Predicate<String> predicate)
-
hasAllowedUnsafeSysctls
public boolean hasAllowedUnsafeSysctls()
-
getApiVersion
public String getApiVersion()
-
hasApiVersion
public boolean hasApiVersion()
-
addAllToDefaultAddCapabilities
public A addAllToDefaultAddCapabilities(Collection<String> items)
-
removeAllFromDefaultAddCapabilities
public A removeAllFromDefaultAddCapabilities(Collection<String> items)
-
getDefaultAddCapability
public String getDefaultAddCapability(int index)
-
getFirstDefaultAddCapability
public String getFirstDefaultAddCapability()
-
getLastDefaultAddCapability
public String getLastDefaultAddCapability()
-
getMatchingDefaultAddCapability
public String getMatchingDefaultAddCapability(Predicate<String> predicate)
-
hasMatchingDefaultAddCapability
public boolean hasMatchingDefaultAddCapability(Predicate<String> predicate)
-
withDefaultAddCapabilities
public A withDefaultAddCapabilities(List<String> defaultAddCapabilities)
-
hasDefaultAddCapabilities
public boolean hasDefaultAddCapabilities()
-
getDefaultAllowPrivilegeEscalation
public Boolean getDefaultAllowPrivilegeEscalation()
-
withDefaultAllowPrivilegeEscalation
public A withDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation)
-
hasDefaultAllowPrivilegeEscalation
public boolean hasDefaultAllowPrivilegeEscalation()
-
addAllToForbiddenSysctls
public A addAllToForbiddenSysctls(Collection<String> items)
-
removeAllFromForbiddenSysctls
public A removeAllFromForbiddenSysctls(Collection<String> items)
-
getForbiddenSysctl
public String getForbiddenSysctl(int index)
-
getFirstForbiddenSysctl
public String getFirstForbiddenSysctl()
-
getLastForbiddenSysctl
public String getLastForbiddenSysctl()
-
hasForbiddenSysctls
public boolean hasForbiddenSysctls()
-
buildFsGroup
public FSGroupStrategyOptions buildFsGroup()
-
withFsGroup
public A withFsGroup(FSGroupStrategyOptions fsGroup)
-
hasFsGroup
public boolean hasFsGroup()
-
withNewFsGroup
public SecurityContextConstraintsFluent.FsGroupNested<A> withNewFsGroup()
-
withNewFsGroupLike
public SecurityContextConstraintsFluent.FsGroupNested<A> withNewFsGroupLike(FSGroupStrategyOptions item)
-
editFsGroup
public SecurityContextConstraintsFluent.FsGroupNested<A> editFsGroup()
-
editOrNewFsGroup
public SecurityContextConstraintsFluent.FsGroupNested<A> editOrNewFsGroup()
-
editOrNewFsGroupLike
public SecurityContextConstraintsFluent.FsGroupNested<A> editOrNewFsGroupLike(FSGroupStrategyOptions item)
-
addAllToGroups
public A addAllToGroups(Collection<String> items)
-
removeAllFromGroups
public A removeAllFromGroups(Collection<String> items)
-
getGroup
public String getGroup(int index)
-
getFirstGroup
public String getFirstGroup()
-
getLastGroup
public String getLastGroup()
-
hasGroups
public boolean hasGroups()
-
getKind
public String getKind()
-
hasKind
public boolean hasKind()
-
buildMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta buildMetadata()
-
withMetadata
public A withMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
-
hasMetadata
public boolean hasMetadata()
-
withNewMetadata
public SecurityContextConstraintsFluent.MetadataNested<A> withNewMetadata()
-
withNewMetadataLike
public SecurityContextConstraintsFluent.MetadataNested<A> withNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
-
editMetadata
public SecurityContextConstraintsFluent.MetadataNested<A> editMetadata()
-
editOrNewMetadata
public SecurityContextConstraintsFluent.MetadataNested<A> editOrNewMetadata()
-
editOrNewMetadataLike
public SecurityContextConstraintsFluent.MetadataNested<A> editOrNewMetadataLike(io.fabric8.kubernetes.api.model.ObjectMeta item)
-
getPriority
public Integer getPriority()
-
hasPriority
public boolean hasPriority()
-
getReadOnlyRootFilesystem
public Boolean getReadOnlyRootFilesystem()
-
hasReadOnlyRootFilesystem
public boolean hasReadOnlyRootFilesystem()
-
addAllToRequiredDropCapabilities
public A addAllToRequiredDropCapabilities(Collection<String> items)
-
removeAllFromRequiredDropCapabilities
public A removeAllFromRequiredDropCapabilities(Collection<String> items)
-
getRequiredDropCapability
public String getRequiredDropCapability(int index)
-
getFirstRequiredDropCapability
public String getFirstRequiredDropCapability()
-
getLastRequiredDropCapability
public String getLastRequiredDropCapability()
-
getMatchingRequiredDropCapability
public String getMatchingRequiredDropCapability(Predicate<String> predicate)
-
hasMatchingRequiredDropCapability
public boolean hasMatchingRequiredDropCapability(Predicate<String> predicate)
-
withRequiredDropCapabilities
public A withRequiredDropCapabilities(List<String> requiredDropCapabilities)
-
withRequiredDropCapabilities
public A withRequiredDropCapabilities(String... requiredDropCapabilities)
-
hasRequiredDropCapabilities
public boolean hasRequiredDropCapabilities()
-
buildRunAsUser
public RunAsUserStrategyOptions buildRunAsUser()
-
withRunAsUser
public A withRunAsUser(RunAsUserStrategyOptions runAsUser)
-
hasRunAsUser
public boolean hasRunAsUser()
-
withNewRunAsUser
public A withNewRunAsUser(String type, Long uid, Long uidRangeMax, Long uidRangeMin)
-
withNewRunAsUser
public SecurityContextConstraintsFluent.RunAsUserNested<A> withNewRunAsUser()
-
withNewRunAsUserLike
public SecurityContextConstraintsFluent.RunAsUserNested<A> withNewRunAsUserLike(RunAsUserStrategyOptions item)
-
editRunAsUser
public SecurityContextConstraintsFluent.RunAsUserNested<A> editRunAsUser()
-
editOrNewRunAsUser
public SecurityContextConstraintsFluent.RunAsUserNested<A> editOrNewRunAsUser()
-
editOrNewRunAsUserLike
public SecurityContextConstraintsFluent.RunAsUserNested<A> editOrNewRunAsUserLike(RunAsUserStrategyOptions item)
-
buildSeLinuxContext
public SELinuxContextStrategyOptions buildSeLinuxContext()
-
withSeLinuxContext
public A withSeLinuxContext(SELinuxContextStrategyOptions seLinuxContext)
-
hasSeLinuxContext
public boolean hasSeLinuxContext()
-
withNewSeLinuxContext
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> withNewSeLinuxContext()
-
withNewSeLinuxContextLike
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> withNewSeLinuxContextLike(SELinuxContextStrategyOptions item)
-
editSeLinuxContext
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> editSeLinuxContext()
-
editOrNewSeLinuxContext
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> editOrNewSeLinuxContext()
-
editOrNewSeLinuxContextLike
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> editOrNewSeLinuxContextLike(SELinuxContextStrategyOptions item)
-
addAllToSeccompProfiles
public A addAllToSeccompProfiles(Collection<String> items)
-
removeAllFromSeccompProfiles
public A removeAllFromSeccompProfiles(Collection<String> items)
-
getSeccompProfile
public String getSeccompProfile(int index)
-
getFirstSeccompProfile
public String getFirstSeccompProfile()
-
getLastSeccompProfile
public String getLastSeccompProfile()
-
hasSeccompProfiles
public boolean hasSeccompProfiles()
-
buildSupplementalGroups
public SupplementalGroupsStrategyOptions buildSupplementalGroups()
-
withSupplementalGroups
public A withSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
-
hasSupplementalGroups
public boolean hasSupplementalGroups()
-
withNewSupplementalGroups
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> withNewSupplementalGroups()
-
withNewSupplementalGroupsLike
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> withNewSupplementalGroupsLike(SupplementalGroupsStrategyOptions item)
-
editSupplementalGroups
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> editSupplementalGroups()
-
editOrNewSupplementalGroups
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> editOrNewSupplementalGroups()
-
editOrNewSupplementalGroupsLike
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> editOrNewSupplementalGroupsLike(SupplementalGroupsStrategyOptions item)
-
getUserNamespaceLevel
public String getUserNamespaceLevel()
-
hasUserNamespaceLevel
public boolean hasUserNamespaceLevel()
-
addAllToUsers
public A addAllToUsers(Collection<String> items)
-
removeAllFromUsers
public A removeAllFromUsers(Collection<String> items)
-
getUser
public String getUser(int index)
-
getFirstUser
public String getFirstUser()
-
getLastUser
public String getLastUser()
-
hasUsers
public boolean hasUsers()
-
addAllToVolumes
public A addAllToVolumes(Collection<String> items)
-
removeAllFromVolumes
public A removeAllFromVolumes(Collection<String> items)
-
getVolume
public String getVolume(int index)
-
getFirstVolume
public String getFirstVolume()
-
getLastVolume
public String getLastVolume()
-
hasVolumes
public boolean hasVolumes()
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classio.fabric8.kubernetes.api.builder.BaseFluent<A extends SecurityContextConstraintsFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classio.fabric8.kubernetes.api.builder.BaseFluent<A extends SecurityContextConstraintsFluent<A>>
-
withAllowHostDirVolumePlugin
public A withAllowHostDirVolumePlugin()
-
withAllowHostIPC
public A withAllowHostIPC()
-
withAllowHostNetwork
public A withAllowHostNetwork()
-
withAllowHostPID
public A withAllowHostPID()
-
withAllowHostPorts
public A withAllowHostPorts()
-
withAllowPrivilegeEscalation
public A withAllowPrivilegeEscalation()
-
withAllowPrivilegedContainer
public A withAllowPrivilegedContainer()
-
withDefaultAllowPrivilegeEscalation
public A withDefaultAllowPrivilegeEscalation()
-
withReadOnlyRootFilesystem
public A withReadOnlyRootFilesystem()
-
-