Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 184 for GetOptions (0.24 sec)

  1. pkg/registry/scheduling/rest/storage_scheduling.go

    				return false, nil
    			}
    
    			for _, pc := range schedulingapiv1.SystemPriorityClasses() {
    				_, err := schedClientSet.PriorityClasses().Get(context.TODO(), pc.Name, metav1.GetOptions{})
    				if err != nil {
    					if apierrors.IsNotFound(err) {
    						_, err := schedClientSet.PriorityClasses().Create(context.TODO(), pc, metav1.CreateOptions{})
    						if err == nil || apierrors.IsAlreadyExists(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/external/javadoc/internal/JavadocOptionFile.java

            return duplicateOptions;
        }
    
        public OptionLessJavadocOptionFileOption<List<String>> getSourceNames() {
            return sourceNames;
        }
    
        public Map<String, JavadocOptionFileOptionInternal<?>> getOptions() {
            return Collections.unmodifiableMap(options);
        }
    
        public <T> JavadocOptionFileOption<T> addOption(JavadocOptionFileOptionInternal<T> option) {
            if (option == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/sidecarinjector.go

    		}
    	} else if s.kubeClient != nil {
    		configMapName := getInjectorConfigMapName(args.Revision)
    		cms := s.kubeClient.Kube().CoreV1().ConfigMaps(args.Namespace)
    		if _, err := cms.Get(context.TODO(), configMapName, metav1.GetOptions{}); err != nil {
    			if errors.IsNotFound(err) {
    				log.Infof("Skipping sidecar injector, template not found")
    				return nil, nil
    			}
    			return nil, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 20:39:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go

    	accessor, err := meta.Accessor(obj)
    	if err != nil {
    		return nil, err
    	}
    
    	result, err := t.storage.Get(ctx, accessor.GetName(), &metav1.GetOptions{})
    	if err != nil {
    		return nil, err
    	}
    	return result, nil
    }
    
    func (t *Tester) createObject(ctx context.Context, obj runtime.Object) error {
    	accessor, err := meta.Accessor(obj)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 16:50:16 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  5. pkg/registry/flowcontrol/flowschema/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.1K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go

    	unstructuredObj, err := clg.dynamicClient.Resource(action.GetResource()).Namespace(action.GetNamespace()).Get(context.TODO(), action.GetName(), metav1.GetOptions{})
    	if err != nil {
    		// Inform the user that the requested object wasn't found.
    		printIfNotExists(err)
    		return true, nil, err
    	}
    	newObj, err := decodeUnstructuredIntoAPIObject(action, unstructuredObj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 16 10:29:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/ca.go

    }
    
    func FetchRootCert(c kubernetes.Interface) (string, error) {
    	cm, err := c.CoreV1().ConfigMaps("istio-system").Get(context.TODO(), "istio-ca-root-cert", metav1.GetOptions{})
    	if err != nil {
    		return "", err
    	}
    	return cm.Data["root-cert.pem"], nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

            // or preferably use test suites where the dependencies are automatically managed.
            return false;
        }
    
        @Override
        public TestNGOptions getOptions() {
            return options;
        }
    
        @Override
        public TestNGDetector getDetector() {
            return detector;
        }
    
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/configmaplock.go

    	var record LeaderElectionRecord
    	var err error
    	cml.cm, err = cml.Client.ConfigMaps(cml.ConfigMapMeta.Namespace).Get(ctx, cml.ConfigMapMeta.Name, metav1.GetOptions{})
    	if err != nil {
    		return nil, nil, err
    	}
    	if cml.cm.Annotations == nil {
    		cml.cm.Annotations = make(map[string]string)
    	}
    	recordStr, found := cml.cm.Annotations[LeaderElectionRecordAnnotationKey]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 4K bytes
    - Viewed (0)
  10. pkg/registry/networking/ingress/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)
Back to top