mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
rebase: bump k8s.io/api
Bumps the k8s-dependencies group with 1 update in the /api directory: [k8s.io/api](https://github.com/kubernetes/api). Updates `k8s.io/api` from 0.31.3 to 0.32.1 - [Commits](https://github.com/kubernetes/api/compare/v0.31.3...v0.32.1) --- updated-dependencies: - dependency-name: k8s.io/api dependency-type: direct:production update-type: version-update:semver-minor dependency-group: k8s-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
8a66575825
commit
5aef21ea4e
13
api/vendor/k8s.io/apimachinery/pkg/runtime/interfaces.go
generated
vendored
13
api/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