Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for GetOptions (0.16 sec)

  1. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
            public Collection<Option> getOptions() {
                List<Option> optList = new ArrayList<>(options.getOptions());
                optList.sort(new OptionComparator());
                return optList;
            }
        }
    
        String getOptionsAsHtml() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    	updateCRD := func() {
    		noxuDefinitionToUpdate, err := apiExtensionsClient.ApiextensionsV1().CustomResourceDefinitions().Get(context.TODO(), noxuDefinition.Name, metav1.GetOptions{})
    		if err != nil {
    			t.Error(err)
    			return
    		}
    		if len(noxuDefinitionToUpdate.Spec.Versions) == 1 {
    			v2 := noxuDefinitionToUpdate.Spec.Versions[0]
    			v2.Name = "v2"
    			v2.Served = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/ambient/waypoint.go

    	if service == "" {
    		return
    	}
    
    	cs := t.AllClusters()
    	for _, c := range cs {
    		oldSvc, err := c.Kube().CoreV1().Services(ns.Name()).Get(t.Context(), service, metav1.GetOptions{})
    		if err != nil {
    			t.Fatalf("error getting svc %s, err %v", service, err)
    		}
    		oldLabels := oldSvc.ObjectMeta.GetLabels()
    		if oldLabels == nil {
    			oldLabels = make(map[string]string, 1)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. pkg/kubelet/configmap/configmap_manager.go

    }
    
    func (s *simpleConfigMapManager) GetConfigMap(namespace, name string) (*v1.ConfigMap, error) {
    	return s.kubeClient.CoreV1().ConfigMaps(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    }
    
    func (s *simpleConfigMapManager) RegisterPod(pod *v1.Pod) {
    }
    
    func (s *simpleConfigMapManager) UnregisterPod(pod *v1.Pod) {
    }
    
    // configMapManager keeps a cache of all configmaps necessary
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pkg/kubelet/secret/secret_manager.go

    	return &simpleSecretManager{kubeClient: kubeClient}
    }
    
    func (s *simpleSecretManager) GetSecret(namespace, name string) (*v1.Secret, error) {
    	return s.kubeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    }
    
    func (s *simpleSecretManager) RegisterPod(pod *v1.Pod) {
    }
    
    func (s *simpleSecretManager) UnregisterPod(pod *v1.Pod) {
    }
    
    // secretManager keeps a store with secrets necessary
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. tests/integration/pilot/gateway_test.go

    		Get(context.Background(), "managed-owner-istio", metav1.GetOptions{})
    	assert.NoError(t, err)
    	assert.Equal(t, dep.Labels[constants.ManagedGatewayLabel], "")
    	assert.Equal(t, dep.Spec.Template.Spec.Containers[0].Image, image)
    
    	svc, err := t.Clusters().Default().Kube().CoreV1().Services(apps.Namespace.Name()).
    		Get(context.Background(), "managed-owner-istio", metav1.GetOptions{})
    	assert.NoError(t, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    				}
    			}()
    		}
    		wg.Wait()
    
    		if _, err := registry.Get(testContext, podA.Name, &metav1.GetOptions{}); !errors.IsNotFound(err) {
    			t.Errorf("Unexpected error: %v", err)
    		}
    		if _, err := registry.Get(testContext, podB.Name, &metav1.GetOptions{}); !errors.IsNotFound(err) {
    			t.Errorf("Unexpected error: %v", err)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.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.CustomResourceDefinition, error)
    	List(ctx context.Context, opts metav1.ListOptions) (*v1.CustomResourceDefinitionList, 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
    - 12K bytes
    - Viewed (0)
Back to top