engine

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: 24 Imported by: 0

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)

Jump to

Keyboard shortcuts

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