events

package
v1.39.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 6 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reason

type Reason string
const (
	PossibleNodeDeletion    Reason = "PossibleNodeDeletion"
	InstanceLookupFailed    Reason = "InstanceLookupFailed"
	IgnoredExternalIPv6     Reason = "IgnoredExternalIPv6"
	InvalidExternalIPv6     Reason = "InvalidExternalIPv6"
	MisconfiguredInternalIP Reason = "MisconfiguredInternalIP"
)

Instances controller event reasons.

const (
	PrimaryIPChangeUnsupported    Reason = "PrimaryIPChangeUnsupported"
	UnknownProviderIDPrefix       Reason = "UnknownProviderIDPrefix"
	InternalIPNotConfigured       Reason = "InternalIPNotConfigured"
	ExternalIPTargetReplaced      Reason = "ExternalIPTargetReplaced"
	ServerNotFound                Reason = "ServerNotFound"
	MaxTargetsReached             Reason = "MaxTargetsReached"
	UnsupportedProtocolConfigured Reason = "UnsupportedProtocolConfigured"
	LoadBalancerTypeUnconfigured  Reason = "LoadBalancerTypeUnconfigured"
	LoadBalancerTypeDeprecated    Reason = "LoadBalancerTypeDeprecated"
	InvalidLoadBalancerAnnotation Reason = "InvalidLoadBalancerAnnotation"
)

Load balancer controller event reasons.

const (
	ClusterCIDRMisconfigured Reason = "ClusterCIDRMisconfigured"
)

Route controller event reasons.

type Recorder

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

func NewRecorder

func NewRecorder(recorder record.EventRecorder) *Recorder

func (*Recorder) Errorf

func (r *Recorder) Errorf(obj runtime.Object, reason Reason, format string, args ...any)

Errorf emits a warning event and a structured error log message.

func (*Recorder) Normalf

func (r *Recorder) Normalf(obj runtime.Object, reason Reason, format string, args ...any)

Normalf emits a normal event and a structured info log message.

func (*Recorder) Warnf

func (r *Recorder) Warnf(obj runtime.Object, reason Reason, format string, args ...any)

Warnf emits a warning event and a structured info log message.

Jump to

Keyboard shortcuts

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