- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for v1beta1StatusToV1Status (0.19 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go
Spec: v1SpecToV1beta1Spec(&original.Spec), Status: v1StatusToV1beta1Status(original.Status), } roundtripped := &authenticationv1.TokenReview{ Spec: v1beta1SpecToV1Spec(converted.Spec), Status: v1beta1StatusToV1Status(&converted.Status), } if !reflect.DeepEqual(original, roundtripped) { t.Errorf("diff %s", cmp.Diff(original, roundtripped)) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/round_trip_test.go
Status: v1StatusToV1beta1Status(original.Status), } roundtripped := &authorizationv1.SubjectAccessReview{ Spec: v1beta1SpecToV1Spec(converted.Spec), Status: v1beta1StatusToV1Status(&converted.Status), } if !reflect.DeepEqual(original, roundtripped) { t.Errorf("diff %s", cmp.Diff(original, roundtripped)) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go
return nil, statusCode, err } review.Status = v1beta1StatusToV1Status(&v1beta1Result.Status) return review, statusCode, nil } func v1SpecToV1beta1Spec(in *authenticationv1.TokenReviewSpec) authenticationv1beta1.TokenReviewSpec { return authenticationv1beta1.TokenReviewSpec{ Token: in.Token, Audiences: in.Audiences, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 00:47:42 UTC 2022 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
restResult := t.client.Post().Body(v1beta1Review).Do(ctx) restResult.StatusCode(&statusCode) err := restResult.Into(v1beta1Result) if err == nil { subjectAccessReview.Status = v1beta1StatusToV1Status(&v1beta1Result.Status) } return subjectAccessReview, statusCode, err } // shouldCache determines whether it is safe to cache the given request attributes. If the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0)