kserving

package
v2.1.93 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 4 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(client kserve.Interface, kubeClient kubernetes.Interface, namespace string, name string) (string, *v1alpha1.Service, error)

FindServiceURL finds the service URL for the given knative service name

func GetServiceURL

func GetServiceURL(service *v1alpha1.Service, kubeClient kubernetes.Interface, namespace string) string

GetServiceURL returns the URL for the given knative service

Types

This section is empty.

Jump to

Keyboard shortcuts

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