utils

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsString

func ContainsString(list []string, s string) bool

containsString checks if a list contains a string

func GenerateKServeLoggerURL

func GenerateKServeLoggerURL(crName string, namespace string) string

generateKServeLoggerURL generates an logger url for KServe Inference Loggers

func GenerateNonTLSServiceURL

func GenerateNonTLSServiceURL(crName string, namespace string) string

generateNonTLSServiceURL generates an internal URL for a TrustyAI service

func GenerateTLSServiceURL

func GenerateTLSServiceURL(crName string, namespace string) string

generateTLSServiceURL generates an internal URL for a TLS-enabled TrustyAI service

func GetNamespace

func GetNamespace() (string, error)

GetNamespace returns the namespace of a pod

func IsDeploymentReady

func IsDeploymentReady(deployment *appsv1.Deployment) bool

func RemoveString

func RemoveString(list []string, s string) []string

removeString removes a string from a list

Types

This section is empty.

Jump to

Keyboard shortcuts

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