Package io.fabric8.openshift.api.model
Class SecurityContextConstraints
java.lang.Object
io.fabric8.openshift.api.model.SecurityContextConstraints
- All Implemented Interfaces:
io.fabric8.kubernetes.api.model.HasMetadata,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("org.jsonschema2pojo") public class SecurityContextConstraints extends Object implements io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SecurityContextConstraints()No args constructor for use in serializationSecurityContextConstraints(Boolean allowHostDirVolumePlugin, Boolean allowHostIPC, Boolean allowHostNetwork, Boolean allowHostPID, Boolean allowHostPorts, Boolean allowPrivilegeEscalation, Boolean allowPrivilegedContainer, List<String> allowedCapabilities, List<AllowedFlexVolume> allowedFlexVolumes, List<String> allowedUnsafeSysctls, String apiVersion, List<String> defaultAddCapabilities, Boolean defaultAllowPrivilegeEscalation, List<String> forbiddenSysctls, FSGroupStrategyOptions fsGroup, List<String> groups, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, Integer priority, Boolean readOnlyRootFilesystem, List<String> requiredDropCapabilities, RunAsUserStrategyOptions runAsUser, SELinuxContextStrategyOptions seLinuxContext, List<String> seccompProfiles, SupplementalGroupsStrategyOptions supplementalGroups, List<String> users, List<String> volumes) -
Method Summary
-
Constructor Details
-
SecurityContextConstraints
public SecurityContextConstraints()No args constructor for use in serialization -
SecurityContextConstraints
public SecurityContextConstraints(Boolean allowHostDirVolumePlugin, Boolean allowHostIPC, Boolean allowHostNetwork, Boolean allowHostPID, Boolean allowHostPorts, Boolean allowPrivilegeEscalation, Boolean allowPrivilegedContainer, List<String> allowedCapabilities, List<AllowedFlexVolume> allowedFlexVolumes, List<String> allowedUnsafeSysctls, String apiVersion, List<String> defaultAddCapabilities, Boolean defaultAllowPrivilegeEscalation, List<String> forbiddenSysctls, FSGroupStrategyOptions fsGroup, List<String> groups, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, Integer priority, Boolean readOnlyRootFilesystem, List<String> requiredDropCapabilities, RunAsUserStrategyOptions runAsUser, SELinuxContextStrategyOptions seLinuxContext, List<String> seccompProfiles, SupplementalGroupsStrategyOptions supplementalGroups, List<String> users, List<String> volumes)- Parameters:
defaultAddCapabilities-metadata-seccompProfiles-allowHostNetwork-readOnlyRootFilesystem-apiVersion-allowPrivilegedContainer-allowHostIPC-supplementalGroups-allowPrivilegeEscalation-allowedFlexVolumes-seLinuxContext-fsGroup-kind-volumes-allowHostPID-groups-requiredDropCapabilities-allowHostDirVolumePlugin-allowHostPorts-priority-users-allowedCapabilities-runAsUser-forbiddenSysctls-defaultAllowPrivilegeEscalation-allowedUnsafeSysctls-
-
-
Method Details
-
getAllowHostDirVolumePlugin
- Returns:
- The allowHostDirVolumePlugin
-
setAllowHostDirVolumePlugin
- Parameters:
allowHostDirVolumePlugin- The allowHostDirVolumePlugin
-
getAllowHostIPC
- Returns:
- The allowHostIPC
-
setAllowHostIPC
- Parameters:
allowHostIPC- The allowHostIPC
-
getAllowHostNetwork
- Returns:
- The allowHostNetwork
-
setAllowHostNetwork
- Parameters:
allowHostNetwork- The allowHostNetwork
-
getAllowHostPID
- Returns:
- The allowHostPID
-
setAllowHostPID
- Parameters:
allowHostPID- The allowHostPID
-
getAllowHostPorts
- Returns:
- The allowHostPorts
-
setAllowHostPorts
- Parameters:
allowHostPorts- The allowHostPorts
-
getAllowPrivilegeEscalation
- Returns:
- The allowPrivilegeEscalation
-
setAllowPrivilegeEscalation
- Parameters:
allowPrivilegeEscalation- The allowPrivilegeEscalation
-
getAllowPrivilegedContainer
- Returns:
- The allowPrivilegedContainer
-
setAllowPrivilegedContainer
- Parameters:
allowPrivilegedContainer- The allowPrivilegedContainer
-
getAllowedCapabilities
- Returns:
- The allowedCapabilities
-
setAllowedCapabilities
- Parameters:
allowedCapabilities- The allowedCapabilities
-
getAllowedFlexVolumes
- Returns:
- The allowedFlexVolumes
-
setAllowedFlexVolumes
- Parameters:
allowedFlexVolumes- The allowedFlexVolumes
-
getAllowedUnsafeSysctls
- Returns:
- The allowedUnsafeSysctls
-
setAllowedUnsafeSysctls
- Parameters:
allowedUnsafeSysctls- The allowedUnsafeSysctls
-
getApiVersion
(Required)- Specified by:
getApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata- Returns:
- The apiVersion
-
setApiVersion
(Required)- Specified by:
setApiVersionin interfaceio.fabric8.kubernetes.api.model.HasMetadata- Parameters:
apiVersion- The apiVersion
-
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
-
getGroups
- Returns:
- The groups
-
setGroups
- Parameters:
groups- The groups
-
getKind
(Required)- Specified by:
getKindin interfaceio.fabric8.kubernetes.api.model.HasMetadata- Returns:
- The kind
-
setKind
(Required)- Parameters:
kind- The kind
-
getMetadata
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata- Returns:
- The metadata
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)- Specified by:
setMetadatain interfaceio.fabric8.kubernetes.api.model.HasMetadata- Parameters:
metadata- The metadata
-
getPriority
- Returns:
- The priority
-
setPriority
- Parameters:
priority- The priority
-
getReadOnlyRootFilesystem
- Returns:
- The readOnlyRootFilesystem
-
setReadOnlyRootFilesystem
- Parameters:
readOnlyRootFilesystem- The readOnlyRootFilesystem
-
getRequiredDropCapabilities
- Returns:
- The requiredDropCapabilities
-
setRequiredDropCapabilities
- Parameters:
requiredDropCapabilities- The requiredDropCapabilities
-
getRunAsUser
- Returns:
- The runAsUser
-
setRunAsUser
- Parameters:
runAsUser- The runAsUser
-
getSeLinuxContext
- Returns:
- The seLinuxContext
-
setSeLinuxContext
- Parameters:
seLinuxContext- The seLinuxContext
-
getSeccompProfiles
- Returns:
- The seccompProfiles
-
setSeccompProfiles
- Parameters:
seccompProfiles- The seccompProfiles
-
getSupplementalGroups
- Returns:
- The supplementalGroups
-
setSupplementalGroups
- Parameters:
supplementalGroups- The supplementalGroups
-
getUsers
- Returns:
- The users
-
setUsers
- Parameters:
users- The users
-
getVolumes
- Returns:
- The volumes
-
setVolumes
- Parameters:
volumes- The volumes
-
getAdditionalProperties
-
setAdditionalProperty
-