Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for keepaliveConverter (0.12 sec)

  1. pkg/bootstrap/option/instance.go

    }
    
    func newTCPKeepaliveOption(name Name, value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) *instance {
    	return newOptionOrSkipIfZero(name, value).withConvert(keepaliveConverter(value))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  2. pkg/bootstrap/option/convert.go

    }
    
    // UpstreamConnectionOptions wraps is a thin JSON for xDS proto
    type UpstreamConnectionOptions struct {
    	TCPKeepalive *TCPKeepalive `json:"tcp_keepalive,omitempty"`
    }
    
    func keepaliveConverter(value *networkingAPI.ConnectionPoolSettings_TCPSettings_TcpKeepalive) convertFunc {
    	return func(*instance) (any, error) {
    		upstreamConnectionOptions := &UpstreamConnectionOptions{
    			TCPKeepalive: &TCPKeepalive{},
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top