Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tailLines (0.11 sec)

  1. 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)
  2. 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)
  3. pkg/apis/core/v1/conversion_test.go

    	sinceTime := metav1.NewTime(time.Date(2000, 1, 1, 12, 34, 56, 0, time.UTC).Local())
    	tailLines := int64(2)
    	limitBytes := int64(3)
    
    	versionedLogOptions := &v1.PodLogOptions{
    		Container:    "mycontainer",
    		Follow:       true,
    		Previous:     true,
    		SinceSeconds: &sinceSeconds,
    		SinceTime:    &sinceTime,
    		Timestamps:   true,
    		TailLines:    &tailLines,
    		LimitBytes:   &limitBytes,
    	}
    	unversionedLogOptions := &core.PodLogOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:15 UTC 2023
    - 21.7K 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/registry/core/pod/strategy.go

    		params.Add("sinceSeconds", strconv.FormatInt(*opts.SinceSeconds, 10))
    	}
    	if opts.SinceTime != nil {
    		params.Add("sinceTime", opts.SinceTime.Format(time.RFC3339))
    	}
    	if opts.TailLines != nil {
    		params.Add("tailLines", strconv.FormatInt(*opts.TailLines, 10))
    	}
    	if opts.LimitBytes != nil {
    		params.Add("limitBytes", strconv.FormatInt(*opts.LimitBytes, 10))
    	}
    	loc := &url.URL{
    		Scheme:   nodeInfo.Scheme,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top