Implement Encoder.Identifier() method

Kubernetes-commit: cd4215ad8b95773a793f69fc2e8bf93c7ede97aa
This commit is contained in:
wojtekt
2019-08-14 16:23:03 +02:00
committed by Kubernetes Publisher
parent ad4f099992
commit 33fd3701cd

View File

@@ -190,6 +190,10 @@ func (c *fakeCodec) Encode(obj runtime.Object, stream io.Writer) error {
return nil
}
func (c *fakeCodec) Identifier() runtime.Identifier {
return runtime.Identifier("fake")
}
type fakeRoundTripper struct{}
func (r *fakeRoundTripper) RoundTrip(*http.Request) (*http.Response, error) {