Documentation ¶
Overview ¶
Package configservice provides an implementation of quotaconfig.Interface which fetches *pb.Policy configs stored with the LUCI Config service. Create an instance suitable for use with the quota library using New.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a quotaconfig.Interface which fetches known *pb.Policy protos at the given path for the given config set known to the LUCI Config service. Suitable for use with the quota library by calling quota.WithConfig(ctx, configservice.New(ctx, cfgSet, path)). Panics if caching.GlobalCache() returns nil, which shouldn't happen if the redisconn module (required by the quota library) has been initialized.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.