-
Notifications
You must be signed in to change notification settings - Fork 123
/
audit_hashpb.pb.go
57 lines (49 loc) · 2.24 KB
/
audit_hashpb.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Code generated by protoc-gen-go-hashpb. Do not edit.
// protoc-gen-go-hashpb v0.2.0
// Source: cerbos/audit/v1/audit.proto
package auditv1
import (
hash "hash"
)
// HashPB computes a hash of the message using the given hash function
// The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash
func (m *AccessLogEntry) HashPB(hasher hash.Hash, ignore map[string]struct{}) {
if m != nil {
cerbos_audit_v1_AccessLogEntry_hashpb_sum(m, hasher, ignore)
}
}
// HashPB computes a hash of the message using the given hash function
// The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash
func (m *DecisionLogEntry) HashPB(hasher hash.Hash, ignore map[string]struct{}) {
if m != nil {
cerbos_audit_v1_DecisionLogEntry_hashpb_sum(m, hasher, ignore)
}
}
// HashPB computes a hash of the message using the given hash function
// The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash
func (m *DecisionLogEntry_CheckResources) HashPB(hasher hash.Hash, ignore map[string]struct{}) {
if m != nil {
cerbos_audit_v1_DecisionLogEntry_CheckResources_hashpb_sum(m, hasher, ignore)
}
}
// HashPB computes a hash of the message using the given hash function
// The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash
func (m *DecisionLogEntry_PlanResources) HashPB(hasher hash.Hash, ignore map[string]struct{}) {
if m != nil {
cerbos_audit_v1_DecisionLogEntry_PlanResources_hashpb_sum(m, hasher, ignore)
}
}
// HashPB computes a hash of the message using the given hash function
// The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash
func (m *MetaValues) HashPB(hasher hash.Hash, ignore map[string]struct{}) {
if m != nil {
cerbos_audit_v1_MetaValues_hashpb_sum(m, hasher, ignore)
}
}
// HashPB computes a hash of the message using the given hash function
// The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash
func (m *Peer) HashPB(hasher hash.Hash, ignore map[string]struct{}) {
if m != nil {
cerbos_audit_v1_Peer_hashpb_sum(m, hasher, ignore)
}
}