Documentation
¶
Index ¶
- Constants
- func FromCluster(in *redskyv1alpha1.Experiment) (redskyapi.ExperimentName, *redskyapi.Experiment)
- func FromClusterTrial(in *redskyv1alpha1.Trial) *redskyapi.TrialValues
- func StopExperiment(exp *redskyv1alpha1.Experiment, err error) bool
- func ToCluster(exp *redskyv1alpha1.Experiment, ee *redskyapi.Experiment)
- func ToClusterTrial(t *redskyv1alpha1.Trial, suggestion *redskyapi.TrialAssignments)
Constants ¶
View Source
const (
// Finalizer is used to ensure synchronization with the server
Finalizer = "serverFinalizer.redskyops.dev"
)
Variables ¶
This section is empty.
Functions ¶
func FromCluster ¶
func FromCluster(in *redskyv1alpha1.Experiment) (redskyapi.ExperimentName, *redskyapi.Experiment)
FromCluster converts cluster state to API state
func FromClusterTrial ¶
func FromClusterTrial(in *redskyv1alpha1.Trial) *redskyapi.TrialValues
FromClusterTrial converts cluster state to API state
func StopExperiment ¶
func StopExperiment(exp *redskyv1alpha1.Experiment, err error) bool
StopExperiment updates the experiment in the event that it should be paused or halted
func ToCluster ¶
func ToCluster(exp *redskyv1alpha1.Experiment, ee *redskyapi.Experiment)
ToCluster converts API state to cluster state
func ToClusterTrial ¶
func ToClusterTrial(t *redskyv1alpha1.Trial, suggestion *redskyapi.TrialAssignments)
ToClusterTrial converts API state to cluster state
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.