Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for IsNotFound (0.18 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    			}
    			_, err = gwc.Patch(context.Background(), gw.Name, types.ApplyPatchType, b, metav1.PatchOptions{
    				Force:        nil,
    				FieldManager: "istioctl",
    			})
    			if err != nil {
    				if errors.IsNotFound(err) {
    					return fmt.Errorf("missing Kubernetes Gateway CRDs need to be installed before applying a waypoint: %s", err)
    				}
    				return err
    			}
    			if waitReady {
    				startTime := time.Now()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 20:20:40 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. cni/pkg/util/podutil.go

    			annotationRemovePatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	if errors.IsNotFound(err) {
    		return nil
    	}
    	return err
    }
    
    // Get any IPs currently assigned to the Pod.
    //
    // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest_shared_test.go

    	}
    	check, ok := obj.DeepCopyObject().(client.Object)
    	if !ok {
    		return errors.New("could not check for object in fake client")
    	}
    	if err := clnt.Get(ctx, client.ObjectKeyFromObject(obj), check); kerrors.IsNotFound(err) {
    		if err := clnt.Create(ctx, check); err != nil {
    			return fmt.Errorf("could not inject object creation for fake: %w", err)
    		}
    	} else if err != nil {
    		return err
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. istioctl/pkg/tag/generate.go

    	vwh, err := client.Kube().AdmissionregistrationV1().ValidatingWebhookConfigurations().
    		Get(context.Background(), vwhBaseTemplateName, metav1.GetOptions{})
    	if err != nil && !errors.IsNotFound(err) {
    		return nil, err
    	}
    	if vwh == nil {
    		return whConfig, nil
    	}
    	if whConfig.FailurePolicy == nil {
    		whConfig.FailurePolicy = map[string]*admitv1.FailurePolicyType{}
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. istioctl/pkg/precheck/precheck.go

    	// This has no effect for users, unless they have this service.
    	svc, err := cli.Kube().CoreV1().Services("istio-system").Get(context.Background(), "zipkin", metav1.GetOptions{})
    	if err != nil && !kerrors.IsNotFound(err) {
    		return err
    	}
    	if err != nil {
    		// not found
    		return nil
    	}
    	// found
    	res := ObjectToInstance(svc)
    	messages.Add(msg.NewUpdateIncompatibility(res,
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    					client, err := ctx.CLIClient()
    					if err != nil {
    						return err
    					}
    					_, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{})
    					if errors.IsNotFound(err) {
    						fmt.Fprintf(cmd.ErrOrStderr(), "namespace %q not found\n", ctx.Namespace())
    						return nil
    					} else if err != nil {
    						return err
    					}
    				}
    			}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. api/go1.13.txt

    pkg net/http, type Transport struct, WriteBufferSize int
    pkg net, method (*DNSConfigError) Unwrap() error
    pkg net, method (*OpError) Unwrap() error
    pkg net, type DNSError struct, IsNotFound bool
    pkg net, type ListenConfig struct, KeepAlive time.Duration
    pkg net/url, method (*Error) Unwrap() error
    pkg os/exec, method (*Cmd) String() string
    pkg os/exec, method (*Error) Unwrap() error
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
Back to top