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

Function ErrorInvalidOperatorEndpoint

cli/cmd/errors.go:116–121  ·  view source on GitHub ↗
(endpoint string)

Source from the content-addressed store, hash-verified

114}
115
116func ErrorInvalidOperatorEndpoint(endpoint string) error {
117 return errors.WithStack(&errors.Error{
118 Kind: ErrInvalidOperatorEndpoint,
119 Message: fmt.Sprintf("%s is not a cortex operator endpoint; run `cortex cluster info` to show your operator endpoint or run `cortex cluster up` to spin up a new cluster", endpoint),
120 })
121}
122
123func ErrorNoOperatorLoadBalancer(whichLB string) error {
124 return errors.WithStack(&errors.Error{

Callers 1

validateOperatorEndpointFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected