Skip to content

Commit 50cc127

Browse files
author
Kate Osborn
committed
Remove PolicyAncestorRef
1 parent cd586bd commit 50cc127

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/mode/static/state/graph/policies.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,6 @@ type PolicyAncestor struct {
4242
Conditions []conditions.Condition
4343
}
4444

45-
// PolicyAncestorRef contains the identifying information of the ancestor.
46-
type PolicyAncestorRef struct {
47-
// Nsname is the NamespacedName of the Ancestor.
48-
Nsname types.NamespacedName
49-
// Kind is the Kind of the Ancestor.
50-
Kind v1.Kind
51-
// Group is the Group of the Ancestor.
52-
Group v1.Group
53-
}
54-
5545
// PolicyTargetRef represents the object that the Policy is targeting.
5646
type PolicyTargetRef struct {
5747
// Kind is the Kind of the object.

0 commit comments

Comments
 (0)