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 ¶
NewPublisher creates a new NACK event publisher that will publish k8s events
func (*Publisher) PublishNack ¶
PublishNack publishes a NACK event as a k8s event.
Click to show internal directories.
Click to hide internal directories.