rbac

package
v3.2.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package rbac implements the Envoy RBAC HTTP filter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterForTesting

func RegisterForTesting()

RegisterForTesting registers the RBAC HTTP Filter for testing purposes, regardless of the RBAC environment variable. This is needed because there is no way to set the RBAC environment variable to true in a test before init() in this package is run.

func UnregisterForTesting

func UnregisterForTesting()

UnregisterForTesting unregisters the RBAC HTTP Filter for testing purposes. This is needed because there is no way to unregister the HTTP Filter after registering it solely for testing purposes using rbac.RegisterForTesting()

Types

This section is empty.

Jump to

Keyboard shortcuts

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