Documentation ¶
Index ¶
- func ClientLabels(instance *morphlingv1alpha1.Trial) map[string]string
- func GetDBStorageEndpoint() string
- func GetLastConditionType(trial *morphlingv1alpha1.Trial) (morphlingv1alpha1.TrialConditionType, error)
- func GetLastConditionTypeProfiling(exp *morphlingv1alpha1.ProfilingExperiment) (morphlingv1alpha1.ProfilingConditionType, error)
- func GetServiceDeploymentName(t *morphlingv1alpha1.Trial) string
- func GetServiceEndpoint(t *morphlingv1alpha1.Trial) string
- func GetServiceName(t *morphlingv1alpha1.Trial) string
- func GetStressTestJobName(t *morphlingv1alpha1.Trial) string
- func HasRunningTrials(exp *morphlingv1alpha1.ProfilingExperiment) bool
- func IsCompletedExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
- func IsCompletedTrial(trial *morphlingv1alpha1.Trial) bool
- func IsCreatedExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
- func IsCreatedTrial(trial *morphlingv1alpha1.Trial) bool
- func IsFailedExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
- func IsFailedTrial(trial *morphlingv1alpha1.Trial) bool
- func IsJobFailed(jobCondition []batchv1.JobCondition) bool
- func IsJobSucceeded(jobCondition []batchv1.JobCondition) bool
- func IsKilledTrial(trial *morphlingv1alpha1.Trial) bool
- func IsPendingTrial(trial *morphlingv1alpha1.Trial) bool
- func IsRunningExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
- func IsRunningTrial(trial *morphlingv1alpha1.Trial) bool
- func IsServiceDeplomentFail(podConditions []appsv1.DeploymentCondition) bool
- func IsServiceDeplomentReady(podConditions []appsv1.DeploymentCondition) bool
- func IsSucceededExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
- func IsSucceededTrial(trial *morphlingv1alpha1.Trial) bool
- func MarkExperimentStatusCreated(exp *morphlingv1alpha1.ProfilingExperiment, message string)
- func MarkExperimentStatusFailed(exp *morphlingv1alpha1.ProfilingExperiment, message string)
- func MarkExperimentStatusRunning(exp *morphlingv1alpha1.ProfilingExperiment, message string)
- func MarkExperimentStatusSucceeded(exp *morphlingv1alpha1.ProfilingExperiment, message string)
- func MarkTrialStatusCreatedTrial(trial *morphlingv1alpha1.Trial, message string)
- func MarkTrialStatusFailed(trial *morphlingv1alpha1.Trial, message string)
- func MarkTrialStatusPendingTrial(trial *morphlingv1alpha1.Trial, message string)
- func MarkTrialStatusRunning(trial *morphlingv1alpha1.Trial, message string)
- func MarkTrialStatusSucceeded(trial *morphlingv1alpha1.Trial, status v1.ConditionStatus, message string)
- func ServiceDeploymentLabels(instance *morphlingv1alpha1.Trial) map[string]string
- func ServicePodLabels(instance *morphlingv1alpha1.Trial) map[string]string
- func SetConditionTrial(trial *morphlingv1alpha1.Trial, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientLabels ¶
func ClientLabels(instance *morphlingv1alpha1.Trial) map[string]string
ClientLabels returns the expected trial labels.
func GetDBStorageEndpoint ¶
func GetDBStorageEndpoint() string
func GetLastConditionType ¶
func GetLastConditionType(trial *morphlingv1alpha1.Trial) (morphlingv1alpha1.TrialConditionType, error)
func GetLastConditionTypeProfiling ¶
func GetLastConditionTypeProfiling(exp *morphlingv1alpha1.ProfilingExperiment) (morphlingv1alpha1.ProfilingConditionType, error)
func GetServiceDeploymentName ¶
func GetServiceDeploymentName(t *morphlingv1alpha1.Trial) string
func GetServiceEndpoint ¶
func GetServiceEndpoint(t *morphlingv1alpha1.Trial) string
func GetServiceName ¶
func GetServiceName(t *morphlingv1alpha1.Trial) string
func GetStressTestJobName ¶
func GetStressTestJobName(t *morphlingv1alpha1.Trial) string
func HasRunningTrials ¶
func HasRunningTrials(exp *morphlingv1alpha1.ProfilingExperiment) bool
func IsCompletedExperiment ¶
func IsCompletedExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
func IsCompletedTrial ¶
func IsCompletedTrial(trial *morphlingv1alpha1.Trial) bool
func IsCreatedExperiment ¶
func IsCreatedExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
func IsCreatedTrial ¶
func IsCreatedTrial(trial *morphlingv1alpha1.Trial) bool
func IsFailedExperiment ¶
func IsFailedExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
func IsFailedTrial ¶
func IsFailedTrial(trial *morphlingv1alpha1.Trial) bool
func IsJobFailed ¶
func IsJobFailed(jobCondition []batchv1.JobCondition) bool
func IsJobSucceeded ¶
func IsJobSucceeded(jobCondition []batchv1.JobCondition) bool
func IsKilledTrial ¶
func IsKilledTrial(trial *morphlingv1alpha1.Trial) bool
func IsPendingTrial ¶
func IsPendingTrial(trial *morphlingv1alpha1.Trial) bool
func IsRunningExperiment ¶
func IsRunningExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
func IsRunningTrial ¶
func IsRunningTrial(trial *morphlingv1alpha1.Trial) bool
func IsServiceDeplomentFail ¶
func IsServiceDeplomentFail(podConditions []appsv1.DeploymentCondition) bool
func IsServiceDeplomentReady ¶
func IsServiceDeplomentReady(podConditions []appsv1.DeploymentCondition) bool
func IsSucceededExperiment ¶
func IsSucceededExperiment(exp *morphlingv1alpha1.ProfilingExperiment) bool
func IsSucceededTrial ¶
func IsSucceededTrial(trial *morphlingv1alpha1.Trial) bool
func MarkExperimentStatusCreated ¶
func MarkExperimentStatusCreated(exp *morphlingv1alpha1.ProfilingExperiment, message string)
func MarkExperimentStatusFailed ¶
func MarkExperimentStatusFailed(exp *morphlingv1alpha1.ProfilingExperiment, message string)
func MarkExperimentStatusRunning ¶
func MarkExperimentStatusRunning(exp *morphlingv1alpha1.ProfilingExperiment, message string)
func MarkExperimentStatusSucceeded ¶
func MarkExperimentStatusSucceeded(exp *morphlingv1alpha1.ProfilingExperiment, message string)
func MarkTrialStatusCreatedTrial ¶
func MarkTrialStatusCreatedTrial(trial *morphlingv1alpha1.Trial, message string)
func MarkTrialStatusFailed ¶
func MarkTrialStatusFailed(trial *morphlingv1alpha1.Trial, message string)
func MarkTrialStatusPendingTrial ¶
func MarkTrialStatusPendingTrial(trial *morphlingv1alpha1.Trial, message string)
func MarkTrialStatusRunning ¶
func MarkTrialStatusRunning(trial *morphlingv1alpha1.Trial, message string)
func MarkTrialStatusSucceeded ¶
func MarkTrialStatusSucceeded(trial *morphlingv1alpha1.Trial, status v1.ConditionStatus, message string)
func ServiceDeploymentLabels ¶
func ServiceDeploymentLabels(instance *morphlingv1alpha1.Trial) map[string]string
func ServicePodLabels ¶
func ServicePodLabels(instance *morphlingv1alpha1.Trial) map[string]string
ServicePodLabels returns the expected trial labels.
func SetConditionTrial ¶
func SetConditionTrial(trial *morphlingv1alpha1.Trial, conditionType morphlingv1alpha1.TrialConditionType, status v1.ConditionStatus, message string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.