Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleRequest ¶
type RuleRequest struct {
// Namespace
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// Rule name/Policy FQDN - package_name.policy_name (Len: 256+1(.)+256)
RuleName string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
// Input for evaluation
Input map[string]*structpb.Value `` //nolint:revive
/* 151-byte string literal not displayed */
}
func (*RuleRequest) String ¶
func (rr *RuleRequest) String() string
type RuleResponse ¶
type RuleResponse struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// package_name.policy_name
RuleName string `protobuf:"bytes,2,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"`
Result *structpb.Value `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
}
func (*RuleResponse) String ¶
func (rr *RuleResponse) String() string
Click to show internal directories.
Click to hide internal directories.