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, String item)
addToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToArgs(int index, String item)
setToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToArgs(String... items)
addToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToArgs(Collection<String> items)
addAllToArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromArgs(String... items)
removeFromArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromArgs(Collection<String> items)
removeAllFromArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public List<String> getArgs()
getArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getArg(int index)
getArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getFirstArg()
getFirstArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getLastArg()
getLastArg
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getMatchingArg(Predicate<String> predicate)
getMatchingArg
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 Boolean hasArgs()
hasArgs
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToCommand(int index, String item)
addToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A setToCommand(int index, String item)
setToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addToCommand(String... items)
addToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addAllToCommand(Collection<String> items)
addAllToCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeFromCommand(String... items)
removeFromCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public A removeAllFromCommand(Collection<String> items)
removeAllFromCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public List<String> getCommand()
getCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getCommand(int index)
getCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getFirstCommand()
getFirstCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getLastCommand()
getLastCommand
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getMatchingCommand(Predicate<String> predicate)
getMatchingCommand
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 Boolean hasCommand()
hasCommand
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(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(Collection<EnvVar> items)
removeAllFromEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public List<EnvVar> getEnv()
getEnv
in interface ContainerFluent<A extends ContainerFluent<A>>
public 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 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 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(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(Collection<EnvFromSource> items)
removeAllFromEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public List<EnvFromSource> getEnvFrom()
getEnvFrom
in interface ContainerFluent<A extends ContainerFluent<A>>
public 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 A withEnvFrom(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 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 String getImage()
getImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withImage(String image)
withImage
in interface ContainerFluent<A extends ContainerFluent<A>>
public Boolean hasImage()
hasImage
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 Boolean hasImagePullPolicy()
hasImagePullPolicy
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 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 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 String getName()
getName
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withName(String name)
withName
in interface ContainerFluent<A extends ContainerFluent<A>>
public Boolean hasName()
hasName
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(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(Collection<ContainerPort> items)
removeAllFromPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public List<ContainerPort> getPorts()
getPorts
in interface ContainerFluent<A extends ContainerFluent<A>>
public 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 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 Boolean hasPorts()
hasPorts
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 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 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 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 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 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 hasStdin()
hasStdin
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 Boolean hasStdinOnce()
hasStdinOnce
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 hasTerminationMessagePath()
hasTerminationMessagePath
in interface ContainerFluent<A extends ContainerFluent<A>>
public String getTerminationMessagePolicy()
getTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withTerminationMessagePolicy(String terminationMessagePolicy)
withTerminationMessagePolicy
in interface ContainerFluent<A extends ContainerFluent<A>>
public Boolean hasTerminationMessagePolicy()
hasTerminationMessagePolicy
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 Boolean hasTty()
hasTty
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(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(Collection<VolumeDevice> items)
removeAllFromVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public List<VolumeDevice> getVolumeDevices()
getVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public 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 A withVolumeDevices(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 Boolean hasVolumeDevices()
hasVolumeDevices
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewVolumeDevice(String devicePath, 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(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(Collection<VolumeMount> items)
removeAllFromVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
@Deprecated public List<VolumeMount> getVolumeMounts()
getVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public 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 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 Boolean hasVolumeMounts()
hasVolumeMounts
in interface ContainerFluent<A extends ContainerFluent<A>>
public A addNewVolumeMount(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath)
addNewVolumeMount
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 String getWorkingDir()
getWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public A withWorkingDir(String workingDir)
withWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
public Boolean hasWorkingDir()
hasWorkingDir
in interface ContainerFluent<A extends ContainerFluent<A>>
Copyright © 2011–2018 Red Hat. All rights reserved.