resourceset

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonUpdated         = "Updated"
	ReasonUpdateFailed    = "UpdateFailed"
	ReasonCreated         = "Created"
	ReasonCreateFailed    = "CreateFailed"
	ReasonFailed          = "Failed"
	ReasonInvalidResource = "InvalidResource"
	ReasonResourceExists  = "ResourceExists"
	ReasonUnchanged       = "Unchanged"
)

Variables

View Source
var ReconcilerSet = wire.NewSet(
	wire.Struct(new(Reconciler), "*"),
)

ReconcilerSet provides a reconciler. nolint: gochecknoglobals

Functions

This section is empty.

Types

type NotManagedByPullupError added in v1.0.0

type NotManagedByPullupError struct {
	Resource *unstructured.Unstructured
}

func (NotManagedByPullupError) Error added in v1.0.0

func (n NotManagedByPullupError) Error() string

type Reconciler

type Reconciler struct {
	Client   client.Client
	Recorder record.EventRecorder
}

func NewReconciler

func NewReconciler(mgr manager.Manager) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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