Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a policy engine client
type Option ¶
type Option func(x *Client)
Option is a functional option for Client
func WithPolicyData ¶
WithPolicyData specifies raw policy data with name. If the `name` conflicts with file path loaded by WithFile or WithDir, the policy overwrites data loaded by WithFile or WithDir.
type QueryOption ¶
type QueryOption func(cfg *queryConfig)
func WithRegoPrint ¶
func WithRegoPrint(callback RegoPrint) QueryOption
Click to show internal directories.
Click to hide internal directories.