runtime

package
v0.0.0-...-b022d11 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime interface {
	AttachWorkload(ctx context.Context, ID string) (io.Reader, io.Reader, error)
	CollectWorkloadMetrics(ctx context.Context, ID string)
	ListWorkloadIDs(ctx context.Context, filters map[string]string) ([]string, error)
	Events(ctx context.Context, filters map[string]string) (<-chan *types.WorkloadEventMessage, <-chan error)
	GetStatus(ctx context.Context, ID string, checkHealth bool) (*types.WorkloadStatus, error)
	GetWorkloadName(ctx context.Context, ID string) (string, error)
	LogFieldsExtra(ctx context.Context, ID string) (map[string]string, error)
	IsDaemonRunning(ctx context.Context) bool
	Name() string
}

Runtime provides runtime-related functions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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