type noncacheableTestObject …
func (*noncacheableTestObject) MarshalJSON() ([]byte, error) { … }
func (*noncacheableTestObject) Marshal() ([]byte, error) { … }
func (*noncacheableTestObject) DeepCopyObject() runtime.Object { … }
func (o *noncacheableTestObject) GetObjectKind() schema.ObjectKind { … }
func (o *noncacheableTestObject) GroupVersionKind() schema.GroupVersionKind { … }
func (o *noncacheableTestObject) SetGroupVersionKind(gvk schema.GroupVersionKind) { … }
var _ …
type MockCacheableObject …
func (m *MockCacheableObject) DeepCopyObject() runtime.Object { … }
func (m *MockCacheableObject) GetObjectKind() schema.ObjectKind { … }
func (m *MockCacheableObject) GroupVersionKind() schema.GroupVersionKind { … }
func (m *MockCacheableObject) SetGroupVersionKind(gvk schema.GroupVersionKind) { … }
func (*MockCacheableObject) Marshal() ([]byte, error) { … }
func (m *MockCacheableObject) CacheEncode(id runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error { … }
func (m *MockCacheableObject) GetObject() runtime.Object { … }
func (m *MockCacheableObject) interceptedCalls() []runtime.Identifier { … }
type testBuffer …
func (b *testBuffer) Write(p []byte) (int, error) { … }
func CacheableObjectTest(t *testing.T, e runtime.Encoder) { … }