Documentation ¶
Index ¶
- Variables
- type AvailableExecutionNodeRecord
- type Client
- func (c *Client) CheckoutStalledExecutionNodeRecords(ctx context.Context, limit int) ([]*node.Record, error)
- func (c *Client) GetCannonLocationByID(ctx context.Context, id int64) (*cannon.Location, error)
- func (c *Client) GetCannonLocationByNetworkIDAndType(ctx context.Context, networkID, typ string) (*cannon.Location, error)
- func (c *Client) InsertNodeRecordExecution(ctx context.Context, record *node.Execution) error
- func (c *Client) InsertNodeRecords(ctx context.Context, records []*node.Record) error
- func (c *Client) ListAvailableExecutionNodeRecords(ctx context.Context, clientID string, ignoredNodeRecords []string, ...) ([]*string, error)
- func (c *Client) ListNodeRecordExecutions(ctx context.Context, networkIds []uint64, forkIDHashes [][]byte, limit int) ([]*node.Execution, error)
- func (c *Client) Start(ctx context.Context) error
- func (c *Client) Stop(ctx context.Context) error
- func (c *Client) UpdateNodeRecord(ctx context.Context, record *node.Record) error
- func (c *Client) UpsertCannonLocation(ctx context.Context, location *cannon.Location) error
- func (c *Client) UpsertNodeRecordActivities(ctx context.Context, activities []*node.Activity) error
- type Config
- type DriverName
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCannonLocationNotFound = errors.New("cannon location not found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CheckoutStalledExecutionNodeRecords ¶
func (*Client) GetCannonLocationByID ¶
func (*Client) GetCannonLocationByNetworkIDAndType ¶
func (c *Client) GetCannonLocationByNetworkIDAndType(ctx context.Context, networkID, typ string) (*cannon.Location, error)
get by network id and type
func (*Client) InsertNodeRecordExecution ¶
func (*Client) InsertNodeRecords ¶
func (*Client) ListAvailableExecutionNodeRecords ¶
func (*Client) ListNodeRecordExecutions ¶
func (*Client) UpdateNodeRecord ¶
func (*Client) UpsertCannonLocation ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.