Documentation ¶
Index ¶
- type Starfish
- func (s *Starfish) AddJob(t *testing.T, peerC peer.Node, job *patrick.Job) error
- func (s *Starfish) Cancel(jid string, cid_log map[string]string) (interface{}, error)
- func (s *Starfish) Close()
- func (s *Starfish) DatabaseStats() (kvdbIface.Stats, error)
- func (s *Starfish) Done(jid string, cid_log map[string]string, assetCid map[string]string) error
- func (s *Starfish) Failed(jid string, cid_log map[string]string, assetCid map[string]string) error
- func (s *Starfish) Get(jid string) (*patrick.Job, error)
- func (s *Starfish) IsLocked(jid string) (bool, error)
- func (s *Starfish) List() ([]string, error)
- func (s *Starfish) Lock(jid string, eta uint32) error
- func (s *Starfish) Peers(...peerCore.ID) patrick.Client
- func (s *Starfish) Timeout(jid string) error
- func (s *Starfish) Unlock(jid string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Starfish ¶
Click to show internal directories.
Click to hide internal directories.