Documentation ¶
Index ¶
- Constants
- func CheckInit(c client.Client, workloads []cnsbench.Workload) (bool, error)
- func CountCompletions(c client.Client, workloadName string) (int, int, error)
- func JobsComplete(c client.Client, selector labels.Selector) (int, int, error)
- func PVCsComplete(c client.Client, selector labels.Selector) (int, int, error)
- func PodsComplete(c client.Client, selector labels.Selector) (int, int, error)
- func StatefulSetsComplete(c client.Client, selector labels.Selector) (int, int, error)
- type BenchmarkReconciler
- func (r *BenchmarkReconciler) CreateSnapshot(bm *cnsbench.Benchmark, s cnsbench.Snapshot, actionName string) error
- func (r *BenchmarkReconciler) CreateVolume(bm *cnsbench.Benchmark, vol cnsbench.Volume)
- func (r *BenchmarkReconciler) DeleteObj(bm *cnsbench.Benchmark, d cnsbench.Delete) error
- func (r *BenchmarkReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *BenchmarkReconciler) ReconcileInstances(bm *cnsbench.Benchmark, workloads []cnsbench.Workload) error
- func (r *BenchmarkReconciler) RunWorkload(bm *cnsbench.Benchmark, a cnsbench.Workload, workloadName string) error
- func (r *BenchmarkReconciler) ScaleObj(bm *cnsbench.Benchmark, s cnsbench.Scale, numReplicas int) error
- func (r *BenchmarkReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const LIBRARY_NAMESPACE = "cnsbench-library"
Variables ¶
This section is empty.
Functions ¶
func CountCompletions ¶
Types ¶
type BenchmarkReconciler ¶
type BenchmarkReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme ScriptsDir string // contains filtered or unexported fields }
BenchmarkReconciler reconciles a Benchmark object
func (*BenchmarkReconciler) CreateSnapshot ¶
func (*BenchmarkReconciler) CreateVolume ¶
func (r *BenchmarkReconciler) CreateVolume(bm *cnsbench.Benchmark, vol cnsbench.Volume)
func (*BenchmarkReconciler) ReconcileInstances ¶
func (*BenchmarkReconciler) RunWorkload ¶
func (*BenchmarkReconciler) SetupWithManager ¶
func (r *BenchmarkReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.