public class SecurityContextConstraintsFluentImpl<A extends SecurityContextConstraintsFluent<A>> extends BaseFluent<A> implements SecurityContextConstraintsFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
SecurityContextConstraintsFluentImpl.FsGroupNestedImpl<N> |
class |
SecurityContextConstraintsFluentImpl.MetadataNestedImpl<N> |
class |
SecurityContextConstraintsFluentImpl.RunAsUserNestedImpl<N> |
class |
SecurityContextConstraintsFluentImpl.SeLinuxContextNestedImpl<N> |
class |
SecurityContextConstraintsFluentImpl.SupplementalGroupsNestedImpl<N> |
SecurityContextConstraintsFluent.FsGroupNested<N>, SecurityContextConstraintsFluent.MetadataNested<N>, SecurityContextConstraintsFluent.RunAsUserNested<N>, SecurityContextConstraintsFluent.SeLinuxContextNested<N>, SecurityContextConstraintsFluent.SupplementalGroupsNested<N>
_visitables
Constructor and Description |
---|
SecurityContextConstraintsFluentImpl() |
SecurityContextConstraintsFluentImpl(SecurityContextConstraints instance) |
public SecurityContextConstraintsFluentImpl()
public SecurityContextConstraintsFluentImpl(SecurityContextConstraints instance)
public Boolean isAllowHostDirVolumePlugin()
isAllowHostDirVolumePlugin
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowHostDirVolumePlugin(Boolean allowHostDirVolumePlugin)
withAllowHostDirVolumePlugin
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public Boolean isAllowHostIPC()
isAllowHostIPC
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowHostIPC(Boolean allowHostIPC)
withAllowHostIPC
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public Boolean isAllowHostNetwork()
isAllowHostNetwork
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowHostNetwork(Boolean allowHostNetwork)
withAllowHostNetwork
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public Boolean isAllowHostPID()
isAllowHostPID
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowHostPID(Boolean allowHostPID)
withAllowHostPID
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public Boolean isAllowHostPorts()
isAllowHostPorts
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowHostPorts(Boolean allowHostPorts)
withAllowHostPorts
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public Boolean isAllowPrivilegedContainer()
isAllowPrivilegedContainer
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowPrivilegedContainer(Boolean allowPrivilegedContainer)
withAllowPrivilegedContainer
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A addToAllowedCapabilities(String... items)
addToAllowedCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A removeFromAllowedCapabilities(String... items)
removeFromAllowedCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public List<String> getAllowedCapabilities()
getAllowedCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowedCapabilities(List<String> allowedCapabilities)
withAllowedCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withAllowedCapabilities(String... allowedCapabilities)
withAllowedCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public String getApiVersion()
getApiVersion
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withApiVersion(String apiVersion)
withApiVersion
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A addToDefaultAddCapabilities(String... items)
addToDefaultAddCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A removeFromDefaultAddCapabilities(String... items)
removeFromDefaultAddCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public List<String> getDefaultAddCapabilities()
getDefaultAddCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withDefaultAddCapabilities(List<String> defaultAddCapabilities)
withDefaultAddCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withDefaultAddCapabilities(String... defaultAddCapabilities)
withDefaultAddCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public FSGroupStrategyOptions getFsGroup()
getFsGroup
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withFsGroup(FSGroupStrategyOptions fsGroup)
withFsGroup
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.FsGroupNested<A> withNewFsGroup()
withNewFsGroup
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.FsGroupNested<A> withNewFsGroupLike(FSGroupStrategyOptions item)
withNewFsGroupLike
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.FsGroupNested<A> editFsGroup()
editFsGroup
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A addToGroups(String... items)
addToGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A removeFromGroups(String... items)
removeFromGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public List<String> getGroups()
getGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withGroups(List<String> groups)
withGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withGroups(String... groups)
withGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public String getKind()
getKind
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withKind(String kind)
withKind
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public ObjectMeta getMetadata()
getMetadata
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withMetadata(ObjectMeta metadata)
withMetadata
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.MetadataNested<A> withNewMetadata()
withNewMetadata
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.MetadataNested<A> withNewMetadataLike(ObjectMeta item)
withNewMetadataLike
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.MetadataNested<A> editMetadata()
editMetadata
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public Integer getPriority()
getPriority
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withPriority(Integer priority)
withPriority
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public Boolean isReadOnlyRootFilesystem()
isReadOnlyRootFilesystem
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
withReadOnlyRootFilesystem
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A addToRequiredDropCapabilities(String... items)
addToRequiredDropCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A removeFromRequiredDropCapabilities(String... items)
removeFromRequiredDropCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public List<String> getRequiredDropCapabilities()
getRequiredDropCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withRequiredDropCapabilities(List<String> requiredDropCapabilities)
withRequiredDropCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withRequiredDropCapabilities(String... requiredDropCapabilities)
withRequiredDropCapabilities
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public RunAsUserStrategyOptions getRunAsUser()
getRunAsUser
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withRunAsUser(RunAsUserStrategyOptions runAsUser)
withRunAsUser
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.RunAsUserNested<A> withNewRunAsUser()
withNewRunAsUser
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.RunAsUserNested<A> withNewRunAsUserLike(RunAsUserStrategyOptions item)
withNewRunAsUserLike
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.RunAsUserNested<A> editRunAsUser()
editRunAsUser
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withNewRunAsUser(String type, Long uid, Long uidRangeMax, Long uidRangeMin)
withNewRunAsUser
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SELinuxContextStrategyOptions getSeLinuxContext()
getSeLinuxContext
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withSeLinuxContext(SELinuxContextStrategyOptions seLinuxContext)
withSeLinuxContext
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> withNewSeLinuxContext()
withNewSeLinuxContext
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> withNewSeLinuxContextLike(SELinuxContextStrategyOptions item)
withNewSeLinuxContextLike
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.SeLinuxContextNested<A> editSeLinuxContext()
editSeLinuxContext
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A addToSeccompProfiles(String... items)
addToSeccompProfiles
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A removeFromSeccompProfiles(String... items)
removeFromSeccompProfiles
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public List<String> getSeccompProfiles()
getSeccompProfiles
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withSeccompProfiles(List<String> seccompProfiles)
withSeccompProfiles
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withSeccompProfiles(String... seccompProfiles)
withSeccompProfiles
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SupplementalGroupsStrategyOptions getSupplementalGroups()
getSupplementalGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withSupplementalGroups(SupplementalGroupsStrategyOptions supplementalGroups)
withSupplementalGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> withNewSupplementalGroups()
withNewSupplementalGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> withNewSupplementalGroupsLike(SupplementalGroupsStrategyOptions item)
withNewSupplementalGroupsLike
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public SecurityContextConstraintsFluent.SupplementalGroupsNested<A> editSupplementalGroups()
editSupplementalGroups
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A addToUsers(String... items)
addToUsers
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A removeFromUsers(String... items)
removeFromUsers
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public List<String> getUsers()
getUsers
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withUsers(List<String> users)
withUsers
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withUsers(String... users)
withUsers
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A addToVolumes(String... items)
addToVolumes
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A removeFromVolumes(String... items)
removeFromVolumes
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public List<String> getVolumes()
getVolumes
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withVolumes(List<String> volumes)
withVolumes
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
public A withVolumes(String... volumes)
withVolumes
in interface SecurityContextConstraintsFluent<A extends SecurityContextConstraintsFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.