Documentation

Index

Constants

View Source
const (
	SystemCertVolumePrefix = "baetyl-cert-volume-"
	SystemCertSecretPrefix = "baetyl-cert-secret-"
	SystemCertPath         = "/var/lib/baetyl/system/certs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine interface {
	Start()
	ReportAndDesire() error
	GetServiceLog(ctx *routing.Context) error
	Collect(ns string, isSys bool, desire specv1.Desire) specv1.Report
	Close()
}

func NewEngine

func NewEngine(cfg config.Config, sto *bh.Store, nod *node.Node, syn sync.Sync, helper helper.Helper) (Engine, error)