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