MCPcopy Index your code
hub / github.com/rilldata/rill / AdminURL

Method AdminURL

cli/pkg/cmdutil/helper.go:166–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164}
165
166func (h *Helper) AdminURL() string {
167 if h.AdminURLOverride != "" {
168 return h.AdminURLOverride
169 }
170 return h.AdminURLDefault
171}
172
173func (h *Helper) Client() (*client.Client, error) {
174 // The admin token and URL may have changed (e.g. if the user did a separate login or env switch).

Callers 11

ClientMethod · 0.95
TelemetryMethod · 0.95
CurrentUserIDMethod · 0.95
GetMetadataMethod · 0.80
authHandlerMethod · 0.80
logoutHandlerMethod · 0.80
NewAppFunction · 0.80
SwitchEnvCmdFunction · 0.80
LoginFunction · 0.80
OpenCmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected