Documentation ¶
Overview ¶
Package jetcoordinator is responsible for all jet manipulations.
Package responsible for jet drops, split/merge jets, choose of validators.
Index ¶
- type JetCoordinator
- func (jc *JetCoordinator) IsAuthorized(ctx context.Context, role core.JetRole, obj core.RecordRef, ...) (bool, error)
- func (jc *JetCoordinator) Link(components core.Components) error
- func (jc *JetCoordinator) QueryRole(ctx context.Context, role core.JetRole, obj core.RecordRef, ...) ([]core.RecordRef, error)
- type JetNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JetCoordinator ¶
type JetCoordinator struct {
// contains filtered or unexported fields
}
JetCoordinator is responsible for all jet interactions
func NewJetCoordinator ¶ added in v0.0.5
func NewJetCoordinator(db *storage.DB, conf configuration.JetCoordinator) (*JetCoordinator, error)
NewJetCoordinator creates new coordinator instance.
func (*JetCoordinator) IsAuthorized ¶ added in v0.2.0
func (jc *JetCoordinator) IsAuthorized( ctx context.Context, role core.JetRole, obj core.RecordRef, pulse core.PulseNumber, node core.RecordRef, ) (bool, error)
IsAuthorized checks for role on concrete pulse for the address.
func (*JetCoordinator) Link ¶ added in v0.6.1
func (jc *JetCoordinator) Link(components core.Components) error
Click to show internal directories.
Click to hide internal directories.