kubernetes/pkg/kubelet/container
mattjmcnaughton 92940fa80d
Remove recorder.PastEventf method
The `recorder.PastEventf` method wasn't actually working as advertised.
It was supposed to accept a timestamp, which would be used when
generating the event. However, as the
[source code](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/record/event.go#L316)
shows, this `timestamp` was never actually used.

In other words, `PastEventf` is identical to `Eventf`.

We have two options: one would be to fix `PastEventf` so that it works
as advertised. The other would be to delete `PastEventf` and only
support `Eventf`.

Ultimately, I could only find one use of `PastEventf` in the code base,
so I propose we just delete `PastEventf` and convert all uses to
`Eventf`.
2019-12-30 12:00:23 -05:00
..
testing Merge pull request #83123 from aramase/dualstack-downward-api 2019-11-14 22:13:42 -08:00
BUILD Remove recorder.PastEventf method 2019-12-30 12:00:23 -05:00
cache_test.go
cache.go fix typo in /pkg/kubelet/container 2019-05-31 18:50:39 +08:00
container_gc.go Move from glog to klog 2018-11-10 07:50:31 -05:00
container_hash_test.go Omit nil or empty field when calculating hash value 2019-08-22 13:46:52 +08:00
container_reference_manager.go revert workaround in PR 46246 as APIs have been consistent 2017-07-09 20:38:01 +08:00
helpers_test.go Fixed an issue where duplicate containerPorts where not allowed across different address families 2019-09-13 14:44:53 +02:00
helpers.go Remove recorder.PastEventf method 2019-12-30 12:00:23 -05:00
os.go small nit in the annotations 2017-12-12 14:30:24 +08:00
ref_test.go Fix GetReference function 2019-08-07 16:49:29 +02:00
ref.go Add support for ephemeral containers to the kubelet 2019-07-24 16:24:26 +00:00
resize.go Use range in loops; misc fixes 2018-03-29 22:55:25 +11:00
runtime_cache_fake.go
runtime_cache_test.go
runtime_cache.go
runtime.go Windows: Fixes termination-file mounting for containerd 2019-11-12 23:33:55 -08:00
sync_result_test.go go-1.12: fix 'go vet' failures 2019-03-01 18:48:17 +02:00
sync_result.go Clean up error messages (ST1005) 2019-08-21 10:40:21 -07:00