- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for VersionedParams (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/interface.go
Validate(ctx context.Context, matchedResource schema.GroupVersionResource, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, namespace *corev1.Namespace, runtimeCELCostBudget int64, authz authorizer.Authorizer) ValidateResult
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 17:47:18 UTC 2024 - 3K bytes - Viewed (0) -
operator/pkg/verifier/verifier.go
} switch kind { case "Deployment": deployment := &appsv1.Deployment{} err = info.Client. Get(). Resource(kinds). Namespace(namespace). Name(name). VersionedParams(&metav1.GetOptions{}, scheme.ParameterCodec). Do(context.TODO()). Into(deployment) if err != nil { v.reportFailure(kind, name, namespace, err) return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 15K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/table_test.go
Resource(crd.Spec.Names.Plural). SetHeader("Accept", fmt.Sprintf("application/json;as=Table;v=%s;g=%s, application/json", metav1beta1.SchemeGroupVersion.Version, metav1beta1.GroupName)). VersionedParams(&metav1beta1.TableOptions{}, parameterCodec). Do(context.TODO()). Get() if err != nil { t.Fatalf("failed to list %v resources: %v", gvk, err) } tbl, ok := ret.(*metav1beta1.Table)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 18.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go
result = &authenticationv1.TokenReview{} restResult := c.client.Post(). Resource("tokenreviews"). VersionedParams(&opts, scheme.ParameterCodec). Body(tokenReview). Do(ctx) restResult.StatusCode(&statusCode) err = restResult.Into(result) return }
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/pkg/admission/plugin/cel/filter_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go
var _ matchconditions.Matcher = &fakeCELMatcher{} type fakeCELMatcher struct { error error matches bool } func (f *fakeCELMatcher) Match(ctx context.Context, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, authz authorizer.Authorizer) matchconditions.MatchResult { return matchconditions.MatchResult{Matches: f.matches, FailedConditionName: "placeholder", Error: f.error} } func TestValidate(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 24.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
result = &authorizationv1.SubjectAccessReview{} restResult := t.client.Post(). Resource("subjectaccessreviews"). VersionedParams(&opts, scheme.ParameterCodec). Body(subjectAccessReview). Do(ctx) restResult.StatusCode(&statusCode) err = restResult.Into(result) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go
var _ matchconditions.Matcher = &fakeMatcher{} type fakeMatcher struct { throwError error matchResult bool } func (f *fakeMatcher) Match(ctx context.Context, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, authz authorizer.Authorizer) matchconditions.MatchResult { if f.throwError != nil { return matchconditions.MatchResult{ Matches: true, FailedConditionName: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 28 19:30:04 UTC 2023 - 32K bytes - Viewed (0) -
pkg/kube/client.go
} } }() req := c.restClient.Post(). Resource("pods"). Name(podName). Namespace(podNamespace). SubResource("exec"). Param("container", container). VersionedParams(&v1.PodExecOptions{ Container: container, Command: commands, Stdin: false, Stdout: true, Stderr: true, TTY: false, }, kubescheme.ParameterCodec)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.8.md
* The generic RESTClient type (`k8s.io/client-go/rest`) no longer exposes `LabelSelectorParam` or `FieldSelectorParam` methods - use `VersionedParams` with `metav1.ListOptions` instead. The `UintParam` method has been removed. The `timeout` parameter will no longer cause an error when using `Param()`. ([#48991](https://github.com/kubernetes/kubernetes/pull/48991), [@smarterclayton](https...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 20 15:45:02 UTC 2024 - 312.2K bytes - Viewed (0)