Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 395 for GetOptions (0.26 sec)

  1. tests/integration/pilot/mcs/common/common.go

    			}
    		}
    	}
    	return nil
    }
    
    func isCRDInstalled(c cluster.Cluster, crdName string, version string) bool {
    	crd, err := c.Ext().ApiextensionsV1().CustomResourceDefinitions().Get(context.TODO(), crdName, metav1.GetOptions{})
    	if err == nil {
    		// Found the CRD, now check against the version.
    		for _, v := range crd.Spec.Versions {
    			if v.Name == version {
    				// The CRD is already installed on this cluster.
    				return true
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 27 17:09:00 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. pkg/registry/storage/volumeattachment/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)
  3. 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)
  4. cmd/kubeadm/app/phases/copycerts/copycerts.go

    	secretName := bootstraputil.BootstrapTokenSecretName(tokenID)
    	secret, err := client.CoreV1().Secrets(metav1.NamespaceSystem).Get(context.TODO(), secretName, metav1.GetOptions{})
    	if err != nil {
    		return nil, errors.Wrap(err, "error to get token reference")
    	}
    
    	gvk := schema.GroupVersionKind{Version: "v1", Kind: "Secret"}
    	ref := metav1.NewControllerRef(secret, gvk)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controlplane/controller/apiserverleasegc/gc_controller_test.go

    			go controller.Run(nil)
    
    			time.Sleep(time.Second)
    
    			_, err := clientset.CoordinationV1().Leases(test.lease.Namespace).Get(context.TODO(), test.lease.Name, metav1.GetOptions{})
    			if err != nil && !apierrors.IsNotFound(err) {
    				t.Errorf("unexpected error %v", err)
    			}
    
    			if apierrors.IsNotFound(err) && !test.expectDeleted {
    				t.Errorf("lease was not deleted")
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 20:37:22 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. 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)
  10. pkg/registry/core/replicationcontroller/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
    - 12K bytes
    - Viewed (0)
Back to top