- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetAdmissionReviewVersions (0.28 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go
GetSideEffects() *v1.SideEffectClass // GetTimeoutSeconds gets the webhook TimeoutSeconds field. GetTimeoutSeconds() *int32 // GetAdmissionReviewVersions gets the webhook AdmissionReviewVersions field. GetAdmissionReviewVersions() []string // GetMatchConditions gets the webhook match conditions field. GetMatchConditions() []v1.MatchCondition
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 12.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors_test.go
ObjectSelector: accessor.GetObjectSelector(), SideEffects: accessor.GetSideEffects(), TimeoutSeconds: accessor.GetTimeoutSeconds(), AdmissionReviewVersions: accessor.GetAdmissionReviewVersions(), MatchConditions: accessor.GetMatchConditions(), } if !reflect.DeepEqual(orig, copy) { t.Errorf("expected mutatingWebhook to round trip through WebhookAccessor, diff:\n%s", cmp.Diff(orig, copy))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 4.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/util/client_config.go
) // HasAdmissionReviewVersion check whether a version is accepted by a given webhook. func HasAdmissionReviewVersion(a string, w webhook.WebhookAccessor) bool { for _, b := range w.GetAdmissionReviewVersions() { if b == a { return true } } return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Aug 25 00:00:46 UTC 2019 - 910 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview.go
func CreateAdmissionObjects(versionedAttributes *admission.VersionedAttributes, invocation *generic.WebhookInvocation) (uid types.UID, request, response runtime.Object, err error) { for _, version := range invocation.Webhook.GetAdmissionReviewVersions() { switch version { case admissionv1.SchemeGroupVersion.Version: uid := types.UID(uuid.NewUUID()) request := CreateV1AdmissionReview(uid, versionedAttributes, invocation)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 16:56:12 UTC 2023 - 9.5K bytes - Viewed (0)