Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for unmarshaler (0.28 sec)

  1. pilot/pkg/networking/core/listener_test.go

    	return oldestService
    }
    
    func getFilterConfig(filter *listener.Filter, out proto.Message) error {
    	switch c := filter.ConfigType.(type) {
    	case *listener.Filter_TypedConfig:
    		if err := c.TypedConfig.UnmarshalTo(out); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func buildOutboundListeners(t *testing.T, proxy *model.Proxy, sidecarConfig *config.Config,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  2. src/net/dnsclient_unix_test.go

    	copy(b, bb)
    	return len(bb), nil
    }
    
    func (f *fakeDNSConn) Write(b []byte) (int, error) {
    	if f.tcp && len(b) >= 2 {
    		b = b[2:]
    	}
    	if f.q.Unpack(b) != nil {
    		return 0, fmt.Errorf("cannot unmarshal DNS message fake %s (%d)", f.n, len(b))
    	}
    	return len(b), nil
    }
    
    func (f *fakeDNSConn) SetDeadline(t time.Time) error {
    	f.t = t
    	return nil
    }
    
    type fakeDNSPacketConn struct {
    	PacketConn
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top