test

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRegalBundle

func GetRegalBundle(t *testing.T) bundle.Bundle

GetRegalBundle allows reusing the same Regal rule bundle in tests without having to reload it from disk each time (i.e. a singleton) Note that tests making use of this must *not* make any modifications to the contents of the bundle.

func InputPolicy

func InputPolicy(filename string, policy string) rules.Input

Types

This section is empty.

Jump to

Keyboard shortcuts

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