Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeLocker ¶
type NodeLocker interface { FetchLocks(context.Context) ([]nodelocker.NodeLock, error) //perm:write Lock(context.Context, string, string) (nodelocker.NodeLock, error) //perm:write }
This needs to be lifted to something under pkg/export-service/* so that it can be imported here, but defined closer to the export serice.
type NodeLockerStruct ¶
type NodeLockerStruct struct { Internal struct { FetchLocks func(p0 context.Context) ([]nodelocker.NodeLock, error) `perm:"write"` Lock func(p0 context.Context, p1 string, p2 string) (nodelocker.NodeLock, error) `perm:"write"` } }
func (*NodeLockerStruct) FetchLocks ¶
func (s *NodeLockerStruct) FetchLocks(p0 context.Context) ([]nodelocker.NodeLock, error)
func (*NodeLockerStruct) Lock ¶
func (s *NodeLockerStruct) Lock(p0 context.Context, p1 string, p2 string) (nodelocker.NodeLock, error)
type OperatorStruct ¶
type OperatorStruct struct { NodeLockerStruct Internal struct { Version func(p0 context.Context) (string, error) `perm:"read"` LogList func(p0 context.Context) ([]string, error) `perm:"write"` LogSetLevel func(p0 context.Context, p1 string, p2 string) error `perm:"write"` } }
func (*OperatorStruct) LogList ¶
func (s *OperatorStruct) LogList(p0 context.Context) ([]string, error)
func (*OperatorStruct) LogSetLevel ¶
Click to show internal directories.
Click to hide internal directories.