func resource(resource string) schema.GroupResource { … } func kind(kind string) schema.GroupKind { … } func TestErrorNew(t *testing.T) { … } func TestNewInvalid(t *testing.T) { … } func TestReasonForError(t *testing.T) { … } type TestType … func (obj *TestType) GetObjectKind() schema.ObjectKind { … } func (obj *TestType) DeepCopyObject() runtime.Object { … } func TestFromObject(t *testing.T) { … } func TestReasonForErrorSupportsWrappedErrors(t *testing.T) { … } func TestIsTooManyRequestsSupportsWrappedErrors(t *testing.T) { … } func TestIsRequestEntityTooLargeErrorSupportsWrappedErrors(t *testing.T) { … } func TestIsUnexpectedServerError(t *testing.T) { … } func TestIsUnexpectedObjectError(t *testing.T) { … } func TestSuggestsClientDelaySupportsWrapping(t *testing.T) { … } func TestIsErrorTypesByReasonAndCode(t *testing.T) { … } func TestStatusCauseSupportsWrappedErrors(t *testing.T) { … } func BenchmarkIsAlreadyExistsWrappedErrors(b *testing.B) { … } func BenchmarkIsNotFoundWrappedErrors(b *testing.B) { … }