diff options
| author | Daniel Martà <mvdan@mvdan.cc> | 2015-09-17 15:21:55 -0700 |
|---|---|---|
| committer | Daniel Martà <mvdan@mvdan.cc> | 2015-09-17 17:51:27 -0700 |
| commit | c0e44162bc75fe062e183b27fccc578e837c19b2 (patch) | |
| tree | 1c936f103120afeb1a761b1660c1507d0854c311 /api-conventions.md | |
| parent | 3127dc2aa45351f1000e5d25c51dc92a4d6ef514 (diff) | |
Move pkg/util.Time to pkg/api/unversioned.Time
Along with our time.Duration wrapper, as suggested by @lavalamp.
Diffstat (limited to 'api-conventions.md')
| -rw-r--r-- | api-conventions.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api-conventions.md b/api-conventions.md index e7b8b4e9..31225e18 100644 --- a/api-conventions.md +++ b/api-conventions.md @@ -189,8 +189,8 @@ The `FooCondition` type for some resource type `Foo` may include a subset of the ```golang Type FooConditionType `json:"type" description:"type of Foo condition"` Status ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"` - LastHeartbeatTime util.Time `json:"lastHeartbeatTime,omitempty" description:"last time we got an update on a given condition"` - LastTransitionTime util.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"` + LastHeartbeatTime unversioned.Time `json:"lastHeartbeatTime,omitempty" description:"last time we got an update on a given condition"` + LastTransitionTime unversioned.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"` Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"` Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"` ``` |
