Documentation ¶
Index ¶
Constants ¶
View Source
const (
// RegoName is a constant for "rego"
RegoName = "rego"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rego ¶
type Rego struct {
// contains filtered or unexported fields
}
Rego is a wrapper around the OPA rego library.
type RegoFactory ¶
type RegoFactory struct{}
RegoFactory is a factory for creating Rego query objects.
func (*RegoFactory) Create ¶
func (f *RegoFactory) Create(policy string) (policyquery.PolicyQuery, error)
Create creates a new Rego query object.
Click to show internal directories.
Click to hide internal directories.