summaryrefslogtreecommitdiff
path: root/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-09 08:12:16 -0500
committerGitHub <noreply@github.com>2020-12-09 08:12:16 -0500
commit247260081a5cdc4065009bcd1080c987974327e5 (patch)
tree278f2fb67adb161afb39e3fcbc1105abfa532deb /vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
parent3aad9024b6d59bb9f73e7da07c25ba3e1b52954a (diff)
parent37fbf28d74927b959b36ceade7fde3402ea08e05 (diff)
downloadpodman-247260081a5cdc4065009bcd1080c987974327e5.tar.gz
podman-247260081a5cdc4065009bcd1080c987974327e5.tar.bz2
podman-247260081a5cdc4065009bcd1080c987974327e5.zip
Merge pull request #8656 from containers/dependabot/go_modules/k8s.io/apimachinery-0.20.0
Bump k8s.io/apimachinery from 0.19.4 to 0.20.0
Diffstat (limited to 'vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go')
-rw-r--r--vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
index 4a1d89cfc..421770d43 100644
--- a/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
+++ b/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/time.go
@@ -19,8 +19,6 @@ package v1
import (
"encoding/json"
"time"
-
- fuzz "github.com/google/gofuzz"
)
// Time is a wrapper around time.Time which supports correct
@@ -182,16 +180,3 @@ func (t Time) MarshalQueryParameter() (string, error) {
return t.UTC().Format(time.RFC3339), nil
}
-
-// Fuzz satisfies fuzz.Interface.
-func (t *Time) Fuzz(c fuzz.Continue) {
- if t == nil {
- return
- }
- // Allow for about 1000 years of randomness. Leave off nanoseconds
- // because JSON doesn't represent them so they can't round-trip
- // properly.
- t.Time = time.Unix(c.Rand.Int63n(1000*365*24*60*60), 0)
-}
-
-var _ fuzz.Interface = &Time{}