supervised_runtime

package
v1.26.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	State   plugin.ReportedState
	Message string
	Details map[string]any
}

type Provider

type Provider interface {
	New(
		id plugin.InstallationID,
		bin []byte,
		manifest *plugin.Validated,
		parentLogger *slog.Logger,
		serverURL url.URL,
		parentCtx context.Context,
	) Runtime
}

type Runtime

type Runtime interface {
	Start(ctx context.Context) error
	Stop(ctx context.Context) error
	Events() <-chan Event
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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