Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExperimentReconciler ¶
ExperimentReconciler reconciles an Experiment object
func (*ExperimentReconciler) SetupWithManager ¶
func (r *ExperimentReconciler) SetupWithManager(mgr ctrl.Manager) error
type MetricReconciler ¶
MetricReconciler reconciles the metrics on a Trial object
func (*MetricReconciler) SetupWithManager ¶
func (r *MetricReconciler) SetupWithManager(mgr ctrl.Manager) error
type PatchReconciler ¶
PatchReconciler reconciles the patches on a Trial object
func (*PatchReconciler) Reconcile ¶
Reconcile inspects a trial to see if patches need to be applied. The "trial patched" status condition is used to control what actions need to be taken. If the status is "unknown" then the experiment is fetched and the patch templates will be rendered into the list of patch operations on the trial; once the patches are evaluated the status will be "false". If the status is "false" then patch operations will be applied to the cluster; once all the patches are applied the status will be "true".
func (*PatchReconciler) SetupWithManager ¶
func (r *PatchReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers a new patch reconciler with the supplied manager
type Poller ¶
Poller handles checking with the Application Services to trigger an in cluster activity such as scanning resources or running an experiment.
func (*Poller) Start ¶
Start is used to initiate the polling loop for new tasks. Start satisfies the controller-runtime/manager.Runnable interface so we can plug into the underlying controller runtime manager that the rest of the controllers use. If there was an issue connecting to the application services, this will immediately return.
type ReadyReconciler ¶
type ReadyReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // contains filtered or unexported fields }
ReadyReconciler checks for readiness of the patched objects
func (*ReadyReconciler) Reconcile ¶
Reconcile inspects a trial to see if the patched objects are ready for the trial job to start
func (*ReadyReconciler) SetupWithManager ¶
func (r *ReadyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers a new ready reconciler with the supplied manager
type ServerReconciler ¶
type ServerReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme ExperimentsAPI experiments.API ApplicationsAPI applications.API // contains filtered or unexported fields }
ServerReconciler reconciles a experiment and trial objects with a remote server
func (*ServerReconciler) SetupWithManager ¶
func (r *ServerReconciler) SetupWithManager(mgr ctrl.Manager) error
type SetupReconciler ¶
SetupReconciler reconciles a Trial object for setup tasks
func (*SetupReconciler) SetupWithManager ¶
func (r *SetupReconciler) SetupWithManager(mgr ctrl.Manager) error
type TrialJobReconciler ¶
TrialJobReconciler reconciles a Trial's job
func (*TrialJobReconciler) SetupWithManager ¶
func (r *TrialJobReconciler) SetupWithManager(mgr ctrl.Manager) error