mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
update testdata for roundtrip and client tests
This commit is contained in:
parent
701b76f10d
commit
0140842add
@ -91,7 +91,7 @@ func TestClientContentType(t *testing.T) {
|
||||
contentType: "",
|
||||
expectedPath: "/api/v1/namespaces/panda/pods",
|
||||
expectContentType: "application/vnd.kubernetes.protobuf",
|
||||
expectBody: "k8s\x00\n\t\n\x02v1\x12\x03Pod\x12I\n\x17\n\asnorlax\x12\x00\x1a\x00\"\x00*\x002\x008\x00B\x00\x12\x1c\x1a\x002\x00B\x00J\x00R\x00X\x00`\x00h\x00\x82\x01\x00\x8a\x01\x00\x9a\x01\x00\xc2\x01\x00\x1a\x10\n\x00\x1a\x00\"\x00*\x002\x00J\x00Z\x00r\x00\x1a\x00\"\x00",
|
||||
expectBody: "k8s\x00\n\t\n\x02v1\x12\x03Pod\x12\x4c\n\x17\n\asnorlax\x12\x00\x1a\x00\"\x00*\x002\x008\x00B\x00\x12\x1c\x1a\x002\x00B\x00J\x00R\x00X\x00`\x00h\x00\x82\x01\x00\x8a\x01\x00\x9a\x01\x00\xc2\x01\x00\x1a\x13\n\x00\x1a\x00\"\x00*\x002\x00J\x00Z\x00r\x00\x88\x01\x00\x1a\x00\"\x00",
|
||||
},
|
||||
{
|
||||
name: "json",
|
||||
|
BIN
staging/src/k8s.io/api/testdata/v1.31.0/core.v1.Pod.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.31.0/core.v1.Pod.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
BIN
staging/src/k8s.io/api/testdata/v1.31.0/core.v1.PodStatusResult.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.31.0/core.v1.PodStatusResult.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
BIN
staging/src/k8s.io/api/testdata/v1.32.0/core.v1.Pod.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.32.0/core.v1.Pod.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
BIN
staging/src/k8s.io/api/testdata/v1.32.0/core.v1.PodStatusResult.after_roundtrip.pb
vendored
Normal file
BIN
staging/src/k8s.io/api/testdata/v1.32.0/core.v1.PodStatusResult.after_roundtrip.pb
vendored
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user