Add some godocs to ManagerOptions

This commit is contained in:
Dimitar Dimitrov 2021-11-25 13:47:32 +01:00
parent 6ffb81244f
commit 42a7f1e210
No known key found for this signature in database
GPG key ID: 4541B04E6C90EBC3

View file

@ -907,10 +907,11 @@ type ContextFunc func(g *Group) context.Context
// ManagerOptions bundles options for the Manager.
type ManagerOptions struct {
ExternalURL *url.URL
QueryFunc QueryFunc
NotifyFunc NotifyFunc
Context context.Context
ExternalURL *url.URL
QueryFunc QueryFunc
NotifyFunc NotifyFunc
Context context.Context
// FederatedContextFunc will be called to obtain a context when evaluating rules with non-empty SourceTenants
FederatedContextFunc ContextFunc
Appendable storage.Appendable
Queryable storage.Queryable