containerd

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectUruncAnnotations

func InjectUruncAnnotations(ctx context.Context, session *Session, bundlePath string) error

Types

type Session

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

func OpenSession

func OpenSession(ctx context.Context, address, containerID string) (*Session, error)

OpenSession opens a containerd session and loads the task container metadata.

func (*Session) Close

func (s *Session) Close() error

func (*Session) GetContainer

func (s *Session) GetContainer() *containersapi.Container

func (*Session) GetContainerID

func (s *Session) GetContainerID() string

func (*Session) GetNamespace

func (s *Session) GetNamespace() string

Jump to

Keyboard shortcuts

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