mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-09 10:59:57 +00:00
Implement Encoder.Identifier() method
Kubernetes-commit: cd4215ad8b95773a793f69fc2e8bf93c7ede97aa
This commit is contained in:
committed by
Kubernetes Publisher
parent
ad4f099992
commit
33fd3701cd
@@ -190,6 +190,10 @@ func (c *fakeCodec) Encode(obj runtime.Object, stream io.Writer) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *fakeCodec) Identifier() runtime.Identifier {
|
||||||
|
return runtime.Identifier("fake")
|
||||||
|
}
|
||||||
|
|
||||||
type fakeRoundTripper struct{}
|
type fakeRoundTripper struct{}
|
||||||
|
|
||||||
func (r *fakeRoundTripper) RoundTrip(*http.Request) (*http.Response, error) {
|
func (r *fakeRoundTripper) RoundTrip(*http.Request) (*http.Response, error) {
|
||||||
|
Reference in New Issue
Block a user