runtime

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package runtime selects the container runtime the rest of kubesolo depends on: the containerd kubesolo embeds and supervises, or a runtime the host manages that kubesolo merely attaches to. Which one is used is decided by --container-runtime-endpoint, and by the external_deps build tag — builds carrying it do not link containerd at all.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Run() error
}

Service is a container runtime kubesolo depends on. Run blocks until the runtime stops or the context is cancelled, and signals readiness on the channel it was constructed with.

func NewService

func NewService(ctx context.Context, cancel context.CancelFunc, runtimeReady chan<- struct{}, embedded *types.Embedded) Service

NewService returns the container runtime kubesolo depends on: a runtime the host manages when --container-runtime-endpoint is set, otherwise the containerd kubesolo embeds and supervises itself.

Directories

Path Synopsis
Package external attaches KubeSolo to a container runtime the host manages, instead of starting the containerd KubeSolo embeds.
Package external attaches KubeSolo to a container runtime the host manages, instead of starting the containerd KubeSolo embeds.

Jump to

Keyboard shortcuts

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