- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for LogResponseObject (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/audit/request.go
return } ae.RequestObject = &runtime.Unknown{ Raw: patch, ContentType: runtime.ContentTypeJSON, } } // LogResponseObject fills in the response object into an audit event. The passed runtime.Object // will be converted to the given gv. func LogResponseObject(ctx context.Context, obj runtime.Object, gv schema.GroupVersion, s runtime.NegotiatedSerializer) { ae := AuditEventFrom(ctx)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go
WriteRawJSON(int(statusCode), object, w) return } status := ErrorToAPIStatus(err) WriteRawJSON(int(status.Code), status, w) return } audit.LogResponseObject(req.Context(), object, gv, s) encoder := s.EncoderForVersion(serializer.Serializer, gv) request.TrackSerializeResponseObjectLatency(req.Context(), func() { if listGVKInContentType {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 18:21:43 UTC 2023 - 10.6K bytes - Viewed (0)