Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 261 for GetOptions (0.15 sec)

  1. pkg/kube/kclient/clienttest/direct.go

    	client kube.Client
    }
    
    func (d *directClient[T, PT, TL]) Get(name, namespace string) T {
    	api := kubeclient.GetClient[T, TL](d.client, namespace)
    	res, err := api.Get(context.Background(), name, metav1.GetOptions{})
    	if err != nil && !kerrors.IsNotFound(err) {
    		d.t.Fatalf("get: %v", err)
    	}
    	return res
    }
    
    func (d *directClient[T, PT, TL]) List(namespace string, selector klabels.Selector) []T {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. pkg/controller/serviceaccount/tokens_controller.go

    	// so add the token to a freshly retrieved copy of the secret
    	secrets := e.client.CoreV1().Secrets(cachedSecret.Namespace)
    	liveSecret, err := secrets.Get(context.TODO(), cachedSecret.Name, metav1.GetOptions{})
    	if err != nil {
    		// Retry for any error other than a NotFound
    		return !apierrors.IsNotFound(err), err
    	}
    	if liveSecret.ResourceVersion != cachedSecret.ResourceVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                    public long getGoodTime() {
                        return 0;
                    }
    
                    // Valid because it is annotated
                    @Nested
                    public Options getOptions() {
                        return new Options();
                    }
    
                    // Valid because it is annotated
                    @CompileClasspath
                    public java.util.List<java.io.File> getClasspath() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  4. pkg/registry/networking/servicecidr/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: Tue Oct 31 21:05:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. pkg/registry/registrytest/node.go

    		if item.Name == node.Name {
    			r.Nodes.Items[i] = *node
    			return r.Err
    		}
    	}
    	return r.Err
    }
    
    func (r *NodeRegistry) GetNode(ctx context.Context, nodeID string, options *metav1.GetOptions) (*api.Node, error) {
    	r.Lock()
    	defer r.Unlock()
    	if r.Err != nil {
    		return nil, r.Err
    	}
    	for _, node := range r.Nodes.Items {
    		if node.Name == nodeID {
    			return &node, nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{})
    			if err != nil {
    				return err
    			}
    
    			writer := cmd.OutOrStdout()
    
    			podLabels := klabels.Set(pod.ObjectMeta.Labels)
    			annotations := klabels.Set(pod.ObjectMeta.Annotations)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java

         *
         * @return The test framework options.
         */
        @Nested
        public TestFrameworkOptions getOptions() {
            return getTestFramework().getOptions();
        }
    
        /**
         * Configures test framework specific options.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  8. pkg/volume/testing/volume_host.go

    func (f *fakeVolumeHost) GetSecretFunc() func(namespace, name string) (*v1.Secret, error) {
    	return func(namespace, name string) (*v1.Secret, error) {
    		return f.kubeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    	}
    }
    
    func (f *fakeVolumeHost) GetExec(pluginName string) exec.Interface {
    	return f.exec
    }
    
    func (f *fakeVolumeHost) GetConfigMapFunc() func(namespace, name string) (*v1.ConfigMap, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GrammarDelegate.java

                this.superGrammarDelegate = antlrSuperGrammarGrammarMetadata == null ? null : new GrammarDelegate(antlrSuperGrammarGrammarMetadata);
    
                Method getOptionsMethod = ANTLR_GRAMMAR_CLASS.getMethod("getOptions", NO_ARG_SIGNATURE);
                getOptionsMethod.setAccessible(true);
                IndexedVector options = (IndexedVector) getOptionsMethod.invoke(antlrGrammarMetadata, NO_ARGS);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. pkg/kubelet/util/manager/cache_based_manager.go

    type GetObjectTTLFunc func() (time.Duration, bool)
    
    // GetObjectFunc defines a function to get object with a given namespace and name.
    type GetObjectFunc func(string, string, metav1.GetOptions) (runtime.Object, error)
    
    type objectKey struct {
    	namespace string
    	name      string
    	uid       types.UID
    }
    
    // objectStoreItems is a single item stored in objectStore.
    type objectStoreItem struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top