HomeSort by relevance Sort by last modified time
    Searched defs:CallOption (Results 1 - 3 of 3) sorted by null

  /external/syzkaller/vendor/github.com/googleapis/gax-go/
call_option.go 41 // CallOption is an option used by Invoke to control behaviors of RPC calls.
42 // CallOption works by modifying relevant fields of CallSettings.
43 type CallOption interface {
62 func WithRetry(fn func() Retryer) CallOption {
140 type grpcOpt []grpc.CallOption
146 func WithGRPCOptions(opt ...grpc.CallOption) CallOption {
147 return grpcOpt(append([]grpc.CallOption(nil), opt...))
156 GRPC []grpc.CallOption
  /external/syzkaller/vendor/google.golang.org/api/googleapi/
googleapi.go 370 // A CallOption is an optional argument to an API call.
373 // A CallOption is something that configures an API call in a way that is
375 // an API call is common across many APIs, and is thus a CallOption.
376 type CallOption interface {
380 // QuotaUser returns a CallOption that will set the quota user for a call.
384 func QuotaUser(u string) CallOption { return quotaUser(u) }
390 // UserIP returns a CallOption that will set the "userIp" parameter of a call.
392 func UserIP(ip string) CallOption { return userIP(ip) }
398 // Trace returns a CallOption that enables diagnostic tracing for a call.
400 func Trace(traceToken string) CallOption { return traceTok(traceToken)
    [all...]
  /external/syzkaller/vendor/google.golang.org/grpc/
rpc_util.go 171 // CallOption configures a Call before it starts or extracts information from
173 type CallOption interface {
193 func Header(md *metadata.MD) CallOption {
197 // HeaderCallOption is a CallOption for collecting response header metadata.
213 func Trailer(md *metadata.MD) CallOption {
217 // TrailerCallOption is a CallOption for collecting response trailer metadata.
231 // Peer returns a CallOption that retrieves peer information for a unary RPC.
233 func Peer(p *peer.Peer) CallOption {
237 // PeerCallOption is a CallOption for collecting the identity of the remote
263 func FailFast(failFast bool) CallOption {
    [all...]

Completed in 480 milliseconds