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.29.0
Published
Dec 13, 2023
Platform
linux/amd64
Imports
2 packages
Last checked
17 seconds ago

Tools for package owners.