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 (pst *PharosScanTaskCreator) Result(metric hwmodel.ImageMetric) []model.PharosScanTask2
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.
Click to show internal directories.
Click to hide internal directories.