mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Add DecodeParametersInto method to Codec.
This commit is contained in:
@@ -19,6 +19,7 @@ package meta
|
||||
import (
|
||||
"errors"
|
||||
"io"
|
||||
"net/url"
|
||||
"testing"
|
||||
|
||||
"k8s.io/kubernetes/pkg/api/unversioned"
|
||||
@@ -51,6 +52,10 @@ func (fakeCodec) DecodeIntoWithSpecifiedVersionKind([]byte, runtime.Object, stri
|
||||
return nil
|
||||
}
|
||||
|
||||
func (fakeCodec) DecodeParametersInto(parameters url.Values, obj runtime.Object) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
type fakeConvertor struct{}
|
||||
|
||||
func (fakeConvertor) Convert(in, out interface{}) error {
|
||||
|
||||
Reference in New Issue
Block a user