package ratelimiter
import "github.com/ydb-platform/ydb-go-sdk/v3/internal/ratelimiter"
Index ¶
Types ¶
type Client ¶
type Client interface { CreateResource( ctx context.Context, coordinationNodePath string, resource ratelimiter.Resource, ) (err error) AlterResource( ctx context.Context, coordinationNodePath string, resource ratelimiter.Resource, ) (err error) DropResource( ctx context.Context, coordinationNodePath string, resourcePath string, ) (err error) ListResource( ctx context.Context, coordinationNodePath string, resourcePath string, recursive bool, ) (_ []string, err error) DescribeResource( ctx context.Context, coordinationNodePath string, resourcePath string, ) (_ *ratelimiter.Resource, err error) AcquireResource( ctx context.Context, coordinationNodePath string, resourcePath string, amount uint64, isUsedAmount bool, ) (err error) Close(ctx context.Context) error }
func New ¶
func New(cc grpc.ClientConnInterface, options []config.Option) Client
Source Files ¶
- Version
- v3.10.0
- Published
- Feb 16, 2022
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 14 seconds ago –
Tools for package owners.