Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 395 for GetOptions (0.22 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/etcd.go

    func (r *StatusREST) New() runtime.Object {
    	return r.store.New()
    }
    
    // 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) {
    	o, err := r.store.Get(ctx, name, options)
    	if err != nil {
    		return nil, err
    	}
    	return o, nil
    }
    
    // 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
    - 12.4K bytes
    - Viewed (0)
  2. pkg/registry/autoscaling/horizontalpodautoscaler/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.6K bytes
    - Viewed (0)
  3. pkg/controller/replication/conversion.go

    		return c.ReplicationControllerInterface.UpdateStatus(ctx, rc, opts)
    	}, rs)
    }
    
    func (c conversionClient) Get(ctx context.Context, name string, options metav1.GetOptions) (*apps.ReplicaSet, error) {
    	rc, err := c.ReplicationControllerInterface.Get(ctx, name, options)
    	if err != nil {
    		return nil, err
    	}
    	return convertRCtoRS(rc, nil)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 18:43:33 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/main/java/org/gradle/api/plugins/scala/ScalaBasePlugin.java

                JvmPluginsHelper.compileAgainstJavaOutputs(scalaCompile, sourceSet, objectFactory);
                JvmPluginsHelper.configureAnnotationProcessorPath(sourceSet, scalaSource, scalaCompile.getOptions(), project);
                scalaCompile.setDescription("Compiles the " + scalaSource + ".");
                scalaCompile.setSource(scalaSource);
                scalaCompile.getJavaLauncher().convention(getJavaLauncher(project));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 10:39:12 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. operator/pkg/util/k8s.go

    		namespace = constants.IstioSystemNamespace
    	}
    	// check if the namespace already exists. If yes, do nothing. If no, create a new one.
    	if _, err := cs.CoreV1().Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{}); err != nil {
    		if errors.IsNotFound(err) {
    			ns := &v1.Namespace{ObjectMeta: metav1.ObjectMeta{
    				Name:   namespace,
    				Labels: map[string]string{},
    			}}
    			if network != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/endpointslock.go

    	var record LeaderElectionRecord
    	var err error
    	el.e, err = el.Client.Endpoints(el.EndpointsMeta.Namespace).Get(ctx, el.EndpointsMeta.Name, metav1.GetOptions{})
    	if err != nil {
    		return nil, nil, err
    	}
    	if el.e.Annotations == nil {
    		el.e.Annotations = make(map[string]string)
    	}
    	recordStr, found := el.e.Annotations[LeaderElectionRecordAnnotationKey]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  7. plugin/pkg/admission/namespace/exists/admission.go

    	}
    
    	// in case of latency in our caches, make a call direct to storage to verify that it truly exists or not
    	_, err = e.client.CoreV1().Namespaces().Get(context.TODO(), a.GetNamespace(), metav1.GetOptions{})
    	if err != nil {
    		if errors.IsNotFound(err) {
    			return err
    		}
    		return errors.NewInternalError(err)
    	}
    
    	return nil
    }
    
    // NewExists creates a new namespace exists admission control handler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  8. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	rotator0.checkAndRotateRootCert()
    	caSecret, err := client0.Secrets(rotator0.config.caStorageNamespace).Get(context.TODO(), rotator0.config.secretName, metav1.GetOptions{})
    	if !errors.IsNotFound(err) || caSecret != nil {
    		t.Errorf("CA secret should not exist, but get %v: %v", caSecret, err)
    	}
    }
    
    type rootCertItem struct {
    	caSecret                *v1.Secret
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/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: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandler.java

                return version;
            }
    
            public void setVersion(String version) {
                this.version = version;
            }
    
            public String getOptions() {
                return options;
            }
    
            public void setOptions(String options) {
                this.options = options;
            }
    
            public List<Long> getBuild_time() {
                return build_time;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top