public class ContainerFluentImpl<A extends ContainerFluent<A>> extends BaseFluent<A> implements ContainerFluent<A>
Modifier and Type | Class and Description |
---|---|
class |
ContainerFluentImpl.EnvFromNestedImpl<N> |
class |
ContainerFluentImpl.EnvNestedImpl<N> |
class |
ContainerFluentImpl.LifecycleNestedImpl<N> |
class |
ContainerFluentImpl.LivenessProbeNestedImpl<N> |
class |
ContainerFluentImpl.PortsNestedImpl<N> |
class |
ContainerFluentImpl.ReadinessProbeNestedImpl<N> |
class |
ContainerFluentImpl.ResourcesNestedImpl<N> |
class |
ContainerFluentImpl.SecurityContextNestedImpl<N> |
class |
ContainerFluentImpl.VolumeDevicesNestedImpl<N> |
class |
ContainerFluentImpl.VolumeMountsNestedImpl<N> |
ContainerFluent.EnvFromNested<N>, ContainerFluent.EnvNested<N>, ContainerFluent.LifecycleNested<N>, ContainerFluent.LivenessProbeNested<N>, ContainerFluent.PortsNested<N>, ContainerFluent.ReadinessProbeNested<N>, ContainerFluent.ResourcesNested<N>, ContainerFluent.SecurityContextNested<N>, ContainerFluent.VolumeDevicesNested<N>, ContainerFluent.VolumeMountsNested<N>
_visitables
Constructor and Description |
---|
ContainerFluentImpl() |
ContainerFluentImpl(Container instance) |
public ContainerFluentImpl()
public ContainerFluentImpl(Container instance)
public A addToArgs(int index, java.lang.String item)
addToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToArgs(int index, java.lang.String item)
setToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToArgs(java.lang.String... items)
addToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToArgs(java.util.Collection<java.lang.String> items)
addAllToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromArgs(java.lang.String... items)
removeFromArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromArgs(java.util.Collection<java.lang.String> items)
removeAllFromArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.util.List<java.lang.String> getArgs()
getArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getArg(int index)
getArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getFirstArg()
getFirstArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getLastArg()
getLastArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getMatchingArg(Predicate<java.lang.String> predicate)
getMatchingArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasMatchingArg(Predicate<java.lang.String> predicate)
hasMatchingArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withArgs(java.util.List<java.lang.String> args)
withArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withArgs(java.lang.String... args)
withArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasArgs()
hasArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewArg(java.lang.String arg1)
addNewArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewArg(java.lang.StringBuilder arg1)
addNewArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewArg(java.lang.StringBuffer arg1)
addNewArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToCommand(int index, java.lang.String item)
addToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToCommand(int index, java.lang.String item)
setToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToCommand(java.lang.String... items)
addToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToCommand(java.util.Collection<java.lang.String> items)
addAllToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromCommand(java.lang.String... items)
removeFromCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromCommand(java.util.Collection<java.lang.String> items)
removeAllFromCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.util.List<java.lang.String> getCommand()
getCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getCommand(int index)
getCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getFirstCommand()
getFirstCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getLastCommand()
getLastCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getMatchingCommand(Predicate<java.lang.String> predicate)
getMatchingCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasMatchingCommand(Predicate<java.lang.String> predicate)
hasMatchingCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withCommand(java.util.List<java.lang.String> command)
withCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withCommand(java.lang.String... command)
withCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasCommand()
hasCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewCommand(java.lang.String arg1)
addNewCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewCommand(java.lang.StringBuilder arg1)
addNewCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewCommand(java.lang.StringBuffer arg1)
addNewCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToEnv(int index, EnvVar item)
addToEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToEnv(int index, EnvVar item)
setToEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToEnv(EnvVar... items)
addToEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToEnv(java.util.Collection<EnvVar> items)
addAllToEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromEnv(EnvVar... items)
removeFromEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromEnv(java.util.Collection<EnvVar> items)
removeAllFromEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public java.util.List<EnvVar> getEnv()
getEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.util.List<EnvVar> buildEnv()
buildEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvVar buildEnv(int index)
buildEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvVar buildFirstEnv()
buildFirstEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvVar buildLastEnv()
buildLastEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvVar buildMatchingEnv(Predicate<EnvVarBuilder> predicate)
buildMatchingEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasMatchingEnv(Predicate<EnvVarBuilder> predicate)
hasMatchingEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withEnv(java.util.List<EnvVar> env)
withEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withEnv(EnvVar... env)
withEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasEnv()
hasEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvNested<A> addNewEnv()
addNewEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvNested<A> addNewEnvLike(EnvVar item)
addNewEnvLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvNested<A> setNewEnvLike(int index, EnvVar item)
setNewEnvLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvNested<A> editEnv(int index)
editEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvNested<A> editFirstEnv()
editFirstEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvNested<A> editLastEnv()
editLastEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvNested<A> editMatchingEnv(Predicate<EnvVarBuilder> predicate)
editMatchingEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToEnvFrom(int index, EnvFromSource item)
addToEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToEnvFrom(int index, EnvFromSource item)
setToEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToEnvFrom(EnvFromSource... items)
addToEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToEnvFrom(java.util.Collection<EnvFromSource> items)
addAllToEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromEnvFrom(EnvFromSource... items)
removeFromEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromEnvFrom(java.util.Collection<EnvFromSource> items)
removeAllFromEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public java.util.List<EnvFromSource> getEnvFrom()
getEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.util.List<EnvFromSource> buildEnvFrom()
buildEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvFromSource buildEnvFrom(int index)
buildEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvFromSource buildFirstEnvFrom()
buildFirstEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvFromSource buildLastEnvFrom()
buildLastEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public EnvFromSource buildMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
buildMatchingEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
hasMatchingEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withEnvFrom(java.util.List<EnvFromSource> envFrom)
withEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withEnvFrom(EnvFromSource... envFrom)
withEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasEnvFrom()
hasEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvFromNested<A> addNewEnvFrom()
addNewEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvFromNested<A> addNewEnvFromLike(EnvFromSource item)
addNewEnvFromLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvFromNested<A> setNewEnvFromLike(int index, EnvFromSource item)
setNewEnvFromLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvFromNested<A> editEnvFrom(int index)
editEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvFromNested<A> editFirstEnvFrom()
editFirstEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvFromNested<A> editLastEnvFrom()
editLastEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.EnvFromNested<A> editMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
editMatchingEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getImage()
getImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withImage(java.lang.String image)
withImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasImage()
hasImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewImage(java.lang.String arg1)
withNewImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewImage(java.lang.StringBuilder arg1)
withNewImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewImage(java.lang.StringBuffer arg1)
withNewImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getImagePullPolicy()
getImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withImagePullPolicy(java.lang.String imagePullPolicy)
withImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasImagePullPolicy()
hasImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewImagePullPolicy(java.lang.String arg1)
withNewImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewImagePullPolicy(java.lang.StringBuilder arg1)
withNewImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewImagePullPolicy(java.lang.StringBuffer arg1)
withNewImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public Lifecycle getLifecycle()
getLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public Lifecycle buildLifecycle()
buildLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withLifecycle(Lifecycle lifecycle)
withLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasLifecycle()
hasLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LifecycleNested<A> withNewLifecycle()
withNewLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LifecycleNested<A> withNewLifecycleLike(Lifecycle item)
withNewLifecycleLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LifecycleNested<A> editLifecycle()
editLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LifecycleNested<A> editOrNewLifecycle()
editOrNewLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LifecycleNested<A> editOrNewLifecycleLike(Lifecycle item)
editOrNewLifecycleLike
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public Probe getLivenessProbe()
getLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public Probe buildLivenessProbe()
buildLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withLivenessProbe(Probe livenessProbe)
withLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasLivenessProbe()
hasLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LivenessProbeNested<A> withNewLivenessProbe()
withNewLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LivenessProbeNested<A> withNewLivenessProbeLike(Probe item)
withNewLivenessProbeLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LivenessProbeNested<A> editLivenessProbe()
editLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LivenessProbeNested<A> editOrNewLivenessProbe()
editOrNewLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.LivenessProbeNested<A> editOrNewLivenessProbeLike(Probe item)
editOrNewLivenessProbeLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getName()
getName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withName(java.lang.String name)
withName
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasName()
hasName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewName(java.lang.String arg1)
withNewName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewName(java.lang.StringBuilder arg1)
withNewName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewName(java.lang.StringBuffer arg1)
withNewName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToPorts(int index, ContainerPort item)
addToPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToPorts(int index, ContainerPort item)
setToPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToPorts(ContainerPort... items)
addToPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToPorts(java.util.Collection<ContainerPort> items)
addAllToPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromPorts(ContainerPort... items)
removeFromPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromPorts(java.util.Collection<ContainerPort> items)
removeAllFromPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public java.util.List<ContainerPort> getPorts()
getPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.util.List<ContainerPort> buildPorts()
buildPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerPort buildPort(int index)
buildPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerPort buildFirstPort()
buildFirstPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerPort buildLastPort()
buildLastPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerPort buildMatchingPort(Predicate<ContainerPortBuilder> predicate)
buildMatchingPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasMatchingPort(Predicate<ContainerPortBuilder> predicate)
hasMatchingPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withPorts(java.util.List<ContainerPort> ports)
withPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withPorts(ContainerPort... ports)
withPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasPorts()
hasPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewPort(java.lang.Integer containerPort, java.lang.String hostIP, java.lang.Integer hostPort, java.lang.String name, java.lang.String protocol)
addNewPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.PortsNested<A> addNewPort()
addNewPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.PortsNested<A> addNewPortLike(ContainerPort item)
addNewPortLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.PortsNested<A> setNewPortLike(int index, ContainerPort item)
setNewPortLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.PortsNested<A> editPort(int index)
editPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.PortsNested<A> editFirstPort()
editFirstPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.PortsNested<A> editLastPort()
editLastPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.PortsNested<A> editMatchingPort(Predicate<ContainerPortBuilder> predicate)
editMatchingPort
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public Probe getReadinessProbe()
getReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public Probe buildReadinessProbe()
buildReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withReadinessProbe(Probe readinessProbe)
withReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasReadinessProbe()
hasReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ReadinessProbeNested<A> withNewReadinessProbe()
withNewReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ReadinessProbeNested<A> withNewReadinessProbeLike(Probe item)
withNewReadinessProbeLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ReadinessProbeNested<A> editReadinessProbe()
editReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ReadinessProbeNested<A> editOrNewReadinessProbe()
editOrNewReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ReadinessProbeNested<A> editOrNewReadinessProbeLike(Probe item)
editOrNewReadinessProbeLike
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public ResourceRequirements getResources()
getResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public ResourceRequirements buildResources()
buildResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withResources(ResourceRequirements resources)
withResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasResources()
hasResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ResourcesNested<A> withNewResources()
withNewResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ResourcesNested<A> withNewResourcesLike(ResourceRequirements item)
withNewResourcesLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ResourcesNested<A> editResources()
editResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ResourcesNested<A> editOrNewResources()
editOrNewResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.ResourcesNested<A> editOrNewResourcesLike(ResourceRequirements item)
editOrNewResourcesLike
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public SecurityContext getSecurityContext()
getSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public SecurityContext buildSecurityContext()
buildSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withSecurityContext(SecurityContext securityContext)
withSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasSecurityContext()
hasSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.SecurityContextNested<A> withNewSecurityContext()
withNewSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.SecurityContextNested<A> withNewSecurityContextLike(SecurityContext item)
withNewSecurityContextLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.SecurityContextNested<A> editSecurityContext()
editSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.SecurityContextNested<A> editOrNewSecurityContext()
editOrNewSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.SecurityContextNested<A> editOrNewSecurityContextLike(SecurityContext item)
editOrNewSecurityContextLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean isStdin()
isStdin
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withStdin(java.lang.Boolean stdin)
withStdin
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasStdin()
hasStdin
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewStdin(java.lang.String arg1)
withNewStdin
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewStdin(boolean arg1)
withNewStdin
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean isStdinOnce()
isStdinOnce
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withStdinOnce(java.lang.Boolean stdinOnce)
withStdinOnce
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasStdinOnce()
hasStdinOnce
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewStdinOnce(java.lang.String arg1)
withNewStdinOnce
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewStdinOnce(boolean arg1)
withNewStdinOnce
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getTerminationMessagePath()
getTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withTerminationMessagePath(java.lang.String terminationMessagePath)
withTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasTerminationMessagePath()
hasTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTerminationMessagePath(java.lang.String arg1)
withNewTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTerminationMessagePath(java.lang.StringBuilder arg1)
withNewTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTerminationMessagePath(java.lang.StringBuffer arg1)
withNewTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getTerminationMessagePolicy()
getTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withTerminationMessagePolicy(java.lang.String terminationMessagePolicy)
withTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasTerminationMessagePolicy()
hasTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTerminationMessagePolicy(java.lang.String arg1)
withNewTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTerminationMessagePolicy(java.lang.StringBuilder arg1)
withNewTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTerminationMessagePolicy(java.lang.StringBuffer arg1)
withNewTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean isTty()
isTty
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withTty(java.lang.Boolean tty)
withTty
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasTty()
hasTty
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTty(java.lang.String arg1)
withNewTty
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewTty(boolean arg1)
withNewTty
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToVolumeDevices(int index, VolumeDevice item)
addToVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToVolumeDevices(int index, VolumeDevice item)
setToVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToVolumeDevices(VolumeDevice... items)
addToVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToVolumeDevices(java.util.Collection<VolumeDevice> items)
addAllToVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromVolumeDevices(VolumeDevice... items)
removeFromVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromVolumeDevices(java.util.Collection<VolumeDevice> items)
removeAllFromVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public java.util.List<VolumeDevice> getVolumeDevices()
getVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.util.List<VolumeDevice> buildVolumeDevices()
buildVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeDevice buildVolumeDevice(int index)
buildVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeDevice buildFirstVolumeDevice()
buildFirstVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeDevice buildLastVolumeDevice()
buildLastVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeDevice buildMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
buildMatchingVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
hasMatchingVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withVolumeDevices(java.util.List<VolumeDevice> volumeDevices)
withVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withVolumeDevices(VolumeDevice... volumeDevices)
withVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasVolumeDevices()
hasVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewVolumeDevice(java.lang.String devicePath, java.lang.String name)
addNewVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeDevicesNested<A> addNewVolumeDevice()
addNewVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeDevicesNested<A> addNewVolumeDeviceLike(VolumeDevice item)
addNewVolumeDeviceLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeDevicesNested<A> setNewVolumeDeviceLike(int index, VolumeDevice item)
setNewVolumeDeviceLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeDevicesNested<A> editVolumeDevice(int index)
editVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeDevicesNested<A> editFirstVolumeDevice()
editFirstVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeDevicesNested<A> editLastVolumeDevice()
editLastVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeDevicesNested<A> editMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
editMatchingVolumeDevice
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToVolumeMounts(int index, VolumeMount item)
addToVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToVolumeMounts(int index, VolumeMount item)
setToVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToVolumeMounts(VolumeMount... items)
addToVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToVolumeMounts(java.util.Collection<VolumeMount> items)
addAllToVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromVolumeMounts(VolumeMount... items)
removeFromVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromVolumeMounts(java.util.Collection<VolumeMount> items)
removeAllFromVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public java.util.List<VolumeMount> getVolumeMounts()
getVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.util.List<VolumeMount> buildVolumeMounts()
buildVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeMount buildVolumeMount(int index)
buildVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeMount buildFirstVolumeMount()
buildFirstVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeMount buildLastVolumeMount()
buildLastVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public VolumeMount buildMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
buildMatchingVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
hasMatchingVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withVolumeMounts(java.util.List<VolumeMount> volumeMounts)
withVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withVolumeMounts(VolumeMount... volumeMounts)
withVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasVolumeMounts()
hasVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeMountsNested<A> addNewVolumeMount()
addNewVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeMountsNested<A> addNewVolumeMountLike(VolumeMount item)
addNewVolumeMountLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeMountsNested<A> setNewVolumeMountLike(int index, VolumeMount item)
setNewVolumeMountLike
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeMountsNested<A> editVolumeMount(int index)
editVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeMountsNested<A> editFirstVolumeMount()
editFirstVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeMountsNested<A> editLastVolumeMount()
editLastVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public ContainerFluent.VolumeMountsNested<A> editMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
editMatchingVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.String getWorkingDir()
getWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withWorkingDir(java.lang.String workingDir)
withWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public java.lang.Boolean hasWorkingDir()
hasWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewWorkingDir(java.lang.String arg1)
withNewWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewWorkingDir(java.lang.StringBuilder arg1)
withNewWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withNewWorkingDir(java.lang.StringBuffer arg1)
withNewWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2015-2019 Red Hat. All Rights Reserved.