var v1GroupVersion … var scheme … var codecs … func init() { … } type fakeNegotiater … func (n *fakeNegotiater) SupportedMediaTypes() []runtime.SerializerInfo { … } func (n *fakeNegotiater) UniversalDeserializer() runtime.Decoder { … } func (n *fakeNegotiater) EncoderForVersion(serializer runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder { … } func (n *fakeNegotiater) DecoderToVersion(serializer runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder { … } type newStorageCodecFn … type newStorageCodecRecorder … func (c *newStorageCodecRecorder) Decorators(f newStorageCodecFn) newStorageCodecFn { … } func TestConfigurableStorageFactory(t *testing.T) { … } func TestUpdateEtcdOverrides(t *testing.T) { … } func TestConfigs(t *testing.T) { … } var introducedLifecycles … var removedLifecycles … type fakeLifecycler … type removedLifecycler … func (f *fakeLifecycler[T, V]) GetObjectKind() schema.ObjectKind { … } func (f *fakeLifecycler[T, V]) DeepCopyObject() runtime.Object { … } func (f *fakeLifecycler[T, V]) APILifecycleIntroduced() (major, minor int) { … } func (f *removedLifecycler[T, V]) APILifecycleRemoved() (major, minor int) { … } func registerFakeLifecycle[T, V any](sch *runtime.Scheme, group, introduced, removed string) { … } func TestStorageFactoryCompatibilityVersion(t *testing.T) { … }