ami

package
v0.0.0-...-bf6c27f Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeNodeName = "KUBE_NODE_NAME"
	AppName      = "baetyl-app-name"
	AppVersion   = "baetyl-app-version"
	ServiceName  = "baetyl-service-name"

	RegistryAddress  = "address"
	RegistryUsername = "username"
	RegistryPassword = "password"

	ServiceAccountName = "baetyl-edge-service-account"
)
View Source
const (
	Kubernetes = "kubernetes"
)
View Source
const (
	LabelSystemApp = "baetyl-sysapp"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AMI

type AMI interface {
	Collect(namespace string) (specv1.Report, error)
	Apply(namespace string, appInfos []specv1.AppInfo, condition string) error
	FetchLog(namespace, service string, tailLines, sinceSeconds int64) (io.ReadCloser, error)
}

AMI app model interfaces

func GenAMI

func GenAMI(cfg config.EngineConfig, sto *bh.Store) (AMI, error)

Jump to

Keyboard shortcuts

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