Documentation ¶
Index ¶
- func EnsureSetupServiceAccount(list *corev1.List)
- func FindOrAddExperiment(list *corev1.List) *redskyv1beta1.Experiment
- func NewObjectiveMetric(obj *redskyappsv1alpha1.Objective, query string) redskyv1beta1.Metric
- func ScanForIngress(rm resmap.ResMap, ingress *redskyappsv1alpha1.Ingress, external bool) (string, error)
- func TrialJobImage(job string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureSetupServiceAccount ¶
EnsureSetupServiceAccount ensures that we are using an explicit service account for setup tasks.
func FindOrAddExperiment ¶
func FindOrAddExperiment(list *corev1.List) *redskyv1beta1.Experiment
FindOrAddExperiment returns the experiment from the supplied list, creating it if it does not exist.
func NewObjectiveMetric ¶ added in v1.9.3
func NewObjectiveMetric(obj *redskyappsv1alpha1.Objective, query string) redskyv1beta1.Metric
NewObjectiveMetric creates a new metric for the supplied objective with most fields pre-filled.
func ScanForIngress ¶
func ScanForIngress(rm resmap.ResMap, ingress *redskyappsv1alpha1.Ingress, external bool) (string, error)
ScanForIngress returns the URL to use for ingress to the application
func TrialJobImage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.