kubernetes

package
v1.8.13 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromKubernetesEvent

func FromKubernetesEvent(evt corev1.Event) (event.Meta, error)

FromKubernetesEvent converts a Kubernetes Kargo event to a concrete event type

Types

type EventSender

type EventSender struct {
	// contains filtered or unexported fields
}

func NewEventSender

func NewEventSender(recorder record.EventRecorder) *EventSender

NewEventSender creates a new EventSender that uses the provided EventRecorder

func (*EventSender) Send

func (s *EventSender) Send(_ context.Context, evt event.Meta) error

Send sends the event to the Kubernetes EventRecorder

Jump to

Keyboard shortcuts

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