- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 256 for GetOptions (0.2 sec)
-
pkg/registry/core/service/allocator/storage/storage.go
// etcd. If the key does not exist, the object will have an empty ResourceVersion. func (e *Etcd) Get() (*api.RangeAllocation, error) { existing := &api.RangeAllocation{} if err := e.storage.Get(context.TODO(), e.baseKey, storage.GetOptions{IgnoreNotFound: true}, existing); err != nil { return nil, storeerr.InterpretGetError(err, e.resource, "") } return existing, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go
// Get takes name of the customResourceDefinition, and returns the corresponding customResourceDefinition object, and an error if there is any. func (c *FakeCustomResourceDefinitions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.CustomResourceDefinition, err error) { emptyResult := &v1.CustomResourceDefinition{} obj, err := c.Fake. Invokes(testing.NewRootGetAction(customresourcedefinitionsResource, name), emptyResult) if obj == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct.go
rc.volumesNeedUpdateFromNodeStatus = nil return } node, fetchErr := rc.kubeClient.CoreV1().Nodes().Get(context.TODO(), string(rc.nodeName), metav1.GetOptions{}) if fetchErr != nil { // This may repeat few times per second until kubelet is able to read its own status for the first time. klog.V(4).ErrorS(fetchErr, "Failed to get Node status to reconstruct device paths")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:23:12 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/ApplicationPlugin.java
} private void configureJavaCompileTask(TaskProvider<JavaCompile> javaCompile, JavaApplication pluginExtension) { javaCompile.configure(j -> j.getOptions().getJavaModuleMainClass().convention(pluginExtension.getMainClass())); } private void configureInstallTask(ProviderFactory providers, TaskProvider<Sync> installTask, JavaApplication pluginExtension) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 23:38:57 UTC 2024 - 11.9K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
// This has no effect for users, unless they have this service. svc, err := cli.Kube().CoreV1().Services("istio-system").Get(context.Background(), "zipkin", metav1.GetOptions{}) if err != nil && !kerrors.IsNotFound(err) { return err } if err != nil { // not found return nil } // found res := ObjectToInstance(svc)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.2K bytes - Viewed (0) -
tests/integration/security/ca_custom_root/secure_naming_test.go
configMapName := "istio-ca-root-cert" cm, err := t.Clusters().Default().Kube().CoreV1().ConfigMaps(testNamespace.Name()).Get(context.TODO(), configMapName, metav1.GetOptions{}) if err != nil { return err } var certData string var pluginCert []byte var ok bool if certData, ok = cm.Data[constants.CACertNamespaceConfigMapDataName]; !ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/registry/core/persistentvolumeclaim/storage/storage_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/controller/controller_utils_test.go
node, _ := test.nodeHandler.Get(context.TODO(), test.nodeName, metav1.GetOptions{}) err := RemoveTaintOffNode(context.TODO(), test.nodeHandler, test.nodeName, node, test.taintsToRemove...) assert.NoError(t, err, "%s: RemoveTaintOffNode() error = %v", test.name, err) node, _ = test.nodeHandler.Get(context.TODO(), test.nodeName, metav1.GetOptions{}) assert.EqualValues(t, test.expectedTaints, node.Spec.Taints,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 39.4K bytes - Viewed (0) -
pkg/volume/csi/csi_attacher_test.go
var err error defer ticker.Stop() // wait for attachment to be saved for i := 0; i < 100; i++ { attach, err = client.StorageV1().VolumeAttachments().Get(context.TODO(), attachID, metav1.GetOptions{}) if err != nil { attach = nil if apierrors.IsNotFound(err) { <-ticker.C continue } t.Error(err) } if attach != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:23:16 UTC 2024 - 58.1K bytes - Viewed (0)