Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 395 for GetOptions (0.17 sec)

  1. tests/integration/security/sds_ingress/util/util.go

    				}
    			}
    			// Check if Kubernetes secret is ready
    			return retry.UntilSuccess(func() error {
    				_, err := c.Kube().CoreV1().Secrets(ns).Get(context.TODO(), credName, metav1.GetOptions{})
    				if err != nil {
    					return fmt.Errorf("secret %v not found: %v", credName, err)
    				}
    				return nil
    			}, retry.Timeout(time.Second*5))
    		})
    	}
    	if err := wg.Wait().ErrorOrNil(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  2. pkg/kubelet/secret/secret_manager_test.go

    	}
    }
    
    func noObjectTTL() (time.Duration, bool) {
    	return time.Duration(0), false
    }
    
    func getSecret(fakeClient clientset.Interface) manager.GetObjectFunc {
    	return func(namespace, name string, opts metav1.GetOptions) (runtime.Object, error) {
    		return fakeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, opts)
    	}
    }
    
    type envSecrets struct {
    	envVarNames  []string
    	envFromNames []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 10 10:20:09 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  3. pkg/registry/core/resourcequota/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.2K bytes
    - Viewed (0)
  4. pkg/registry/core/persistentvolume/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.3K bytes
    - Viewed (0)
  5. pkg/registry/flowcontrol/prioritylevelconfiguration/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: Sat May 13 15:11:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. pkg/registry/registrytest/endpoint.go

    	return &api.Endpoints{}
    }
    func (e *EndpointRegistry) NewList() runtime.Object {
    	return &api.EndpointsList{}
    }
    
    func (e *EndpointRegistry) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error) {
    	// TODO: support namespaces in this mock
    	e.lock.Lock()
    	defer e.lock.Unlock()
    	if e.Err != nil {
    		return nil, e.Err
    	}
    	if e.Endpoints != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4K bytes
    - Viewed (0)
  7. pkg/registry/core/persistentvolumeclaim/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
    - 5.8K bytes
    - Viewed (0)
  8. pkg/registry/core/service/allocator/storage/storage_test.go

    		t.Fatal("Expected allocation to fail")
    	}
    
    	other := allocator.NewAllocationMap(100, "rangeSpecValue")
    
    	allocation := &api.RangeAllocation{}
    	if err := storage.storage.Get(context.TODO(), key(), apiserverstorage.GetOptions{}, allocation); err != nil {
    		t.Fatal(err)
    	}
    	if allocation.Range != "rangeSpecValue" {
    		t.Errorf("unexpected stored Range: %s", allocation.Range)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 01 20:54:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  9. subprojects/diagnostics/src/main/java/org/gradle/configuration/TaskDetailPrinter.java

            List<TaskDetails.OptionDetails> allOptions = new ArrayList<>();
            for (TaskDetails task : tasks) {
                allOptions.addAll(task.getOptions());
            }
            if (!allOptions.isEmpty()) {
                output.println();
                output.text("Options").println();
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 19 11:25:50 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. pkg/registry/core/service/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: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top