Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for splice (0.18 sec)

  1. istioctl/pkg/util/proto/messageslice.go

    )
    
    // 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("[")
    	sliceLength := len(pSlice)
    	for index, msg := range pSlice {
    		b, err := protomarshal.Marshal(msg)
    		if err != nil {
    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)
  2. istioctl/pkg/writer/ztunnel/configdump/services.go

    func (c *ConfigWriter) PrintServiceSummary(filter ServiceFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    	svcs := slices.Filter(maps.Values(zDump.Services), filter.Verify)
    	slices.SortFunc(svcs, func(a, b *ZtunnelService) int {
    		if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 {
    			return r
    		}
    		if r := cmp.Compare(a.Name, b.Name); r != 0 {
    			return r
    		}
    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)
  3. istioctl/pkg/writer/envoy/configdump/ecds.go

    		err := config.GetEcdsFilter().UnmarshalTo(c)
    		if err != nil {
    			return nil, fmt.Errorf("failed to retrieve TypedExtensionConfig: %v", err)
    		}
    
    		ecds = append(ecds, c)
    	}
    
    	sort.Slice(ecds, func(i, j int) bool {
    		if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() {
    			return ecds[i].GetName() < ecds[j].GetName()
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  4. istioctl/pkg/util/configdump/listener.go

    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range dal {
    		dal[i].ActiveState.Listener.TypeUrl = v3.ListenerType
    	}
    	sort.Slice(dal, func(i, j int) bool {
    		l := &listener.Listener{}
    		err = dal[i].ActiveState.Listener.UnmarshalTo(l)
    		if err != nil {
    			return false
    		}
    		name := l.Name
    		err = dal[j].ActiveState.Listener.UnmarshalTo(l)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  5. common-protos/k8s.io/api/authentication/v1beta1/generated.proto

    // ExtraValue masks the value so protobuf can generate
    // +protobuf.nullable=true
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message ExtraValue {
      // items, if empty, will result in an empty slice
    
      repeated string items = 1;
    }
    
    // SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/certificates/v1beta1/generated.proto

      // If request was approved, the controller will place the issued certificate here.
      // +listType=atomic
      // +optional
      optional bytes certificate = 2;
    }
    
    // ExtraValue masks the value so protobuf can generate
    // +protobuf.nullable=true
    // +protobuf.options.(gogoproto.goproto_stringer)=false
    message ExtraValue {
      // items, if empty, will result in an empty slice
    
      repeated string items = 1;
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      optional string addressType = 4;
    
      // endpoints is a list of unique endpoints in this slice. Each slice may
      // include a maximum of 1000 endpoints.
      // +listType=atomic
      repeated Endpoint endpoints = 2;
    
      // ports specifies the list of network ports exposed by each endpoint in
      // this slice. Each port must have a unique name. When ports is empty, it
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/testdata/cgroupns/1/cgroup

    0::/system.slice/docker-8445c3ca20fac1d8e74854d84a7e6a57297ffb22809098b2816b31a428f2b777.scope/kubelet.slice/kubelet-kubepods.slice/kubelet-kubepods-besteffort.slice/kubelet-kubepods-besteffort-pod863b91d4_4b68_4efa_917f_4b560e3e86aa.slice/cri-containerd-75c7fe7ad0df679971e755bd97b84dd68a32e1eba8e8f99b01ab3c07196a3e4a.scope...
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 326 bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/podcgroupns_test.go

    			expectContainerID: "",
    		},
    		{
    			name: "no container ID in cgroups",
    			cgroupPaths: []string{
    				"/user.slice",
    			},
    			expectPodUID:      "",
    			expectContainerID: "",
    		},
    		{
    			name: "one container ID in cgroups",
    			cgroupPaths: []string{
    				"/user.slice",
    				"/kubepods/pod2c48913c-b29f-11e7-9350-020968147796/9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961",
    			},
    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)
  10. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    type ConnectionsFilter struct {
    	Namespace string
    	Direction string
    	Raw       bool
    }
    
    func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error {
    	d := c.ztunnelDump
    	workloads := maps.Values(d.WorkloadState)
    	workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int {
    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)
Back to top