Class PodSecurityPolicySpec
java.lang.Object
io.fabric8.kubernetes.api.model.policy.PodSecurityPolicySpec
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("org.jsonschema2pojo") public class PodSecurityPolicySpec extends Object implements 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 Details
-
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)- Parameters:
defaultAddCapabilities-hostPorts-allowedProcMountTypes-fsGroup-seLinux-hostNetwork-hostIPC-volumes-requiredDropCapabilities-runAsGroup-allowedCapabilities-readOnlyRootFilesystem-privileged-runAsUser-runtimeClass-allowedHostPaths-forbiddenSysctls-allowedCSIDrivers-supplementalGroups-defaultAllowPrivilegeEscalation-allowedUnsafeSysctls-allowPrivilegeEscalation-allowedFlexVolumes-hostPID-
-
-
Method Details
-
getAllowPrivilegeEscalation
- Returns:
- The allowPrivilegeEscalation
-
setAllowPrivilegeEscalation
- Parameters:
allowPrivilegeEscalation- The allowPrivilegeEscalation
-
getAllowedCSIDrivers
- Returns:
- The allowedCSIDrivers
-
setAllowedCSIDrivers
- Parameters:
allowedCSIDrivers- The allowedCSIDrivers
-
getAllowedCapabilities
- Returns:
- The allowedCapabilities
-
setAllowedCapabilities
- Parameters:
allowedCapabilities- The allowedCapabilities
-
getAllowedFlexVolumes
- Returns:
- The allowedFlexVolumes
-
setAllowedFlexVolumes
- Parameters:
allowedFlexVolumes- The allowedFlexVolumes
-
getAllowedHostPaths
- Returns:
- The allowedHostPaths
-
setAllowedHostPaths
- Parameters:
allowedHostPaths- The allowedHostPaths
-
getAllowedProcMountTypes
- Returns:
- The allowedProcMountTypes
-
setAllowedProcMountTypes
- Parameters:
allowedProcMountTypes- The allowedProcMountTypes
-
getAllowedUnsafeSysctls
- Returns:
- The allowedUnsafeSysctls
-
setAllowedUnsafeSysctls
- Parameters:
allowedUnsafeSysctls- The allowedUnsafeSysctls
-
getDefaultAddCapabilities
- Returns:
- The defaultAddCapabilities
-
setDefaultAddCapabilities
- Parameters:
defaultAddCapabilities- The defaultAddCapabilities
-
getDefaultAllowPrivilegeEscalation
- Returns:
- The defaultAllowPrivilegeEscalation
-
setDefaultAllowPrivilegeEscalation
- Parameters:
defaultAllowPrivilegeEscalation- The defaultAllowPrivilegeEscalation
-
getForbiddenSysctls
- Returns:
- The forbiddenSysctls
-
setForbiddenSysctls
- Parameters:
forbiddenSysctls- The forbiddenSysctls
-
getFsGroup
- Returns:
- The fsGroup
-
setFsGroup
- Parameters:
fsGroup- The fsGroup
-
getHostIPC
- Returns:
- The hostIPC
-
setHostIPC
- Parameters:
hostIPC- The hostIPC
-
getHostNetwork
- Returns:
- The hostNetwork
-
setHostNetwork
- Parameters:
hostNetwork- The hostNetwork
-
getHostPID
- Returns:
- The hostPID
-
setHostPID
- Parameters:
hostPID- The hostPID
-
getHostPorts
- Returns:
- The hostPorts
-
setHostPorts
- Parameters:
hostPorts- The hostPorts
-
getPrivileged
- Returns:
- The privileged
-
setPrivileged
- Parameters:
privileged- The privileged
-
getReadOnlyRootFilesystem
- Returns:
- The readOnlyRootFilesystem
-
setReadOnlyRootFilesystem
- Parameters:
readOnlyRootFilesystem- The readOnlyRootFilesystem
-
getRequiredDropCapabilities
- Returns:
- The requiredDropCapabilities
-
setRequiredDropCapabilities
- Parameters:
requiredDropCapabilities- The requiredDropCapabilities
-
getRunAsGroup
- Returns:
- The runAsGroup
-
setRunAsGroup
- Parameters:
runAsGroup- The runAsGroup
-
getRunAsUser
- Returns:
- The runAsUser
-
setRunAsUser
- Parameters:
runAsUser- The runAsUser
-
getRuntimeClass
- Returns:
- The runtimeClass
-
setRuntimeClass
- Parameters:
runtimeClass- The runtimeClass
-
getSeLinux
- Returns:
- The seLinux
-
setSeLinux
- Parameters:
seLinux- The seLinux
-
getSupplementalGroups
- Returns:
- The supplementalGroups
-
setSupplementalGroups
- Parameters:
supplementalGroups- The supplementalGroups
-
getVolumes
- Returns:
- The volumes
-
setVolumes
- Parameters:
volumes- The volumes
-
getAdditionalProperties
-
setAdditionalProperty
-