Documentation ¶
Overview ¶
Package service manages the main logic of benchmark job.
Package service manages the main logic of benchmark job.
Package service manages the main logic of benchmark job.
Index ¶
Constants ¶
View Source
const ( Scenario = "scenario" ScenarioKind = "ValdBenchmarkScenario" BenchmarkName = "benchmark-name" BeforeJobName = "before-job-name" BeforeJobNamespace = "before-job-namespace" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Option ¶
type Option func(o *operator) error
Option represents the functional option for scenario struct.
func WithErrGroup ¶
WithErrGroup sets the error group to scenario.
func WithJobImage ¶
WithJobImage sets the benchmark job docker image info.
func WithJobImagePullPolicy ¶
WithJobImagePullPolicy sets the benchmark job docker image pullPolicy.
func WithJobNamespace ¶
WithJobNamespace sets the namespace for running benchmark job.
func WithReconcileCheckDuration ¶
WithReconcileCheckDuration sets the reconcile check duration from input string.
Click to show internal directories.
Click to hide internal directories.