jx: github.com/jenkins-x/jx/pkg/kserving Index | Files

package kserving

import "github.com/jenkins-x/jx/pkg/kserving"


Package Files

constants.go kservices.go


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"

func FindServiceURL Uses

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 Uses

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

GetServiceURL returns the URL for the given knative service

Package kserving imports 4 packages (graph) and is imported by 3 packages. Updated 2019-04-05. Refresh now. Tools for package owners.