Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for could (0.29 sec)

  1. istioctl/pkg/writer/pilot/status.go

    			err := resource.UnmarshalTo(&clientConfig)
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not parse node metadata: %w", err)
    			}
    			if s.Namespace != "" && meta.Namespace != s.Namespace {
    				continue
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. istioctl/pkg/install/k8sversion/version_test.go

    			expected: 8,
    			errMsg:   nil,
    			isValid:  true,
    		},
    		{
    			version: versionInvalid1,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid1.GitVersion),
    			isValid: false,
    		},
    		{
    			version: versionInvalid2,
    			errMsg:  fmt.Errorf("could not parse Malformed version: %v", versionInvalid2.GitVersion),
    			isValid: false,
    		},
    	}
    	for i, c := range cases {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest-generate.go

    			if err := os.MkdirAll(dirName, os.ModePerm); err != nil {
    				return fmt.Errorf("could not create directory %s; %s", outputDir, err)
    			}
    		}
    		fname := filepath.Join(dirName, componentName) + ".yaml"
    		l.LogAndPrintf("Writing manifest to %s", fname)
    		if !dryRun {
    			if err := os.WriteFile(fname, []byte(ym), 0o644); err != nil {
    				return fmt.Errorf("could not write manifest config; %s", err)
    			}
    		}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    			CertDir:            opts.CertDir,
    			InsecureSkipVerify: opts.InsecureSkipVerify,
    			XDSSAN:             opts.XDSSAN,
    			GrpcOpts:           grpcOpts,
    		},
    	}, nil)
    	if err != nil {
    		return nil, fmt.Errorf("could not dial: %w", err)
    	}
    	err = adscConn.Run()
    	if err != nil {
    		return nil, fmt.Errorf("ADSC: failed running %v", err)
    	}
    
    	err = adscConn.Send(dr)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  5. operator/cmd/mesh/operator-init.go

    	cmd.PersistentFlags().StringVar(&args.common.watchedNamespaces, "watchedNamespaces", constants.IstioSystemNamespace,
    		"The namespaces the operator controller watches, could be namespace list separated by comma, eg. 'ns1,ns2'")
    	cmd.PersistentFlags().StringVarP(&args.common.manifestsPath, "charts", "", "", ChartsDeprecatedStr)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. cni/pkg/iptables/iptables.go

    	// This is effectively an analog for Istio's old-style podSpec-based health check rewrites.
    	// Before Istio would update the pod manifest to rewrite healthchecks to go to sidecar Envoy port 15021,
    	// so that it could distinguish things that can be unauthenticated (healthchecks) from other kinds of node traffic
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  7. istioctl/pkg/dashboard/dashboard.go

    	var err error
    	for _, localPort := range portPrefs {
    		var fw kube.PortForwarder
    		fw, err = client.NewPortForwarder(podName, namespace, localAddress, localPort, remotePort)
    		if err != nil {
    			return fmt.Errorf("could not build port forwarder for %s: %v", flavor, err)
    		}
    
    		if err = fw.Start(); err != nil {
    			fw.Close()
    			// Try the next port
    			continue
    		}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. istioctl/pkg/version/version.go

    				},
    			}, nil
    		}
    		cpID := xds.IstioControlPlaneInstance{}
    		err = json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse CP Identifier: %w", err)
    		}
    		return &istioVersion.MeshInfo{
    			istioVersion.ServerInfo{
    				Component: cpID.Component,
    				Info:      cpID.Info,
    				Revision:  opts.Revision,
    			},
    		}, nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/core/v1/generated.proto

      // - ScheduleAnyway tells the scheduler to schedule the pod in any location,
      //   but giving higher precedence to topologies that would help reduce the
      //   skew.
      // A constraint is considered "Unsatisfiable" for an incoming pod
      // if and only if every possible node assignment for that pod would violate
      // "MaxSkew" on some topology.
      // For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	expDate, err := time.Parse(time.RFC3339, cert.ExpirationTime)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ExpirationTime, err)
    		return false
    	}
    	fromDate, err := time.Parse(time.RFC3339, cert.ValidFrom)
    	if err != nil {
    		log.Errorf("certificate timestamp (%v) could not be parsed: %v", cert.ValidFrom, err)
    		return false
    	}
    	if today.After(fromDate) && today.Before(expDate) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top