k8s

package
v0.0.0-...-cdd39c7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInformerCacheSync = errors.New("failed to synchronize informer cache")
)

Functions

This section is empty.

Types

type ConnectionConfig

type ConnectionConfig struct {
	InClusterConfig        bool
	InformerResyncInterval time.Duration
	ImageCheckInterval     time.Duration
}

type ContainerClient

type ContainerClient struct {
	Config ConnectionConfig
	// contains filtered or unexported fields
}

func NewContainerClient

func NewContainerClient(config ConnectionConfig, logger *slog.Logger) (*ContainerClient, error)

func (*ContainerClient) Listener

func (c *ContainerClient) Listener(ctx context.Context) (<-chan clients.ContainerImage, error)

Jump to

Keyboard shortcuts

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