Document VolatileTime (#1313)

This commit is contained in:
Jason Hall 2020-05-08 12:39:45 -04:00 committed by GitHub
parent b820699d66
commit ae0b7dda87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ import (
)
// VolatileTime wraps metav1.Time
//
// Unlike metav1.Time, VolatileTimes are considered semantically equal when
// using go-cmp, so differing VolatileTime values are not considered different.
type VolatileTime struct {
Inner metav1.Time
}