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) |
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 hasFsGroup()
hasFsGroup
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 Boolean hasRunAsNonRoot()
hasRunAsNonRoot
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 Boolean hasRunAsUser()
hasRunAsUser
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
@Deprecated public SELinuxOptions getSeLinuxOptions()
getSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public SELinuxOptions buildSeLinuxOptions()
buildSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A withSeLinuxOptions(SELinuxOptions seLinuxOptions)
withSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public Boolean hasSeLinuxOptions()
hasSeLinuxOptions
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 PodSecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptions()
editOrNewSeLinuxOptions
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public PodSecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(SELinuxOptions item)
editOrNewSeLinuxOptionsLike
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(int index, Long item)
addToSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A setToSupplementalGroups(int index, Long item)
setToSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A addToSupplementalGroups(Long... items)
addToSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A addAllToSupplementalGroups(Collection<Long> items)
addAllToSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A removeFromSupplementalGroups(Long... items)
removeFromSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public A removeAllFromSupplementalGroups(Collection<Long> items)
removeAllFromSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public List<Long> getSupplementalGroups()
getSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public Long getSupplementalGroup(int index)
getSupplementalGroup
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public Long getFirstSupplementalGroup()
getFirstSupplementalGroup
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public Long getLastSupplementalGroup()
getLastSupplementalGroup
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
public Long getMatchingSupplementalGroup(Predicate<Long> predicate)
getMatchingSupplementalGroup
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>>
public Boolean hasSupplementalGroups()
hasSupplementalGroups
in interface PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
Copyright © 2011–2017 Red Hat. All rights reserved.