sysbench

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJob

func NewJob(cr *perfv1alpha1.Sysbench) *batchv1.Job

NewJob creates a sysbench benchmark job

Types

type Reconciler

type Reconciler struct {
	K8S k8s.Access
	Log logr.Logger
}

SysbenchReconciler reconciles a Sysbench object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile creates sysbench job(s) based on the custom resource(s)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers the Reconciler with the provided manager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL