Documentation ¶
Index ¶
- type Locator
- func (l *Locator) Get(ctx context.Context, uid int64, insKind cluster.Kind) (string, error)
- func (l *Locator) Rem(ctx context.Context, uid int64, insKind cluster.Kind, insID string) error
- func (l *Locator) Set(ctx context.Context, uid int64, insKind cluster.Kind, insID string) error
- func (l *Locator) Watch(ctx context.Context, insKinds ...cluster.Kind) (locate.Watcher, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locator ¶
type Locator struct {
// contains filtered or unexported fields
}
func NewLocator ¶
Click to show internal directories.
Click to hide internal directories.