mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-19 07:25:19 +00:00
Add an interface that all applyconfigs implement
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user