public class ContainerFluentImpl<T extends ContainerFluent<T>> extends BaseFluent<T> implements ContainerFluent<T>
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 T addToArgs(String... items)
addToArgs
in interface ContainerFluent<T extends ContainerFluent<T>>
public T removeFromArgs(String... items)
removeFromArgs
in interface ContainerFluent<T extends ContainerFluent<T>>
public List<String> getArgs()
getArgs
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withArgs(List<String> args)
withArgs
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withArgs(String... args)
withArgs
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addToCommand(String... items)
addToCommand
in interface ContainerFluent<T extends ContainerFluent<T>>
public T removeFromCommand(String... items)
removeFromCommand
in interface ContainerFluent<T extends ContainerFluent<T>>
public List<String> getCommand()
getCommand
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withCommand(List<String> command)
withCommand
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withCommand(String... command)
withCommand
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addToEnv(EnvVar... items)
addToEnv
in interface ContainerFluent<T extends ContainerFluent<T>>
public T removeFromEnv(EnvVar... items)
removeFromEnv
in interface ContainerFluent<T extends ContainerFluent<T>>
public List<EnvVar> getEnv()
getEnv
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withEnv(List<EnvVar> env)
withEnv
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withEnv(EnvVar... env)
withEnv
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.EnvNested<T> addNewEnv()
addNewEnv
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.EnvNested<T> addNewEnvLike(EnvVar item)
addNewEnvLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public String getImage()
getImage
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withImage(String image)
withImage
in interface ContainerFluent<T extends ContainerFluent<T>>
public String getImagePullPolicy()
getImagePullPolicy
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withImagePullPolicy(String imagePullPolicy)
withImagePullPolicy
in interface ContainerFluent<T extends ContainerFluent<T>>
public Lifecycle getLifecycle()
getLifecycle
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withLifecycle(Lifecycle lifecycle)
withLifecycle
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.LifecycleNested<T> withNewLifecycle()
withNewLifecycle
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.LifecycleNested<T> withNewLifecycleLike(Lifecycle item)
withNewLifecycleLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.LifecycleNested<T> editLifecycle()
editLifecycle
in interface ContainerFluent<T extends ContainerFluent<T>>
public Probe getLivenessProbe()
getLivenessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withLivenessProbe(Probe livenessProbe)
withLivenessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.LivenessProbeNested<T> withNewLivenessProbe()
withNewLivenessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.LivenessProbeNested<T> withNewLivenessProbeLike(Probe item)
withNewLivenessProbeLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.LivenessProbeNested<T> editLivenessProbe()
editLivenessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public String getName()
getName
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withName(String name)
withName
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addToPorts(ContainerPort... items)
addToPorts
in interface ContainerFluent<T extends ContainerFluent<T>>
public T removeFromPorts(ContainerPort... items)
removeFromPorts
in interface ContainerFluent<T extends ContainerFluent<T>>
public List<ContainerPort> getPorts()
getPorts
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withPorts(List<ContainerPort> ports)
withPorts
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withPorts(ContainerPort... ports)
withPorts
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.PortsNested<T> addNewPort()
addNewPort
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.PortsNested<T> addNewPortLike(ContainerPort item)
addNewPortLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addNewPort(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol)
addNewPort
in interface ContainerFluent<T extends ContainerFluent<T>>
public Probe getReadinessProbe()
getReadinessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withReadinessProbe(Probe readinessProbe)
withReadinessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.ReadinessProbeNested<T> withNewReadinessProbe()
withNewReadinessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.ReadinessProbeNested<T> withNewReadinessProbeLike(Probe item)
withNewReadinessProbeLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.ReadinessProbeNested<T> editReadinessProbe()
editReadinessProbe
in interface ContainerFluent<T extends ContainerFluent<T>>
public ResourceRequirements getResources()
getResources
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withResources(ResourceRequirements resources)
withResources
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.ResourcesNested<T> withNewResources()
withNewResources
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.ResourcesNested<T> withNewResourcesLike(ResourceRequirements item)
withNewResourcesLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.ResourcesNested<T> editResources()
editResources
in interface ContainerFluent<T extends ContainerFluent<T>>
public SecurityContext getSecurityContext()
getSecurityContext
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withSecurityContext(SecurityContext securityContext)
withSecurityContext
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.SecurityContextNested<T> withNewSecurityContext()
withNewSecurityContext
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.SecurityContextNested<T> withNewSecurityContextLike(SecurityContext item)
withNewSecurityContextLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.SecurityContextNested<T> editSecurityContext()
editSecurityContext
in interface ContainerFluent<T extends ContainerFluent<T>>
public Boolean isStdin()
isStdin
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withStdin(Boolean stdin)
withStdin
in interface ContainerFluent<T extends ContainerFluent<T>>
public Boolean isStdinOnce()
isStdinOnce
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withStdinOnce(Boolean stdinOnce)
withStdinOnce
in interface ContainerFluent<T extends ContainerFluent<T>>
public String getTerminationMessagePath()
getTerminationMessagePath
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withTerminationMessagePath(String terminationMessagePath)
withTerminationMessagePath
in interface ContainerFluent<T extends ContainerFluent<T>>
public Boolean isTty()
isTty
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withTty(Boolean tty)
withTty
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addToVolumeMounts(VolumeMount... items)
addToVolumeMounts
in interface ContainerFluent<T extends ContainerFluent<T>>
public T removeFromVolumeMounts(VolumeMount... items)
removeFromVolumeMounts
in interface ContainerFluent<T extends ContainerFluent<T>>
public List<VolumeMount> getVolumeMounts()
getVolumeMounts
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withVolumeMounts(List<VolumeMount> volumeMounts)
withVolumeMounts
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withVolumeMounts(VolumeMount... volumeMounts)
withVolumeMounts
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.VolumeMountsNested<T> addNewVolumeMount()
addNewVolumeMount
in interface ContainerFluent<T extends ContainerFluent<T>>
public ContainerFluent.VolumeMountsNested<T> addNewVolumeMountLike(VolumeMount item)
addNewVolumeMountLike
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addNewVolumeMount(String mountPath, String name, Boolean readOnly)
addNewVolumeMount
in interface ContainerFluent<T extends ContainerFluent<T>>
public String getWorkingDir()
getWorkingDir
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withWorkingDir(String workingDir)
withWorkingDir
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addToAdditionalProperties(String key, Object value)
addToAdditionalProperties
in interface ContainerFluent<T extends ContainerFluent<T>>
public T addToAdditionalProperties(Map<String,Object> map)
addToAdditionalProperties
in interface ContainerFluent<T extends ContainerFluent<T>>
public T removeFromAdditionalProperties(String key)
removeFromAdditionalProperties
in interface ContainerFluent<T extends ContainerFluent<T>>
public T removeFromAdditionalProperties(Map<String,Object> map)
removeFromAdditionalProperties
in interface ContainerFluent<T extends ContainerFluent<T>>
public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in interface ContainerFluent<T extends ContainerFluent<T>>
public T withAdditionalProperties(Map<String,Object> additionalProperties)
withAdditionalProperties
in interface ContainerFluent<T extends ContainerFluent<T>>
Copyright © 2011–2015 Red Hat. All rights reserved.