Documentation ¶
Index ¶
- func CalculateTemplateReplicasCount(experiment *v1alpha1.Experiment, template v1alpha1.TemplateSpec) int32
- func GetTemplateStatusMapping(status v1alpha1.ExperimentStatus) map[string]v1alpha1.TemplateStatus
- func HasFinished(experiment *v1alpha1.Experiment) bool
- func HasStarted(experiment *v1alpha1.Experiment) bool
- func PassedDurations(experiment *v1alpha1.Experiment) (bool, time.Duration)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateTemplateReplicasCount ¶
func CalculateTemplateReplicasCount(experiment *v1alpha1.Experiment, template v1alpha1.TemplateSpec) int32
func GetTemplateStatusMapping ¶
func GetTemplateStatusMapping(status v1alpha1.ExperimentStatus) map[string]v1alpha1.TemplateStatus
GetTemplateStatusMapping returns a mapping of name to template statuses
func HasFinished ¶
func HasFinished(experiment *v1alpha1.Experiment) bool
func HasStarted ¶
func HasStarted(experiment *v1alpha1.Experiment) bool
func PassedDurations ¶
func PassedDurations(experiment *v1alpha1.Experiment) (bool, time.Duration)
PassedDurations indicates if the experiment has run longer than the duration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.