InitContainerDefinition Class

Definition

The init container definition.

public class InitContainerDefinition
Inheritance
java.lang.Object
InitContainerDefinition

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

InitContainerDefinition()

Methods

command()

Get the command property: The command to execute within the init container in exec form.

environmentVariables()

Get the environmentVariables property: The environment variables to set in the init container.

image()

Get the image property: The image of the init container.

instanceView()

Get the instanceView property: The instance view of the init container. Only valid in response.

name()

Get the name property: The name for the init container.

validate()

Validates the instance.

volumeMounts()

Get the volumeMounts property: The volume mounts available to the init container.

withCommand(List<String> command)

Set the command property: The command to execute within the init container in exec form.

withEnvironmentVariables(List<EnvironmentVariable> environmentVariables)

Set the environmentVariables property: The environment variables to set in the init container.

withImage(String image)

Set the image property: The image of the init container.

withName(String name)

Set the name property: The name for the init container.

withVolumeMounts(List<VolumeMount> volumeMounts)

Set the volumeMounts property: The volume mounts available to the init container.

Applies to