operator

package
v0.16.0-rc Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Overview

Package operator provides primitives for implementing Trivy-Operator Operator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, buildInfo trivyoperator.BuildInfo, operatorConfig etc.Config) error

Start starts all registered reconcilers and blocks until the context is cancelled. Returns an error if there is an error starting any reconciler.

Types

type TTLReportReconciler added in v0.5.0

func (*TTLReportReconciler) DeleteReportIfExpired added in v0.5.0

func (r *TTLReportReconciler) DeleteReportIfExpired(ctx context.Context, namespacedName types.NamespacedName, reportType client.Object, arr ...string) (ctrl.Result, error)

func (*TTLReportReconciler) SetupWithManager added in v0.5.0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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