events

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MaxNoteLength = 1024

MaxNoteLength is the maximum Event note size accepted by the Kubernetes API.

Variables

This section is empty.

Functions

func Normal

func Normal(recorder clientevents.EventRecorder, regarding, related runtime.Object, reason Reason, action Action, note string, args ...any)

func Warning

func Warning(recorder clientevents.EventRecorder, regarding, related runtime.Object, reason Reason, action Action, note string, args ...any)

Types

type Action

type Action string
const (
	ActionCordon           Action = "Cordon"
	ActionCreate           Action = "Create"
	ActionDelete           Action = "Delete"
	ActionPatch            Action = "Patch"
	ActionResolveReference Action = "ResolveReference"
	ActionSync             Action = "Sync"
	ActionSyncFinalizer    Action = "SyncFinalizer"
	ActionUpdate           Action = "Update"
)

type Reason

type Reason string
const (
	ReasonConflictingController  Reason = "ConflictingController"
	ReasonControllerRefFailed    Reason = "ControllerRefFailed"
	ReasonDefunctSlurmNodePruned Reason = "DefunctSlurmNodePruned"
	ReasonFailedCreate           Reason = "FailedCreate"
	ReasonFailedDaemonPod        Reason = "FailedDaemonPod"
	ReasonFailedDelete           Reason = "FailedDelete"
	ReasonFailedPatch            Reason = "FailedPatch"
	ReasonFailedUpdate           Reason = "FailedUpdate"
	ReasonHostnameMismatch       Reason = "HostnameMismatch"
	ReasonNodeCordon             Reason = "NodeCordon"
	ReasonSlurmNodeInvalidReg    Reason = "SlurmNodeInvalidReg"
	ReasonSlurmNodeNotRegistered Reason = "SlurmNodeNotRegistered"
	ReasonSucceededDaemonPod     Reason = "SucceededDaemonPod"
	ReasonSuccessfulCreate       Reason = "SuccessfulCreate"
	ReasonSuccessfulDelete       Reason = "SuccessfulDelete"
	ReasonSuccessfulUpdate       Reason = "SuccessfulUpdate"
	ReasonSyncFailed             Reason = "SyncFailed"
	ReasonSyncFinalizerFailed    Reason = "SyncFinalizerFailed"
)

Jump to

Keyboard shortcuts

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