mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
rebase: update K8s packages to v0.32.1
Update K8s packages in go.mod to v0.32.1 Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
13
vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go
generated
vendored
13
vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go
generated
vendored
@ -69,6 +69,19 @@ type Encoder interface {
|
||||
Identifier() Identifier
|
||||
}
|
||||
|
||||
// NondeterministicEncoder is implemented by Encoders that can serialize objects more efficiently in
|
||||
// cases where the output does not need to be deterministic.
|
||||
type NondeterministicEncoder interface {
|
||||
Encoder
|
||||
|
||||
// EncodeNondeterministic writes an object to the stream. Unlike the Encode method of
|
||||
// Encoder, EncodeNondeterministic does not guarantee that any two invocations will write
|
||||
// the same sequence of bytes to the io.Writer. Any differences will not be significant to a
|
||||
// generic decoder. For example, map entries and struct fields might be encoded in any
|
||||
// order.
|
||||
EncodeNondeterministic(Object, io.Writer) error
|
||||
}
|
||||
|
||||
// MemoryAllocator is responsible for allocating memory.
|
||||
// By encapsulating memory allocation into its own interface, we can reuse the memory
|
||||
// across many operations in places we know it can significantly improve the performance.
|
||||
|
Reference in New Issue
Block a user