vendor protobuf & grpc
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
		
							
								
								
									
										15
									
								
								vendor/google.golang.org/grpc/internal/internal.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								vendor/google.golang.org/grpc/internal/internal.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -28,9 +28,7 @@ import ( | ||||
| ) | ||||
|  | ||||
| var ( | ||||
| 	// WithResolverBuilder is exported by dialoptions.go | ||||
| 	WithResolverBuilder interface{} // func (resolver.Builder) grpc.DialOption | ||||
| 	// WithHealthCheckFunc is not exported by dialoptions.go | ||||
| 	// WithHealthCheckFunc is set by dialoptions.go | ||||
| 	WithHealthCheckFunc interface{} // func (HealthChecker) DialOption | ||||
| 	// HealthCheckFunc is used to provide client-side LB channel health checking | ||||
| 	HealthCheckFunc HealthChecker | ||||
| @@ -39,14 +37,17 @@ var ( | ||||
| 	// KeepaliveMinPingTime is the minimum ping interval.  This must be 10s by | ||||
| 	// default, but tests may wish to set it lower for convenience. | ||||
| 	KeepaliveMinPingTime = 10 * time.Second | ||||
| 	// ParseServiceConfig is a function to parse JSON service configs into | ||||
| 	// opaque data structures. | ||||
| 	ParseServiceConfig func(sc string) (interface{}, error) | ||||
| 	// StatusRawProto is exported by status/status.go. This func returns a | ||||
| 	// pointer to the wrapped Status proto for a given status.Status without a | ||||
| 	// call to proto.Clone(). The returned Status proto should not be mutated by | ||||
| 	// the caller. | ||||
| 	StatusRawProto interface{} // func (*status.Status) *spb.Status | ||||
| 	// NewRequestInfoContext creates a new context based on the argument context attaching | ||||
| 	// the passed in RequestInfo to the new context. | ||||
| 	NewRequestInfoContext interface{} // func(context.Context, credentials.RequestInfo) context.Context | ||||
| 	// ParseServiceConfigForTesting is for creating a fake | ||||
| 	// ClientConn for resolver testing only | ||||
| 	ParseServiceConfigForTesting interface{} // func(string) *serviceconfig.ParseResult | ||||
| ) | ||||
|  | ||||
| // HealthChecker defines the signature of the client-side LB channel health checking function. | ||||
| @@ -57,7 +58,7 @@ var ( | ||||
| // | ||||
| // The health checking protocol is defined at: | ||||
| // https://github.com/grpc/grpc/blob/master/doc/health-checking.md | ||||
| type HealthChecker func(ctx context.Context, newStream func(string) (interface{}, error), setConnectivityState func(connectivity.State), serviceName string) error | ||||
| type HealthChecker func(ctx context.Context, newStream func(string) (interface{}, error), setConnectivityState func(connectivity.State, error), serviceName string) error | ||||
|  | ||||
| const ( | ||||
| 	// CredsBundleModeFallback switches GoogleDefaultCreds to fallback mode. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Akihiro Suda
					Akihiro Suda