Documentation ¶
Index ¶
- type API
- type Resolver
- func (resolver *Resolver) AllPrefixes(ctx context.Context) (map[string]string, error)
- func (resolver *Resolver) Cron(ctx context.Context) error
- func (resolver *Resolver) HandleRoute(ctx context.Context, route string) (http.Handler, error)
- func (resolver *Resolver) Prefixes() (prefixes map[string]string)
- func (resolver *Resolver) Routes() component.Routes
- func (resolver *Resolver) Target(uri string) string
- func (resolver *Resolver) TaskName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
func (*API) HandleRoute ¶
type Resolver ¶
type Resolver struct { component.Base Dependencies struct { Instances *instances.Instances Templating *templating.Templating Auth *auth.Auth } RefreshInterval time.Duration // contains filtered or unexported fields }
func (*Resolver) AllPrefixes ¶
AllPrefixes returns a list of all prefixes from the server. Prefixes may be cached on the server
func (*Resolver) HandleRoute ¶
Click to show internal directories.
Click to hide internal directories.