kserving

package
v0.4.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ServiceLabel the label to denote a service name of a kserve Deployment
	ServiceLabel = "serving.knative.dev/service"

	// RevisionLabel the label used to show the revision
	RevisionLabel = "serving.knative.dev/revision"
)

Variables

This section is empty.

Functions

func FindServiceURL

func FindServiceURL(ctx context.Context, client kserve.Interface, namespace, name string) (string, *v1.Service, error)

FindServiceURL finds the service URL for the given knative service name

func GetServiceURL

func GetServiceURL(service *v1.Service) string

GetServiceURL returns the URL for the given knative service

func LazyCreateKServeClient

func LazyCreateKServeClient(client kserve.Interface) (kserve.Interface, error)

LazyCreateKServeClient lazy creates the kserve client if its not defined

Types

This section is empty.

Jump to

Keyboard shortcuts

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