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. |