Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 196 for Lange (0.14 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	w := c.tabwriter()
    	d := c.ztunnelDump
    	serviceNames := map[string]string{}
    	workloadNames := map[string]string{}
    	for netIP, s := range d.Services {
    		_, ip, _ := strings.Cut(netIP, "/")
    		serviceNames[ip] = s.Hostname
    	}
    	for netIP, s := range d.Workloads {
    		_, ip, _ := strings.Cut(netIP, "/")
    		workloadNames[ip] = s.Name + "." + s.Namespace
    	}
    	lookupIP := func(addr string) string {
    		if filter.Raw {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. istioctl/pkg/util/formatting/formatter.go

    	MsgOutputFormats    = make(map[string]bool)
    	termEnvVar          = env.Register("TERM", "", "Specifies terminal type.  Use 'dumb' to suppress color output")
    )
    
    func init() {
    	for _, key := range MsgOutputFormatKeys {
    		MsgOutputFormats[key] = true
    	}
    }
    
    // Print output messages in the specified format with color options
    func Print(ms diag.Messages, format string, colorize bool) (string, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate.go

    			processedFiles[path] = true
    		}); err != nil {
    			errs = multierror.Append(errs, err)
    		}
    	}
    	filenames = []string{}
    	for p := range processedFiles {
    		filenames = append(filenames, p)
    	}
    
    	if errs != nil {
    		// Display warnings we encountered as well
    		for _, fname := range filenames {
    			if w := warningsByFilename[fname]; w != nil {
    				if fname == "-" {
    					_, _ = fmt.Fprint(writer, warningToString(w))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	for _, secret := range secretDump {
    		if strings.Contains(secret.State, "Unavailable") {
    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    				secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA(""))
    		} else {
    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    				if i == 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    func getAllIstioObjects() object.K8sObjects {
    	var out object.K8sObjects
    	for _, gvk := range append(allClusterGVKs, allNamespacedGVKs...) {
    		objects := &unstructured.UnstructuredList{}
    		objects.SetGroupVersionKind(gvk)
    		if err := testClient.List(context.TODO(), objects); err != nil {
    			log.Error(err.Error())
    			continue
    		}
    		for _, o := range objects.Items {
    			no := o.DeepCopy()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. common/scripts/kind_provisioner.sh

    EOF
    }
    
    function ips_to_cidrs() {
      IP_RANGE_START="$1"
      IP_RANGE_END="$2"
      python3 - <<EOF
    from ipaddress import summarize_address_range, IPv4Address
    [ print(n.compressed) for n in summarize_address_range(IPv4Address(u'$IP_RANGE_START'), IPv4Address(u'$IP_RANGE_END')) ]
    EOF
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  7. cni/pkg/nodeagent/podcgroupns_test.go

    func TestGetContainerIDFromCGroups(t *testing.T) {
    	makeCGroups := func(groupPaths []string) []Cgroup {
    		var out []Cgroup
    		for _, groupPath := range groupPaths {
    			out = append(out, Cgroup{
    				GroupPath: groupPath,
    			})
    		}
    		return out
    	}
    
    	//nolint: lll
    	for _, tt := range []struct {
    		name              string
    		cgroupPaths       []string
    		expectPodUID      types.UID
    		expectContainerID string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint_test.go

    			},
    			expectedOutFile: "combined-gateway",
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    				Namespace: "default",
    			})
    			client, err := ctx.CLIClient()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			for _, gw := range tt.gateways {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/comparator.go

    	location      string
    }
    
    // NewComparator is a comparator constructor
    func NewComparator(w io.Writer, istiodResponses map[string][]byte, envoyResponse []byte) (*Comparator, error) {
    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    		istiodDump := &configdump.Wrapper{}
    		err := json.Unmarshal(resp, istiodDump)
    		if err != nil {
    			continue
    		}
    		c.istiod = istiodDump
    		break
    	}
    	if c.istiod == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  10. operator/cmd/mesh/profile-diff_test.go

    		},
    		{
    			args:           fmt.Sprintf("profile diff openshift openshift --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) {
    			output, fErr := runCommand(c.args)
    			verifyProfileDiffCommandCaseOutput(t, c, output, fErr)
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
Back to top