allow

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Access

func Access(o *AllowOptions, id uuid.UUID) ([]byte, error)

func RoleObject added in v0.0.3

func RoleObject(o *AllowOptions, id uuid.UUID) (*rbacv1.Role, error)

Types

type AllowOptions added in v0.0.3

type AllowOptions struct {
	Resources          []cmdcreate.ResourceOptions
	Verbs              []string
	ResourceNames      []string
	Labels             []string
	Namespace          string
	KubeConfigPath     string
	ValidFor           int32
	SubResourcePresent bool
	Mapper             meta.RESTMapper
	Clients            kube.Client
	Username           string
}

Jump to

Keyboard shortcuts

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