WorkloadSpec

sealed class WorkloadSpec

The workload specification for benchmark tool configuration. Provide an inline YAML or JSON string.

Inheritors

Types

Link copied to clipboard
data class Inline(val value: String) : WorkloadSpec

An inline YAML or JSON string that defines benchmark parameters.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this WorkloadSpec as a Inline and retrieves its kotlin.String value. Throws an exception if the WorkloadSpec is not a Inline.

Link copied to clipboard

Casts this WorkloadSpec as a Inline and retrieves its kotlin.String value. Returns null if the WorkloadSpec is not a Inline.