public class PodSecurityContextFluentImpl<A extends PodSecurityContextFluent<A>> extends BaseFluent<A> implements PodSecurityContextFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
PodSecurityContextFluentImpl.SeLinuxOptionsNestedImpl<N> |
PodSecurityContextFluent.SeLinuxOptionsNested<N>
_visitables
Constructor and Description |
---|
PodSecurityContextFluentImpl() |
PodSecurityContextFluentImpl(PodSecurityContext instance) |
Modifier and Type | Method and Description |
---|---|
A |
addToSupplementalGroups(Long... items) |
PodSecurityContextFluent.SeLinuxOptionsNested<A> |
editSeLinuxOptions() |
boolean |
equals(Object o) |
Long |
getFsGroup() |
Long |
getRunAsUser() |
SELinuxOptions |
getSeLinuxOptions() |
List<Long> |
getSupplementalGroups() |
Boolean |
isRunAsNonRoot() |
A |
removeFromSupplementalGroups(Long... items) |
A |
withFsGroup(Long fsGroup) |
PodSecurityContextFluent.SeLinuxOptionsNested<A> |
withNewSeLinuxOptions() |
A |
withNewSeLinuxOptions(String level,
String role,
String type,
String user) |
PodSecurityContextFluent.SeLinuxOptionsNested<A> |
withNewSeLinuxOptionsLike(SELinuxOptions item) |
A |
withRunAsNonRoot(Boolean runAsNonRoot) |
A |
withRunAsUser(Long runAsUser) |
A |
withSeLinuxOptions(SELinuxOptions seLinuxOptions) |
A |
withSupplementalGroups(List<Long> supplementalGroups) |
A |
withSupplementalGroups(Long... supplementalGroups) |
public PodSecurityContextFluentImpl()
public PodSecurityContextFluentImpl(PodSecurityContext instance)
public Long getFsGroup()
getFsGroup
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withFsGroup(Long fsGroup)
withFsGroup
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public Boolean isRunAsNonRoot()
isRunAsNonRoot
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withRunAsNonRoot(Boolean runAsNonRoot)
withRunAsNonRoot
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public Long getRunAsUser()
getRunAsUser
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withRunAsUser(Long runAsUser)
withRunAsUser
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public SELinuxOptions getSeLinuxOptions()
getSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withSeLinuxOptions(SELinuxOptions seLinuxOptions)
withSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public PodSecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptions()
withNewSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public PodSecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(SELinuxOptions item)
withNewSeLinuxOptionsLike
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public PodSecurityContextFluent.SeLinuxOptionsNested<A> editSeLinuxOptions()
editSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withNewSeLinuxOptions(String level, String role, String type, String user)
withNewSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A addToSupplementalGroups(Long... items)
addToSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A removeFromSupplementalGroups(Long... items)
removeFromSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public List<Long> getSupplementalGroups()
getSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withSupplementalGroups(List<Long> supplementalGroups)
withSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withSupplementalGroups(Long... supplementalGroups)
withSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.