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
- type Operator
- type Option
- func WithConfigMapName(cm string) Option
- func WithErrGroup(eg errgroup.Group) Option
- func WithJobImagePullPolicy(p string) Option
- func WithJobImageRepository(repo string) Option
- func WithJobImageTag(tag string) Option
- func WithJobNamespace(ns string) Option
- func WithReconcileCheckDuration(ts string) Option
Constants ¶
View Source
const ( Scenario = "scenario" ScenarioKind = "ValdBenchmarkScenario" Name = "name" ServerName = "vald-benchmark-job" 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 WithConfigMapName ¶ added in v1.7.13
func WithErrGroup ¶
WithErrGroup sets the error group to scenario.
func WithJobImagePullPolicy ¶
WithJobImagePullPolicy sets the benchmark job docker image pullPolicy.
func WithJobImageRepository ¶ added in v1.7.13
WithJobImageRepository sets the benchmark job docker image info.
func WithJobImageTag ¶ added in v1.7.13
WithJobImageTag sets the benchmark job docker image tag.
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.