Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
systemd-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
silver-platter
systemd-docker
Commits
e770fd47
Commit
e770fd47
authored
5 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Small fix to grpc dep
parent
ed6b32b6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
vendor/google.golang.org/grpc/internal/internal.go
+30
-6
30 additions, 6 deletions
vendor/google.golang.org/grpc/internal/internal.go
vendor/vendor.json
+3
-3
3 additions, 3 deletions
vendor/vendor.json
with
33 additions
and
9 deletions
vendor/google.golang.org/grpc/internal/internal.go
+
30
−
6
View file @
e770fd47
...
...
@@ -20,23 +20,47 @@
// symbols to avoid circular dependencies.
package
internal
import
"context"
import
(
"context"
"time"
"google.golang.org/grpc/connectivity"
)
var
(
// WithContextDialer is exported by dialoptions.go
WithContextDialer
interface
{}
// func(context.Context, string) (net.Conn, error) grpc.DialOption
// WithResolverBuilder is exported by dialoptions.go
// WithResolverBuilder is set 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
// BalancerUnregister is exported by package balancer to unregister a balancer.
BalancerUnregister
func
(
name
string
)
// 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
// 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.
type
HealthChecker
func
(
ctx
context
.
Context
,
newStream
func
()
(
interface
{},
error
),
reportHealth
func
(
bool
),
serviceName
string
)
error
//
// The implementation is expected to create a health checking RPC stream by
// calling newStream(), watch for the health status of serviceName, and report
// it's health back by calling setConnectivityState().
//
// 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
,
error
),
serviceName
string
)
error
const
(
// CredsBundleModeFallback switches GoogleDefaultCreds to fallback mode.
...
...
This diff is collapsed.
Click to expand it.
vendor/vendor.json
+
3
−
3
View file @
e770fd47
...
...
@@ -372,10 +372,10 @@
"revisionTime"
:
"2019-11-27T22:20:17Z"
},
{
"checksumSHA1"
:
"
xUOlil5rXPg8m1Suz3lvtXwuGh
4="
,
"checksumSHA1"
:
"
2ecKsnQiTXRTR6wcKzt0HbBolq
4="
,
"path"
:
"google.golang.org/grpc/internal"
,
"revision"
:
"
36f3126920fe326b7874e730e3cc26546186d8f0
"
,
"revisionTime"
:
"201
8
-1
2
-27T2
2:30:1
7Z"
"revision"
:
"
4b2104f1fb2b5f1a267fab0a7e704a1066d53775
"
,
"revisionTime"
:
"201
9
-1
1
-27T2
3:11:4
7Z"
},
{
"checksumSHA1"
:
"pF8iy9/Pmnt2a8sEAtYtOLQtdHE="
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment