public class ContainerFluentImpl<A extends ContainerFluent<A>> extends BaseFluent<A> implements ContainerFluent<A>
Modifier and Type | Class and Description |
---|---|
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.VolumeMountsNestedImpl<N> |
ContainerFluent.EnvNested<N>, ContainerFluent.LifecycleNested<N>, ContainerFluent.LivenessProbeNested<N>, ContainerFluent.PortsNested<N>, ContainerFluent.ReadinessProbeNested<N>, ContainerFluent.ResourcesNested<N>, ContainerFluent.SecurityContextNested<N>, ContainerFluent.VolumeMountsNested<N>
_visitables
Constructor and Description |
---|
ContainerFluentImpl() |
ContainerFluentImpl(Container instance) |
public ContainerFluentImpl()
public ContainerFluentImpl(Container instance)
public A addToArgs(String... items)
addToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromArgs(String... items)
removeFromArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public List<String> getArgs()
getArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withArgs(List<String> args)
withArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withArgs(String... args)
withArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToCommand(String... items)
addToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromCommand(String... items)
removeFromCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public List<String> getCommand()
getCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withCommand(List<String> command)
withCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withCommand(String... command)
withCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToEnv(EnvVar... items)
addToEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromEnv(EnvVar... items)
removeFromEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public List<EnvVar> getEnv()
getEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withEnv(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 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 String getImage()
getImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withImage(String image)
withImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getImagePullPolicy()
getImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withImagePullPolicy(String imagePullPolicy)
withImagePullPolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public Lifecycle getLifecycle()
getLifecycle
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withLifecycle(Lifecycle lifecycle)
withLifecycle
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 Probe getLivenessProbe()
getLivenessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withLivenessProbe(Probe livenessProbe)
withLivenessProbe
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 String getName()
getName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withName(String name)
withName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToPorts(ContainerPort... items)
addToPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromPorts(ContainerPort... items)
removeFromPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public List<ContainerPort> getPorts()
getPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withPorts(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 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 A addNewPort(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol)
addNewPort
in interface ContainerFluent<A extends ContainerFluent<A>>
public Probe getReadinessProbe()
getReadinessProbe
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withReadinessProbe(Probe readinessProbe)
withReadinessProbe
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 ResourceRequirements getResources()
getResources
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withResources(ResourceRequirements resources)
withResources
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 SecurityContext getSecurityContext()
getSecurityContext
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withSecurityContext(SecurityContext securityContext)
withSecurityContext
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 Boolean isStdin()
isStdin
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withStdin(Boolean stdin)
withStdin
in interface ContainerFluent<A extends ContainerFluent<A>>
public Boolean isStdinOnce()
isStdinOnce
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withStdinOnce(Boolean stdinOnce)
withStdinOnce
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getTerminationMessagePath()
getTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withTerminationMessagePath(String terminationMessagePath)
withTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public Boolean isTty()
isTty
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withTty(Boolean tty)
withTty
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToVolumeMounts(VolumeMount... items)
addToVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromVolumeMounts(VolumeMount... items)
removeFromVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public List<VolumeMount> getVolumeMounts()
getVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withVolumeMounts(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 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 A addNewVolumeMount(String mountPath, String name, Boolean readOnly, String subPath)
addNewVolumeMount
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getWorkingDir()
getWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withWorkingDir(String workingDir)
withWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
Copyright © 2011–2016 Red Hat. All rights reserved.