tcontainerd

package
v0.0.0-...-0e64a26 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address() string

func ContainerdConfigTomlPath

func ContainerdConfigTomlPath() string

func ContainerdContentDir

func ContainerdContentDir() string

func ContainerdRootDir

func ContainerdRootDir() string

func ContainerdSnapshotsDir

func ContainerdSnapshotsDir() string

func ContainerdStateDir

func ContainerdStateDir() string

func CtrMain

func CtrMain()

func CtrReexecInit

func CtrReexecInit()

func CtrSimlinkPath

func CtrSimlinkPath() string

func LoadCurrentServerConfig

func LoadCurrentServerConfig(ctx context.Context) ([]byte, error)

func LockFile

func LockFile() string

func Namespace

func Namespace() string

func NerdctlConfigTomlPath

func NerdctlConfigTomlPath() string

func NewContainerdClient

func NewContainerdClient(ctx context.Context) (*client.Client, error)

func PersistentWorkDir

func PersistentWorkDir() string

func PullPolicy

func PullPolicy() string

func RunCtrCommand

func RunCtrCommand(ctx context.Context, args ...string) error

func RunShim

func RunShim(ctx context.Context) error

func SetupReexec

func SetupReexec(ctx context.Context, justSymlinks bool) error

func ShimLogProxySockPath

func ShimLogProxySockPath() string

func ShimMain

func ShimMain()

func ShimName

func ShimName() string

func ShimReexecInit

func ShimReexecInit()

func ShimRuntimeID

func ShimRuntimeID() string

func ShimSimlinkPath

func ShimSimlinkPath() string

func Snapshotter

func Snapshotter() string

func Timeout

func Timeout() time.Duration

func WorkDir

func WorkDir() string

Types

type DevContainerdServer

type DevContainerdServer struct {
	// contains filtered or unexported fields
}

func NewDevContainerdServer

func NewDevContainerdServer(ctx context.Context, debug bool) (*DevContainerdServer, error)

func (*DevContainerdServer) EnsureOnlyOneInstanceRunning

func (s *DevContainerdServer) EnsureOnlyOneInstanceRunning(ctx context.Context) error

we need a function that makes sure we are the only one running on this system

func (*DevContainerdServer) PrintConnectionInfoBackground

func (s *DevContainerdServer) PrintConnectionInfoBackground()

func (*DevContainerdServer) PrintConnectionInfoForground

func (s *DevContainerdServer) PrintConnectionInfoForground()

func (*DevContainerdServer) Start

func (s *DevContainerdServer) Start(ctx context.Context) error

func (*DevContainerdServer) StartBackground

func (s *DevContainerdServer) StartBackground(ctx context.Context) error

func (*DevContainerdServer) Stop

func (s *DevContainerdServer) Stop(ctx context.Context)

Jump to

Keyboard shortcuts

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