playground

package
v0.0.0-...-87a3248 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAPIHandler

func GetAPIHandler() http.Handler

GetAPIHandler creates a router for the playground.

func SetOPA

func SetOPA(newOPA *sdk.OPA, ctx context.Context)

func SetOPARule

func SetOPARule(newRule, newAllow string)

Types

type FormInput

type FormInput struct {
	Subject  *string
	Action   *string
	Resource *string
	Body     *string
}

Jump to

Keyboard shortcuts

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