platform

package
v0.0.0-...-147a9b8 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrImageNotAllowed            = errors.New("runtime image is not allowed")
	ErrInvalidImageReference      = errors.New("invalid tagged image reference")
	ErrImageNotFound              = errors.New("image is not installed on the deployment platform")
	ErrImageResolutionUnavailable = errors.New("platform image resolution is unavailable")
)
View Source
var ErrObservationStreamDisconnected = errors.New("platform observation stream disconnected")

Functions

This section is empty.

Types

type ImageResolution

type ImageResolution struct {
	Reference string
	ImageRef  string
}

type Lifecycle

Lifecycle is the deployment-platform capability used by control use cases.

type ObservationSource

type ObservationSource interface {
	List(context.Context) ([]deployment.Inspection, error)
	Watch(
		context.Context,
		time.Time,
		func(context.Context) error,
		func(context.Context, deployment.Observation) error,
	) error
}

ObservationSource exposes platform inventory and event facts without importing Docker or Kubernetes event types.

type Port

type Port interface {
	Lifecycle
	ObservationSource
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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