scancontrollers

package
v0.0.0-...-d870e27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanReconciler

type ScanReconciler struct {
	client.Client
	Log         logr.Logger
	Scheme      *runtime.Scheme
	MinioClient minio.Client
}

ScanReconciler reconciles a Scan object

func (*ScanReconciler) PresignedGetURL

func (r *ScanReconciler) PresignedGetURL(scanID types.UID, filename string) (string, error)

PresignedGetURL returns a presigned URL from the s3 (or compatible) serice.

func (*ScanReconciler) PresignedPutURL

func (r *ScanReconciler) PresignedPutURL(scanID types.UID, filename string) (string, error)

PresignedPutURL returns a presigned URL from the s3 (or compatible) serice.

func (*ScanReconciler) Reconcile

func (r *ScanReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

Reconcile compares the scan object against the state of the cluster and updates both if needed

func (*ScanReconciler) SetupWithManager

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

SetupWithManager sets up the controller and initializes every thing it needs

Jump to

Keyboard shortcuts

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