rules

package
v0.15.7 Latest Latest
Warning

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

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

Documentation

Overview

Package rules contains useful pre-defined rego AST rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDirectoryGroup

func GetDirectoryGroup() *ast.Rule

GetDirectoryGroup returns the directory group for the given id.

func GetDirectoryUser

func GetDirectoryUser() *ast.Rule

GetDirectoryUser returns the directory user for the given session.

func GetGroupIDs

func GetGroupIDs() *ast.Rule

GetGroupIDs returns the group ids for the given session or directory user.

func GetSession

func GetSession() *ast.Rule

GetSession gets the session for the given id.

func GetUser

func GetUser() *ast.Rule

GetUser returns the user for the given session.

func GetUserEmail

func GetUserEmail() *ast.Rule

GetUserEmail gets the user email, either the impersonate email, or the user email.

func ObjectGet

func ObjectGet() *ast.Rule

ObjectGet recursively gets a value from an object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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