public class SecurityContextFluentImpl<A extends SecurityContextFluent<A>> extends BaseFluent<A> implements SecurityContextFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
SecurityContextFluentImpl.CapabilitiesNestedImpl<N> |
class |
SecurityContextFluentImpl.SeLinuxOptionsNestedImpl<N> |
SecurityContextFluent.CapabilitiesNested<N>, SecurityContextFluent.SeLinuxOptionsNested<N>
_visitables
Constructor and Description |
---|
SecurityContextFluentImpl() |
SecurityContextFluentImpl(SecurityContext instance) |
public SecurityContextFluentImpl()
public SecurityContextFluentImpl(SecurityContext instance)
public Boolean isAllowPrivilegeEscalation()
isAllowPrivilegeEscalation
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
withAllowPrivilegeEscalation
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean hasAllowPrivilegeEscalation()
hasAllowPrivilegeEscalation
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewAllowPrivilegeEscalation(String arg1)
withNewAllowPrivilegeEscalation
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewAllowPrivilegeEscalation(boolean arg1)
withNewAllowPrivilegeEscalation
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
@Deprecated public Capabilities getCapabilities()
getCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Capabilities buildCapabilities()
buildCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withCapabilities(Capabilities capabilities)
withCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean hasCapabilities()
hasCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilities()
withNewCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilitiesLike(Capabilities item)
withNewCapabilitiesLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> editCapabilities()
editCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilities()
editOrNewCapabilities
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilitiesLike(Capabilities item)
editOrNewCapabilitiesLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean isPrivileged()
isPrivileged
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withPrivileged(Boolean privileged)
withPrivileged
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean hasPrivileged()
hasPrivileged
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewPrivileged(String arg1)
withNewPrivileged
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewPrivileged(boolean arg1)
withNewPrivileged
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean isReadOnlyRootFilesystem()
isReadOnlyRootFilesystem
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
withReadOnlyRootFilesystem
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean hasReadOnlyRootFilesystem()
hasReadOnlyRootFilesystem
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewReadOnlyRootFilesystem(String arg1)
withNewReadOnlyRootFilesystem
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewReadOnlyRootFilesystem(boolean arg1)
withNewReadOnlyRootFilesystem
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean isRunAsNonRoot()
isRunAsNonRoot
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withRunAsNonRoot(Boolean runAsNonRoot)
withRunAsNonRoot
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean hasRunAsNonRoot()
hasRunAsNonRoot
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewRunAsNonRoot(String arg1)
withNewRunAsNonRoot
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewRunAsNonRoot(boolean arg1)
withNewRunAsNonRoot
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Long getRunAsUser()
getRunAsUser
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withRunAsUser(Long runAsUser)
withRunAsUser
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean hasRunAsUser()
hasRunAsUser
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewRunAsUser(String arg1)
withNewRunAsUser
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewRunAsUser(long arg1)
withNewRunAsUser
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
@Deprecated public SELinuxOptions getSeLinuxOptions()
getSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SELinuxOptions buildSeLinuxOptions()
buildSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withSeLinuxOptions(SELinuxOptions seLinuxOptions)
withSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public Boolean hasSeLinuxOptions()
hasSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public A withNewSeLinuxOptions(String level, String role, String type, String user)
withNewSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptions()
withNewSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(SELinuxOptions item)
withNewSeLinuxOptionsLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> editSeLinuxOptions()
editSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptions()
editOrNewSeLinuxOptions
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(SELinuxOptions item)
editOrNewSeLinuxOptionsLike
in interface SecurityContextFluent<A extends SecurityContextFluent<A>>
Copyright © 2015–2018 Red Hat. All rights reserved.