Update dependency go modules for k8s v1.28.0
This commit is contained in:
5
vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go
generated
vendored
5
vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go
generated
vendored
@@ -365,4 +365,9 @@ type Unstructured interface {
|
||||
// error should terminate the iteration. If IsList() returns false, this method should return an error
|
||||
// instead of calling the provided function.
|
||||
EachListItem(func(Object) error) error
|
||||
// EachListItemWithAlloc works like EachListItem, but avoids retaining references to a slice of items.
|
||||
// It does this by making a shallow copy of non-pointer items before passing them to fn.
|
||||
//
|
||||
// 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
|
||||
}
|
||||
|
Reference in New Issue
Block a user