Documentation ¶
Overview ¶
Package test contains utilities used in the policy engine's test suite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTempFS ¶ added in v0.5.7
MakeTempFS creates a temporary directory structure for test purposes. If the creation fails, cleanup is nil and the caller does not have to invoke it. If creation succeeds, the caller should invoke cleanup when they are done.
func WithTempFS ¶ added in v0.5.7
WithTempFS creates a temporary directory structure and invokes f with the root directory path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.