Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for GetOptions (0.17 sec)

  1. operator/pkg/verifier/verifier.go

    		switch kind {
    		case "Deployment":
    			deployment := &appsv1.Deployment{}
    			err = info.Client.
    				Get().
    				Resource(kinds).
    				Namespace(namespace).
    				Name(name).
    				VersionedParams(&metav1.GetOptions{}, scheme.ParameterCodec).
    				Do(context.TODO()).
    				Into(deployment)
    			if err != nil {
    				v.reportFailure(kind, name, namespace, err)
    				return err
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/SelectOptionPromptEvent.java

            this.question = question;
            this.options = options;
            this.defaultOption = defaultOption;
        }
    
        public String getQuestion() {
            return question;
        }
    
        public List<String> getOptions() {
            return options;
        }
    
        public int getDefaultOption() {
            return defaultOption;
        }
    
        @Override
        public String getPrompt() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. pkg/registry/core/persistentvolume/storage/storage_test.go

    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	obj, err := storage.Get(ctx, "foo", &metav1.GetOptions{})
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	pvOut := obj.(*api.PersistentVolume)
    	// only compare the relevant change b/c metadata will differ
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. pkg/controller/serviceaccount/tokens_controller.go

    	// so add the token to a freshly retrieved copy of the secret
    	secrets := e.client.CoreV1().Secrets(cachedSecret.Namespace)
    	liveSecret, err := secrets.Get(context.TODO(), cachedSecret.Name, metav1.GetOptions{})
    	if err != nil {
    		// Retry for any error other than a NotFound
    		return !apierrors.IsNotFound(err), err
    	}
    	if liveSecret.ResourceVersion != cachedSecret.ResourceVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K 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. istioctl/pkg/describe/describe.go

    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{})
    			if err != nil {
    				return err
    			}
    
    			writer := cmd.OutOrStdout()
    
    			podLabels := klabels.Set(pod.ObjectMeta.Labels)
    			annotations := klabels.Set(pod.ObjectMeta.Annotations)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. pkg/volume/testing/volume_host.go

    func (f *fakeVolumeHost) GetSecretFunc() func(namespace, name string) (*v1.Secret, error) {
    	return func(namespace, name string) (*v1.Secret, error) {
    		return f.kubeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, metav1.GetOptions{})
    	}
    }
    
    func (f *fakeVolumeHost) GetExec(pluginName string) exec.Interface {
    	return f.exec
    }
    
    func (f *fakeVolumeHost) GetConfigMapFunc() func(namespace, name string) (*v1.ConfigMap, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K 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