roles

package
v0.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Admin role
	Admin es.Role = "admin"

	// User role
	User es.Role = "user"

	// OnCall role
	OnCall es.Role = "oncall"

	// K8sOperator role
	K8sOperator es.Role = "k8soperator"
)

Roles

Variables

View Source
var AvailableRoles = []es.Role{
	Admin,
	User,
	K8sOperator,
	OnCall,
}

A list of all existing roles.

Functions

func ValidateRole

func ValidateRole(role string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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