Documentation ¶
Index ¶
- Constants
- func CalculateMaximumSearchSpace(instance *morphlingv1alpha1.ProfilingExperiment) int
- func TrialLabels(instance *morphlingv1alpha1.ProfilingExperiment) map[string]string
- type ProfilingExperimentReconciler
- func (r *ProfilingExperimentReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *ProfilingExperimentReconciler) ReconcileExperiment(instance *morphlingv1alpha1.ProfilingExperiment) error
- func (r *ProfilingExperimentReconciler) ReconcileTrials(instance *morphlingv1alpha1.ProfilingExperiment, ...) error
- func (r *ProfilingExperimentReconciler) SetupWithManager(mgr ctrl.Manager) error
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 ¶
func (r *ProfilingExperimentReconciler) ReconcileExperiment(instance *morphlingv1alpha1.ProfilingExperiment) error
ReconcileExperiment is the main reconcile loop.
func (*ProfilingExperimentReconciler) ReconcileTrials ¶
func (r *ProfilingExperimentReconciler) ReconcileTrials(instance *morphlingv1alpha1.ProfilingExperiment, trials []morphlingv1alpha1.Trial) error
ReconcileTrials syncs trials
func (*ProfilingExperimentReconciler) SetupWithManager ¶
func (r *ProfilingExperimentReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.