claims

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: LGPL-3.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyClaims added in v0.2.5

type EmptyClaims struct{}

EmptyClaims contains no claims

func (EmptyClaims) Type added in v0.2.5

func (e EmptyClaims) Type() string

func (EmptyClaims) Valid added in v0.2.5

func (e EmptyClaims) Valid() error

type PermStorage

type PermStorage struct {
	// contains filtered or unexported fields
}

func NewPermStorage

func NewPermStorage() *PermStorage

func ParsePermStorage added in v0.2.3

func ParsePermStorage(perms string) *PermStorage

func (*PermStorage) Clear

func (p *PermStorage) Clear(perm string)

func (*PermStorage) Dump

func (p *PermStorage) Dump() []string

func (*PermStorage) Filter added in v0.2.4

func (p *PermStorage) Filter(match []string) *PermStorage

func (*PermStorage) Has

func (p *PermStorage) Has(perm string) bool

func (*PermStorage) MarshalJSON

func (p *PermStorage) MarshalJSON() ([]byte, error)

func (*PermStorage) MarshalYAML

func (p *PermStorage) MarshalYAML() (interface{}, error)

func (*PermStorage) OneOf

func (p *PermStorage) OneOf(o *PermStorage) bool

func (*PermStorage) Search

func (p *PermStorage) Search(v string) []string

func (*PermStorage) Set

func (p *PermStorage) Set(perm string)

func (*PermStorage) UnmarshalJSON

func (p *PermStorage) UnmarshalJSON(bytes []byte) error

func (*PermStorage) UnmarshalYAML

func (p *PermStorage) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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