utils

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHTTPHealth added in v1.1.0

func CheckHTTPHealth(url string) (bool, error)

func GetHTTPPath

func GetHTTPPath(metricsURL string) (string, error)

func GetHostname

func GetHostname(serviceURL string) (string, error)

func GetJobName

func GetJobName(ownerName string, funcName string, Generation int64) string

func GetMetricsServiceName added in v1.2.0

func GetMetricsServiceName(pipelineName string) string

func GetNamespacedName

func GetNamespacedName(obj client.Object) string

func GetPVCName

func GetPVCName(ownerName string, Generation int64) string

func GetPipelineEndpointServiceName added in v1.2.0

func GetPipelineEndpointServiceName(pipelineName string, endpointName string) string

func GetPort

func GetPort(serviceURL string) (int32, error)

func GetTestRunName added in v1.2.0

func GetTestRunName(expName string, endpointName string) string

func GetVolumeName

func GetVolumeName(ownerName string) string

func MinInt

func MinInt(a int, b int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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