Documentation ¶
Index ¶
- func NewFioJobs(cr *v1alpha1.Fio) []*batchv1.Job
- func NewFioRunJobs(cr *v1alpha1.Fio) []*batchv1.Job
- 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 NewTpccCleanupJobs(cr *v1alpha1.Tpcc) []*batchv1.Job
- func NewTpccJobs(cr *v1alpha1.Tpcc) []*batchv1.Job
- 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 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 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 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 TpccInitContainers(cr *v1alpha1.Tpcc) *corev1.Container
- func TpcdsInitContainers(cr *v1alpha1.Tpcds) *corev1.Container
- func YcsbInitContainers(cr *v1alpha1.Ycsb) *corev1.Container
- 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 NewRedisBenchJobs ¶
func NewRedisBenchJobs(cr *v1alpha1.RedisBench) []*batchv1.Job
func NewRedisBenchRunJobs ¶
func NewRedisBenchRunJobs(cr *v1alpha1.RedisBench) []*batchv1.Job
func NewTpccMysqlParams ¶
func NewTpccPostgresParams ¶
func NewTpccWorkLoadParams ¶
func NewYcsbMongodbParams ¶
func NewYcsbMysqlParams ¶
func NewYcsbPostgresParams ¶
func NewYcsbRedisParams ¶
func NewYcsbWorkloadParams ¶
func ParsePgbench ¶
func ParseRedisBench ¶
func ParseSysBench ¶
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 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.