experiment

package
v0.0.0-...-9fb1a10 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "experiment-controller"
)

Variables

This section is empty.

Functions

func CalculateMaximumSearchSpace

func CalculateMaximumSearchSpace(instance *morphlingv1alpha1.ProfilingExperiment) int

func TrialLabels

func TrialLabels(instance *morphlingv1alpha1.ProfilingExperiment) map[string]string

TrialLabels returns the expected trial labels.

Types

type ProfilingExperimentReconciler

type ProfilingExperimentReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme

	sampling_client.Sampling
	// contains filtered or unexported fields
}

ProfilingExperimentReconciler reconciles a ProfilingExperiment object

func NewReconciler

func NewReconciler(mgr manager.Manager) *ProfilingExperimentReconciler

NewReconciler returns a new reconcile.Reconciler

func (*ProfilingExperimentReconciler) Reconcile

Reconcile reads that state of the cluster for a trial object and makes changes based on the state read

func (*ProfilingExperimentReconciler) ReconcileExperiment

ReconcileExperiment is the main reconcile loop.

func (*ProfilingExperimentReconciler) ReconcileTrials

ReconcileTrials syncs trials

func (*ProfilingExperimentReconciler) SetupWithManager

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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