experiment

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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