Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 184 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/example.go

    	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
    	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
    	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Example, error)
    	List(ctx context.Context, opts metav1.ListOptions) (*v1.ExampleList, error)
    	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. pkg/registry/apiserverinternal/storageversion/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)
  10. pkg/registry/storagemigration/storagemigration/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 Mar 08 04:18:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top