roles

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStrictSubroleOf

func IsStrictSubroleOf(left, right string) bool

IsStrictSubroleOf returns true if left is a strict subrole of right.

func Parse

func Parse(s string) (string, error)

func Validate

func Validate(roles ...string) error

Types

type Role

type Role string

Role is a deprecated type.

func (Role) Assign

func (r Role) Assign() func(interface{})

func (Role) IsDefault

func (r Role) IsDefault() bool

func (Role) Proto

func (r Role) Proto() *string

Jump to

Keyboard shortcuts

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