k8s

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureSetupServiceAccount

func EnsureSetupServiceAccount(list *corev1.List)

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

func TrialJobImage(job string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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