Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrPrepareForEvalCode = "11098" ErrEvalCode = "11099" )
Variables ¶
This section is empty.
Functions ¶
func ErrPrepareForEval ¶ added in v0.6.54
Types ¶
type NetworkPolicyRegoResponse ¶
type NetworkPolicyRegoResponse struct { ServicePodRelationships []RelationObject `json:"service_pod_relationships,omitempty"` ServiceDeploymentRelationships []RelationObject `json:"service_deployment_relationships,omitempty"` }
type Rego ¶ added in v0.6.54
type Rego struct {
// contains filtered or unexported fields
}
func NewRegoInstance ¶ added in v0.6.54
type RegoPolicy ¶
type RegoPolicy struct {
Rules string `json:"rules"`
}
Define a simple policy struct
type RelationObject ¶
Click to show internal directories.
Click to hide internal directories.