apiserverk8s.io/apiserver/pkg/endpoints/warning Index | Files

package warning

import "k8s.io/apiserver/pkg/endpoints/warning"

Index

Functions

func AddWarningsHandler

func AddWarningsHandler(handler restful.RouteFunction, warnings []string) restful.RouteFunction

AddWarningsHandler returns a handler that adds the provided warnings to all requests, then delegates to the provided handler.

Source Files

warning.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.