Documentation ¶
Index ¶
Constants ¶
View Source
const ( // OPAUpdatePolicy is the update policies path in the opa rest api. OPAUpdatePolicy = "/v1/policies" // OPANamedPolicyDecision is the eval policies path in the opa rest api. OPANamedPolicyDecision = "/v1/data" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { RemoteURI string Policy string PolicyName string PolicyPath string // contains filtered or unexported fields }
Client is the configuration struct for the opa client.
Click to show internal directories.
Click to hide internal directories.