types

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIgnore = errors.New("IgnoreError")

ErrIgnore defines the ignorable error

Functions

This section is empty.

Types

type FinalizeReconciler

type FinalizeReconciler interface {
	PreFinalize(ctx context.Context) error
}

FinalizeReconciler is the interface that facilitates PreFinalize

type Reconciler

type Reconciler interface {
	Reconcile(ctx context.Context) error
	Finalize(ctx context.Context) error
}

Reconciler is the interface that facilitates Reconcile and Finalize

type Resource

type Resource interface {
	ResourceBase
	GetConditionedStatus() *v1alpha1.ConditionedStatus
}

Resource is the interface that facilitates getters

type ResourceBase

type ResourceBase interface {
	client.Object
	GetSpec() any
	GetSpecCopy() any
	GetStatus() any
	GetStatusCopy() any
}

ResourceBase is the interface that facilitates getters

Jump to

Keyboard shortcuts

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