Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 213 for errorea (0.13 sec)

  1. istioctl/pkg/util/configdump/util.go

    func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) {
    	var dumpAny *anypb.Any
    	for _, conf := range w.Configs {
    		if conf.TypeUrl == string(sectionTypeURL) {
    			dumpAny = conf
    		}
    	}
    	if dumpAny == nil {
    		return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL)
    	}
    
    	return dumpAny, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    		if len(wh.Webhooks) != tc.numWebhooks {
    			t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
    				tc.numWebhooks, len(wh.Webhooks))
    		}
    		tag, exists := wh.ObjectMeta.Labels[IstioTagLabel]
    		if !exists {
    			t.Errorf("expected tag webhook to have %s label, did not find", IstioTagLabel)
    		}
    		if tag != tc.tagName {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_iptables_unspecified.go

    package plugin
    
    import "errors"
    
    // ErrNotImplemented is returned when a requested feature is not implemented.
    var ErrNotImplemented = errors.New("not implemented")
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error {
    	return ErrNotImplemented
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/services.go

    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	out, err := json.MarshalIndent(svcs, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/google.go

    }
    
    func mcpTransport(ctx context.Context, tr http.RoundTripper) (http.RoundTripper, error) {
    	creds, err := google.FindDefaultCredentials(ctx, "https://www.googleapis.com/auth/cloud-platform")
    	if err != nil {
    		return nil, fmt.Errorf("finding default GCP credentials: %w", err)
    	}
    	return &oauth2.Transport{
    		Base:   tr,
    		Source: creds.TokenSource,
    	}, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  6. cni/pkg/plugin/kubernetes.go

    	ProxyGID          *int64
    }
    
    // newK8sClient returns a Kubernetes client
    func newK8sClient(conf Config) (kubernetes.Interface, error) {
    	// Some config can be passed in a kubeconfig file
    	kubeconfig := conf.Kubernetes.Kubeconfig
    
    	config, err := kube.DefaultRestConfig(kubeconfig, "")
    	if err != nil {
    		log.Errorf("Failed setting up kubernetes client with kubeconfig %s", kubeconfig)
    		return nil, err
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // Reason is optional.  It indicates why a request was allowed or denied.
      // +optional
      optional string reason = 2;
    
      // EvaluationError is an indication that some error occurred during the authorization check.
      // It is entirely possible to get an error and be able to continue determine authorization status in spite of it.
      // For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. cni/pkg/iptables/nldeps.go

    type NetlinkDependencies interface {
    	AddInpodMarkIPRule(cfg *Config) error
    	DelInpodMarkIPRule(cfg *Config) error
    	AddLoopbackRoutes(cfg *Config) error
    	DelLoopbackRoutes(cfg *Config) error
    }
    
    func RealNlDeps() NetlinkDependencies {
    	return &realDeps{}
    }
    
    type realDeps struct{}
    
    func (r *realDeps) AddInpodMarkIPRule(cfg *Config) error {
    	return AddInpodMarkIPRule(cfg)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. istioctl/pkg/dashboard/dashboard_test.go

    			ExpectedOutput: "Error: no pods found with selector app.kubernetes.io/name=grafana\n",
    			WantException:  true,
    		},
    		{ // case 7
    			Args:           strings.Split("jaeger --browser=false", " "),
    			ExpectedOutput: "Error: no pods found with selector app=jaeger\n",
    			WantException:  true,
    		},
    		{ // case 8
    			Args:           strings.Split("kiali --browser=false", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Nov 21 01:17:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. istioctl/pkg/util/formatting/formatter_test.go

    	output, _ := Print(msgs, LogFormat, false)
    
    	g.Expect(output).To(Equal(
    		"Error [B1] (SoapBubble) Explosion accident: the bubble is too big\n" +
    			"Warning [C1] (GrandCastle) Collapse danger: the castle is too old",
    	))
    }
    
    func TestFormatter_PrintLogWithColor(t *testing.T) {
    	g := NewWithT(t)
    
    	firstMsg := diag.NewMessage(
    		diag.NewMessageType(diag.Error, "B1", "Explosion accident: %v"),
    		diag.MockResource("SoapBubble"),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top