pod_images

package
v0.0.0-...-9abc226 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: AGPL-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 Callback

type Callback func(images PodImages, removed bool) error

type ConnectionConfig

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

type PodClient

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

func NewPodClient

func NewPodClient(config ConnectionConfig) (*PodClient, error)

func (*PodClient) Listen

func (p *PodClient) Listen(ctx context.Context, cb Callback) error

type PodImages

type PodImages struct {
	Namespace   string
	Name        string
	Images      map[string]string
	Annotations map[string]string
	PullSecrets []*coreV1.Secret
}

Jump to

Keyboard shortcuts

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