Documentation
¶
Overview ¶
Package endpointpolicy holds the controller's admission webhook for the EndpointPolicy CRD (proposal 034 Phase 1b, service-scoped UDS delivery). It runs the agent's own resolver over the declared socket, so a value the data plane would refuse — a bad path segment, or one that overflows the AF_UNIX sun_path budget — is rejected at apply time instead of degrading one service to TCP with an error log on every node that hosts it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(spec *configv1.EndpointPolicySpec) error
Validate checks an EndpointPolicy spec: proto rules (targetRef shape, socket shape) plus the socket's resolvability. A nil spec is rejected — an EndpointPolicy that declares nothing is always an authoring mistake.
Types ¶
Click to show internal directories.
Click to hide internal directories.