operator

package
v0.13.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 37 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