role

package
v1.7.9 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binding

type Binding struct {
	v1.BaseModel `storm:"inline"`
	v1.Metadata  `storm:"inline"`
	Subject      Subject `json:"subjects"`
	RoleRef      string  `json:"roleRef" storm:"index"`
}

type PolicyRule

type PolicyRule struct {
	Resource      []string `json:"resource"`
	ResourceNames []string `json:"resourceNames"`
	Verbs         []string `json:"verbs"`
}

type Role

type Role struct {
	v1.BaseModel `storm:"inline"`
	v1.Metadata  `storm:"inline"`
	Rules        []PolicyRule `json:"rules"`
}

type Subject

type Subject struct {
	Kind string `json:"kind"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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