Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 97 for bytes (0.14 sec)

  1. istioctl/pkg/describe/describe.go

    	if v, ok := anno[label.IoIstioRev.Name]; ok {
    		return v
    	}
    	statusString := anno.Get(apiannotation.SidecarStatus.Name)
    	var injectionStatus inject.SidecarInjectionStatus
    	if err := json.Unmarshal([]byte(statusString), &injectionStatus); err != nil {
    		return ""
    	}
    
    	return injectionStatus.Revision
    }
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	describeCmd := &cobra.Command{
    		Use:     "describe",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/istio-extension-dashboard.json

                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": []
          },
          "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 19
          },
          "id": 72,
          "links": [],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/istio-mesh-dashboard.json

            "x": 0,
            "y": 33
          },
          "id": 109,
          "links": [],
          "repeatDirection": "v",
          "targets": [
            {
              "expr": "label_join(sum(rate(istio_tcp_received_bytes_total{reporter=\"source\"}[1m])) by (destination_workload, destination_workload_namespace, destination_service), \"destination_workload_var\", \".\", \"destination_workload\", \"destination_workload_namespace\")",
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 02:28:01 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

    message AuditAnnotation {
      // key specifies the audit annotation key. The audit annotation keys of
      // a ValidatingAdmissionPolicy must be unique. The key must be a qualified
      // name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
      //
      // The key is combined with the resource name of the
      // ValidatingAdmissionPolicy to construct an audit annotation key:
      // "{ValidatingAdmissionPolicy name}/{key}".
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/mock_client.go

    	// Results is a map of podName to the results of the expected test on the pod
    	Results map[string][]byte
    	kube.CLIClient
    }
    
    func (c MockClient) NewPortForwarder(_, _, _ string, _, _ int) (kube.PortForwarder, error) {
    	return MockPortForwarder{}, nil
    }
    
    func (c MockClient) AllDiscoveryDo(_ context.Context, _, _ string) (map[string][]byte, error) {
    	return c.Results, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. cni/pkg/plugin/cnieventclient_test.go

    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusOK)
    		res.Write([]byte("server happy"))
    	}))
    	defer func() { testServer.Close() }()
    
    	cniC := fakeCNIEventClient(testServer.URL)
    
    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/cni-watcher_test.go

    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	invalid := string(payload) + "funkyjunk"
    
    	_, err := processAddEvent([]byte(invalid))
    
    	assert.Error(t, err)
    }
    
    func TestCNIPluginServer(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. istioctl/pkg/cli/context.go

    		ns = defaultNamespace
    	}
    	return ns
    }
    
    type fakeInstance struct {
    	// clients are cached clients for each revision
    	clients   map[string]kube.CLIClient
    	rootFlags *RootFlags
    	results   map[string][]byte
    	objects   []runtime.Object
    	version   string
    }
    
    func (f *fakeInstance) CLIClientWithRevision(rev string) (kube.CLIClient, error) {
    	if _, ok := f.clients[rev]; !ok {
    		var cliclient kube.CLIClient
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    		return completion.ValidServiceAccountArgs(cmd, ctx, args, toComplete)
    	})
    	return createCmd
    }
    
    func generateWorkloadGroupYAML(u *unstructured.Unstructured, spec *networkingv1alpha3.WorkloadGroup) ([]byte, error) {
    	iSpec, err := unstructureIstioType(spec)
    	if err != nil {
    		return nil, err
    	}
    	u.Object["spec"] = iSpec
    
    	wgYAML, err := yaml.Marshal(u.Object)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. cni/pkg/util/pluginutil.go

    		err = fmt.Errorf("error reading plugin from CNI config plugin list")
    		return
    	}
    	return
    }
    
    // Marshal the CNI config map and append a new line
    func MarshalCNIConfig(cniConfigMap map[string]any) ([]byte, error) {
    	cniConfig, err := json.MarshalIndent(cniConfigMap, "", "  ")
    	if err != nil {
    		return nil, err
    	}
    	cniConfig = append(cniConfig, "\n"...)
    	return cniConfig, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top