attribute

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Attribute string = "attribute"
	Google    string = "google"
	Assertion string = "assertion"
)

Variables

View Source
var (
	VARIABLES = []string{Attribute, Google, Assertion}
)

Functions

func GetAssertionName

func GetAssertionName(ass string) string

GetAssertionName is an helper function to get an assertion

func GetAttributeInputVar

func GetAttributeInputVar(customMap map[string]any) (string, error)

func GetAttributeName

func GetAttributeName(attr string) string

GetAttributeName is an helper function to get a derived attribute

Types

type Provider

type Provider struct{}

func (*Provider) GetInputVar

func (p *Provider) GetInputVar(raw string) (map[string]any, error)

func (*Provider) GetOptions

func (p *Provider) GetOptions() []cel.EnvOption

Jump to

Keyboard shortcuts

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