containerd

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auditor

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

func NewAuditor

func NewAuditor(address string, prefix string, ctx context.Context, logger *zap.Logger) (*Auditor, error)

func (*Auditor) AuditOnce

func (a *Auditor) AuditOnce() error

func (*Auditor) Watch

func (a *Auditor) Watch() error

type Client

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

func NewClient

func NewClient(address string, ctx context.Context) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) ListContainers

func (c *Client) ListContainers(namespace string) ([]containerd.Container, error)

func (*Client) ListNamespaces

func (c *Client) ListNamespaces() ([]string, error)

Jump to

Keyboard shortcuts

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