Documentation ¶
Index ¶
- type ScanReconciler
- func (r *ScanReconciler) PresignedGetURL(scanID types.UID, filename string) (string, error)
- func (r *ScanReconciler) PresignedPutURL(scanID types.UID, filename string) (string, error)
- func (r *ScanReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *ScanReconciler) SetupWithManager(mgr ctrl.Manager) error
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 ¶
PresignedGetURL returns a presigned URL from the s3 (or compatible) serice.
func (*ScanReconciler) PresignedPutURL ¶
PresignedPutURL returns a presigned URL from the s3 (or compatible) serice.
func (*ScanReconciler) Reconcile ¶
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
Click to show internal directories.
Click to hide internal directories.