Package io.fabric8.kubernetes.api.model
Class PodSecurityContextFluent<A extends PodSecurityContextFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.PodSecurityContextFluent<A>
-
- Direct Known Subclasses:
PodSecurityContextBuilder
,PodSpecFluent.SecurityContextNested
public class PodSecurityContextFluent<A extends PodSecurityContextFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PodSecurityContextFluent.AppArmorProfileNested<N>
class
PodSecurityContextFluent.SeccompProfileNested<N>
class
PodSecurityContextFluent.SeLinuxOptionsNested<N>
class
PodSecurityContextFluent.SysctlsNested<N>
class
PodSecurityContextFluent.WindowsOptionsNested<N>
-
Constructor Summary
Constructors Constructor Description PodSecurityContextFluent()
PodSecurityContextFluent(PodSecurityContext instance)
-
Method Summary
-
-
-
Constructor Detail
-
PodSecurityContextFluent
public PodSecurityContextFluent()
-
PodSecurityContextFluent
public PodSecurityContextFluent(PodSecurityContext instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(PodSecurityContext instance)
-
buildAppArmorProfile
public AppArmorProfile buildAppArmorProfile()
-
withAppArmorProfile
public A withAppArmorProfile(AppArmorProfile appArmorProfile)
-
hasAppArmorProfile
public boolean hasAppArmorProfile()
-
withNewAppArmorProfile
public PodSecurityContextFluent.AppArmorProfileNested<A> withNewAppArmorProfile()
-
withNewAppArmorProfileLike
public PodSecurityContextFluent.AppArmorProfileNested<A> withNewAppArmorProfileLike(AppArmorProfile item)
-
editAppArmorProfile
public PodSecurityContextFluent.AppArmorProfileNested<A> editAppArmorProfile()
-
editOrNewAppArmorProfile
public PodSecurityContextFluent.AppArmorProfileNested<A> editOrNewAppArmorProfile()
-
editOrNewAppArmorProfileLike
public PodSecurityContextFluent.AppArmorProfileNested<A> editOrNewAppArmorProfileLike(AppArmorProfile item)
-
getFsGroup
public Long getFsGroup()
-
hasFsGroup
public boolean hasFsGroup()
-
getFsGroupChangePolicy
public String getFsGroupChangePolicy()
-
hasFsGroupChangePolicy
public boolean hasFsGroupChangePolicy()
-
getRunAsGroup
public Long getRunAsGroup()
-
hasRunAsGroup
public boolean hasRunAsGroup()
-
getRunAsNonRoot
public Boolean getRunAsNonRoot()
-
hasRunAsNonRoot
public boolean hasRunAsNonRoot()
-
getRunAsUser
public Long getRunAsUser()
-
hasRunAsUser
public boolean hasRunAsUser()
-
buildSeLinuxOptions
public SELinuxOptions buildSeLinuxOptions()
-
withSeLinuxOptions
public A withSeLinuxOptions(SELinuxOptions seLinuxOptions)
-
hasSeLinuxOptions
public boolean hasSeLinuxOptions()
-
withNewSeLinuxOptions
public A withNewSeLinuxOptions(String level, String role, String type, String user)
-
withNewSeLinuxOptions
public PodSecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptions()
-
withNewSeLinuxOptionsLike
public PodSecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(SELinuxOptions item)
-
editSeLinuxOptions
public PodSecurityContextFluent.SeLinuxOptionsNested<A> editSeLinuxOptions()
-
editOrNewSeLinuxOptions
public PodSecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptions()
-
editOrNewSeLinuxOptionsLike
public PodSecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(SELinuxOptions item)
-
buildSeccompProfile
public SeccompProfile buildSeccompProfile()
-
withSeccompProfile
public A withSeccompProfile(SeccompProfile seccompProfile)
-
hasSeccompProfile
public boolean hasSeccompProfile()
-
withNewSeccompProfile
public PodSecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfile()
-
withNewSeccompProfileLike
public PodSecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfileLike(SeccompProfile item)
-
editSeccompProfile
public PodSecurityContextFluent.SeccompProfileNested<A> editSeccompProfile()
-
editOrNewSeccompProfile
public PodSecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfile()
-
editOrNewSeccompProfileLike
public PodSecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfileLike(SeccompProfile item)
-
addAllToSupplementalGroups
public A addAllToSupplementalGroups(Collection<Long> items)
-
removeAllFromSupplementalGroups
public A removeAllFromSupplementalGroups(Collection<Long> items)
-
getSupplementalGroup
public Long getSupplementalGroup(int index)
-
getFirstSupplementalGroup
public Long getFirstSupplementalGroup()
-
getLastSupplementalGroup
public Long getLastSupplementalGroup()
-
hasMatchingSupplementalGroup
public boolean hasMatchingSupplementalGroup(Predicate<Long> predicate)
-
hasSupplementalGroups
public boolean hasSupplementalGroups()
-
addAllToSysctls
public A addAllToSysctls(Collection<Sysctl> items)
-
removeAllFromSysctls
public A removeAllFromSysctls(Collection<Sysctl> items)
-
removeMatchingFromSysctls
public A removeMatchingFromSysctls(Predicate<SysctlBuilder> predicate)
-
buildSysctl
public Sysctl buildSysctl(int index)
-
buildFirstSysctl
public Sysctl buildFirstSysctl()
-
buildLastSysctl
public Sysctl buildLastSysctl()
-
buildMatchingSysctl
public Sysctl buildMatchingSysctl(Predicate<SysctlBuilder> predicate)
-
hasMatchingSysctl
public boolean hasMatchingSysctl(Predicate<SysctlBuilder> predicate)
-
hasSysctls
public boolean hasSysctls()
-
addNewSysctl
public PodSecurityContextFluent.SysctlsNested<A> addNewSysctl()
-
addNewSysctlLike
public PodSecurityContextFluent.SysctlsNested<A> addNewSysctlLike(Sysctl item)
-
setNewSysctlLike
public PodSecurityContextFluent.SysctlsNested<A> setNewSysctlLike(int index, Sysctl item)
-
editSysctl
public PodSecurityContextFluent.SysctlsNested<A> editSysctl(int index)
-
editFirstSysctl
public PodSecurityContextFluent.SysctlsNested<A> editFirstSysctl()
-
editLastSysctl
public PodSecurityContextFluent.SysctlsNested<A> editLastSysctl()
-
editMatchingSysctl
public PodSecurityContextFluent.SysctlsNested<A> editMatchingSysctl(Predicate<SysctlBuilder> predicate)
-
buildWindowsOptions
public WindowsSecurityContextOptions buildWindowsOptions()
-
withWindowsOptions
public A withWindowsOptions(WindowsSecurityContextOptions windowsOptions)
-
hasWindowsOptions
public boolean hasWindowsOptions()
-
withNewWindowsOptions
public A withNewWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, Boolean hostProcess, String runAsUserName)
-
withNewWindowsOptions
public PodSecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptions()
-
withNewWindowsOptionsLike
public PodSecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptionsLike(WindowsSecurityContextOptions item)
-
editWindowsOptions
public PodSecurityContextFluent.WindowsOptionsNested<A> editWindowsOptions()
-
editOrNewWindowsOptions
public PodSecurityContextFluent.WindowsOptionsNested<A> editOrNewWindowsOptions()
-
editOrNewWindowsOptionsLike
public PodSecurityContextFluent.WindowsOptionsNested<A> editOrNewWindowsOptionsLike(WindowsSecurityContextOptions item)
-
withAdditionalProperties
public <K,V> A withAdditionalProperties(Map<String,Object> additionalProperties)
-
hasAdditionalProperties
public boolean hasAdditionalProperties()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends PodSecurityContextFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends PodSecurityContextFluent<A>>
-
withRunAsNonRoot
public A withRunAsNonRoot()
-
-