kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go

var _

type mockCacheableObject

// DeepCopyObject implements runtime.Object interface.
func (m *mockCacheableObject) DeepCopyObject() runtime.Object {}

// GetObjectKind implements runtime.Object interface.
func (m *mockCacheableObject) GetObjectKind() schema.ObjectKind {}

// GroupVersionKind implements schema.ObjectKind interface.
func (m *mockCacheableObject) GroupVersionKind() schema.GroupVersionKind {}

// SetGroupVersionKind implements schema.ObjectKind interface.
func (m *mockCacheableObject) SetGroupVersionKind(gvk schema.GroupVersionKind) {}

// CacheEncode implements runtime.CacheableObject interface.
func (m *mockCacheableObject) CacheEncode(id runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error {}

// GetObject implements runtime.CacheableObject interface.
func (m *mockCacheableObject) GetObject() runtime.Object {}

type mockNamer

func (*mockNamer) Namespace(_ *http.Request) (string, error)           {}

func (*mockNamer) Name(_ *http.Request) (string, string, error)        {}

func (*mockNamer) ObjectName(_ runtime.Object) (string, string, error) {}

type mockEncoder

func (e *mockEncoder) Encode(obj runtime.Object, _ io.Writer) error {}

func (e *mockEncoder) Identifier() runtime.Identifier {}

func TestCacheableObject(t *testing.T) {}

func TestAsPartialObjectMetadataList(t *testing.T) {}

func TestWatchEncoderIdentifier(t *testing.T) {}

func TestWatchListEncoder(t *testing.T) {}

func encodeObjectToBase64String(obj runtime.Object, t *testing.T) string {}

func newJSONSerializer() runtime.Serializer {}