(endpoint string)
| 114 | } |
| 115 | |
| 116 | func 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 | |
| 123 | func ErrorNoOperatorLoadBalancer(whichLB string) error { |
| 124 | return errors.WithStack(&errors.Error{ |
no test coverage detected