systemd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TCPPrefix = "systemd://"

TCPPrefix is the endpoint prefix for a systemd-managed docker daemon.

Variables

This section is empty.

Functions

func MakeClient

func MakeClient(ctx context.Context, config coretypes.Config, nodename, endpoint, ca, cert, key string) (engine.API, error)

MakeClient builds a systemd engine on top of the docker client.

Types

type Engine

type Engine struct {
	engine.API
	// contains filtered or unexported fields
}

Engine wraps the docker engine and forces the systemd runtime.

func (*Engine) BuildRefs

func (*Engine) ExecExitCode

func (e *Engine) ExecExitCode(context.Context, string, string) (int, error)

func (*Engine) ExecResize

func (e *Engine) ExecResize(context.Context, string, uint, uint) error

func (*Engine) GetParams

func (e *Engine) GetParams() *enginetypes.Params

func (*Engine) NetworkConnect

func (e *Engine) NetworkConnect(context.Context, string, string, string, string) ([]string, error)

func (*Engine) NetworkDisconnect

func (e *Engine) NetworkDisconnect(context.Context, string, string, bool) error

func (*Engine) NetworkList

func (e *Engine) NetworkList(context.Context, []string) ([]*enginetypes.Network, error)

func (*Engine) VirtualizationAttach

func (e *Engine) VirtualizationAttach(context.Context, string, bool, bool) (io.ReadCloser, io.ReadCloser, io.WriteCloser, error)

func (*Engine) VirtualizationResize

func (e *Engine) VirtualizationResize(context.Context, string, uint, uint) error

func (*Engine) VirtualizationUpdateResource

func (e *Engine) VirtualizationUpdateResource(context.Context, string, resourcetypes.Resources) error

func (*Engine) VirtualizationWait

Jump to

Keyboard shortcuts

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