Package io.fabric8.kubernetes.api.model
Class ContainerFluentImpl<A extends ContainerFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.ContainerFluentImpl<A>
-
- All Implemented Interfaces:
Fluent<A>
,Visitable<A>
,ContainerFluent<A>
- Direct Known Subclasses:
ContainerBuilder
,PodSpecFluentImpl.ContainersNestedImpl
,PodSpecFluentImpl.InitContainersNestedImpl
,WatchEventFluentImpl.ContainerObjectNestedImpl
public class ContainerFluentImpl<A extends ContainerFluent<A>> extends BaseFluent<A> implements ContainerFluent<A>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.StartupProbeNestedImpl<N>
class
ContainerFluentImpl.VolumeDevicesNestedImpl<N>
class
ContainerFluentImpl.VolumeMountsNestedImpl<N>
-
Nested classes/interfaces inherited from interface io.fabric8.kubernetes.api.model.ContainerFluent
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.StartupProbeNested<N>, ContainerFluent.VolumeDevicesNested<N>, ContainerFluent.VolumeMountsNested<N>
-
-
Field Summary
-
Fields inherited from class io.fabric8.kubernetes.api.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description ContainerFluentImpl()
ContainerFluentImpl(Container instance)
-
Method Summary
-
-
-
Constructor Detail
-
ContainerFluentImpl
public ContainerFluentImpl()
-
ContainerFluentImpl
public ContainerFluentImpl(Container instance)
-
-
Method Detail
-
addToArgs
public A addToArgs(int index, String item)
- Specified by:
addToArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setToArgs
public A setToArgs(int index, String item)
- Specified by:
setToArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToArgs
public A addToArgs(String... items)
- Specified by:
addToArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addAllToArgs
public A addAllToArgs(Collection<String> items)
- Specified by:
addAllToArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeFromArgs
public A removeFromArgs(String... items)
- Specified by:
removeFromArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeAllFromArgs
public A removeAllFromArgs(Collection<String> items)
- Specified by:
removeAllFromArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getArgs
public List<String> getArgs()
- Specified by:
getArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getArg
public String getArg(int index)
- Specified by:
getArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getFirstArg
public String getFirstArg()
- Specified by:
getFirstArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getLastArg
public String getLastArg()
- Specified by:
getLastArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getMatchingArg
public String getMatchingArg(Predicate<String> predicate)
- Specified by:
getMatchingArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasMatchingArg
public Boolean hasMatchingArg(Predicate<String> predicate)
- Specified by:
hasMatchingArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withArgs
public A withArgs(List<String> args)
- Specified by:
withArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withArgs
public A withArgs(String... args)
- Specified by:
withArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasArgs
public Boolean hasArgs()
- Specified by:
hasArgs
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewArg
public A addNewArg(String arg1)
- Specified by:
addNewArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewArg
public A addNewArg(StringBuilder arg1)
- Specified by:
addNewArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewArg
public A addNewArg(StringBuffer arg1)
- Specified by:
addNewArg
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToCommand
public A addToCommand(int index, String item)
- Specified by:
addToCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setToCommand
public A setToCommand(int index, String item)
- Specified by:
setToCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToCommand
public A addToCommand(String... items)
- Specified by:
addToCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addAllToCommand
public A addAllToCommand(Collection<String> items)
- Specified by:
addAllToCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeFromCommand
public A removeFromCommand(String... items)
- Specified by:
removeFromCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeAllFromCommand
public A removeAllFromCommand(Collection<String> items)
- Specified by:
removeAllFromCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getCommand
public List<String> getCommand()
- Specified by:
getCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getCommand
public String getCommand(int index)
- Specified by:
getCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getFirstCommand
public String getFirstCommand()
- Specified by:
getFirstCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getLastCommand
public String getLastCommand()
- Specified by:
getLastCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getMatchingCommand
public String getMatchingCommand(Predicate<String> predicate)
- Specified by:
getMatchingCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasMatchingCommand
public Boolean hasMatchingCommand(Predicate<String> predicate)
- Specified by:
hasMatchingCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withCommand
public A withCommand(List<String> command)
- Specified by:
withCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withCommand
public A withCommand(String... command)
- Specified by:
withCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasCommand
public Boolean hasCommand()
- Specified by:
hasCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewCommand
public A addNewCommand(String arg1)
- Specified by:
addNewCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewCommand
public A addNewCommand(StringBuilder arg1)
- Specified by:
addNewCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewCommand
public A addNewCommand(StringBuffer arg1)
- Specified by:
addNewCommand
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToEnv
public A addToEnv(int index, EnvVar item)
- Specified by:
addToEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setToEnv
public A setToEnv(int index, EnvVar item)
- Specified by:
setToEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToEnv
public A addToEnv(EnvVar... items)
- Specified by:
addToEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addAllToEnv
public A addAllToEnv(Collection<EnvVar> items)
- Specified by:
addAllToEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeFromEnv
public A removeFromEnv(EnvVar... items)
- Specified by:
removeFromEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeAllFromEnv
public A removeAllFromEnv(Collection<EnvVar> items)
- Specified by:
removeAllFromEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeMatchingFromEnv
public A removeMatchingFromEnv(Predicate<EnvVarBuilder> predicate)
- Specified by:
removeMatchingFromEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getEnv
@Deprecated public List<EnvVar> getEnv()
Deprecated.This method has been deprecated, please use method buildEnv instead.- Specified by:
getEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildEnv
public List<EnvVar> buildEnv()
- Specified by:
buildEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildEnv
public EnvVar buildEnv(int index)
- Specified by:
buildEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildFirstEnv
public EnvVar buildFirstEnv()
- Specified by:
buildFirstEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildLastEnv
public EnvVar buildLastEnv()
- Specified by:
buildLastEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildMatchingEnv
public EnvVar buildMatchingEnv(Predicate<EnvVarBuilder> predicate)
- Specified by:
buildMatchingEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasMatchingEnv
public Boolean hasMatchingEnv(Predicate<EnvVarBuilder> predicate)
- Specified by:
hasMatchingEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withEnv
public A withEnv(List<EnvVar> env)
- Specified by:
withEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withEnv
public A withEnv(EnvVar... env)
- Specified by:
withEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasEnv
public Boolean hasEnv()
- Specified by:
hasEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewEnv
public ContainerFluent.EnvNested<A> addNewEnv()
- Specified by:
addNewEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewEnvLike
public ContainerFluent.EnvNested<A> addNewEnvLike(EnvVar item)
- Specified by:
addNewEnvLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setNewEnvLike
public ContainerFluent.EnvNested<A> setNewEnvLike(int index, EnvVar item)
- Specified by:
setNewEnvLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editEnv
public ContainerFluent.EnvNested<A> editEnv(int index)
- Specified by:
editEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editFirstEnv
public ContainerFluent.EnvNested<A> editFirstEnv()
- Specified by:
editFirstEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editLastEnv
public ContainerFluent.EnvNested<A> editLastEnv()
- Specified by:
editLastEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editMatchingEnv
public ContainerFluent.EnvNested<A> editMatchingEnv(Predicate<EnvVarBuilder> predicate)
- Specified by:
editMatchingEnv
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToEnvFrom
public A addToEnvFrom(int index, EnvFromSource item)
- Specified by:
addToEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setToEnvFrom
public A setToEnvFrom(int index, EnvFromSource item)
- Specified by:
setToEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToEnvFrom
public A addToEnvFrom(EnvFromSource... items)
- Specified by:
addToEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addAllToEnvFrom
public A addAllToEnvFrom(Collection<EnvFromSource> items)
- Specified by:
addAllToEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeFromEnvFrom
public A removeFromEnvFrom(EnvFromSource... items)
- Specified by:
removeFromEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeAllFromEnvFrom
public A removeAllFromEnvFrom(Collection<EnvFromSource> items)
- Specified by:
removeAllFromEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeMatchingFromEnvFrom
public A removeMatchingFromEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
- Specified by:
removeMatchingFromEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getEnvFrom
@Deprecated public List<EnvFromSource> getEnvFrom()
Deprecated.This method has been deprecated, please use method buildEnvFrom instead.- Specified by:
getEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildEnvFrom
public List<EnvFromSource> buildEnvFrom()
- Specified by:
buildEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildEnvFrom
public EnvFromSource buildEnvFrom(int index)
- Specified by:
buildEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildFirstEnvFrom
public EnvFromSource buildFirstEnvFrom()
- Specified by:
buildFirstEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildLastEnvFrom
public EnvFromSource buildLastEnvFrom()
- Specified by:
buildLastEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildMatchingEnvFrom
public EnvFromSource buildMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
- Specified by:
buildMatchingEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasMatchingEnvFrom
public Boolean hasMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
- Specified by:
hasMatchingEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withEnvFrom
public A withEnvFrom(List<EnvFromSource> envFrom)
- Specified by:
withEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withEnvFrom
public A withEnvFrom(EnvFromSource... envFrom)
- Specified by:
withEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasEnvFrom
public Boolean hasEnvFrom()
- Specified by:
hasEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewEnvFrom
public ContainerFluent.EnvFromNested<A> addNewEnvFrom()
- Specified by:
addNewEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewEnvFromLike
public ContainerFluent.EnvFromNested<A> addNewEnvFromLike(EnvFromSource item)
- Specified by:
addNewEnvFromLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setNewEnvFromLike
public ContainerFluent.EnvFromNested<A> setNewEnvFromLike(int index, EnvFromSource item)
- Specified by:
setNewEnvFromLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editEnvFrom
public ContainerFluent.EnvFromNested<A> editEnvFrom(int index)
- Specified by:
editEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editFirstEnvFrom
public ContainerFluent.EnvFromNested<A> editFirstEnvFrom()
- Specified by:
editFirstEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editLastEnvFrom
public ContainerFluent.EnvFromNested<A> editLastEnvFrom()
- Specified by:
editLastEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editMatchingEnvFrom
public ContainerFluent.EnvFromNested<A> editMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
- Specified by:
editMatchingEnvFrom
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getImage
public String getImage()
- Specified by:
getImage
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withImage
public A withImage(String image)
- Specified by:
withImage
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasImage
public Boolean hasImage()
- Specified by:
hasImage
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewImage
public A withNewImage(String arg1)
- Specified by:
withNewImage
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewImage
public A withNewImage(StringBuilder arg1)
- Specified by:
withNewImage
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewImage
public A withNewImage(StringBuffer arg1)
- Specified by:
withNewImage
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getImagePullPolicy
public String getImagePullPolicy()
- Specified by:
getImagePullPolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withImagePullPolicy
public A withImagePullPolicy(String imagePullPolicy)
- Specified by:
withImagePullPolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasImagePullPolicy
public Boolean hasImagePullPolicy()
- Specified by:
hasImagePullPolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewImagePullPolicy
public A withNewImagePullPolicy(String arg1)
- Specified by:
withNewImagePullPolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewImagePullPolicy
public A withNewImagePullPolicy(StringBuilder arg1)
- Specified by:
withNewImagePullPolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewImagePullPolicy
public A withNewImagePullPolicy(StringBuffer arg1)
- Specified by:
withNewImagePullPolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getLifecycle
@Deprecated public Lifecycle getLifecycle()
Deprecated.This method has been deprecated, please use method buildLifecycle instead.- Specified by:
getLifecycle
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildLifecycle
public Lifecycle buildLifecycle()
- Specified by:
buildLifecycle
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withLifecycle
public A withLifecycle(Lifecycle lifecycle)
- Specified by:
withLifecycle
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasLifecycle
public Boolean hasLifecycle()
- Specified by:
hasLifecycle
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewLifecycle
public ContainerFluent.LifecycleNested<A> withNewLifecycle()
- Specified by:
withNewLifecycle
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewLifecycleLike
public ContainerFluent.LifecycleNested<A> withNewLifecycleLike(Lifecycle item)
- Specified by:
withNewLifecycleLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editLifecycle
public ContainerFluent.LifecycleNested<A> editLifecycle()
- Specified by:
editLifecycle
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewLifecycle
public ContainerFluent.LifecycleNested<A> editOrNewLifecycle()
- Specified by:
editOrNewLifecycle
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewLifecycleLike
public ContainerFluent.LifecycleNested<A> editOrNewLifecycleLike(Lifecycle item)
- Specified by:
editOrNewLifecycleLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getLivenessProbe
@Deprecated public Probe getLivenessProbe()
Deprecated.This method has been deprecated, please use method buildLivenessProbe instead.- Specified by:
getLivenessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildLivenessProbe
public Probe buildLivenessProbe()
- Specified by:
buildLivenessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withLivenessProbe
public A withLivenessProbe(Probe livenessProbe)
- Specified by:
withLivenessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasLivenessProbe
public Boolean hasLivenessProbe()
- Specified by:
hasLivenessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewLivenessProbe
public ContainerFluent.LivenessProbeNested<A> withNewLivenessProbe()
- Specified by:
withNewLivenessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewLivenessProbeLike
public ContainerFluent.LivenessProbeNested<A> withNewLivenessProbeLike(Probe item)
- Specified by:
withNewLivenessProbeLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editLivenessProbe
public ContainerFluent.LivenessProbeNested<A> editLivenessProbe()
- Specified by:
editLivenessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewLivenessProbe
public ContainerFluent.LivenessProbeNested<A> editOrNewLivenessProbe()
- Specified by:
editOrNewLivenessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewLivenessProbeLike
public ContainerFluent.LivenessProbeNested<A> editOrNewLivenessProbeLike(Probe item)
- Specified by:
editOrNewLivenessProbeLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getName
public String getName()
- Specified by:
getName
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withName
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasName
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewName
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewName
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewName
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToPorts
public A addToPorts(int index, ContainerPort item)
- Specified by:
addToPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setToPorts
public A setToPorts(int index, ContainerPort item)
- Specified by:
setToPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToPorts
public A addToPorts(ContainerPort... items)
- Specified by:
addToPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addAllToPorts
public A addAllToPorts(Collection<ContainerPort> items)
- Specified by:
addAllToPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeFromPorts
public A removeFromPorts(ContainerPort... items)
- Specified by:
removeFromPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeAllFromPorts
public A removeAllFromPorts(Collection<ContainerPort> items)
- Specified by:
removeAllFromPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeMatchingFromPorts
public A removeMatchingFromPorts(Predicate<ContainerPortBuilder> predicate)
- Specified by:
removeMatchingFromPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getPorts
@Deprecated public List<ContainerPort> getPorts()
Deprecated.This method has been deprecated, please use method buildPorts instead.- Specified by:
getPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildPorts
public List<ContainerPort> buildPorts()
- Specified by:
buildPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildPort
public ContainerPort buildPort(int index)
- Specified by:
buildPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildFirstPort
public ContainerPort buildFirstPort()
- Specified by:
buildFirstPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildLastPort
public ContainerPort buildLastPort()
- Specified by:
buildLastPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildMatchingPort
public ContainerPort buildMatchingPort(Predicate<ContainerPortBuilder> predicate)
- Specified by:
buildMatchingPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasMatchingPort
public Boolean hasMatchingPort(Predicate<ContainerPortBuilder> predicate)
- Specified by:
hasMatchingPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withPorts
public A withPorts(List<ContainerPort> ports)
- Specified by:
withPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withPorts
public A withPorts(ContainerPort... ports)
- Specified by:
withPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasPorts
public Boolean hasPorts()
- Specified by:
hasPorts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewPort
public A addNewPort(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol)
- Specified by:
addNewPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewPort
public ContainerFluent.PortsNested<A> addNewPort()
- Specified by:
addNewPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewPortLike
public ContainerFluent.PortsNested<A> addNewPortLike(ContainerPort item)
- Specified by:
addNewPortLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setNewPortLike
public ContainerFluent.PortsNested<A> setNewPortLike(int index, ContainerPort item)
- Specified by:
setNewPortLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editPort
public ContainerFluent.PortsNested<A> editPort(int index)
- Specified by:
editPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editFirstPort
public ContainerFluent.PortsNested<A> editFirstPort()
- Specified by:
editFirstPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editLastPort
public ContainerFluent.PortsNested<A> editLastPort()
- Specified by:
editLastPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editMatchingPort
public ContainerFluent.PortsNested<A> editMatchingPort(Predicate<ContainerPortBuilder> predicate)
- Specified by:
editMatchingPort
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getReadinessProbe
@Deprecated public Probe getReadinessProbe()
Deprecated.This method has been deprecated, please use method buildReadinessProbe instead.- Specified by:
getReadinessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildReadinessProbe
public Probe buildReadinessProbe()
- Specified by:
buildReadinessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withReadinessProbe
public A withReadinessProbe(Probe readinessProbe)
- Specified by:
withReadinessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasReadinessProbe
public Boolean hasReadinessProbe()
- Specified by:
hasReadinessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewReadinessProbe
public ContainerFluent.ReadinessProbeNested<A> withNewReadinessProbe()
- Specified by:
withNewReadinessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewReadinessProbeLike
public ContainerFluent.ReadinessProbeNested<A> withNewReadinessProbeLike(Probe item)
- Specified by:
withNewReadinessProbeLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editReadinessProbe
public ContainerFluent.ReadinessProbeNested<A> editReadinessProbe()
- Specified by:
editReadinessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewReadinessProbe
public ContainerFluent.ReadinessProbeNested<A> editOrNewReadinessProbe()
- Specified by:
editOrNewReadinessProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewReadinessProbeLike
public ContainerFluent.ReadinessProbeNested<A> editOrNewReadinessProbeLike(Probe item)
- Specified by:
editOrNewReadinessProbeLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getResources
@Deprecated public ResourceRequirements getResources()
Deprecated.This method has been deprecated, please use method buildResources instead.- Specified by:
getResources
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildResources
public ResourceRequirements buildResources()
- Specified by:
buildResources
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withResources
public A withResources(ResourceRequirements resources)
- Specified by:
withResources
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasResources
public Boolean hasResources()
- Specified by:
hasResources
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewResources
public ContainerFluent.ResourcesNested<A> withNewResources()
- Specified by:
withNewResources
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewResourcesLike
public ContainerFluent.ResourcesNested<A> withNewResourcesLike(ResourceRequirements item)
- Specified by:
withNewResourcesLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editResources
public ContainerFluent.ResourcesNested<A> editResources()
- Specified by:
editResources
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewResources
public ContainerFluent.ResourcesNested<A> editOrNewResources()
- Specified by:
editOrNewResources
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewResourcesLike
public ContainerFluent.ResourcesNested<A> editOrNewResourcesLike(ResourceRequirements item)
- Specified by:
editOrNewResourcesLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getSecurityContext
@Deprecated public SecurityContext getSecurityContext()
Deprecated.This method has been deprecated, please use method buildSecurityContext instead.- Specified by:
getSecurityContext
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildSecurityContext
public SecurityContext buildSecurityContext()
- Specified by:
buildSecurityContext
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withSecurityContext
public A withSecurityContext(SecurityContext securityContext)
- Specified by:
withSecurityContext
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasSecurityContext
public Boolean hasSecurityContext()
- Specified by:
hasSecurityContext
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewSecurityContext
public ContainerFluent.SecurityContextNested<A> withNewSecurityContext()
- Specified by:
withNewSecurityContext
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewSecurityContextLike
public ContainerFluent.SecurityContextNested<A> withNewSecurityContextLike(SecurityContext item)
- Specified by:
withNewSecurityContextLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editSecurityContext
public ContainerFluent.SecurityContextNested<A> editSecurityContext()
- Specified by:
editSecurityContext
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewSecurityContext
public ContainerFluent.SecurityContextNested<A> editOrNewSecurityContext()
- Specified by:
editOrNewSecurityContext
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewSecurityContextLike
public ContainerFluent.SecurityContextNested<A> editOrNewSecurityContextLike(SecurityContext item)
- Specified by:
editOrNewSecurityContextLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getStartupProbe
@Deprecated public Probe getStartupProbe()
Deprecated.This method has been deprecated, please use method buildStartupProbe instead.- Specified by:
getStartupProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildStartupProbe
public Probe buildStartupProbe()
- Specified by:
buildStartupProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withStartupProbe
public A withStartupProbe(Probe startupProbe)
- Specified by:
withStartupProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasStartupProbe
public Boolean hasStartupProbe()
- Specified by:
hasStartupProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewStartupProbe
public ContainerFluent.StartupProbeNested<A> withNewStartupProbe()
- Specified by:
withNewStartupProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewStartupProbeLike
public ContainerFluent.StartupProbeNested<A> withNewStartupProbeLike(Probe item)
- Specified by:
withNewStartupProbeLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editStartupProbe
public ContainerFluent.StartupProbeNested<A> editStartupProbe()
- Specified by:
editStartupProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewStartupProbe
public ContainerFluent.StartupProbeNested<A> editOrNewStartupProbe()
- Specified by:
editOrNewStartupProbe
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editOrNewStartupProbeLike
public ContainerFluent.StartupProbeNested<A> editOrNewStartupProbeLike(Probe item)
- Specified by:
editOrNewStartupProbeLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
isStdin
public Boolean isStdin()
- Specified by:
isStdin
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withStdin
public A withStdin(Boolean stdin)
- Specified by:
withStdin
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasStdin
public Boolean hasStdin()
- Specified by:
hasStdin
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewStdin
public A withNewStdin(String arg1)
- Specified by:
withNewStdin
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewStdin
public A withNewStdin(boolean arg1)
- Specified by:
withNewStdin
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
isStdinOnce
public Boolean isStdinOnce()
- Specified by:
isStdinOnce
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withStdinOnce
public A withStdinOnce(Boolean stdinOnce)
- Specified by:
withStdinOnce
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasStdinOnce
public Boolean hasStdinOnce()
- Specified by:
hasStdinOnce
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewStdinOnce
public A withNewStdinOnce(String arg1)
- Specified by:
withNewStdinOnce
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewStdinOnce
public A withNewStdinOnce(boolean arg1)
- Specified by:
withNewStdinOnce
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getTerminationMessagePath
public String getTerminationMessagePath()
- Specified by:
getTerminationMessagePath
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withTerminationMessagePath
public A withTerminationMessagePath(String terminationMessagePath)
- Specified by:
withTerminationMessagePath
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasTerminationMessagePath
public Boolean hasTerminationMessagePath()
- Specified by:
hasTerminationMessagePath
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTerminationMessagePath
public A withNewTerminationMessagePath(String arg1)
- Specified by:
withNewTerminationMessagePath
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTerminationMessagePath
public A withNewTerminationMessagePath(StringBuilder arg1)
- Specified by:
withNewTerminationMessagePath
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTerminationMessagePath
public A withNewTerminationMessagePath(StringBuffer arg1)
- Specified by:
withNewTerminationMessagePath
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getTerminationMessagePolicy
public String getTerminationMessagePolicy()
- Specified by:
getTerminationMessagePolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withTerminationMessagePolicy
public A withTerminationMessagePolicy(String terminationMessagePolicy)
- Specified by:
withTerminationMessagePolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasTerminationMessagePolicy
public Boolean hasTerminationMessagePolicy()
- Specified by:
hasTerminationMessagePolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTerminationMessagePolicy
public A withNewTerminationMessagePolicy(String arg1)
- Specified by:
withNewTerminationMessagePolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTerminationMessagePolicy
public A withNewTerminationMessagePolicy(StringBuilder arg1)
- Specified by:
withNewTerminationMessagePolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTerminationMessagePolicy
public A withNewTerminationMessagePolicy(StringBuffer arg1)
- Specified by:
withNewTerminationMessagePolicy
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
isTty
public Boolean isTty()
- Specified by:
isTty
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withTty
public A withTty(Boolean tty)
- Specified by:
withTty
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasTty
public Boolean hasTty()
- Specified by:
hasTty
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTty
public A withNewTty(String arg1)
- Specified by:
withNewTty
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewTty
public A withNewTty(boolean arg1)
- Specified by:
withNewTty
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToVolumeDevices
public A addToVolumeDevices(int index, VolumeDevice item)
- Specified by:
addToVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setToVolumeDevices
public A setToVolumeDevices(int index, VolumeDevice item)
- Specified by:
setToVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToVolumeDevices
public A addToVolumeDevices(VolumeDevice... items)
- Specified by:
addToVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addAllToVolumeDevices
public A addAllToVolumeDevices(Collection<VolumeDevice> items)
- Specified by:
addAllToVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeFromVolumeDevices
public A removeFromVolumeDevices(VolumeDevice... items)
- Specified by:
removeFromVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeAllFromVolumeDevices
public A removeAllFromVolumeDevices(Collection<VolumeDevice> items)
- Specified by:
removeAllFromVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeMatchingFromVolumeDevices
public A removeMatchingFromVolumeDevices(Predicate<VolumeDeviceBuilder> predicate)
- Specified by:
removeMatchingFromVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getVolumeDevices
@Deprecated public List<VolumeDevice> getVolumeDevices()
Deprecated.This method has been deprecated, please use method buildVolumeDevices instead.- Specified by:
getVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildVolumeDevices
public List<VolumeDevice> buildVolumeDevices()
- Specified by:
buildVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildVolumeDevice
public VolumeDevice buildVolumeDevice(int index)
- Specified by:
buildVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildFirstVolumeDevice
public VolumeDevice buildFirstVolumeDevice()
- Specified by:
buildFirstVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildLastVolumeDevice
public VolumeDevice buildLastVolumeDevice()
- Specified by:
buildLastVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildMatchingVolumeDevice
public VolumeDevice buildMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
- Specified by:
buildMatchingVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasMatchingVolumeDevice
public Boolean hasMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
- Specified by:
hasMatchingVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withVolumeDevices
public A withVolumeDevices(List<VolumeDevice> volumeDevices)
- Specified by:
withVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withVolumeDevices
public A withVolumeDevices(VolumeDevice... volumeDevices)
- Specified by:
withVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasVolumeDevices
public Boolean hasVolumeDevices()
- Specified by:
hasVolumeDevices
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewVolumeDevice
public A addNewVolumeDevice(String devicePath, String name)
- Specified by:
addNewVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewVolumeDevice
public ContainerFluent.VolumeDevicesNested<A> addNewVolumeDevice()
- Specified by:
addNewVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewVolumeDeviceLike
public ContainerFluent.VolumeDevicesNested<A> addNewVolumeDeviceLike(VolumeDevice item)
- Specified by:
addNewVolumeDeviceLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setNewVolumeDeviceLike
public ContainerFluent.VolumeDevicesNested<A> setNewVolumeDeviceLike(int index, VolumeDevice item)
- Specified by:
setNewVolumeDeviceLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editVolumeDevice
public ContainerFluent.VolumeDevicesNested<A> editVolumeDevice(int index)
- Specified by:
editVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editFirstVolumeDevice
public ContainerFluent.VolumeDevicesNested<A> editFirstVolumeDevice()
- Specified by:
editFirstVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editLastVolumeDevice
public ContainerFluent.VolumeDevicesNested<A> editLastVolumeDevice()
- Specified by:
editLastVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editMatchingVolumeDevice
public ContainerFluent.VolumeDevicesNested<A> editMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
- Specified by:
editMatchingVolumeDevice
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToVolumeMounts
public A addToVolumeMounts(int index, VolumeMount item)
- Specified by:
addToVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setToVolumeMounts
public A setToVolumeMounts(int index, VolumeMount item)
- Specified by:
setToVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addToVolumeMounts
public A addToVolumeMounts(VolumeMount... items)
- Specified by:
addToVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addAllToVolumeMounts
public A addAllToVolumeMounts(Collection<VolumeMount> items)
- Specified by:
addAllToVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeFromVolumeMounts
public A removeFromVolumeMounts(VolumeMount... items)
- Specified by:
removeFromVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeAllFromVolumeMounts
public A removeAllFromVolumeMounts(Collection<VolumeMount> items)
- Specified by:
removeAllFromVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
removeMatchingFromVolumeMounts
public A removeMatchingFromVolumeMounts(Predicate<VolumeMountBuilder> predicate)
- Specified by:
removeMatchingFromVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getVolumeMounts
@Deprecated public List<VolumeMount> getVolumeMounts()
Deprecated.This method has been deprecated, please use method buildVolumeMounts instead.- Specified by:
getVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
- Returns:
- The buildable object.
-
buildVolumeMounts
public List<VolumeMount> buildVolumeMounts()
- Specified by:
buildVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildVolumeMount
public VolumeMount buildVolumeMount(int index)
- Specified by:
buildVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildFirstVolumeMount
public VolumeMount buildFirstVolumeMount()
- Specified by:
buildFirstVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildLastVolumeMount
public VolumeMount buildLastVolumeMount()
- Specified by:
buildLastVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
buildMatchingVolumeMount
public VolumeMount buildMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
- Specified by:
buildMatchingVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasMatchingVolumeMount
public Boolean hasMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
- Specified by:
hasMatchingVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withVolumeMounts
public A withVolumeMounts(List<VolumeMount> volumeMounts)
- Specified by:
withVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withVolumeMounts
public A withVolumeMounts(VolumeMount... volumeMounts)
- Specified by:
withVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasVolumeMounts
public Boolean hasVolumeMounts()
- Specified by:
hasVolumeMounts
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewVolumeMount
public ContainerFluent.VolumeMountsNested<A> addNewVolumeMount()
- Specified by:
addNewVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
addNewVolumeMountLike
public ContainerFluent.VolumeMountsNested<A> addNewVolumeMountLike(VolumeMount item)
- Specified by:
addNewVolumeMountLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
setNewVolumeMountLike
public ContainerFluent.VolumeMountsNested<A> setNewVolumeMountLike(int index, VolumeMount item)
- Specified by:
setNewVolumeMountLike
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editVolumeMount
public ContainerFluent.VolumeMountsNested<A> editVolumeMount(int index)
- Specified by:
editVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editFirstVolumeMount
public ContainerFluent.VolumeMountsNested<A> editFirstVolumeMount()
- Specified by:
editFirstVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editLastVolumeMount
public ContainerFluent.VolumeMountsNested<A> editLastVolumeMount()
- Specified by:
editLastVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
editMatchingVolumeMount
public ContainerFluent.VolumeMountsNested<A> editMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
- Specified by:
editMatchingVolumeMount
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
getWorkingDir
public String getWorkingDir()
- Specified by:
getWorkingDir
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withWorkingDir
public A withWorkingDir(String workingDir)
- Specified by:
withWorkingDir
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
hasWorkingDir
public Boolean hasWorkingDir()
- Specified by:
hasWorkingDir
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewWorkingDir
public A withNewWorkingDir(String arg1)
- Specified by:
withNewWorkingDir
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewWorkingDir
public A withNewWorkingDir(StringBuilder arg1)
- Specified by:
withNewWorkingDir
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
withNewWorkingDir
public A withNewWorkingDir(StringBuffer arg1)
- Specified by:
withNewWorkingDir
in interfaceContainerFluent<A extends ContainerFluent<A>>
-
-