- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 250 for recorder (0.35 sec)
-
pkg/controller/cronjob/injection.go
// TODO: delete by UID? DeleteJob(namespace string, name string) error } // realJobControl is the default implementation of jobControlInterface. type realJobControl struct { KubeClient clientset.Interface Recorder record.EventRecorder } var _ jobControlInterface = &realJobControl{} func (r realJobControl) GetJob(namespace, name string) (*batchv1.Job, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 22 09:37:31 UTC 2023 - 4.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
if (body != null) { assertThat(event.responseBody).isEqualTo(body) } assertThat(event.t.javaClass).isEqualTo(cls) assertThat(event.t.message).isEqualTo(message) } /** Expose this recorder as a frame callback and shim in "ping" events. */ fun asFrameCallback() = object : WebSocketReader.FrameCallback { override fun onReadMessage(text: String) { events.add(Message(string = text))
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0) -
plugin/pkg/admission/security/podsecurity/admission.go
var _ genericadmissioninit.WantsExternalKubeClientSet = &Plugin{} var ( defaultRecorder *metrics.PrometheusRecorder defaultRecorderInit sync.Once ) func getDefaultRecorder() metrics.Recorder { // initialize and register to legacy metrics once defaultRecorderInit.Do(func() { defaultRecorder = metrics.NewPrometheusRecorder(podsecurityadmissionapi.GetAPIVersion())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 08:49:11 UTC 2023 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken_test.go
} func (r *dummyRecorder) AddWarning(agent, text string) { r.agent = agent r.text = text return } func (r *dummyRecorder) getWarning() string { return r.text } var _ warning.Recorder = &dummyRecorder{} func TestBearerToken(t *testing.T) { tests := map[string]struct { AuthorizationHeaders []string TokenAuth authenticator.Token ExpectedUserName string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 25 13:22:28 UTC 2022 - 8.8K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_windows.go
} return nil } // NewContainerManager creates windows container manager. func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.Interface, nodeConfig NodeConfig, failSwapOn bool, recorder record.EventRecorder, kubeClient clientset.Interface) (ContainerManager, error) { // It is safe to invoke `MachineInfo` on cAdvisor before logically initializing cAdvisor here because
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 11:25:36 UTC 2023 - 8.7K bytes - Viewed (0) -
pkg/kubelet/prober/prober_test.go
expectedResult: results.Success, }, } for i, test := range tests { for _, probeType := range [...]probeType{liveness, readiness, startup} { prober := &prober{ recorder: &record.FakeRecorder{}, } testID := fmt.Sprintf("%d-%s", i, probeType) testContainer := v1.Container{Env: test.env} switch probeType { case liveness: testContainer.LivenessProbe = test.probe
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:17:35 UTC 2023 - 9.7K bytes - Viewed (0) -
src/net/http/httptest/recorder_test.go
}, } for _, tt := range tests { if got := parseContentLength(tt.cl); got != tt.want { t.Errorf("%q:\n\tgot=%d\n\twant=%d", tt.cl, got, tt.want) } } } // Ensure that httptest.Recorder panics when given a non-3 digit (XXX) // status HTTP code. See https://golang.org/issues/45353 func TestRecorderPanicsOnNonXXXStatusCode(t *testing.T) { badCodes := []int{ -100, 0, 99, 1000, 20000, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 23:17:38 UTC 2022 - 9.7K bytes - Viewed (0) -
pkg/registry/core/service/portallocator/allocator.go
} type PortAllocator struct { portRange net.PortRange alloc allocator.Interface // metrics is a metrics recorder that can be disabled metrics metricsRecorderInterface } // PortAllocator implements Interface and Snapshottable var _ Interface = &PortAllocator{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 07:15:02 UTC 2024 - 7.4K bytes - Viewed (0) -
test/reorder.go
Matthew Dempsky <******@****.***> 1610796437 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jan 16 23:19:26 UTC 2021 - 2.3K bytes - Viewed (0) -
test/reorder2.go
Emmanuel Odeke <******@****.***> 1460323946 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 7.2K bytes - Viewed (0)