event

package
v0.0.0-...-2d9dd87 Latest Latest
Warning

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

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

Documentation

Overview

Package event contains the definitions for the Event types produced by source.Sources and transformed into reconcile.Requests by handler.EventHandler.

The implementation is derived from sigs.k8s.io/controller-runtime/pkg/event and the main difference is that events are resourceGroup aware.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEvent

type CreateEvent struct {
	ResourceGroup string
	Object        client.Object
}

CreateEvent is an event where a cloud object was created.

type DeleteEvent

type DeleteEvent struct {
	ResourceGroup string
	Object        client.Object
}

DeleteEvent is an event where a cloud object was deleted.

type GenericEvent

type GenericEvent struct {
	ResourceGroup string
	Object        client.Object
}

GenericEvent is an event where the operation type is unknown (e.g. periodic sync).

type UpdateEvent

type UpdateEvent struct {
	ResourceGroup string
	ObjectOld     client.Object
	ObjectNew     client.Object
}

UpdateEvent is an event where a cloud object was updated.

Jump to

Keyboard shortcuts

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