Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for tailLines (0.16 sec)

  1. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtils.java

            try (Stream<String> lines = Files.lines(file.toPath(), StandardCharsets.UTF_8)) {
                EvictingQueue<String> tailLines = lines.collect(Collectors.toCollection(() -> EvictingQueue.create(tailSize)));
                return tailLines.isEmpty() ? "<<empty>>" : String.join("\n", tailLines);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodLogOptions.json

    {
      "kind": "PodLogOptions",
      "apiVersion": "v1",
      "container": "containerValue",
      "follow": true,
      "previous": true,
      "sinceSeconds": 4,
      "sinceTime": "2005-01-01T01:01:01Z",
      "timestamps": true,
      "tailLines": 7,
      "limitBytes": 8,
      "insecureSkipTLSVerifyBackend": true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 281 bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodLogOptions.yaml

    apiVersion: v1
    container: containerValue
    follow: true
    insecureSkipTLSVerifyBackend: true
    kind: PodLogOptions
    limitBytes: 8
    previous: true
    sinceSeconds: 4
    sinceTime: "2005-01-01T01:01:01Z"
    tailLines: 7
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 218 bytes
    - Viewed (0)
  4. pkg/kubelet/server/server.go

    				Param(ws.QueryParameter("untilTime", "untilTime is an RFC3339 timestamp until which to show logs").DataType("string")).
    				Param(ws.QueryParameter("tailLines", "tailLines is used to retrieve the specified number of lines from the end of the log").DataType("string")).
    				Param(ws.QueryParameter("pattern", "pattern filters log entries by the provided regex pattern").DataType("string")).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server_test.go

    		query        string
    		podLogOption *v1.PodLogOptions
    	}{
    		"without tail":     {"", &v1.PodLogOptions{}},
    		"with tail":        {"?tailLines=5", &v1.PodLogOptions{TailLines: pointer.Int64(5)}},
    		"with legacy tail": {"?tail=5", &v1.PodLogOptions{TailLines: pointer.Int64(5)}},
    		"with tail all":    {"?tail=all", &v1.PodLogOptions{}},
    		"with follow":      {"?follow=1", &v1.PodLogOptions{Follow: true}},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/zz_generated.conversion.go

    			return err
    		}
    	} else {
    		out.Timestamps = false
    	}
    	if values, ok := map[string][]string(*in)["tailLines"]; ok && len(values) > 0 {
    		if err := runtime.Convert_Slice_string_To_Pointer_int64(&values, &out.TailLines, s); err != nil {
    			return err
    		}
    	} else {
    		out.TailLines = nil
    	}
    	if values, ok := map[string][]string(*in)["limitBytes"]; ok && len(values) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	value := int64(kubecontainer.MaxContainerTerminationMessageLogLines)
    	buf, _ := circbuf.NewBuffer(kubecontainer.MaxContainerTerminationMessageLogLength)
    	if err := m.ReadLogs(context.Background(), path, "", &v1.PodLogOptions{TailLines: &value}, buf, buf); err != nil {
    		return fmt.Sprintf("Error on reading termination message from logs: %v", err)
    	}
    	return buf.String()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  8. pkg/apis/core/zz_generated.deepcopy.go

    		*out = new(int64)
    		**out = **in
    	}
    	if in.SinceTime != nil {
    		in, out := &in.SinceTime, &out.SinceTime
    		*out = (*in).DeepCopy()
    	}
    	if in.TailLines != nil {
    		in, out := &in.TailLines, &out.TailLines
    		*out = new(int64)
    		**out = **in
    	}
    	if in.LimitBytes != nil {
    		in, out := &in.LimitBytes, &out.LimitBytes
    		*out = new(int64)
    		**out = **in
    	}
    	return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    		*out = new(int64)
    		**out = **in
    	}
    	if in.SinceTime != nil {
    		in, out := &in.SinceTime, &out.SinceTime
    		*out = (*in).DeepCopy()
    	}
    	if in.TailLines != nil {
    		in, out := &in.TailLines, &out.TailLines
    		*out = new(int64)
    		**out = **in
    	}
    	if in.LimitBytes != nil {
    		in, out := &in.LimitBytes, &out.LimitBytes
    		*out = new(int64)
    		**out = **in
    	}
    	return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation.go

    	}
    	return allErrs
    }
    
    func ValidatePodLogOptions(opts *core.PodLogOptions) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if opts.TailLines != nil && *opts.TailLines < 0 {
    		allErrs = append(allErrs, field.Invalid(field.NewPath("tailLines"), *opts.TailLines, isNegativeErrorMsg))
    	}
    	if opts.LimitBytes != nil && *opts.LimitBytes < 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top