public class SecurityContextConstraints extends Object implements io.fabric8.kubernetes.api.model.HasMetadata, io.fabric8.kubernetes.api.model.Namespaced
| Constructor and Description |
|---|
SecurityContextConstraints()
No args constructor for use in serialization
|
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) |
public 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)
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 - public Boolean getAllowHostDirVolumePlugin()
public void setAllowHostDirVolumePlugin(Boolean allowHostDirVolumePlugin)
public Boolean getAllowHostIPC()
public void setAllowHostIPC(Boolean allowHostIPC)
public Boolean getAllowHostNetwork()
public void setAllowHostNetwork(Boolean allowHostNetwork)
public Boolean getAllowHostPID()
public void setAllowHostPID(Boolean allowHostPID)
public Boolean getAllowHostPorts()
public void setAllowHostPorts(Boolean allowHostPorts)
public Boolean getAllowPrivilegeEscalation()
public void setAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
public Boolean getAllowPrivilegedContainer()
public void setAllowPrivilegedContainer(Boolean allowPrivilegedContainer)
public List<AllowedFlexVolume> getAllowedFlexVolumes()
public void setAllowedFlexVolumes(List<AllowedFlexVolume> allowedFlexVolumes)
public String getApiVersion()
getApiVersion in interface io.fabric8.kubernetes.api.model.HasMetadatapublic void setApiVersion(String apiVersion)
setApiVersion in interface io.fabric8.kubernetes.api.model.HasMetadatapublic void setDefaultAddCapabilities(List<String> defaultAddCapabilities)
public Boolean getDefaultAllowPrivilegeEscalation()
public void setDefaultAllowPrivilegeEscalation(Boolean defaultAllowPrivilegeEscalation)
public FSGroupStrategyOptions getFsGroup()
public void setFsGroup(FSGroupStrategyOptions fsGroup)
public String getKind()
getKind in interface io.fabric8.kubernetes.api.model.HasMetadatapublic void setKind(String kind)
public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata()
getMetadata in interface io.fabric8.kubernetes.api.model.HasMetadatapublic void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata)
setMetadata in interface io.fabric8.kubernetes.api.model.HasMetadatapublic Integer getPriority()
public void setPriority(Integer priority)
public Boolean getReadOnlyRootFilesystem()
public void setReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
public void setRequiredDropCapabilities(List<String> requiredDropCapabilities)
public RunAsUserStrategyOptions getRunAsUser()
public void setRunAsUser(RunAsUserStrategyOptions runAsUser)
public SELinuxContextStrategyOptions getSeLinuxContext()
public void setSeLinuxContext(SELinuxContextStrategyOptions seLinuxContext)
public SupplementalGroupsStrategyOptions getSupplementalGroups()
public void setSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
Copyright © 2015–2020 Red Hat. All rights reserved.