Package io.fabric8.kubernetes.api.model
Class SecurityContextFluent<A extends SecurityContextFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.SecurityContextFluent<A>
-
- Direct Known Subclasses:
ContainerFluent.SecurityContextNested
,EphemeralContainerFluent.SecurityContextNested
,SecurityContextBuilder
public class SecurityContextFluent<A extends SecurityContextFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SecurityContextFluent.AppArmorProfileNested<N>
class
SecurityContextFluent.CapabilitiesNested<N>
class
SecurityContextFluent.SeccompProfileNested<N>
class
SecurityContextFluent.SeLinuxOptionsNested<N>
class
SecurityContextFluent.WindowsOptionsNested<N>
-
Constructor Summary
Constructors Constructor Description SecurityContextFluent()
SecurityContextFluent(SecurityContext instance)
-
Method Summary
-
-
-
Constructor Detail
-
SecurityContextFluent
public SecurityContextFluent()
-
SecurityContextFluent
public SecurityContextFluent(SecurityContext instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(SecurityContext instance)
-
getAllowPrivilegeEscalation
public Boolean getAllowPrivilegeEscalation()
-
withAllowPrivilegeEscalation
public A withAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
-
hasAllowPrivilegeEscalation
public boolean hasAllowPrivilegeEscalation()
-
buildAppArmorProfile
public AppArmorProfile buildAppArmorProfile()
-
withAppArmorProfile
public A withAppArmorProfile(AppArmorProfile appArmorProfile)
-
hasAppArmorProfile
public boolean hasAppArmorProfile()
-
withNewAppArmorProfile
public SecurityContextFluent.AppArmorProfileNested<A> withNewAppArmorProfile()
-
withNewAppArmorProfileLike
public SecurityContextFluent.AppArmorProfileNested<A> withNewAppArmorProfileLike(AppArmorProfile item)
-
editAppArmorProfile
public SecurityContextFluent.AppArmorProfileNested<A> editAppArmorProfile()
-
editOrNewAppArmorProfile
public SecurityContextFluent.AppArmorProfileNested<A> editOrNewAppArmorProfile()
-
editOrNewAppArmorProfileLike
public SecurityContextFluent.AppArmorProfileNested<A> editOrNewAppArmorProfileLike(AppArmorProfile item)
-
buildCapabilities
public Capabilities buildCapabilities()
-
withCapabilities
public A withCapabilities(Capabilities capabilities)
-
hasCapabilities
public boolean hasCapabilities()
-
withNewCapabilities
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilities()
-
withNewCapabilitiesLike
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilitiesLike(Capabilities item)
-
editCapabilities
public SecurityContextFluent.CapabilitiesNested<A> editCapabilities()
-
editOrNewCapabilities
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilities()
-
editOrNewCapabilitiesLike
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilitiesLike(Capabilities item)
-
getPrivileged
public Boolean getPrivileged()
-
hasPrivileged
public boolean hasPrivileged()
-
getProcMount
public String getProcMount()
-
hasProcMount
public boolean hasProcMount()
-
getReadOnlyRootFilesystem
public Boolean getReadOnlyRootFilesystem()
-
hasReadOnlyRootFilesystem
public boolean hasReadOnlyRootFilesystem()
-
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 SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptions()
-
withNewSeLinuxOptionsLike
public SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(SELinuxOptions item)
-
editSeLinuxOptions
public SecurityContextFluent.SeLinuxOptionsNested<A> editSeLinuxOptions()
-
editOrNewSeLinuxOptions
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptions()
-
editOrNewSeLinuxOptionsLike
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(SELinuxOptions item)
-
buildSeccompProfile
public SeccompProfile buildSeccompProfile()
-
withSeccompProfile
public A withSeccompProfile(SeccompProfile seccompProfile)
-
hasSeccompProfile
public boolean hasSeccompProfile()
-
withNewSeccompProfile
public SecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfile()
-
withNewSeccompProfileLike
public SecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfileLike(SeccompProfile item)
-
editSeccompProfile
public SecurityContextFluent.SeccompProfileNested<A> editSeccompProfile()
-
editOrNewSeccompProfile
public SecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfile()
-
editOrNewSeccompProfileLike
public SecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfileLike(SeccompProfile item)
-
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 SecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptions()
-
withNewWindowsOptionsLike
public SecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptionsLike(WindowsSecurityContextOptions item)
-
editWindowsOptions
public SecurityContextFluent.WindowsOptionsNested<A> editWindowsOptions()
-
editOrNewWindowsOptions
public SecurityContextFluent.WindowsOptionsNested<A> editOrNewWindowsOptions()
-
editOrNewWindowsOptionsLike
public SecurityContextFluent.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 SecurityContextFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classio.fabric8.kubernetes.api.builder.BaseFluent<A extends SecurityContextFluent<A>>
-
withAllowPrivilegeEscalation
public A withAllowPrivilegeEscalation()
-
withPrivileged
public A withPrivileged()
-
withReadOnlyRootFilesystem
public A withReadOnlyRootFilesystem()
-
withRunAsNonRoot
public A withRunAsNonRoot()
-
-