certificates

package
Version: v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAuthorizedForSignerName

func IsAuthorizedForSignerName(ctx context.Context, authz authorizer.Authorizer, info user.Info, verb, signerName string) bool

IsAuthorizedForSignerName returns true if 'info' is authorized to perform the given 'verb' on the synthetic 'signers' resource with the given signerName. If the user does not have permission to perform the 'verb' on the given signerName, it will also perform an authorization check against {domain portion}/*, for example `kubernetes.io/*`. This allows an entity to be granted permission to 'verb' on all signerNames with a given 'domain portion'.

Types

This section is empty.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto