prometheus

package
v0.9.19 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: Apache-2.0 Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerConfigJSON

type DockerConfigJSON struct {
	Auths map[string]struct {
		Username string `json:"username"`
		Password string `json:"password"`
		Email    string `json:"email"`
		Auth     string `json:"auth"` // Base64 encoded username:password
	} `json:"auths"`
	// +optional
	HTTPHeaders map[string]string `json:"HttpHeaders,omitempty"`
}

type PharosScanTaskCreator

type PharosScanTaskCreator struct {
	Logger            *zerolog.Logger
	Config            *model.Config
	DockerConfigJSONs []DockerConfigJSON // Use the Kubernetes Secret type for image pull secrets
}

func NewPharosScanTaskCreator

func NewPharosScanTaskCreator(config *model.Config) *PharosScanTaskCreator

func (*PharosScanTaskCreator) Result

func (*PharosScanTaskCreator) WithImagePullSecrets

func (pst *PharosScanTaskCreator) WithImagePullSecrets() *PharosScanTaskCreator

type PharosTaskSink

type PharosTaskSink struct {
	Config *model.Config // Assuming you
	// contains filtered or unexported fields
}

func NewPharosTaskSink

func NewPharosTaskSink(config *model.Config) *PharosTaskSink

func (*PharosTaskSink) AwaitCompletion

func (is *PharosTaskSink) AwaitCompletion()

AwaitCompletion blocks until the ImageSink has processed all received data.

func (*PharosTaskSink) In

func (is *PharosTaskSink) In() chan<- any

In returns the input channel of the ImageSink connector.

Jump to

Keyboard shortcuts

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