drill

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCrValid

func IsCrValid(cr *perfv1alpha1.Drill) (valid bool, err error)

IsCrValid validates the given CR and raises error if semantic errors detected For drill it checks that the BenchmarkFile exists in the BenchmarksVolume map

func NewConfigMap

func NewConfigMap(cr *perfv1alpha1.Drill) *corev1.ConfigMap

NewConfigMap creates a new configmap containing the BenchmarksVolume for the drill benchmark job

func NewJob

func NewJob(cr *perfv1alpha1.Drill, configMap *corev1.ConfigMap) *batchv1.Job

NewJob creates a fio benchmark job

Types

type Reconciler

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

Reconciler reconciles a Drill object

func (*Reconciler) Reconcile

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

Reconcile creates drill job for the Custom Resources

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