initz

package
v0.0.0-...-e06a683 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaetylCore = "baetyl-core"
)

Variables

View Source
var (
	// ErrProofTypeNotSupported the proof type is not supported
	ErrProofTypeNotSupported = fmt.Errorf("the proof type is not supported")
	// ErrProofValueNotFound the proof value is not found
	ErrProofValueNotFound = fmt.Errorf("the proof value is not found")
)
View Source
var (
	// ErrSysAppCoreMissing system application baetyl-core is required for connection with cloud
	ErrSysAppCoreMissing = fmt.Errorf("system application baetyl-core is required for connection with cloud")
)

Functions

This section is empty.

Types

type Activate

type Activate struct {
	// contains filtered or unexported fields
}

func NewActivate

func NewActivate(cfg *config.Config) (*Activate, error)

NewActivate creates a new activate

func (*Activate) Close

func (active *Activate) Close()

func (*Activate) Start

func (active *Activate) Start()

func (*Activate) WaitAndClose

func (active *Activate) WaitAndClose()

type Initialize

type Initialize struct {
	// contains filtered or unexported fields
}

func NewInitialize

func NewInitialize(cfg config.Config) (*Initialize, error)

NewInitialize creates a new core

func (*Initialize) Close

func (init *Initialize) Close()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL