- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for byte (0.14 sec)
-
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) -
istioctl/pkg/proxyconfig/proxyconfig.go
} } else { return fmt.Errorf("unknown stats type %s", statsType) } switch outputFormat { // convert the json output to yaml case yamlOutput: var out []byte if out, err = yaml.JSONToYAML([]byte(stats)); err != nil { return err } _, _ = fmt.Fprint(c.OutOrStdout(), string(out)) default: _, _ = fmt.Fprint(c.OutOrStdout(), stats) } return nil },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
kubeClient: client.Kube(), netServer: fs, } handlers := setupHandlers(ctx, client, server, "istio-system") client.RunAndWait(ctx.Done()) go handlers.Start() // label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, constants.DataplaneModeLabel, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
"istio.io/istio/pilot/test/util" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert" ) var fakeCACert = []byte("fake-CA-cert") var ( defaultYAML = `apiVersion: networking.istio.io/v1alpha3 kind: WorkloadGroup metadata: name: foo namespace: bar spec: metadata: {} template: serviceAccount: default `
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
type ExternalInjector struct { client kube.CLIClient clientConfig *admissionregistration.WebhookClientConfig injectorAddress string } func (e ExternalInjector) Inject(pod *corev1.Pod, deploymentNS string) ([]byte, error) { cc := e.clientConfig if cc == nil { return nil, nil } var address string if cc.URL != nil { address = *cc.URL } var certPool *x509.CertPool if len(cc.CABundle) > 0 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
data, err := proto.Marshal(msg) if err != nil { return nil, err } return z.sendDataAndWaitForAck(data, fd) } func (z *ZtunnelConnection) sendDataAndWaitForAck(data []byte, fd *int) (*zdsapi.WorkloadResponse, error) { var rights []byte if fd != nil { rights = unix.UnixRights(*fd) } err := z.u.SetWriteDeadline(time.Now().Add(readWriteDeadline)) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
cniAddServerCalled = true if serverErr { res.WriteHeader(http.StatusInternalServerError) res.Write([]byte("server not happy")) return } res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) return testServer.URL, func() bool { testServer.Close() return cniAddServerCalled } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
} return w.Flush() case "json", "yaml": outputBytes, err := json.MarshalIndent(&resultScopeLogLevel, "", " ") outputBytes = append(outputBytes, []byte("\n")...) if err != nil { return err } if ga.outputFormat == "yaml" { if outputBytes, err = yaml.JSONToYAML(outputBytes); err != nil { return err } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
Component: "MISSING", ID: "MISSING", Info: istioversion.BuildInfo{ Version: "MISSING CP ID", }, } } cpID := pilotxds.IstioControlPlaneInstance{} err := json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID) if err != nil { return pilotxds.IstioControlPlaneInstance{ Component: "INVALID", ID: "INVALID", Info: istioversion.BuildInfo{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0)