prometheus

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

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