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()