Package io.fabric8.kubernetes.api.model
Interface ContainerFluent<A extends ContainerFluent<A>>
- All Superinterfaces:
Fluent<A>
- All Known Subinterfaces:
PodSpecFluent.ContainersNested<N>
,PodSpecFluent.InitContainersNested<N>
,WatchEventFluent.ContainerObjectNested<N>
- All Known Implementing Classes:
ContainerBuilder
,ContainerFluentImpl
,DoneableContainer
,PodSpecFluentImpl.ContainersNestedImpl
,PodSpecFluentImpl.InitContainersNestedImpl
,WatchEventFluentImpl.ContainerObjectNestedImpl
public interface ContainerFluent<A extends ContainerFluent<A>> extends Fluent<A>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ContainerFluent.EnvFromNested<N>
static interface
ContainerFluent.EnvNested<N>
static interface
ContainerFluent.LifecycleNested<N>
static interface
ContainerFluent.LivenessProbeNested<N>
static interface
ContainerFluent.PortsNested<N>
static interface
ContainerFluent.ReadinessProbeNested<N>
static interface
ContainerFluent.ResourcesNested<N>
static interface
ContainerFluent.SecurityContextNested<N>
static interface
ContainerFluent.StartupProbeNested<N>
static interface
ContainerFluent.VolumeDevicesNested<N>
static interface
ContainerFluent.VolumeMountsNested<N>
-
Method Summary
-
Method Details
-
addToArgs
-
setToArgs
-
addToArgs
-
addAllToArgs
-
removeFromArgs
-
removeAllFromArgs
-
getArgs
-
getArg
-
getFirstArg
String getFirstArg() -
getLastArg
String getLastArg() -
getMatchingArg
-
hasMatchingArg
-
withArgs
-
withArgs
-
hasArgs
Boolean hasArgs() -
addNewArg
-
addNewArg
-
addNewArg
-
addToCommand
-
setToCommand
-
addToCommand
-
addAllToCommand
-
removeFromCommand
-
removeAllFromCommand
-
getCommand
-
getCommand
-
getFirstCommand
String getFirstCommand() -
getLastCommand
String getLastCommand() -
getMatchingCommand
-
hasMatchingCommand
-
withCommand
-
withCommand
-
hasCommand
Boolean hasCommand() -
addNewCommand
-
addNewCommand
-
addNewCommand
-
addToEnv
-
setToEnv
-
addToEnv
-
addAllToEnv
-
removeFromEnv
-
removeAllFromEnv
-
removeMatchingFromEnv
-
getEnv
Deprecated.This method has been deprecated, please use method buildEnv instead.- Returns:
- The buildable object.
-
buildEnv
-
buildEnv
-
buildFirstEnv
EnvVar buildFirstEnv() -
buildLastEnv
EnvVar buildLastEnv() -
buildMatchingEnv
-
hasMatchingEnv
-
withEnv
-
withEnv
-
hasEnv
Boolean hasEnv() -
addNewEnv
ContainerFluent.EnvNested<A> addNewEnv() -
addNewEnvLike
-
setNewEnvLike
-
editEnv
-
editFirstEnv
ContainerFluent.EnvNested<A> editFirstEnv() -
editLastEnv
ContainerFluent.EnvNested<A> editLastEnv() -
editMatchingEnv
-
addToEnvFrom
-
setToEnvFrom
-
addToEnvFrom
-
addAllToEnvFrom
-
removeFromEnvFrom
-
removeAllFromEnvFrom
-
removeMatchingFromEnvFrom
-
getEnvFrom
Deprecated.This method has been deprecated, please use method buildEnvFrom instead.- Returns:
- The buildable object.
-
buildEnvFrom
List<EnvFromSource> buildEnvFrom() -
buildEnvFrom
-
buildFirstEnvFrom
EnvFromSource buildFirstEnvFrom() -
buildLastEnvFrom
EnvFromSource buildLastEnvFrom() -
buildMatchingEnvFrom
-
hasMatchingEnvFrom
-
withEnvFrom
-
withEnvFrom
-
hasEnvFrom
Boolean hasEnvFrom() -
addNewEnvFrom
ContainerFluent.EnvFromNested<A> addNewEnvFrom() -
addNewEnvFromLike
-
setNewEnvFromLike
-
editEnvFrom
-
editFirstEnvFrom
ContainerFluent.EnvFromNested<A> editFirstEnvFrom() -
editLastEnvFrom
ContainerFluent.EnvFromNested<A> editLastEnvFrom() -
editMatchingEnvFrom
-
getImage
String getImage() -
withImage
-
hasImage
Boolean hasImage() -
withNewImage
-
withNewImage
-
withNewImage
-
getImagePullPolicy
String getImagePullPolicy() -
withImagePullPolicy
-
hasImagePullPolicy
Boolean hasImagePullPolicy() -
withNewImagePullPolicy
-
withNewImagePullPolicy
-
withNewImagePullPolicy
-
getLifecycle
Deprecated.This method has been deprecated, please use method buildLifecycle instead.- Returns:
- The buildable object.
-
buildLifecycle
Lifecycle buildLifecycle() -
withLifecycle
-
hasLifecycle
Boolean hasLifecycle() -
withNewLifecycle
ContainerFluent.LifecycleNested<A> withNewLifecycle() -
withNewLifecycleLike
-
editLifecycle
ContainerFluent.LifecycleNested<A> editLifecycle() -
editOrNewLifecycle
ContainerFluent.LifecycleNested<A> editOrNewLifecycle() -
editOrNewLifecycleLike
-
getLivenessProbe
Deprecated.This method has been deprecated, please use method buildLivenessProbe instead.- Returns:
- The buildable object.
-
buildLivenessProbe
Probe buildLivenessProbe() -
withLivenessProbe
-
hasLivenessProbe
Boolean hasLivenessProbe() -
withNewLivenessProbe
ContainerFluent.LivenessProbeNested<A> withNewLivenessProbe() -
withNewLivenessProbeLike
-
editLivenessProbe
ContainerFluent.LivenessProbeNested<A> editLivenessProbe() -
editOrNewLivenessProbe
ContainerFluent.LivenessProbeNested<A> editOrNewLivenessProbe() -
editOrNewLivenessProbeLike
-
getName
String getName() -
withName
-
hasName
Boolean hasName() -
withNewName
-
withNewName
-
withNewName
-
addToPorts
-
setToPorts
-
addToPorts
-
addAllToPorts
-
removeFromPorts
-
removeAllFromPorts
-
removeMatchingFromPorts
-
getPorts
Deprecated.This method has been deprecated, please use method buildPorts instead.- Returns:
- The buildable object.
-
buildPorts
List<ContainerPort> buildPorts() -
buildPort
-
buildFirstPort
ContainerPort buildFirstPort() -
buildLastPort
ContainerPort buildLastPort() -
buildMatchingPort
-
hasMatchingPort
-
withPorts
-
withPorts
-
hasPorts
Boolean hasPorts() -
addNewPort
-
addNewPort
ContainerFluent.PortsNested<A> addNewPort() -
addNewPortLike
-
setNewPortLike
-
editPort
-
editFirstPort
ContainerFluent.PortsNested<A> editFirstPort() -
editLastPort
ContainerFluent.PortsNested<A> editLastPort() -
editMatchingPort
-
getReadinessProbe
Deprecated.This method has been deprecated, please use method buildReadinessProbe instead.- Returns:
- The buildable object.
-
buildReadinessProbe
Probe buildReadinessProbe() -
withReadinessProbe
-
hasReadinessProbe
Boolean hasReadinessProbe() -
withNewReadinessProbe
ContainerFluent.ReadinessProbeNested<A> withNewReadinessProbe() -
withNewReadinessProbeLike
-
editReadinessProbe
ContainerFluent.ReadinessProbeNested<A> editReadinessProbe() -
editOrNewReadinessProbe
ContainerFluent.ReadinessProbeNested<A> editOrNewReadinessProbe() -
editOrNewReadinessProbeLike
-
getResources
Deprecated.This method has been deprecated, please use method buildResources instead.- Returns:
- The buildable object.
-
buildResources
ResourceRequirements buildResources() -
withResources
-
hasResources
Boolean hasResources() -
withNewResources
ContainerFluent.ResourcesNested<A> withNewResources() -
withNewResourcesLike
-
editResources
ContainerFluent.ResourcesNested<A> editResources() -
editOrNewResources
ContainerFluent.ResourcesNested<A> editOrNewResources() -
editOrNewResourcesLike
-
getSecurityContext
Deprecated.This method has been deprecated, please use method buildSecurityContext instead.- Returns:
- The buildable object.
-
buildSecurityContext
SecurityContext buildSecurityContext() -
withSecurityContext
-
hasSecurityContext
Boolean hasSecurityContext() -
withNewSecurityContext
ContainerFluent.SecurityContextNested<A> withNewSecurityContext() -
withNewSecurityContextLike
-
editSecurityContext
ContainerFluent.SecurityContextNested<A> editSecurityContext() -
editOrNewSecurityContext
ContainerFluent.SecurityContextNested<A> editOrNewSecurityContext() -
editOrNewSecurityContextLike
-
getStartupProbe
Deprecated.This method has been deprecated, please use method buildStartupProbe instead.- Returns:
- The buildable object.
-
buildStartupProbe
Probe buildStartupProbe() -
withStartupProbe
-
hasStartupProbe
Boolean hasStartupProbe() -
withNewStartupProbe
ContainerFluent.StartupProbeNested<A> withNewStartupProbe() -
withNewStartupProbeLike
-
editStartupProbe
ContainerFluent.StartupProbeNested<A> editStartupProbe() -
editOrNewStartupProbe
ContainerFluent.StartupProbeNested<A> editOrNewStartupProbe() -
editOrNewStartupProbeLike
-
isStdin
Boolean isStdin() -
withStdin
-
hasStdin
Boolean hasStdin() -
withNewStdin
-
withNewStdin
-
isStdinOnce
Boolean isStdinOnce() -
withStdinOnce
-
hasStdinOnce
Boolean hasStdinOnce() -
withNewStdinOnce
-
withNewStdinOnce
-
getTerminationMessagePath
String getTerminationMessagePath() -
withTerminationMessagePath
-
hasTerminationMessagePath
Boolean hasTerminationMessagePath() -
withNewTerminationMessagePath
-
withNewTerminationMessagePath
-
withNewTerminationMessagePath
-
getTerminationMessagePolicy
String getTerminationMessagePolicy() -
withTerminationMessagePolicy
-
hasTerminationMessagePolicy
Boolean hasTerminationMessagePolicy() -
withNewTerminationMessagePolicy
-
withNewTerminationMessagePolicy
-
withNewTerminationMessagePolicy
-
isTty
Boolean isTty() -
withTty
-
hasTty
Boolean hasTty() -
withNewTty
-
withNewTty
-
addToVolumeDevices
-
setToVolumeDevices
-
addToVolumeDevices
-
addAllToVolumeDevices
-
removeFromVolumeDevices
-
removeAllFromVolumeDevices
-
removeMatchingFromVolumeDevices
-
getVolumeDevices
Deprecated.This method has been deprecated, please use method buildVolumeDevices instead.- Returns:
- The buildable object.
-
buildVolumeDevices
List<VolumeDevice> buildVolumeDevices() -
buildVolumeDevice
-
buildFirstVolumeDevice
VolumeDevice buildFirstVolumeDevice() -
buildLastVolumeDevice
VolumeDevice buildLastVolumeDevice() -
buildMatchingVolumeDevice
-
hasMatchingVolumeDevice
-
withVolumeDevices
-
withVolumeDevices
-
hasVolumeDevices
Boolean hasVolumeDevices() -
addNewVolumeDevice
-
addNewVolumeDevice
ContainerFluent.VolumeDevicesNested<A> addNewVolumeDevice() -
addNewVolumeDeviceLike
-
setNewVolumeDeviceLike
-
editVolumeDevice
-
editFirstVolumeDevice
ContainerFluent.VolumeDevicesNested<A> editFirstVolumeDevice() -
editLastVolumeDevice
ContainerFluent.VolumeDevicesNested<A> editLastVolumeDevice() -
editMatchingVolumeDevice
ContainerFluent.VolumeDevicesNested<A> editMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate) -
addToVolumeMounts
-
setToVolumeMounts
-
addToVolumeMounts
-
addAllToVolumeMounts
-
removeFromVolumeMounts
-
removeAllFromVolumeMounts
-
removeMatchingFromVolumeMounts
-
getVolumeMounts
Deprecated.This method has been deprecated, please use method buildVolumeMounts instead.- Returns:
- The buildable object.
-
buildVolumeMounts
List<VolumeMount> buildVolumeMounts() -
buildVolumeMount
-
buildFirstVolumeMount
VolumeMount buildFirstVolumeMount() -
buildLastVolumeMount
VolumeMount buildLastVolumeMount() -
buildMatchingVolumeMount
-
hasMatchingVolumeMount
-
withVolumeMounts
-
withVolumeMounts
-
hasVolumeMounts
Boolean hasVolumeMounts() -
addNewVolumeMount
ContainerFluent.VolumeMountsNested<A> addNewVolumeMount() -
addNewVolumeMountLike
-
setNewVolumeMountLike
-
editVolumeMount
-
editFirstVolumeMount
ContainerFluent.VolumeMountsNested<A> editFirstVolumeMount() -
editLastVolumeMount
ContainerFluent.VolumeMountsNested<A> editLastVolumeMount() -
editMatchingVolumeMount
ContainerFluent.VolumeMountsNested<A> editMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate) -
getWorkingDir
String getWorkingDir() -
withWorkingDir
-
hasWorkingDir
Boolean hasWorkingDir() -
withNewWorkingDir
-
withNewWorkingDir
-
withNewWorkingDir
-