stas

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageShortSHALength     = 5
	KubernetesNameMaxLength = validation.DNS1123SubdomainMaxLength
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerImageScanReconciler

type ContainerImageScanReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	config.Config
	EventChan chan event.GenericEvent
}

ContainerImageScanReconciler reconciles a ContainerImageScan object.

func (*ContainerImageScanReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.13.0/pkg/reconcile

func (*ContainerImageScanReconciler) SetupWithManager

func (r *ContainerImageScanReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type Indexer

type Indexer struct{}

func (*Indexer) SetupWithManager

func (r *Indexer) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the indexer with the Manager.

type PodReconciler

type PodReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	config.Config
	WorkloadKinds []schema.GroupVersionKind
}

func (*PodReconciler) SetupWithManager

func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controllers with the Manager.

type RescanTrigger added in v0.4.0

type RescanTrigger struct {
	client.Client
	config.Config
	EventChan     chan event.GenericEvent
	CheckInterval time.Duration
}

func (*RescanTrigger) Start added in v0.4.0

func (r *RescanTrigger) Start(ctx context.Context) error

type ScanJobReconciler

type ScanJobReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	config.Config
	pod.LogsReader
}

ScanJobReconciler reconciles a finished image scan Job object.

func (*ScanJobReconciler) SetupWithManager

func (r *ScanJobReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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