MCPcopy Index your code
hub / github.com/cortexlabs/cortex / LoadBalancerURL

Function LoadBalancerURL

pkg/operator/operator/k8s.go:34–36  ·  view source on GitHub ↗

LoadBalancerURL returns the http endpoint of the ingress load balancer for the operator

()

Source from the content-addressed store, hash-verified

32
33// LoadBalancerURL returns the http endpoint of the ingress load balancer for the operator
34func LoadBalancerURL() (string, error) {
35 return getLoadBalancerURL("ingressgateway-operator")
36}
37
38func getLoadBalancerURL(name string) (string, error) {
39 service, err := config.K8sIstio.GetService(name)

Callers 4

getDashboardURLFunction · 0.92
getDashboardURLFunction · 0.92
getDashboardURLFunction · 0.92
getDashboardURLFunction · 0.92

Calls 1

getLoadBalancerURLFunction · 0.85

Tested by

no test coverage detected