Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for tailLines (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/conversion/queryparams/convert_test.go

    				Follow:         true,
    				Previous:       true,
    				SinceSeconds:   &sinceSeconds,
    				TailLines:      &tailLines,
    				SinceTime:      nil, // test a nil custom marshaller with omitempty
    				NonPointerTime: sinceTime,
    			},
    			expected: url.Values{"container": {"mycontainer"}, "follow": {"true"}, "previous": {"true"}, "sinceSeconds": {"123"}, "tailLines": {"0"}, "emptyTime": {""}, "nonPointerTime": {"2000-01-01T12:34:56Z"}},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 03 07:01:02 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/validation/validation_test.go

    		},
    	}, {
    		name: "PodLogOptions with LimitBytes with TailLines",
    		podLogOptions: v1.PodLogOptions{
    			LimitBytes: &limitBytesGreaterThan1,
    			TailLines:  &positiveLine,
    		},
    	}, {
    		name: "PodLogOptions with LimitBytes with TailLines with SinceSeconds",
    		podLogOptions: v1.PodLogOptions{
    			LimitBytes:   &limitBytesGreaterThan1,
    			TailLines:    &positiveLine,
    			SinceSeconds: &sinceSecondsGreaterThan1,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. 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)
  4. pkg/kubelet/kubelet_server_journal_test.go

    			want: &nodeLogQuery{options: options{UntilTime: &validT}}},
    
    		{query: url.Values{"tailLines": []string{"100"}}, want: &nodeLogQuery{options: options{TailLines: intPtr(100)}}},
    		{query: url.Values{"tailLines": []string{"foo"}}, wantErr: true},
    		{query: url.Values{"tailLines": []string{" "}}, wantErr: true},
    
    		{query: url.Values{"pattern": []string{"foo"}}, want: &nodeLogQuery{options: options{Pattern: "foo"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 22:27:44 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_server_journal.go

    		} else {
    			nlq.Boot = &boot
    		}
    	}
    
    	var tailLines int
    	tailLinesValue := query.Get("tailLines")
    	if len(tailLinesValue) > 0 {
    		tailLines, err = strconv.Atoi(tailLinesValue)
    		if err != nil {
    			allErrs = append(allErrs, field.Invalid(field.NewPath("tailLines"), tailLinesValue, err.Error()))
    		} else {
    			nlq.TailLines = &tailLines
    		}
    	}
    
    	pattern := query.Get("pattern")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 18:56:28 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/api/testdata/HEAD/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: Sat Feb 19 15:31:53 UTC 2022
    - 281 bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/HEAD/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: Sat Feb 19 15:31:53 UTC 2022
    - 218 bytes
    - Viewed (0)
  9. pkg/apis/core/v1/validation/validation.go

    func ValidatePodLogOptions(opts *v1.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: Sat Oct 28 07:31:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 281 bytes
    - Viewed (0)
Back to top