public interface ContainerFluent<A extends ContainerFluent<A>> extends Fluent<A>
Modifier and Type | Interface and 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.VolumeDevicesNested<N> |
static interface |
ContainerFluent.VolumeMountsNested<N> |
A addAllToArgs(Collection<String> items)
A removeAllFromArgs(Collection<String> items)
String getArg(int index)
String getFirstArg()
String getLastArg()
Boolean hasArgs()
A addAllToCommand(Collection<String> items)
A removeAllFromCommand(Collection<String> items)
String getCommand(int index)
String getFirstCommand()
String getLastCommand()
Boolean hasCommand()
A addAllToEnv(Collection<EnvVar> items)
A removeAllFromEnv(Collection<EnvVar> items)
@Deprecated List<EnvVar> getEnv()
EnvVar buildEnv(int index)
EnvVar buildFirstEnv()
EnvVar buildLastEnv()
EnvVar buildMatchingEnv(Predicate<EnvVarBuilder> predicate)
Boolean hasEnv()
ContainerFluent.EnvNested<A> addNewEnv()
ContainerFluent.EnvNested<A> addNewEnvLike(EnvVar item)
ContainerFluent.EnvNested<A> setNewEnvLike(int index, EnvVar item)
ContainerFluent.EnvNested<A> editEnv(int index)
ContainerFluent.EnvNested<A> editFirstEnv()
ContainerFluent.EnvNested<A> editLastEnv()
ContainerFluent.EnvNested<A> editMatchingEnv(Predicate<EnvVarBuilder> predicate)
A addToEnvFrom(int index, EnvFromSource item)
A setToEnvFrom(int index, EnvFromSource item)
A addToEnvFrom(EnvFromSource... items)
A addAllToEnvFrom(Collection<EnvFromSource> items)
A removeFromEnvFrom(EnvFromSource... items)
A removeAllFromEnvFrom(Collection<EnvFromSource> items)
@Deprecated List<EnvFromSource> getEnvFrom()
List<EnvFromSource> buildEnvFrom()
EnvFromSource buildEnvFrom(int index)
EnvFromSource buildFirstEnvFrom()
EnvFromSource buildLastEnvFrom()
EnvFromSource buildMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
A withEnvFrom(List<EnvFromSource> envFrom)
A withEnvFrom(EnvFromSource... envFrom)
Boolean hasEnvFrom()
ContainerFluent.EnvFromNested<A> addNewEnvFrom()
ContainerFluent.EnvFromNested<A> addNewEnvFromLike(EnvFromSource item)
ContainerFluent.EnvFromNested<A> setNewEnvFromLike(int index, EnvFromSource item)
ContainerFluent.EnvFromNested<A> editEnvFrom(int index)
ContainerFluent.EnvFromNested<A> editFirstEnvFrom()
ContainerFluent.EnvFromNested<A> editLastEnvFrom()
ContainerFluent.EnvFromNested<A> editMatchingEnvFrom(Predicate<EnvFromSourceBuilder> predicate)
String getImage()
Boolean hasImage()
String getImagePullPolicy()
Boolean hasImagePullPolicy()
@Deprecated Lifecycle getLifecycle()
Lifecycle buildLifecycle()
Boolean hasLifecycle()
ContainerFluent.LifecycleNested<A> withNewLifecycle()
ContainerFluent.LifecycleNested<A> withNewLifecycleLike(Lifecycle item)
ContainerFluent.LifecycleNested<A> editLifecycle()
ContainerFluent.LifecycleNested<A> editOrNewLifecycle()
ContainerFluent.LifecycleNested<A> editOrNewLifecycleLike(Lifecycle item)
@Deprecated Probe getLivenessProbe()
Probe buildLivenessProbe()
Boolean hasLivenessProbe()
ContainerFluent.LivenessProbeNested<A> withNewLivenessProbe()
ContainerFluent.LivenessProbeNested<A> withNewLivenessProbeLike(Probe item)
ContainerFluent.LivenessProbeNested<A> editLivenessProbe()
ContainerFluent.LivenessProbeNested<A> editOrNewLivenessProbe()
ContainerFluent.LivenessProbeNested<A> editOrNewLivenessProbeLike(Probe item)
String getName()
Boolean hasName()
A addToPorts(int index, ContainerPort item)
A setToPorts(int index, ContainerPort item)
A addToPorts(ContainerPort... items)
A addAllToPorts(Collection<ContainerPort> items)
A removeFromPorts(ContainerPort... items)
A removeAllFromPorts(Collection<ContainerPort> items)
@Deprecated List<ContainerPort> getPorts()
List<ContainerPort> buildPorts()
ContainerPort buildPort(int index)
ContainerPort buildFirstPort()
ContainerPort buildLastPort()
ContainerPort buildMatchingPort(Predicate<ContainerPortBuilder> predicate)
A withPorts(List<ContainerPort> ports)
A withPorts(ContainerPort... ports)
Boolean hasPorts()
A addNewPort(Integer containerPort, String hostIP, Integer hostPort, String name, String protocol)
ContainerFluent.PortsNested<A> addNewPort()
ContainerFluent.PortsNested<A> addNewPortLike(ContainerPort item)
ContainerFluent.PortsNested<A> setNewPortLike(int index, ContainerPort item)
ContainerFluent.PortsNested<A> editPort(int index)
ContainerFluent.PortsNested<A> editFirstPort()
ContainerFluent.PortsNested<A> editLastPort()
ContainerFluent.PortsNested<A> editMatchingPort(Predicate<ContainerPortBuilder> predicate)
@Deprecated Probe getReadinessProbe()
Probe buildReadinessProbe()
Boolean hasReadinessProbe()
ContainerFluent.ReadinessProbeNested<A> withNewReadinessProbe()
ContainerFluent.ReadinessProbeNested<A> withNewReadinessProbeLike(Probe item)
ContainerFluent.ReadinessProbeNested<A> editReadinessProbe()
ContainerFluent.ReadinessProbeNested<A> editOrNewReadinessProbe()
ContainerFluent.ReadinessProbeNested<A> editOrNewReadinessProbeLike(Probe item)
@Deprecated ResourceRequirements getResources()
ResourceRequirements buildResources()
A withResources(ResourceRequirements resources)
Boolean hasResources()
ContainerFluent.ResourcesNested<A> withNewResources()
ContainerFluent.ResourcesNested<A> withNewResourcesLike(ResourceRequirements item)
ContainerFluent.ResourcesNested<A> editResources()
ContainerFluent.ResourcesNested<A> editOrNewResources()
ContainerFluent.ResourcesNested<A> editOrNewResourcesLike(ResourceRequirements item)
@Deprecated SecurityContext getSecurityContext()
SecurityContext buildSecurityContext()
A withSecurityContext(SecurityContext securityContext)
Boolean hasSecurityContext()
ContainerFluent.SecurityContextNested<A> withNewSecurityContext()
ContainerFluent.SecurityContextNested<A> withNewSecurityContextLike(SecurityContext item)
ContainerFluent.SecurityContextNested<A> editSecurityContext()
ContainerFluent.SecurityContextNested<A> editOrNewSecurityContext()
ContainerFluent.SecurityContextNested<A> editOrNewSecurityContextLike(SecurityContext item)
Boolean isStdin()
Boolean hasStdin()
Boolean isStdinOnce()
Boolean hasStdinOnce()
String getTerminationMessagePath()
Boolean hasTerminationMessagePath()
String getTerminationMessagePolicy()
Boolean hasTerminationMessagePolicy()
Boolean isTty()
Boolean hasTty()
A addToVolumeDevices(int index, VolumeDevice item)
A setToVolumeDevices(int index, VolumeDevice item)
A addToVolumeDevices(VolumeDevice... items)
A addAllToVolumeDevices(Collection<VolumeDevice> items)
A removeFromVolumeDevices(VolumeDevice... items)
A removeAllFromVolumeDevices(Collection<VolumeDevice> items)
@Deprecated List<VolumeDevice> getVolumeDevices()
List<VolumeDevice> buildVolumeDevices()
VolumeDevice buildVolumeDevice(int index)
VolumeDevice buildFirstVolumeDevice()
VolumeDevice buildLastVolumeDevice()
VolumeDevice buildMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
A withVolumeDevices(List<VolumeDevice> volumeDevices)
A withVolumeDevices(VolumeDevice... volumeDevices)
Boolean hasVolumeDevices()
ContainerFluent.VolumeDevicesNested<A> addNewVolumeDevice()
ContainerFluent.VolumeDevicesNested<A> addNewVolumeDeviceLike(VolumeDevice item)
ContainerFluent.VolumeDevicesNested<A> setNewVolumeDeviceLike(int index, VolumeDevice item)
ContainerFluent.VolumeDevicesNested<A> editVolumeDevice(int index)
ContainerFluent.VolumeDevicesNested<A> editFirstVolumeDevice()
ContainerFluent.VolumeDevicesNested<A> editLastVolumeDevice()
ContainerFluent.VolumeDevicesNested<A> editMatchingVolumeDevice(Predicate<VolumeDeviceBuilder> predicate)
A addToVolumeMounts(int index, VolumeMount item)
A setToVolumeMounts(int index, VolumeMount item)
A addToVolumeMounts(VolumeMount... items)
A addAllToVolumeMounts(Collection<VolumeMount> items)
A removeFromVolumeMounts(VolumeMount... items)
A removeAllFromVolumeMounts(Collection<VolumeMount> items)
@Deprecated List<VolumeMount> getVolumeMounts()
List<VolumeMount> buildVolumeMounts()
VolumeMount buildVolumeMount(int index)
VolumeMount buildFirstVolumeMount()
VolumeMount buildLastVolumeMount()
VolumeMount buildMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
A withVolumeMounts(List<VolumeMount> volumeMounts)
A withVolumeMounts(VolumeMount... volumeMounts)
Boolean hasVolumeMounts()
A addNewVolumeMount(String mountPath, String mountPropagation, String name, Boolean readOnly, String subPath)
ContainerFluent.VolumeMountsNested<A> addNewVolumeMount()
ContainerFluent.VolumeMountsNested<A> addNewVolumeMountLike(VolumeMount item)
ContainerFluent.VolumeMountsNested<A> setNewVolumeMountLike(int index, VolumeMount item)
ContainerFluent.VolumeMountsNested<A> editVolumeMount(int index)
ContainerFluent.VolumeMountsNested<A> editFirstVolumeMount()
ContainerFluent.VolumeMountsNested<A> editLastVolumeMount()
ContainerFluent.VolumeMountsNested<A> editMatchingVolumeMount(Predicate<VolumeMountBuilder> predicate)
String getWorkingDir()
Boolean hasWorkingDir()
Copyright © 2011–2018 Red Hat. All rights reserved.