worker

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

func New

func New(httpClient *httputil.Client, store *store.Store) *Worker

func (*Worker) Collect

func (w *Worker) Collect(ch chan<- prometheus.Metric)

Collect implements prometheus.Collector.

func (*Worker) Describe

func (w *Worker) Describe(descs chan<- *prometheus.Desc)

Describe implements prometheus.Collector.

func (*Worker) ProcessRawImage

func (w *Worker) ProcessRawImage(ctx context.Context, reference oci.Reference) error

Jump to

Keyboard shortcuts

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