Bumping k8s dependencies to 1.13
This commit is contained in:
7
vendor/google.golang.org/appengine/delay/delay.go
generated
vendored
7
vendor/google.golang.org/appengine/delay/delay.go
generated
vendored
@@ -46,6 +46,7 @@ package delay // import "google.golang.org/appengine/delay"
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
stdctx "context"
|
||||
"encoding/gob"
|
||||
"errors"
|
||||
"fmt"
|
||||
@@ -89,8 +90,14 @@ var (
|
||||
|
||||
// context keys
|
||||
headersContextKey contextKey = 0
|
||||
stdContextType = reflect.TypeOf((*stdctx.Context)(nil)).Elem()
|
||||
netContextType = reflect.TypeOf((*context.Context)(nil)).Elem()
|
||||
)
|
||||
|
||||
func isContext(t reflect.Type) bool {
|
||||
return t == stdContextType || t == netContextType
|
||||
}
|
||||
|
||||
// Func declares a new Function. The second argument must be a function with a
|
||||
// first argument of type context.Context.
|
||||
// This function must be called at program initialization time. That means it
|
||||
|
Reference in New Issue
Block a user