Documentation ¶
Index ¶
- type OperatorImpl
- func (s *OperatorImpl) FetchLocks(ctx context.Context) ([]nodelocker.NodeLock, error)
- func (s *OperatorImpl) Lock(ctx context.Context, peerID, secret string) (nodelocker.NodeLock, error)
- func (s *OperatorImpl) LogList(ctx context.Context) ([]string, error)
- func (s *OperatorImpl) LogSetLevel(ctx context.Context, subsystem string, level string) error
- func (s *OperatorImpl) Version(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorImpl ¶
type OperatorImpl struct {
NodeLocker api.NodeLocker
}
func (*OperatorImpl) FetchLocks ¶
func (s *OperatorImpl) FetchLocks(ctx context.Context) ([]nodelocker.NodeLock, error)
func (*OperatorImpl) Lock ¶
func (s *OperatorImpl) Lock(ctx context.Context, peerID, secret string) (nodelocker.NodeLock, error)
func (*OperatorImpl) LogList ¶
func (s *OperatorImpl) LogList(ctx context.Context) ([]string, error)
func (*OperatorImpl) LogSetLevel ¶
Click to show internal directories.
Click to hide internal directories.