Documentation
¶
Index ¶
- Variables
- type AvailableConsensusNodeRecord
- type AvailableExecutionNodeRecord
- type Client
- func (c *Client) BulkInsertNodeRecordConsensus(ctx context.Context, records []*node.Consensus) error
- func (c *Client) CheckoutStalledConsensusNodeRecords(ctx context.Context, limit int) ([]*node.Record, error)
- 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) InsertNodeRecordConsensus(ctx context.Context, record *node.Consensus) 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) ListAvailableConsensusNodeRecords(ctx context.Context, clientID string, ignoredNodeRecords []string, ...) ([]*string, error)
- func (c *Client) ListAvailableExecutionNodeRecords(ctx context.Context, clientID string, ignoredNodeRecords []string, ...) ([]*string, error)
- func (c *Client) ListNodeRecordConsensus(ctx context.Context, networkIds []uint64, forkDigests [][]byte, limit int) ([]*node.Consensus, 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 AvailableConsensusNodeRecord ¶ added in v1.3.0
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) BulkInsertNodeRecordConsensus ¶ added in v1.3.2
func (*Client) CheckoutStalledConsensusNodeRecords ¶ added in v1.3.0
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) InsertNodeRecordConsensus ¶ added in v1.3.0
func (*Client) InsertNodeRecordExecution ¶
func (*Client) InsertNodeRecords ¶
func (*Client) ListAvailableConsensusNodeRecords ¶ added in v1.3.0
func (*Client) ListAvailableExecutionNodeRecords ¶
func (*Client) ListNodeRecordConsensus ¶ added in v1.3.0
func (*Client) ListNodeRecordExecutions ¶
func (*Client) UpdateNodeRecord ¶
func (*Client) UpsertCannonLocation ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.