- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 253 for PROBE (3.53 sec)
-
pkg/probe/exec/exec_test.go
tests := []struct { expectedStatus probe.Result expectError bool execProbeTimeout bool input string output string err error }{ // Ok {probe.Success, false, true, "OK", "OK", nil}, // Ok {probe.Success, false, true, "OK", "OK", &fakeExitError{true, 0}}, // Ok - truncated output {probe.Success, false, true, elevenKilobyte, tenKilobyte, nil},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/volume/flexvolume/probe_test.go
assert.NoError(t, err) // Should no longer probe. // Act events, err = prober.Probe() // Assert assert.Equal(t, 0, len(events)) assert.NoError(t, err) } // Probes newly added drivers after prober is running. func TestProberAddRemoveDriver(t *testing.T) { // Arrange _, fs, watcher, prober := initTestEnvironment(t) prober.Probe() events, err := prober.Probe() assert.NoError(t, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 28 11:14:00 UTC 2023 - 10.5K bytes - Viewed (0) -
hack/testdata/pod-with-metadata-and-probes.yaml
- image: registry.k8s.io/nginx:1.7.9 name: target readinessProbe: exec: command: ["/bin/sh", "-c", "cat probe"] livenessProbe: exec: command: ["/bin/sh", "-c", "cat probe"] startupProbe: exec: command: ["/bin/sh", "-c", "cat probe"] initContainers: - image: busybox
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 17:26:20 UTC 2024 - 471 bytes - Viewed (0) -
pkg/registry/core/componentstatus/rest_test.go
api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/probe" ) type fakeHttpProber struct { result probe.Result body string err error } func (f *fakeHttpProber) Probe(*http.Request, time.Duration) (probe.Result, string, error) { return f.result, f.body, f.err } type testResponse struct { result probe.Result data string err error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 13 08:10:29 UTC 2023 - 5.3K bytes - Viewed (0) -
docs/metrics/README.md
## Healthcheck Probe MinIO server has two healthcheck related un-authenticated endpoints, a liveness probe to indicate if server is responding, cluster probe to check if server can be taken down for maintenance. - Liveness probe available at `/minio/health/live` - Cluster probe available at `/minio/health/cluster`
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 29 18:35:20 UTC 2024 - 1.9K bytes - Viewed (0) -
pkg/kubelet/prober/common_test.go
return p.result, "", p.err } type syncExecProber struct { sync.RWMutex fakeExecProber } func (p *syncExecProber) set(result probe.Result, err error) { p.Lock() defer p.Unlock() p.result = result p.err = err } func (p *syncExecProber) Probe(cmd exec.Cmd) (probe.Result, string, error) { p.RLock() defer p.RUnlock() return p.fakeExecProber.Probe(cmd)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 12 16:57:26 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/kube/inject/app_probe_test.go
for _, tc := range []struct { name string pod *corev1.Pod expected string }{ { name: "simple gRPC liveness probe", pod: &corev1.Pod{Spec: corev1.PodSpec{ Containers: []corev1.Container{ { Name: "foo", LivenessProbe: &corev1.Probe{ ProbeHandler: corev1.ProbeHandler{ GRPC: &corev1.GRPCAction{ Port: 1234, }, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherProbeRegistry.java
* {@link #armWatchProbe(File)} is called. * * When the probe is armed, a probe file is created (or re-created) under the hierarchy. * This should cause a file system event to be produced by the operating system. * We listen to those events specifically in {@link FileWatcherRegistry}. * Once the event arrives, {@link #triggerWatchProbe(String)} is called with the path, * and the probe becomes triggered (or proven). *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:38:01 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/probe/tcp/tcp_test.go
host string port int expectedStatus probe.Result expectedError error }{ // A connection is made and probing would succeed {tHost, tPort, probe.Success, nil}, // No connection can be made and probing would fail {tHost, -1, probe.Failure, nil}, } prober := New() for i, tt := range tests { status, _, err := prober.Probe(tt.host, tt.port, 1*time.Second) if status != tt.expectedStatus {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 18:23:33 UTC 2017 - 1.8K bytes - Viewed (0) -
pkg/istio-agent/health/health_probers.go
type Prober interface { // Probe will healthcheck and return whether or not the target is healthy. // If an error returned is not nil, it is assumed that the process could // not complete, and Probe() was unable to determine whether or not the // target was healthy. Probe(timeout time.Duration) (ProbeResult, error) } type ProbeResult string const (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 5.7K bytes - Viewed (0)