Documentation
¶
Index ¶
- func NewDamengParams(cr *v1alpha1.Tpcc) string
- func NewEsrallyCleanupJobs(cr *v1alpha1.Esrally) []*batchv1.Job
- func NewEsrallyJobs(cr *v1alpha1.Esrally) []*batchv1.Job
- func NewEsrallyPrepareJobs(cr *v1alpha1.Esrally) []*batchv1.Job
- func NewEsrallyRunJobs(cr *v1alpha1.Esrally) []*batchv1.Job
- func NewFioJobs(cr *v1alpha1.Fio) []*batchv1.Job
- func NewFioRunJobs(cr *v1alpha1.Fio) []*batchv1.Job
- func NewMssqlParams(cr *v1alpha1.Tpcc) string
- func NewOceanBaseOracleTenantParams(cr *v1alpha1.Tpcc) string
- func NewPgbenchCleanupJobs(cr *v1alpha1.Pgbench) []*batchv1.Job
- func NewPgbenchJobs(cr *v1alpha1.Pgbench) []*batchv1.Job
- func NewPgbenchPrepareJobs(cr *v1alpha1.Pgbench) []*batchv1.Job
- func NewPgbenchRunJobs(cr *v1alpha1.Pgbench) []*batchv1.Job
- func NewRedisBenchJobs(cr *v1alpha1.RedisBench) []*batchv1.Job
- func NewRedisBenchRunJobs(cr *v1alpha1.RedisBench) []*batchv1.Job
- func NewSysbenchCleanupJobs(cr *v1alpha1.Sysbench) []*batchv1.Job
- func NewSysbenchJobs(cr *v1alpha1.Sysbench) []*batchv1.Job
- func NewSysbenchPrepareJobs(cr *v1alpha1.Sysbench) []*batchv1.Job
- func NewSysbenchRunJobs(cr *v1alpha1.Sysbench) []*batchv1.Job
- func NewTidbParams(cr *v1alpha1.Tpcc) string
- func NewTpccCleanupJobs(cr *v1alpha1.Tpcc) []*batchv1.Job
- func NewTpccGaussdbParams(cr *v1alpha1.Tpcc) string
- func NewTpccJobs(cr *v1alpha1.Tpcc) []*batchv1.Job
- func NewTpccKingbaseParams(cr *v1alpha1.Tpcc) string
- func NewTpccMysqlParams(cr *v1alpha1.Tpcc) string
- func NewTpccPostgresParams(cr *v1alpha1.Tpcc) string
- func NewTpccPrepareJobs(cr *v1alpha1.Tpcc) []*batchv1.Job
- func NewTpccRunJobs(cr *v1alpha1.Tpcc) []*batchv1.Job
- func NewTpccVastbaseParams(cr *v1alpha1.Tpcc) string
- func NewTpccWorkLoadParams(cr *v1alpha1.Tpcc) string
- func NewTpcdsCleanupJobs(cr v1alpha1.Tpcds) []*batchv1.Job
- func NewTpcdsJobs(cr v1alpha1.Tpcds) []*batchv1.Job
- func NewTpcdsPrepareJobs(cr v1alpha1.Tpcds) []*batchv1.Job
- func NewTpcdsRunJobs(cr v1alpha1.Tpcds) []*batchv1.Job
- func NewTpchAllJobs(cr *v1alpha1.Tpch) []*batchv1.Job
- func NewTpchCleanupJobs(cr *v1alpha1.Tpch) []*batchv1.Job
- func NewTpchJobs(cr *v1alpha1.Tpch) []*batchv1.Job
- func NewTpchPrepareJobs(cr *v1alpha1.Tpch) []*batchv1.Job
- func NewTpchRunJobs(cr *v1alpha1.Tpch) []*batchv1.Job
- func NewYcsbCleanupJobs(cr *v1alpha1.Ycsb) []*batchv1.Job
- func NewYcsbJobs(cr *v1alpha1.Ycsb) []*batchv1.Job
- func NewYcsbMinioParams(cr *v1alpha1.Ycsb) string
- func NewYcsbMongodbParams(cr *v1alpha1.Ycsb) string
- func NewYcsbMysqlParams(cr *v1alpha1.Ycsb) string
- func NewYcsbPostgresParams(cr *v1alpha1.Ycsb) string
- func NewYcsbPrepareJobs(cr *v1alpha1.Ycsb) []*batchv1.Job
- func NewYcsbRedisParams(cr *v1alpha1.Ycsb) string
- func NewYcsbRunJobs(cr *v1alpha1.Ycsb) []*batchv1.Job
- func NewYcsbWorkloadParams(cr *v1alpha1.Ycsb) string
- func ParseEsrally(msg string) string
- func ParsePgbench(msg string) string
- func ParseRedisBench(msg string) string
- func ParseSysBench(msg string) string
- func ParseTPCC(msg string) string
- func ParseTpch(msg string) string
- func ParseYcsb(msg string) string
- func PgbenchInitContainers(cr *v1alpha1.Pgbench) *corev1.Container
- func TpccInitContainers(cr *v1alpha1.Tpcc) *corev1.Container
- func TpcdsInitContainers(cr *v1alpha1.Tpcds) *corev1.Container
- func YcsbInitContainers(cr *v1alpha1.Ycsb) *corev1.Container
- type EsrallyReconciler
- type FioReconciler
- type PgbenchReconciler
- type RedisbenchReconciler
- type SysbenchReconciler
- type TpccReconciler
- type TpcdsReconciler
- type TpchReconciler
- type YcsbReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDamengParams ¶
func NewMssqlParams ¶
func NewRedisBenchJobs ¶
func NewRedisBenchJobs(cr *v1alpha1.RedisBench) []*batchv1.Job
func NewRedisBenchRunJobs ¶
func NewRedisBenchRunJobs(cr *v1alpha1.RedisBench) []*batchv1.Job
func NewTidbParams ¶
func NewTpccGaussdbParams ¶
func NewTpccKingbaseParams ¶ added in v0.0.16
func NewTpccMysqlParams ¶
func NewTpccPostgresParams ¶
func NewTpccVastbaseParams ¶ added in v0.0.16
func NewTpccWorkLoadParams ¶
func NewYcsbMinioParams ¶
func NewYcsbMongodbParams ¶
func NewYcsbMysqlParams ¶
func NewYcsbPostgresParams ¶
func NewYcsbRedisParams ¶
func NewYcsbWorkloadParams ¶
func ParseEsrally ¶
func ParsePgbench ¶
func ParseRedisBench ¶
func ParseSysBench ¶
func PgbenchInitContainers ¶ added in v0.0.16
PgbenchInitContainers returns the init containers for pgbench
func TpccInitContainers ¶
TpccInitContainers returns the init containers for tpcc tpcc will fail if database not exists, so we need to create database first
Types ¶
type EsrallyReconciler ¶
EsrallyReconciler reconciles an Esrally object.
func (*EsrallyReconciler) SetupWithManager ¶
func (r *EsrallyReconciler) SetupWithManager(mgr ctrl.Manager) error
type FioReconciler ¶
FioReconciler reconciles a Fio object
func (*FioReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Fio object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*FioReconciler) SetupWithManager ¶
func (r *FioReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PgbenchReconciler ¶
PgbenchReconciler reconciles a Pgbench object
func (*PgbenchReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Pgbench object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*PgbenchReconciler) SetupWithManager ¶
func (r *PgbenchReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RedisbenchReconciler ¶
RedisbenchReconciler reconciles a Redisbench object
func (*RedisbenchReconciler) Reconcile ¶
func (r *RedisbenchReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Redisbench object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*RedisbenchReconciler) SetupWithManager ¶
func (r *RedisbenchReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SysbenchReconciler ¶
SysbenchReconciler reconciles a Sysbench object
func (*SysbenchReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Sysbench object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.1controllerutil.RequeueDuration.0/pkg/reconcile
func (*SysbenchReconciler) SetupWithManager ¶
func (r *SysbenchReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TpccReconciler ¶
TpccReconciler reconciles a Tpcc object
func (*TpccReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Tpcc object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TpccReconciler) SetupWithManager ¶
func (r *TpccReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TpcdsReconciler ¶
TpcdsReconciler reconciles a Tpcds object
func (*TpcdsReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Tpcds object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TpcdsReconciler) SetupWithManager ¶
func (r *TpcdsReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TpchReconciler ¶
TpchReconciler reconciles a Tpch object
func (*TpchReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Tpch object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*TpchReconciler) SetupWithManager ¶
func (r *TpchReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type YcsbReconciler ¶
YcsbReconciler reconciles a Ycsb object
func (*YcsbReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the Ycsb object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.15.0/pkg/reconcile
func (*YcsbReconciler) SetupWithManager ¶
func (r *YcsbReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.