Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for TailLines (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. common-protos/k8s.io/api/core/v1/generated.proto

      // 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
      optional int64 tailLines = 7;
    
      // 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  9. pkg/apis/core/types.go

    	// of log output.
    	Timestamps bool
    	// 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
    	TailLines *int64
    	// 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
    - 268.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    	"timestamps":                   "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
    	"tailLines":                    "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",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
Back to top