Class PodSecurityPolicySpec
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.extensions.PodSecurityPolicySpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PodSecurityPolicySpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodSecurityPolicySpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<PodSecurityPolicySpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PodSecurityPolicySpec()No args constructor for use in serializationPodSecurityPolicySpec(Boolean allowPrivilegeEscalation, List<AllowedCSIDriver> allowedCSIDrivers, List<String> allowedCapabilities, List<AllowedFlexVolume> allowedFlexVolumes, List<AllowedHostPath> allowedHostPaths, List<String> allowedProcMountTypes, List<String> allowedUnsafeSysctls, List<String> defaultAddCapabilities, Boolean defaultAllowPrivilegeEscalation, List<String> forbiddenSysctls, FSGroupStrategyOptions fsGroup, Boolean hostIPC, Boolean hostNetwork, Boolean hostPID, List<HostPortRange> hostPorts, Boolean privileged, Boolean readOnlyRootFilesystem, List<String> requiredDropCapabilities, RunAsGroupStrategyOptions runAsGroup, RunAsUserStrategyOptions runAsUser, RuntimeClassStrategyOptions runtimeClass, SELinuxStrategyOptions seLinux, SupplementalGroupsStrategyOptions supplementalGroups, List<String> volumes)
-
Method Summary
-
-
-
Constructor Detail
-
PodSecurityPolicySpec
public PodSecurityPolicySpec()
No args constructor for use in serialization
-
PodSecurityPolicySpec
public PodSecurityPolicySpec(Boolean allowPrivilegeEscalation, List<AllowedCSIDriver> allowedCSIDrivers, List<String> allowedCapabilities, List<AllowedFlexVolume> allowedFlexVolumes, List<AllowedHostPath> allowedHostPaths, List<String> allowedProcMountTypes, List<String> allowedUnsafeSysctls, List<String> defaultAddCapabilities, Boolean defaultAllowPrivilegeEscalation, List<String> forbiddenSysctls, FSGroupStrategyOptions fsGroup, Boolean hostIPC, Boolean hostNetwork, Boolean hostPID, List<HostPortRange> hostPorts, Boolean privileged, Boolean readOnlyRootFilesystem, List<String> requiredDropCapabilities, RunAsGroupStrategyOptions runAsGroup, RunAsUserStrategyOptions runAsUser, RuntimeClassStrategyOptions runtimeClass, SELinuxStrategyOptions seLinux, SupplementalGroupsStrategyOptions supplementalGroups, List<String> volumes)
-
-
Method Detail
-
getAllowPrivilegeEscalation
public Boolean getAllowPrivilegeEscalation()
-
setAllowPrivilegeEscalation
public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
-
getAllowedCSIDrivers
public List<AllowedCSIDriver> getAllowedCSIDrivers()
-
setAllowedCSIDrivers
public void setAllowedCSIDrivers(List<AllowedCSIDriver> allowedCSIDrivers)
-
getAllowedFlexVolumes
public List<AllowedFlexVolume> getAllowedFlexVolumes()
-
setAllowedFlexVolumes
public void setAllowedFlexVolumes(List<AllowedFlexVolume> allowedFlexVolumes)
-
getAllowedHostPaths
public List<AllowedHostPath> getAllowedHostPaths()
-
setAllowedHostPaths
public void setAllowedHostPaths(List<AllowedHostPath> allowedHostPaths)
-
setDefaultAddCapabilities
public void setDefaultAddCapabilities(List<String> defaultAddCapabilities)
-
getDefaultAllowPrivilegeEscalation
public Boolean getDefaultAllowPrivilegeEscalation()
-
setDefaultAllowPrivilegeEscalation
public void setDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation)
-
getFsGroup
public FSGroupStrategyOptions getFsGroup()
-
setFsGroup
public void setFsGroup(FSGroupStrategyOptions fsGroup)
-
getHostIPC
public Boolean getHostIPC()
-
setHostIPC
public void setHostIPC(Boolean hostIPC)
-
getHostNetwork
public Boolean getHostNetwork()
-
setHostNetwork
public void setHostNetwork(Boolean hostNetwork)
-
getHostPID
public Boolean getHostPID()
-
setHostPID
public void setHostPID(Boolean hostPID)
-
getHostPorts
public List<HostPortRange> getHostPorts()
-
setHostPorts
public void setHostPorts(List<HostPortRange> hostPorts)
-
getPrivileged
public Boolean getPrivileged()
-
setPrivileged
public void setPrivileged(Boolean privileged)
-
getReadOnlyRootFilesystem
public Boolean getReadOnlyRootFilesystem()
-
setReadOnlyRootFilesystem
public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
-
setRequiredDropCapabilities
public void setRequiredDropCapabilities(List<String> requiredDropCapabilities)
-
getRunAsGroup
public RunAsGroupStrategyOptions getRunAsGroup()
-
setRunAsGroup
public void setRunAsGroup(RunAsGroupStrategyOptions runAsGroup)
-
getRunAsUser
public RunAsUserStrategyOptions getRunAsUser()
-
setRunAsUser
public void setRunAsUser(RunAsUserStrategyOptions runAsUser)
-
getRuntimeClass
public RuntimeClassStrategyOptions getRuntimeClass()
-
setRuntimeClass
public void setRuntimeClass(RuntimeClassStrategyOptions runtimeClass)
-
getSeLinux
public SELinuxStrategyOptions getSeLinux()
-
setSeLinux
public void setSeLinux(SELinuxStrategyOptions seLinux)
-
getSupplementalGroups
public SupplementalGroupsStrategyOptions getSupplementalGroups()
-
setSupplementalGroups
public void setSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
-
edit
public PodSecurityPolicySpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PodSecurityPolicySpecBuilder>
-
toBuilder
public PodSecurityPolicySpecBuilder toBuilder()
-
-