Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for byte (0.14 sec)

  1. istioctl/pkg/tag/generate_test.go

    						Namespace: "default",
    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    			{
    				Name: fmt.Sprintf("object.%s", istioInjectionWebhookSuffix),
    				ClientConfig: admitv1.WebhookClientConfig{
    					Service: &admitv1.ServiceReference{
    						Namespace: "default",
    						Name:      "istiod",
    					},
    					CABundle: []byte("ca"),
    				},
    			},
    		},
    	}
    	samplePath               = "/sample/path"
    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)
  2. istioctl/pkg/describe/describe_test.go

    							{
    								Name:   "v1",
    								Labels: map[string]string{"version": "v1"},
    							},
    						},
    					},
    				},
    			},
    			configDumps: map[string][]byte{
    				"productpage-v1-1234567890": config,
    				"ingress":                   []byte("{}"),
    			},
    			namespace:      "default",
    			istioNamespace: "default",
    			// case 9, vs route to multiple hosts
    			args: strings.Split("service productpage", " "),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/configdump.go

    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintClusterSummary(cf); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintListenerSummary(lf); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintRouteSummary(rf); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintSecretSummary(); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    	return nil
    }
    
    func (c *ConfigWriter) PrintFullSummary() error {
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintWorkloadSummary(WorkloadFilter{Verbose: true}); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintServiceSummary(ServiceFilter{}); err != nil {
    		return err
    	}
    	_, _ = c.Stdout.Write([]byte("\n"))
    	if err := c.PrintPolicySummary(PolicyFilter{}); err != nil {
    		return err
    	}
    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/util/proto/messageslice.go

    package proto
    
    import (
    	"bytes"
    
    	"google.golang.org/protobuf/proto"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly
    type MessageSlice []proto.Message
    
    // MarshalJSON handles marshaling of slices of proto messages
    func (pSlice MessageSlice) MarshalJSON() ([]byte, error) {
    	buffer := bytes.NewBufferString("[")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 19 21:53:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/sds/util.go

    	}
    
    	return secret, nil
    }
    
    func secretMetaFromCert(rawCert []byte) (SecretMeta, error) {
    	block, _ := pem.Decode(rawCert)
    	if block == nil {
    		return SecretMeta{}, fmt.Errorf("failed to parse certificate PEM")
    	}
    	cert, err := x509.ParseCertificate(block.Bytes)
    	if err != nil {
    		return SecretMeta{}, err
    	}
    	var certType string
    	if cert.IsCA {
    		certType = "CA"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. istioctl/pkg/util/testutil/util.go

    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(),
    			strings.Join(c.Args, " "), output, c.ExpectedRegexp)
    	}
    
    	if c.GoldenFilename != "" {
    		util.CompareContent(t, []byte(output), c.GoldenFilename)
    	}
    
    	if c.WantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.Args, " "), output)
    		}
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/comparator.go

    	w             io.Writer
    	context       int
    	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
    		}
    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)
  9. cni/pkg/install/kubeconfig_test.go

    			if c.skipTLSVerify {
    				goldenFilepath = "testdata/kubeconfig-skip-tls"
    			}
    
    			testutils.CompareContent(t, []byte(result.Full), goldenFilepath)
    		})
    	}
    }
    
    func TestReplaceInvalidKubeconfigFile(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    	constants.ServiceAccountPath = tmp
    	tempDir := t.TempDir()
    
    	cfg := &config.InstallConfig{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. istioctl/pkg/util/configdump/workload.go

    // limitations under the License.
    
    package configdump
    
    type ZtunnelWorkload struct {
    	WorkloadIPs       []string  `json:"workloadIps"`
    	Waypoint          *Waypoint `json:"waypoint"`
    	GatewayIP         []byte    `json:"gatewayIp"`
    	Protocol          string    `json:"protocol"`
    	Name              string    `json:"name"`
    	Namespace         string    `json:"namespace"`
    	ServiceAccount    string    `json:"serviceAccount"`
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Fri Mar 22 16:24:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top