type fakeDecoder … func (d *fakeDecoder) Decode(data []byte, gvk *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { … } func TestEmptyDecoder(t *testing.T) { … } func TestDecoder(t *testing.T) { … }
type fakeDecoder … func (d *fakeDecoder) Decode(data []byte, gvk *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { … } func TestEmptyDecoder(t *testing.T) { … } func TestDecoder(t *testing.T) { … }