functions

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListStringOrError

func ListStringOrError(strs []string, err error) ref.Val

func ProvideAll

func ProvideAll() map[string]Interface

ProvideAll fetches all available functions

func Register

func Register(name string, fn Interface)

Register is used by functions to participate in furnishing OIDC tokens.

func StringOrError

func StringOrError(str string, err error) ref.Val

Types

type Interface

type Interface interface {
	GetFn() cel.EnvOption
}

Interface is what function need to implement to share custom function.

func ProvideFrom

func ProvideFrom(function string) (Interface, error)

ProvideFrom fetches the specified function

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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