package
7.0.0+incompatible
Repository: https://github.com/projectcontour/integration-tester.git
Documentation: pkg.go.dev

# Functions

AsRegoCompilationErr attempts to convert this error into a Rego compilation error.
AsRegoTopdownErr attempts to convert this error error to a Rego topdown.Error.
AsStringSlice tries to coerce an interface that may actually be a []string.
ChainErrors takes the slice of errors and constructs a single chained error from is.
ContainsString checks whether the wanted string is in the values slice.
CopyBytes duplicates a slice of bytes.
ImmediateDeletionOptions returns metav1.DeleteOptions specifying that the caller requires immediate foreground deletion semantics.
IsDirPath returns true if path refers to a directory.
JoinLines joins the given strings with "\n".
NamespaceOrDefault returns the namespace from u, or "default" if u has no namespace field.
NewSelectorFromObject creates a selector to match all the labels in u.
ParseCheckFragment parses a Rego string into a *ast.Module.
ParseModuleFile parses the Rego module in the given file path.
RandomStringN ...
SplitObjectName splits a string into namespace and name.
WalkFiles is a wrapper around filepath.Walk that accepts a path that may be either a file or a directory.