controller

package
v0.0.0-...-beba465 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeHash

func ComputeHash(in string) string

func ConnectToStorage

func ConnectToStorage(logger hclog.Logger) (storage.SynHeartStore, error)

func SelectRandomAgent

func SelectRandomAgent(validAgents map[string]bool) (string, error)

Types

type SyntheticTestReconciler

type SyntheticTestReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

SyntheticTestReconciler reconciles a SyntheticTest object

func (*SyntheticTestReconciler) Reconcile

func (r *SyntheticTestReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

func (*SyntheticTestReconciler) ReconcileForExternalEvents

func (r *SyntheticTestReconciler) ReconcileForExternalEvents(context context.Context, c client.Client) []reconcile.Request

Returns an array of reconcile requests for Synthetic Tests

func (*SyntheticTestReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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