- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 369 for GetOptions (0.26 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go
if err := wait.PollUntilContextTimeout(ctx, time.Millisecond*100, wait.ForeverTestTimeout, true, func(ctx context.Context) (bool, error) { _, err := shirtv1beta1Client.Get(ctx, shirtInstance1, metav1.GetOptions{}) select { case <-upCh: return true, nil default: t.Logf("Waiting for webhook to become effective, getting marker object: %v", err) return false, nil } }); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:53:03 UTC 2024 - 27K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40K bytes - Viewed (0) -
pkg/controlplane/reconcilers/endpointsadapter_test.go
client := fake.NewSimpleClientset(testCase.initialState...) epAdapter := NewEndpointsAdapter(client.CoreV1(), client.DiscoveryV1()) endpoints, err := epAdapter.Get(testCase.namespaceParam, testCase.nameParam, metav1.GetOptions{}) if !apiequality.Semantic.DeepEqual(testCase.expectedError, err) { t.Errorf("Expected error: %v, got: %v", testCase.expectedError, err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/registry/apps/replicaset/storage/storage.go
// we don't destroy it here explicitly. } // Get retrieves the object from the storage. It is required to support Patch. func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { return r.store.Get(ctx, name, options) } // Update alters the status subset of an object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go
unstructuredObj, err := clg.dynamicClient.Resource(action.GetResource()).Namespace(action.GetNamespace()).Get(context.TODO(), action.GetName(), metav1.GetOptions{}) if err != nil { // Inform the user that the requested object wasn't found. printIfNotExists(err) return true, nil, err } newObj, err := decodeUnstructuredIntoAPIObject(action, unstructuredObj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 16 10:29:45 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/test/framework/components/istio/ca.go
} func FetchRootCert(c kubernetes.Interface) (string, error) { cm, err := c.CoreV1().ConfigMaps("istio-system").Get(context.TODO(), "istio-ca-root-cert", metav1.GetOptions{}) if err != nil { return "", err } return cm.Data["root-cert.pem"], nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java
// or preferably use test suites where the dependencies are automatically managed. return false; } @Override public TestNGOptions getOptions() { return options; } @Override public TestNGDetector getDetector() { return detector; } @Override public void close() throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 22:42:49 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/xds/google.go
client := exClient.Dynamic() gvr := schema.GroupVersionResource{ Group: "hub.gke.io", Version: "v1", Resource: "memberships", } u, err := client.Resource(gvr).Get(ctx, "membership", metav1.GetOptions{}) if err != nil { return nil, err } spec, ok := u.Object["spec"].(map[string]any) if !ok { return nil, errors.New(`field "spec" is not a map`) } var mem hubMembership
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 3.4K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/configmaplock.go
var record LeaderElectionRecord var err error cml.cm, err = cml.Client.ConfigMaps(cml.ConfigMapMeta.Namespace).Get(ctx, cml.ConfigMapMeta.Name, metav1.GetOptions{}) if err != nil { return nil, nil, err } if cml.cm.Annotations == nil { cml.cm.Annotations = make(map[string]string) } recordStr, found := cml.cm.Annotations[LeaderElectionRecordAnnotationKey]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 11 16:58:48 UTC 2021 - 4K bytes - Viewed (0) -
pkg/registry/networking/ingress/storage/storage.go
// we don't destroy it here explicitly. } // Get retrieves the object from the storage. It is required to support Patch. func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) { return r.store.Get(ctx, name, options) } // Update alters the status subset of an object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:19 UTC 2022 - 4.1K bytes - Viewed (0)