Documentation ¶
Index ¶
- type Config
- type Storage
- func (s *Storage) Alloc(_ context.Context, namespace, resource string, tokens, version int64) (int64, int64, bool, error)
- func (s *Storage) Free(_ context.Context, namespace, resource string, tokens, version int64) (int64, int64, bool, error)
- func (s *Storage) RegisterQuota(_ context.Context, namespace, resource string, cfg quota.Config) error
- func (s *Storage) Shutdown(_ context.Context) error
- func (s *Storage) View(_ context.Context, namespace, resource string) (int64, int64, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.