Documentation ¶ Index ¶ func IsEnabled(ctx context.Context, config *rest.Config) (bool, error) 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. Source Files ¶ View all Source files flowcontrol.go Click to show internal directories. Click to hide internal directories.