Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for TailLines (0.32 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/api/core/v1/types.go

    	// If set, the number of lines from the end of the logs to show. If not specified,
    	// logs are shown from the creation of the container or sinceSeconds or sinceTime
    	// +optional
    	TailLines *int64 `json:"tailLines,omitempty" protobuf:"varint,7,opt,name=tailLines"`
    	// If set, the number of bytes to read from the server before terminating the
    	// log output. This may not display a complete final line of logging, and may return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/core/v1/generated.pb.go

    	}
    	i--
    	dAtA[i] = 0x48
    	if m.LimitBytes != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.LimitBytes))
    		i--
    		dAtA[i] = 0x40
    	}
    	if m.TailLines != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.TailLines))
    		i--
    		dAtA[i] = 0x38
    	}
    	i--
    	if m.Timestamps {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x30
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    		errs int
    	}{
    		{core.PodLogOptions{}, 0},
    		{core.PodLogOptions{Previous: true}, 0},
    		{core.PodLogOptions{Follow: true}, 0},
    		{core.PodLogOptions{TailLines: &zero}, 0},
    		{core.PodLogOptions{TailLines: &negative}, 1},
    		{core.PodLogOptions{TailLines: &positive}, 0},
    		{core.PodLogOptions{LimitBytes: &zero}, 1},
    		{core.PodLogOptions{LimitBytes: &negative}, 1},
    		{core.PodLogOptions{LimitBytes: &positive}, 0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top