acl

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// AllowCrossNamespaceRef is a global flag that can be used to allow
	// cross-namespace references.
	AllowCrossNamespaceRef = false
)

Functions

func AllowsAccessTo

func AllowsAccessTo(obj client.Object, kind string, ref types.NamespacedName) error

AllowsAccessTo returns an error if the object does not allow access to the given reference.

Types

This section is empty.

Jump to

Keyboard shortcuts

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