resources

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {
	Cluster         string
	Name            string
	Operator        string
	APIGroup        string
	Namespace       string
	Resource        string
	ResourceRequest bool
}

func NewAccess

func NewAccess(clusterName string, userName string, operator string, apiGroup string, namespace string, resource string, isK8sRes bool) *Access

func NewSimpleAccess

func NewSimpleAccess(clusterName string, userName string, namespace string) *Access

func (*Access) AccessAllow

func (a *Access) AccessAllow(apiGroup string, resource string, operator string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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