Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 }
Click to show internal directories.
Click to hide internal directories.