common

package
v0.0.0-...-036f9fd Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// WatchNamespace defines the namespaced to be watched for resources
	// empty mean watch for all namespaces
	WatchNamespace                = ""
	RequeueDurationForConfigError = 10 * time.Second
)

Functions

This section is empty.

Types

type RequestInfo

type RequestInfo struct {
	reconcile.Request
	Client      client.Client
	Object      runtime.Object
	EvnRecorder record.EventRecorder
	Log         logr.Logger
}

func FromContext

func FromContext(ctx context.Context) (RequestInfo, bool)

func (RequestInfo) NewContext

func (r RequestInfo) NewContext(ctx context.Context) context.Context

Jump to

Keyboard shortcuts

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