v2

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SupportedSchemaVersion int = 2

Variables

This section is empty.

Functions

func Load

func Load(r io.Reader) (*model.Model, error)

func NormalizePermission

func NormalizePermission(p string) string

Types

type Manifest

type Manifest map[string]ObjectRelation

type ObjectRelation

type ObjectRelation map[string]Relation

type Relation

type Relation struct {
	Union []string `json:"union" yaml:"union"`
	Perms []string `json:"permissions" yaml:"permissions"`
}

Jump to

Keyboard shortcuts

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