Skip to content

Commit c181e00

Browse files
committed
intermediate fix
1 parent 70e6cb7 commit c181e00

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pkg/tree/entry.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,16 @@ type EntryVisitor interface {
161161
Visit(ctx context.Context, e Entry) error
162162
Up()
163163
}
164+
165+
type LeafVariantEntry interface {
166+
MarkDelete(onlyIntended bool)
167+
GetEntry() Entry
168+
String() string
169+
}
170+
171+
type LeafVariantEntries interface {
172+
MarkOwnerForDeletion(owner string, onlyIntended bool) *LeafEntry
173+
GetHighestPrecedence(onlyNewOrUpdated bool, includeDefaults bool) *LeafEntry
174+
GetRunning() *LeafEntry
175+
DeleteByOwner(owner string) bool
176+
}

0 commit comments

Comments
 (0)