controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UptimerobotReconciler

type UptimerobotReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	UtilProvider
}

func (*UptimerobotReconciler) CreateMonitor

func (r *UptimerobotReconciler) CreateMonitor(host string, annotations map[string]string) error

func (*UptimerobotReconciler) DeleteMonitor

func (r *UptimerobotReconciler) DeleteMonitor(host string, annotations map[string]string) error

func (*UptimerobotReconciler) FilterEnabledIngress

func (r *UptimerobotReconciler) FilterEnabledIngress() predicate.Predicate

func (*UptimerobotReconciler) Reconcile

func (r *UptimerobotReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*UptimerobotReconciler) SetupWithManager

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

type UtilProvider

type UtilProvider interface {
	CreateMonitor(host string, annotations map[string]string) error
	DeleteMonitor(host string, annotations map[string]string) error
}

Jump to

Keyboard shortcuts

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