nack

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonNack = "AgentGatewayNackError"
)

Event reasons for Kubernetes Events created by agentgateway NACK detection

Variables

This section is empty.

Functions

This section is empty.

Types

type NackEvent

type NackEvent struct {
	Gateway   types.NamespacedName
	TypeUrl   string
	ErrorMsg  string
	Timestamp time.Time
}

NackEvent represents a NACK received from an agentgateway gateway

type Publisher

type Publisher struct {
	HasSynced func() bool
	// contains filtered or unexported fields
}

Publisher converts NACK events from the agentgateway xDS server into Kubernetes Events.

func NewPublisher

func NewPublisher(client kube.Client) *Publisher

NewPublisher creates a new NACK event publisher that will publish k8s events

func (*Publisher) PublishNack

func (p *Publisher) PublishNack(event *NackEvent)

PublishNack publishes a NACK event as a k8s event.

Jump to

Keyboard shortcuts

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