PodPresetSpecArgs

data class PodPresetSpecArgs(val env: Output<List<EnvVarArgs>>? = null, val envFrom: Output<List<EnvFromSourceArgs>>? = null, val selector: Output<LabelSelectorArgs>? = null, val volumeMounts: Output<List<VolumeMountArgs>>? = null, val volumes: Output<List<VolumeArgs>>? = null) : ConvertibleToJava<PodPresetSpecArgs>

PodPresetSpec is a description of a pod preset.

Constructors

Link copied to clipboard
constructor(env: Output<List<EnvVarArgs>>? = null, envFrom: Output<List<EnvFromSourceArgs>>? = null, selector: Output<LabelSelectorArgs>? = null, volumeMounts: Output<List<VolumeMountArgs>>? = null, volumes: Output<List<VolumeArgs>>? = null)

Properties

Link copied to clipboard
val env: Output<List<EnvVarArgs>>? = null

Env defines the collection of EnvVar to inject into containers.

Link copied to clipboard
val envFrom: Output<List<EnvFromSourceArgs>>? = null

EnvFrom defines the collection of EnvFromSource to inject into containers.

Link copied to clipboard
val selector: Output<LabelSelectorArgs>? = null

Selector is a label query over a set of resources, in this case pods. Required.

Link copied to clipboard
val volumeMounts: Output<List<VolumeMountArgs>>? = null

VolumeMounts defines the collection of VolumeMount to inject into containers.

Link copied to clipboard
val volumes: Output<List<VolumeArgs>>? = null

Volumes defines the collection of Volume to inject into the pod.

Functions

Link copied to clipboard
open override fun toJava(): PodPresetSpecArgs