flowcontrol

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEnabled

func IsEnabled(ctx context.Context, config *rest.Config) (bool, error)

IsEnabled returns true if the server has the PriorityAndFairness flow control filter enabled. This check performs a GET request to the /version endpoint and looks for the presence of the `X-Kubernetes-PF-FlowSchema-UID` header.

Types

This section is empty.

Jump to

Keyboard shortcuts

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