apiserver: k8s.io/apiserver/pkg/authorization/path Index | Files

package path

import "k8s.io/apiserver/pkg/authorization/path"

Package path contains an authorizer that allows certain paths and path prefixes.

Index

Package Files

doc.go path.go

func NewAuthorizer Uses

func NewAuthorizer(alwaysAllowPaths []string) (authorizer.Authorizer, error)

NewAuthorizer returns an authorizer which accepts a given set of paths. Each path is either a fully matching path or it ends in * in case a prefix match is done. A leading / is optional.

Package path imports 4 packages (graph) and is imported by 2 packages. Updated 2019-09-30. Refresh now. Tools for package owners.