Add an interface that all applyconfigs implement

This commit is contained in:
Alvaro Aleman
2025-05-28 15:22:17 -04:00
parent b0b52f4fb2
commit 3fe4ea550e

View File

@@ -385,3 +385,9 @@ type Unstructured interface {
// If the items passed to fn are not retained, or are retained for the same duration, use EachListItem instead for memory efficiency.
EachListItemWithAlloc(func(Object) error) error
}
// ApplyConfiguration is an interface that root apply configuration types implement.
type ApplyConfiguration interface {
// IsApplyConfiguration is implemented if the object is the root of an apply configuration.
IsApplyConfiguration()
}