defaults

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InitManager = func(options *manager.Options) (manager.Manager, error) {
	if options == nil {
		options = &manager.Options{}
	}

	m, err := manager.New(config.GetConfigOrDie(), *options)
	if err != nil {
		return nil, err
	}

	return m, nil
}
View Source
var ReconcileFunc = reconcile.Func(func(ctx context.Context, request reconcile.Request) (reconcile.Result, error) {
	fmt.Printf("event received for %s\n", request.NamespacedName)
	return reconcile.Result{}, nil
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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