Package io.fabric8.kubernetes.api.model
Class SecurityContextFluentImpl<A extends SecurityContextFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.SecurityContextFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>,Visitable<A>,SecurityContextFluent<A>
- Direct Known Subclasses:
ContainerFluentImpl.SecurityContextNestedImpl,EphemeralContainerFluentImpl.SecurityContextNestedImpl,SecurityContextBuilder,WatchEventFluentImpl.SecurityContextObjectNestedImpl
public class SecurityContextFluentImpl<A extends SecurityContextFluent<A>> extends BaseFluent<A> implements SecurityContextFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSecurityContextFluentImpl.CapabilitiesNestedImpl<N>classSecurityContextFluentImpl.SeccompProfileNestedImpl<N>classSecurityContextFluentImpl.SeLinuxOptionsNestedImpl<N>classSecurityContextFluentImpl.WindowsOptionsNestedImpl<N>-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.SecurityContextFluent
SecurityContextFluent.CapabilitiesNested<N>, SecurityContextFluent.SeccompProfileNested<N>, SecurityContextFluent.SeLinuxOptionsNested<N>, SecurityContextFluent.WindowsOptionsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description SecurityContextFluentImpl()SecurityContextFluentImpl(SecurityContext instance)
-
Method Summary
-
-
-
Constructor Detail
-
SecurityContextFluentImpl
public SecurityContextFluentImpl()
-
SecurityContextFluentImpl
public SecurityContextFluentImpl(SecurityContext instance)
-
-
Method Detail
-
isAllowPrivilegeEscalation
public Boolean isAllowPrivilegeEscalation()
- Specified by:
isAllowPrivilegeEscalationin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withAllowPrivilegeEscalation
public A withAllowPrivilegeEscalation(Boolean allowPrivilegeEscalation)
- Specified by:
withAllowPrivilegeEscalationin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasAllowPrivilegeEscalation
public Boolean hasAllowPrivilegeEscalation()
- Specified by:
hasAllowPrivilegeEscalationin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewAllowPrivilegeEscalation
public A withNewAllowPrivilegeEscalation(String arg1)
- Specified by:
withNewAllowPrivilegeEscalationin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewAllowPrivilegeEscalation
public A withNewAllowPrivilegeEscalation(boolean arg1)
- Specified by:
withNewAllowPrivilegeEscalationin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
getCapabilities
@Deprecated public Capabilities getCapabilities()
Deprecated.This method has been deprecated, please use method buildCapabilities instead.- Specified by:
getCapabilitiesin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>- Returns:
- The buildable object.
-
buildCapabilities
public Capabilities buildCapabilities()
- Specified by:
buildCapabilitiesin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withCapabilities
public A withCapabilities(Capabilities capabilities)
- Specified by:
withCapabilitiesin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasCapabilities
public Boolean hasCapabilities()
- Specified by:
hasCapabilitiesin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewCapabilities
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilities()
- Specified by:
withNewCapabilitiesin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewCapabilitiesLike
public SecurityContextFluent.CapabilitiesNested<A> withNewCapabilitiesLike(Capabilities item)
- Specified by:
withNewCapabilitiesLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editCapabilities
public SecurityContextFluent.CapabilitiesNested<A> editCapabilities()
- Specified by:
editCapabilitiesin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewCapabilities
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilities()
- Specified by:
editOrNewCapabilitiesin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewCapabilitiesLike
public SecurityContextFluent.CapabilitiesNested<A> editOrNewCapabilitiesLike(Capabilities item)
- Specified by:
editOrNewCapabilitiesLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
isPrivileged
public Boolean isPrivileged()
- Specified by:
isPrivilegedin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withPrivileged
public A withPrivileged(Boolean privileged)
- Specified by:
withPrivilegedin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasPrivileged
public Boolean hasPrivileged()
- Specified by:
hasPrivilegedin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewPrivileged
public A withNewPrivileged(String arg1)
- Specified by:
withNewPrivilegedin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewPrivileged
public A withNewPrivileged(boolean arg1)
- Specified by:
withNewPrivilegedin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
getProcMount
public String getProcMount()
- Specified by:
getProcMountin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withProcMount
public A withProcMount(String procMount)
- Specified by:
withProcMountin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasProcMount
public Boolean hasProcMount()
- Specified by:
hasProcMountin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewProcMount
public A withNewProcMount(String arg1)
- Specified by:
withNewProcMountin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewProcMount
public A withNewProcMount(StringBuilder arg1)
- Specified by:
withNewProcMountin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewProcMount
public A withNewProcMount(StringBuffer arg1)
- Specified by:
withNewProcMountin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
isReadOnlyRootFilesystem
public Boolean isReadOnlyRootFilesystem()
- Specified by:
isReadOnlyRootFilesystemin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withReadOnlyRootFilesystem
public A withReadOnlyRootFilesystem(Boolean readOnlyRootFilesystem)
- Specified by:
withReadOnlyRootFilesystemin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasReadOnlyRootFilesystem
public Boolean hasReadOnlyRootFilesystem()
- Specified by:
hasReadOnlyRootFilesystemin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewReadOnlyRootFilesystem
public A withNewReadOnlyRootFilesystem(String arg1)
- Specified by:
withNewReadOnlyRootFilesystemin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewReadOnlyRootFilesystem
public A withNewReadOnlyRootFilesystem(boolean arg1)
- Specified by:
withNewReadOnlyRootFilesystemin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
getRunAsGroup
public Long getRunAsGroup()
- Specified by:
getRunAsGroupin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withRunAsGroup
public A withRunAsGroup(Long runAsGroup)
- Specified by:
withRunAsGroupin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasRunAsGroup
public Boolean hasRunAsGroup()
- Specified by:
hasRunAsGroupin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
isRunAsNonRoot
public Boolean isRunAsNonRoot()
- Specified by:
isRunAsNonRootin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withRunAsNonRoot
public A withRunAsNonRoot(Boolean runAsNonRoot)
- Specified by:
withRunAsNonRootin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasRunAsNonRoot
public Boolean hasRunAsNonRoot()
- Specified by:
hasRunAsNonRootin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewRunAsNonRoot
public A withNewRunAsNonRoot(String arg1)
- Specified by:
withNewRunAsNonRootin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewRunAsNonRoot
public A withNewRunAsNonRoot(boolean arg1)
- Specified by:
withNewRunAsNonRootin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
getRunAsUser
public Long getRunAsUser()
- Specified by:
getRunAsUserin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withRunAsUser
public A withRunAsUser(Long runAsUser)
- Specified by:
withRunAsUserin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasRunAsUser
public Boolean hasRunAsUser()
- Specified by:
hasRunAsUserin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
getSeLinuxOptions
@Deprecated public SELinuxOptions getSeLinuxOptions()
Deprecated.This method has been deprecated, please use method buildSeLinuxOptions instead.- Specified by:
getSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>- Returns:
- The buildable object.
-
buildSeLinuxOptions
public SELinuxOptions buildSeLinuxOptions()
- Specified by:
buildSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withSeLinuxOptions
public A withSeLinuxOptions(SELinuxOptions seLinuxOptions)
- Specified by:
withSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasSeLinuxOptions
public Boolean hasSeLinuxOptions()
- Specified by:
hasSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewSeLinuxOptions
public A withNewSeLinuxOptions(String level, String role, String type, String user)
- Specified by:
withNewSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewSeLinuxOptions
public SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptions()
- Specified by:
withNewSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewSeLinuxOptionsLike
public SecurityContextFluent.SeLinuxOptionsNested<A> withNewSeLinuxOptionsLike(SELinuxOptions item)
- Specified by:
withNewSeLinuxOptionsLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editSeLinuxOptions
public SecurityContextFluent.SeLinuxOptionsNested<A> editSeLinuxOptions()
- Specified by:
editSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewSeLinuxOptions
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptions()
- Specified by:
editOrNewSeLinuxOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewSeLinuxOptionsLike
public SecurityContextFluent.SeLinuxOptionsNested<A> editOrNewSeLinuxOptionsLike(SELinuxOptions item)
- Specified by:
editOrNewSeLinuxOptionsLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
getSeccompProfile
@Deprecated public SeccompProfile getSeccompProfile()
Deprecated.This method has been deprecated, please use method buildSeccompProfile instead.- Specified by:
getSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>- Returns:
- The buildable object.
-
buildSeccompProfile
public SeccompProfile buildSeccompProfile()
- Specified by:
buildSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withSeccompProfile
public A withSeccompProfile(SeccompProfile seccompProfile)
- Specified by:
withSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasSeccompProfile
public Boolean hasSeccompProfile()
- Specified by:
hasSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewSeccompProfile
public A withNewSeccompProfile(String localhostProfile, String type)
- Specified by:
withNewSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewSeccompProfile
public SecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfile()
- Specified by:
withNewSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewSeccompProfileLike
public SecurityContextFluent.SeccompProfileNested<A> withNewSeccompProfileLike(SeccompProfile item)
- Specified by:
withNewSeccompProfileLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editSeccompProfile
public SecurityContextFluent.SeccompProfileNested<A> editSeccompProfile()
- Specified by:
editSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewSeccompProfile
public SecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfile()
- Specified by:
editOrNewSeccompProfilein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewSeccompProfileLike
public SecurityContextFluent.SeccompProfileNested<A> editOrNewSeccompProfileLike(SeccompProfile item)
- Specified by:
editOrNewSeccompProfileLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
getWindowsOptions
@Deprecated public WindowsSecurityContextOptions getWindowsOptions()
Deprecated.This method has been deprecated, please use method buildWindowsOptions instead.- Specified by:
getWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>- Returns:
- The buildable object.
-
buildWindowsOptions
public WindowsSecurityContextOptions buildWindowsOptions()
- Specified by:
buildWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withWindowsOptions
public A withWindowsOptions(WindowsSecurityContextOptions windowsOptions)
- Specified by:
withWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
hasWindowsOptions
public Boolean hasWindowsOptions()
- Specified by:
hasWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewWindowsOptions
public A withNewWindowsOptions(String gmsaCredentialSpec, String gmsaCredentialSpecName, String runAsUserName)
- Specified by:
withNewWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewWindowsOptions
public SecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptions()
- Specified by:
withNewWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
withNewWindowsOptionsLike
public SecurityContextFluent.WindowsOptionsNested<A> withNewWindowsOptionsLike(WindowsSecurityContextOptions item)
- Specified by:
withNewWindowsOptionsLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editWindowsOptions
public SecurityContextFluent.WindowsOptionsNested<A> editWindowsOptions()
- Specified by:
editWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewWindowsOptions
public SecurityContextFluent.WindowsOptionsNested<A> editOrNewWindowsOptions()
- Specified by:
editOrNewWindowsOptionsin interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
editOrNewWindowsOptionsLike
public SecurityContextFluent.WindowsOptionsNested<A> editOrNewWindowsOptionsLike(WindowsSecurityContextOptions item)
- Specified by:
editOrNewWindowsOptionsLikein interfaceSecurityContextFluent<A extends SecurityContextFluent<A>>
-
-