Versions in this module Expand all Collapse all v2 v2.1.0-beta.4 Apr 28, 2026 v2.1.0-beta.3 Apr 24, 2026 v2.1.0-beta.2 Apr 22, 2026 v2.1.0-beta.1 Apr 21, 2026 v2.1.0-beta.0 Apr 13, 2026 v2.1.0-alpha.17 Apr 13, 2026 v2.1.0-alpha.16 Apr 3, 2026 v2.1.0-alpha.15 Jan 19, 2026 v2.1.0-alpha.14 Jan 14, 2026 v2.1.0-alpha.13 Dec 26, 2025 v2.1.0-alpha.12 Dec 5, 2025 v2.1.0-alpha.11 Nov 30, 2025 v2.0.1 Mar 25, 2026 v2.0.0 Dec 5, 2025 Changes in this version + const WorkloadTypeSelectCount + const WorkloadTypeTXN + func ConfigJobWithTLS(job *batchv1.Job, o *Options) *batchv1.Job + type Option interface + With func(opts *Options) + func MaxExecutionTime(ms int) Option + func MaxLifeTime(sec int) Option + func Port(port int) Option + func RegionCount(count int) Option + func TLS(ca, certKeyPair string) Option + func TiFlashReplicas(replicas int) Option + func User(user, password string) Option + func WorkloadType(t string) Option + type Options struct + CA string + CertKeyPair string + MaxExecutionTime int + MaxLifeTime int + Password string + Port int + RegionCount int + TLS bool + TiFlashReplicas int + User string + WorkloadType string + func DefaultOptions() *Options + type WithOption func(opts *Options) + func (opt WithOption) With(opts *Options) v2.0.0-beta.10 Dec 5, 2025