Documentation ¶
Index ¶
- func AssertQueryResult(opaResults []opa_engine.QueryResult, policyName string, shouldBeViolated bool, ...)
- func BuildFailedString(expected bool, policy string) string
- func FindPolicy(opaResults []opa_engine.QueryResult, policyName string) (*opa_engine.QueryResult, error)
- func PolicyTestTemplate(t *testing.T, name string, mockData interface{}, ns namespace.Namespace, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertQueryResult ¶
func AssertQueryResult(opaResults []opa_engine.QueryResult, policyName string, shouldBeViolated bool, t *testing.T)
func BuildFailedString ¶
func FindPolicy ¶
func FindPolicy(opaResults []opa_engine.QueryResult, policyName string) (*opa_engine.QueryResult, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.