mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-02 23:02:25 +00:00
Update godeps for etcd 3.0.4
This commit is contained in:
3
vendor/github.com/jonboulle/clockwork/.travis.yml
generated
vendored
3
vendor/github.com/jonboulle/clockwork/.travis.yml
generated
vendored
@@ -1,3 +0,0 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.3
|
||||
5
vendor/github.com/jonboulle/clockwork/README.md
generated
vendored
5
vendor/github.com/jonboulle/clockwork/README.md
generated
vendored
@@ -1,9 +1,6 @@
|
||||
clockwork
|
||||
=========
|
||||
|
||||
[](https://travis-ci.org/jonboulle/clockwork)
|
||||
[](http://godoc.org/github.com/jonboulle/clockwork)
|
||||
|
||||
a simple fake clock for golang
|
||||
|
||||
# Usage
|
||||
@@ -58,4 +55,4 @@ See [example_test.go](example_test.go) for a full example.
|
||||
|
||||
# Credits
|
||||
|
||||
clockwork is inspired by @wickman's [threaded fake clock](https://gist.github.com/wickman/3840816), and the [Golang playground](http://blog.golang.org/playground#Faking time)
|
||||
Inspired by @wickman's [threaded fake clock](https://gist.github.com/wickman/3840816), and the [Golang playground](http://blog.golang.org/playground#Faking time)
|
||||
|
||||
3
vendor/github.com/jonboulle/clockwork/clockwork.go
generated
vendored
3
vendor/github.com/jonboulle/clockwork/clockwork.go
generated
vendored
@@ -36,9 +36,6 @@ func NewRealClock() Clock {
|
||||
func NewFakeClock() FakeClock {
|
||||
return &fakeClock{
|
||||
l: sync.RWMutex{},
|
||||
|
||||
// use a fixture that does not fulfill Time.IsZero()
|
||||
time: time.Date(1900, time.January, 1, 0, 0, 0, 0, time.UTC),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user