setup

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v1.1.0

func Create(log logr.Logger, mgr ctrl.Manager, f *forest.Forest, opts Options)

func CreateReconcilers

func CreateReconcilers(mgr ctrl.Manager, f *forest.Forest, opts Options) error

CreateReconcilers creates all reconcilers.

This function is called both from main.go as well as from the integ tests.

func ManageCerts added in v1.0.0

func ManageCerts(mgr ctrl.Manager, setupFinished chan struct{}, restartOnSecretRefresh bool) error

ManageCerts creates all certs for webhooks. This function is called from main.go.

func TestOnlyCheckHRQDrift added in v1.1.0

func TestOnlyCheckHRQDrift(f *forest.Forest) bool

TestOnlyCheckHRQDrift is used in the integ tests to invoke the checker at exactly the right time to verify that it works as expected.

Types

type Options added in v1.1.0

type Options struct {
	MaxReconciles   int
	UseFakeClient   bool
	NoWebhooks      bool
	HNCCfgRefresh   time.Duration
	HRQ             bool
	HRQSyncInterval time.Duration
}

Jump to

Keyboard shortcuts

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