apiserver: k8s.io/apiserver/pkg/util/proxy Index | Files

package proxy

import "k8s.io/apiserver/pkg/util/proxy"

Index

Package Files

proxy.go

func ResolveCluster Uses

func ResolveCluster(services listersv1.ServiceLister, namespace, id string, port int32) (*url.URL, error)

func ResolveEndpoint Uses

func ResolveEndpoint(services listersv1.ServiceLister, endpoints listersv1.EndpointsLister, namespace, id string, port int32) (*url.URL, error)

ResourceLocation returns a URL to which one can send traffic for the specified service.

Package proxy imports 8 packages (graph) and is imported by 2 packages. Updated 2019-11-25. Refresh now. Tools for package owners.