Documentation
¶
Index ¶
- type Bootstrapper
- func (b *Bootstrapper) ActivateNodeDomain(am core.ArtifactManager, cb *testutil.ContractsBuilder) error
- func (b *Bootstrapper) ActivateRootDomain(am core.ArtifactManager, cb *testutil.ContractsBuilder) error
- func (b *Bootstrapper) ActivateSmartContracts(am core.ArtifactManager, cb *testutil.ContractsBuilder) error
- func (b *Bootstrapper) GetRootDomainRef() *core.RecordRef
- func (b *Bootstrapper) Start(c core.Components) error
- func (b *Bootstrapper) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
type Bootstrapper struct {
// contains filtered or unexported fields
}
Bootstrapper is a component for precreation core contracts types and RootDomain instance
func NewBootstrapper ¶
func NewBootstrapper(cfg configuration.Configuration) (*Bootstrapper, error)
NewBootstrapper creates new Bootstrapper
func (*Bootstrapper) ActivateNodeDomain ¶ added in v0.3.0
func (b *Bootstrapper) ActivateNodeDomain(am core.ArtifactManager, cb *testutil.ContractsBuilder) error
func (*Bootstrapper) ActivateRootDomain ¶ added in v0.3.0
func (b *Bootstrapper) ActivateRootDomain(am core.ArtifactManager, cb *testutil.ContractsBuilder) error
func (*Bootstrapper) ActivateSmartContracts ¶ added in v0.3.0
func (b *Bootstrapper) ActivateSmartContracts(am core.ArtifactManager, cb *testutil.ContractsBuilder) error
func (*Bootstrapper) GetRootDomainRef ¶
func (b *Bootstrapper) GetRootDomainRef() *core.RecordRef
GetRootDomainRef returns reference to RootDomain instance
func (*Bootstrapper) Start ¶
func (b *Bootstrapper) Start(c core.Components) error
Start creates types and RootDomain instance
func (*Bootstrapper) Stop ¶
func (b *Bootstrapper) Stop() error
Stop implements core.Component method
Click to show internal directories.
Click to hide internal directories.