public class PodSecurityPolicySpecFluentImpl<A extends PodSecurityPolicySpecFluent<A>> extends BaseFluent<A> implements PodSecurityPolicySpecFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PodSecurityPolicySpecFluentImpl.AllowedCSIDriversNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.AllowedFlexVolumesNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.AllowedHostPathsNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.FsGroupNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.HostPortsNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.RunAsGroupNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.RunAsUserNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.RuntimeClassNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.SeLinuxNestedImpl<N> |
class |
PodSecurityPolicySpecFluentImpl.SupplementalGroupsNestedImpl<N> |
PodSecurityPolicySpecFluent.AllowedCSIDriversNested<N>, PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<N>, PodSecurityPolicySpecFluent.AllowedHostPathsNested<N>, PodSecurityPolicySpecFluent.FsGroupNested<N>, PodSecurityPolicySpecFluent.HostPortsNested<N>, PodSecurityPolicySpecFluent.RunAsGroupNested<N>, PodSecurityPolicySpecFluent.RunAsUserNested<N>, PodSecurityPolicySpecFluent.RuntimeClassNested<N>, PodSecurityPolicySpecFluent.SeLinuxNested<N>, PodSecurityPolicySpecFluent.SupplementalGroupsNested<N>
_visitables
Constructor and Description |
---|
PodSecurityPolicySpecFluentImpl() |
PodSecurityPolicySpecFluentImpl(PodSecurityPolicySpec instance) |
public PodSecurityPolicySpecFluentImpl()
public PodSecurityPolicySpecFluentImpl(PodSecurityPolicySpec instance)
public Boolean isAllowPrivilegeEscalation()
isAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
withAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasAllowPrivilegeEscalation()
hasAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewAllowPrivilegeEscalation(String arg1)
withNewAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewAllowPrivilegeEscalation(boolean arg1)
withNewAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedCSIDrivers(int index, AllowedCSIDriver item)
addToAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToAllowedCSIDrivers(int index, AllowedCSIDriver item)
setToAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedCSIDrivers(AllowedCSIDriver... items)
addToAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToAllowedCSIDrivers(Collection<AllowedCSIDriver> items)
addAllToAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromAllowedCSIDrivers(AllowedCSIDriver... items)
removeFromAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromAllowedCSIDrivers(Collection<AllowedCSIDriver> items)
removeAllFromAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public List<AllowedCSIDriver> getAllowedCSIDrivers()
getAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<AllowedCSIDriver> buildAllowedCSIDrivers()
buildAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedCSIDriver buildAllowedCSIDriver(int index)
buildAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedCSIDriver buildFirstAllowedCSIDriver()
buildFirstAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedCSIDriver buildLastAllowedCSIDriver()
buildLastAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedCSIDriver buildMatchingAllowedCSIDriver(Predicate<AllowedCSIDriverBuilder> predicate)
buildMatchingAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingAllowedCSIDriver(Predicate<AllowedCSIDriverBuilder> predicate)
hasMatchingAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedCSIDrivers(List<AllowedCSIDriver> allowedCSIDrivers)
withAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedCSIDrivers(AllowedCSIDriver... allowedCSIDrivers)
withAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasAllowedCSIDrivers()
hasAllowedCSIDrivers
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedCSIDriver(String name)
addNewAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedCSIDriversNested<A> addNewAllowedCSIDriver()
addNewAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedCSIDriversNested<A> addNewAllowedCSIDriverLike(AllowedCSIDriver item)
addNewAllowedCSIDriverLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedCSIDriversNested<A> setNewAllowedCSIDriverLike(int index, AllowedCSIDriver item)
setNewAllowedCSIDriverLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedCSIDriversNested<A> editAllowedCSIDriver(int index)
editAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedCSIDriversNested<A> editFirstAllowedCSIDriver()
editFirstAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedCSIDriversNested<A> editLastAllowedCSIDriver()
editLastAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedCSIDriversNested<A> editMatchingAllowedCSIDriver(Predicate<AllowedCSIDriverBuilder> predicate)
editMatchingAllowedCSIDriver
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedCapabilities(int index, String item)
addToAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToAllowedCapabilities(int index, String item)
setToAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedCapabilities(String... items)
addToAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToAllowedCapabilities(Collection<String> items)
addAllToAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromAllowedCapabilities(String... items)
removeFromAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromAllowedCapabilities(Collection<String> items)
removeAllFromAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<String> getAllowedCapabilities()
getAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getAllowedCapability(int index)
getAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getFirstAllowedCapability()
getFirstAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getLastAllowedCapability()
getLastAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getMatchingAllowedCapability(Predicate<String> predicate)
getMatchingAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingAllowedCapability(Predicate<String> predicate)
hasMatchingAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedCapabilities(List<String> allowedCapabilities)
withAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedCapabilities(String... allowedCapabilities)
withAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasAllowedCapabilities()
hasAllowedCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedCapability(String arg1)
addNewAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedCapability(StringBuilder arg1)
addNewAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedCapability(StringBuffer arg1)
addNewAllowedCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedFlexVolumes(int index, AllowedFlexVolume item)
addToAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToAllowedFlexVolumes(int index, AllowedFlexVolume item)
setToAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedFlexVolumes(AllowedFlexVolume... items)
addToAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToAllowedFlexVolumes(Collection<AllowedFlexVolume> items)
addAllToAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromAllowedFlexVolumes(AllowedFlexVolume... items)
removeFromAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromAllowedFlexVolumes(Collection<AllowedFlexVolume> items)
removeAllFromAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public List<AllowedFlexVolume> getAllowedFlexVolumes()
getAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<AllowedFlexVolume> buildAllowedFlexVolumes()
buildAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedFlexVolume buildAllowedFlexVolume(int index)
buildAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedFlexVolume buildFirstAllowedFlexVolume()
buildFirstAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedFlexVolume buildLastAllowedFlexVolume()
buildLastAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedFlexVolume buildMatchingAllowedFlexVolume(Predicate<AllowedFlexVolumeBuilder> predicate)
buildMatchingAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingAllowedFlexVolume(Predicate<AllowedFlexVolumeBuilder> predicate)
hasMatchingAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedFlexVolumes(List<AllowedFlexVolume> allowedFlexVolumes)
withAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedFlexVolumes(AllowedFlexVolume... allowedFlexVolumes)
withAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasAllowedFlexVolumes()
hasAllowedFlexVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedFlexVolume(String driver)
addNewAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<A> addNewAllowedFlexVolume()
addNewAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<A> addNewAllowedFlexVolumeLike(AllowedFlexVolume item)
addNewAllowedFlexVolumeLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<A> setNewAllowedFlexVolumeLike(int index, AllowedFlexVolume item)
setNewAllowedFlexVolumeLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<A> editAllowedFlexVolume(int index)
editAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<A> editFirstAllowedFlexVolume()
editFirstAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<A> editLastAllowedFlexVolume()
editLastAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedFlexVolumesNested<A> editMatchingAllowedFlexVolume(Predicate<AllowedFlexVolumeBuilder> predicate)
editMatchingAllowedFlexVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedHostPaths(int index, AllowedHostPath item)
addToAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToAllowedHostPaths(int index, AllowedHostPath item)
setToAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedHostPaths(AllowedHostPath... items)
addToAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToAllowedHostPaths(Collection<AllowedHostPath> items)
addAllToAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromAllowedHostPaths(AllowedHostPath... items)
removeFromAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromAllowedHostPaths(Collection<AllowedHostPath> items)
removeAllFromAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public List<AllowedHostPath> getAllowedHostPaths()
getAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<AllowedHostPath> buildAllowedHostPaths()
buildAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedHostPath buildAllowedHostPath(int index)
buildAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedHostPath buildFirstAllowedHostPath()
buildFirstAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedHostPath buildLastAllowedHostPath()
buildLastAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public AllowedHostPath buildMatchingAllowedHostPath(Predicate<AllowedHostPathBuilder> predicate)
buildMatchingAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingAllowedHostPath(Predicate<AllowedHostPathBuilder> predicate)
hasMatchingAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedHostPaths(List<AllowedHostPath> allowedHostPaths)
withAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedHostPaths(AllowedHostPath... allowedHostPaths)
withAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasAllowedHostPaths()
hasAllowedHostPaths
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedHostPath(String pathPrefix, Boolean readOnly)
addNewAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedHostPathsNested<A> addNewAllowedHostPath()
addNewAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedHostPathsNested<A> addNewAllowedHostPathLike(AllowedHostPath item)
addNewAllowedHostPathLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedHostPathsNested<A> setNewAllowedHostPathLike(int index, AllowedHostPath item)
setNewAllowedHostPathLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedHostPathsNested<A> editAllowedHostPath(int index)
editAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedHostPathsNested<A> editFirstAllowedHostPath()
editFirstAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedHostPathsNested<A> editLastAllowedHostPath()
editLastAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.AllowedHostPathsNested<A> editMatchingAllowedHostPath(Predicate<AllowedHostPathBuilder> predicate)
editMatchingAllowedHostPath
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedProcMountTypes(int index, String item)
addToAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToAllowedProcMountTypes(int index, String item)
setToAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedProcMountTypes(String... items)
addToAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToAllowedProcMountTypes(Collection<String> items)
addAllToAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromAllowedProcMountTypes(String... items)
removeFromAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromAllowedProcMountTypes(Collection<String> items)
removeAllFromAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<String> getAllowedProcMountTypes()
getAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getAllowedProcMountType(int index)
getAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getFirstAllowedProcMountType()
getFirstAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getLastAllowedProcMountType()
getLastAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getMatchingAllowedProcMountType(Predicate<String> predicate)
getMatchingAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingAllowedProcMountType(Predicate<String> predicate)
hasMatchingAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedProcMountTypes(List<String> allowedProcMountTypes)
withAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedProcMountTypes(String... allowedProcMountTypes)
withAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasAllowedProcMountTypes()
hasAllowedProcMountTypes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedProcMountType(String arg1)
addNewAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedProcMountType(StringBuilder arg1)
addNewAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedProcMountType(StringBuffer arg1)
addNewAllowedProcMountType
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedUnsafeSysctls(int index, String item)
addToAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToAllowedUnsafeSysctls(int index, String item)
setToAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToAllowedUnsafeSysctls(String... items)
addToAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToAllowedUnsafeSysctls(Collection<String> items)
addAllToAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromAllowedUnsafeSysctls(String... items)
removeFromAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromAllowedUnsafeSysctls(Collection<String> items)
removeAllFromAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<String> getAllowedUnsafeSysctls()
getAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getAllowedUnsafeSysctl(int index)
getAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getFirstAllowedUnsafeSysctl()
getFirstAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getLastAllowedUnsafeSysctl()
getLastAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getMatchingAllowedUnsafeSysctl(Predicate<String> predicate)
getMatchingAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingAllowedUnsafeSysctl(Predicate<String> predicate)
hasMatchingAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedUnsafeSysctls(List<String> allowedUnsafeSysctls)
withAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withAllowedUnsafeSysctls(String... allowedUnsafeSysctls)
withAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasAllowedUnsafeSysctls()
hasAllowedUnsafeSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedUnsafeSysctl(String arg1)
addNewAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedUnsafeSysctl(StringBuilder arg1)
addNewAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewAllowedUnsafeSysctl(StringBuffer arg1)
addNewAllowedUnsafeSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToDefaultAddCapabilities(int index, String item)
addToDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToDefaultAddCapabilities(int index, String item)
setToDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToDefaultAddCapabilities(String... items)
addToDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToDefaultAddCapabilities(Collection<String> items)
addAllToDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromDefaultAddCapabilities(String... items)
removeFromDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromDefaultAddCapabilities(Collection<String> items)
removeAllFromDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<String> getDefaultAddCapabilities()
getDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getDefaultAddCapability(int index)
getDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getFirstDefaultAddCapability()
getFirstDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getLastDefaultAddCapability()
getLastDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getMatchingDefaultAddCapability(Predicate<String> predicate)
getMatchingDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingDefaultAddCapability(Predicate<String> predicate)
hasMatchingDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withDefaultAddCapabilities(List<String> defaultAddCapabilities)
withDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withDefaultAddCapabilities(String... defaultAddCapabilities)
withDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasDefaultAddCapabilities()
hasDefaultAddCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewDefaultAddCapability(String arg1)
addNewDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewDefaultAddCapability(StringBuilder arg1)
addNewDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewDefaultAddCapability(StringBuffer arg1)
addNewDefaultAddCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean isDefaultAllowPrivilegeEscalation()
isDefaultAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation)
withDefaultAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasDefaultAllowPrivilegeEscalation()
hasDefaultAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewDefaultAllowPrivilegeEscalation(String arg1)
withNewDefaultAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewDefaultAllowPrivilegeEscalation(boolean arg1)
withNewDefaultAllowPrivilegeEscalation
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToForbiddenSysctls(int index, String item)
addToForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToForbiddenSysctls(int index, String item)
setToForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToForbiddenSysctls(String... items)
addToForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToForbiddenSysctls(Collection<String> items)
addAllToForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromForbiddenSysctls(String... items)
removeFromForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromForbiddenSysctls(Collection<String> items)
removeAllFromForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<String> getForbiddenSysctls()
getForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getForbiddenSysctl(int index)
getForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getFirstForbiddenSysctl()
getFirstForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getLastForbiddenSysctl()
getLastForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getMatchingForbiddenSysctl(Predicate<String> predicate)
getMatchingForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingForbiddenSysctl(Predicate<String> predicate)
hasMatchingForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withForbiddenSysctls(List<String> forbiddenSysctls)
withForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withForbiddenSysctls(String... forbiddenSysctls)
withForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasForbiddenSysctls()
hasForbiddenSysctls
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewForbiddenSysctl(String arg1)
addNewForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewForbiddenSysctl(StringBuilder arg1)
addNewForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewForbiddenSysctl(StringBuffer arg1)
addNewForbiddenSysctl
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public FSGroupStrategyOptions getFsGroup()
getFsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public FSGroupStrategyOptions buildFsGroup()
buildFsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withFsGroup(FSGroupStrategyOptions fsGroup)
withFsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasFsGroup()
hasFsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.FsGroupNested<A> withNewFsGroup()
withNewFsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.FsGroupNested<A> withNewFsGroupLike(FSGroupStrategyOptions item)
withNewFsGroupLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.FsGroupNested<A> editFsGroup()
editFsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.FsGroupNested<A> editOrNewFsGroup()
editOrNewFsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.FsGroupNested<A> editOrNewFsGroupLike(FSGroupStrategyOptions item)
editOrNewFsGroupLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean isHostIPC()
isHostIPC
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withHostIPC(Boolean hostIPC)
withHostIPC
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasHostIPC()
hasHostIPC
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewHostIPC(String arg1)
withNewHostIPC
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewHostIPC(boolean arg1)
withNewHostIPC
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean isHostNetwork()
isHostNetwork
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withHostNetwork(Boolean hostNetwork)
withHostNetwork
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasHostNetwork()
hasHostNetwork
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewHostNetwork(String arg1)
withNewHostNetwork
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewHostNetwork(boolean arg1)
withNewHostNetwork
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean isHostPID()
isHostPID
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withHostPID(Boolean hostPID)
withHostPID
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasHostPID()
hasHostPID
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewHostPID(String arg1)
withNewHostPID
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewHostPID(boolean arg1)
withNewHostPID
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToHostPorts(int index, HostPortRange item)
addToHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToHostPorts(int index, HostPortRange item)
setToHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToHostPorts(HostPortRange... items)
addToHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToHostPorts(Collection<HostPortRange> items)
addAllToHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromHostPorts(HostPortRange... items)
removeFromHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromHostPorts(Collection<HostPortRange> items)
removeAllFromHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public List<HostPortRange> getHostPorts()
getHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<HostPortRange> buildHostPorts()
buildHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public HostPortRange buildHostPort(int index)
buildHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public HostPortRange buildFirstHostPort()
buildFirstHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public HostPortRange buildLastHostPort()
buildLastHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public HostPortRange buildMatchingHostPort(Predicate<HostPortRangeBuilder> predicate)
buildMatchingHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingHostPort(Predicate<HostPortRangeBuilder> predicate)
hasMatchingHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withHostPorts(List<HostPortRange> hostPorts)
withHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withHostPorts(HostPortRange... hostPorts)
withHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasHostPorts()
hasHostPorts
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewHostPort(Integer max, Integer min)
addNewHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.HostPortsNested<A> addNewHostPort()
addNewHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.HostPortsNested<A> addNewHostPortLike(HostPortRange item)
addNewHostPortLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.HostPortsNested<A> setNewHostPortLike(int index, HostPortRange item)
setNewHostPortLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.HostPortsNested<A> editHostPort(int index)
editHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.HostPortsNested<A> editFirstHostPort()
editFirstHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.HostPortsNested<A> editLastHostPort()
editLastHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.HostPortsNested<A> editMatchingHostPort(Predicate<HostPortRangeBuilder> predicate)
editMatchingHostPort
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean isPrivileged()
isPrivileged
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withPrivileged(Boolean privileged)
withPrivileged
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasPrivileged()
hasPrivileged
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewPrivileged(String arg1)
withNewPrivileged
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewPrivileged(boolean arg1)
withNewPrivileged
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean isReadOnlyRootFilesystem()
isReadOnlyRootFilesystem
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
withReadOnlyRootFilesystem
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasReadOnlyRootFilesystem()
hasReadOnlyRootFilesystem
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewReadOnlyRootFilesystem(String arg1)
withNewReadOnlyRootFilesystem
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withNewReadOnlyRootFilesystem(boolean arg1)
withNewReadOnlyRootFilesystem
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToRequiredDropCapabilities(int index, String item)
addToRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToRequiredDropCapabilities(int index, String item)
setToRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToRequiredDropCapabilities(String... items)
addToRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToRequiredDropCapabilities(Collection<String> items)
addAllToRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromRequiredDropCapabilities(String... items)
removeFromRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromRequiredDropCapabilities(Collection<String> items)
removeAllFromRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<String> getRequiredDropCapabilities()
getRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getRequiredDropCapability(int index)
getRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getFirstRequiredDropCapability()
getFirstRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getLastRequiredDropCapability()
getLastRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getMatchingRequiredDropCapability(Predicate<String> predicate)
getMatchingRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingRequiredDropCapability(Predicate<String> predicate)
hasMatchingRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withRequiredDropCapabilities(List<String> requiredDropCapabilities)
withRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withRequiredDropCapabilities(String... requiredDropCapabilities)
withRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasRequiredDropCapabilities()
hasRequiredDropCapabilities
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewRequiredDropCapability(String arg1)
addNewRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewRequiredDropCapability(StringBuilder arg1)
addNewRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewRequiredDropCapability(StringBuffer arg1)
addNewRequiredDropCapability
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public RunAsGroupStrategyOptions getRunAsGroup()
getRunAsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public RunAsGroupStrategyOptions buildRunAsGroup()
buildRunAsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withRunAsGroup(RunAsGroupStrategyOptions runAsGroup)
withRunAsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasRunAsGroup()
hasRunAsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsGroupNested<A> withNewRunAsGroup()
withNewRunAsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsGroupNested<A> withNewRunAsGroupLike(RunAsGroupStrategyOptions item)
withNewRunAsGroupLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsGroupNested<A> editRunAsGroup()
editRunAsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsGroupNested<A> editOrNewRunAsGroup()
editOrNewRunAsGroup
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsGroupNested<A> editOrNewRunAsGroupLike(RunAsGroupStrategyOptions item)
editOrNewRunAsGroupLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public KubernetesRunAsUserStrategyOptions getRunAsUser()
getRunAsUser
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public KubernetesRunAsUserStrategyOptions buildRunAsUser()
buildRunAsUser
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withRunAsUser(KubernetesRunAsUserStrategyOptions runAsUser)
withRunAsUser
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasRunAsUser()
hasRunAsUser
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsUserNested<A> withNewRunAsUser()
withNewRunAsUser
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsUserNested<A> withNewRunAsUserLike(KubernetesRunAsUserStrategyOptions item)
withNewRunAsUserLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsUserNested<A> editRunAsUser()
editRunAsUser
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsUserNested<A> editOrNewRunAsUser()
editOrNewRunAsUser
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RunAsUserNested<A> editOrNewRunAsUserLike(KubernetesRunAsUserStrategyOptions item)
editOrNewRunAsUserLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public RuntimeClassStrategyOptions getRuntimeClass()
getRuntimeClass
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public RuntimeClassStrategyOptions buildRuntimeClass()
buildRuntimeClass
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withRuntimeClass(RuntimeClassStrategyOptions runtimeClass)
withRuntimeClass
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasRuntimeClass()
hasRuntimeClass
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RuntimeClassNested<A> withNewRuntimeClass()
withNewRuntimeClass
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RuntimeClassNested<A> withNewRuntimeClassLike(RuntimeClassStrategyOptions item)
withNewRuntimeClassLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RuntimeClassNested<A> editRuntimeClass()
editRuntimeClass
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RuntimeClassNested<A> editOrNewRuntimeClass()
editOrNewRuntimeClass
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.RuntimeClassNested<A> editOrNewRuntimeClassLike(RuntimeClassStrategyOptions item)
editOrNewRuntimeClassLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public SELinuxStrategyOptions getSeLinux()
getSeLinux
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public SELinuxStrategyOptions buildSeLinux()
buildSeLinux
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withSeLinux(SELinuxStrategyOptions seLinux)
withSeLinux
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasSeLinux()
hasSeLinux
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SeLinuxNested<A> withNewSeLinux()
withNewSeLinux
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SeLinuxNested<A> withNewSeLinuxLike(SELinuxStrategyOptions item)
withNewSeLinuxLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SeLinuxNested<A> editSeLinux()
editSeLinux
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SeLinuxNested<A> editOrNewSeLinux()
editOrNewSeLinux
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SeLinuxNested<A> editOrNewSeLinuxLike(SELinuxStrategyOptions item)
editOrNewSeLinuxLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
@Deprecated public SupplementalGroupsStrategyOptions getSupplementalGroups()
getSupplementalGroups
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public SupplementalGroupsStrategyOptions buildSupplementalGroups()
buildSupplementalGroups
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
withSupplementalGroups
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasSupplementalGroups()
hasSupplementalGroups
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SupplementalGroupsNested<A> withNewSupplementalGroups()
withNewSupplementalGroups
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SupplementalGroupsNested<A> withNewSupplementalGroupsLike(SupplementalGroupsStrategyOptions item)
withNewSupplementalGroupsLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SupplementalGroupsNested<A> editSupplementalGroups()
editSupplementalGroups
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SupplementalGroupsNested<A> editOrNewSupplementalGroups()
editOrNewSupplementalGroups
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public PodSecurityPolicySpecFluent.SupplementalGroupsNested<A> editOrNewSupplementalGroupsLike(SupplementalGroupsStrategyOptions item)
editOrNewSupplementalGroupsLike
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToVolumes(int index, String item)
addToVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A setToVolumes(int index, String item)
setToVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addToVolumes(String... items)
addToVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addAllToVolumes(Collection<String> items)
addAllToVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeFromVolumes(String... items)
removeFromVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A removeAllFromVolumes(Collection<String> items)
removeAllFromVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public List<String> getVolumes()
getVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getVolume(int index)
getVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getFirstVolume()
getFirstVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getLastVolume()
getLastVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public String getMatchingVolume(Predicate<String> predicate)
getMatchingVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasMatchingVolume(Predicate<String> predicate)
hasMatchingVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withVolumes(List<String> volumes)
withVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A withVolumes(String... volumes)
withVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public Boolean hasVolumes()
hasVolumes
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewVolume(String arg1)
addNewVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewVolume(StringBuilder arg1)
addNewVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
public A addNewVolume(StringBuffer arg1)
addNewVolume
in interface PodSecurityPolicySpecFluent<A extends PodSecurityPolicySpecFluent<A>>
Copyright © 2015–2019 Red Hat. All rights reserved.