skip

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Overview

Package skip helps with skiping reconciles for stale resources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reconciles

func Reconciles(ctx context.Context, client crc.Client, object Object) bool

Reconciles returns true if the object is stale, and shouldn't be enqueued for reconciliation The object can be a ConfigMap or a Secret

Types

type Object

type Object interface {
	runtime.Object
	metav1.Object
}

Object is used as a helper interface when passing Kubernetes resources between methods. All Kubernetes resources should implement both of these interfaces

Jump to

Keyboard shortcuts

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