- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for sinceTime (0.15 sec)
-
pkg/kubelet/kubelet_server_journal_test.go
{query: url.Values{"sinceTime": []string{""}}, want: nil}, {query: url.Values{"sinceTime": []string{"2019-12-04 02:00:00"}}, wantErr: true}, {query: url.Values{"sinceTime": []string{"2019-12-04 02:00:00.000"}}, wantErr: true}, {query: url.Values{"sinceTime": []string{"2019-12-04 02"}}, wantErr: true}, {query: url.Values{"sinceTime": []string{"2019-12-04 02:00"}}, wantErr: true},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 22:27:44 UTC 2023 - 8.3K bytes - Viewed (0) -
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) -
pkg/kubelet/kubelet_server_journal.go
} var sinceTime time.Time sinceTimeValue := query.Get("sinceTime") if len(sinceTimeValue) > 0 { sinceTime, err = time.Parse(time.RFC3339, sinceTimeValue) if err != nil { allErrs = append(allErrs, field.Invalid(field.NewPath("sinceTime"), sinceTimeValue, "invalid time format")) } else { nlq.SinceTime = &sinceTime } } var untilTime time.Time
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 18:56:28 UTC 2023 - 13.5K bytes - Viewed (0) -
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) -
pkg/kubelet/kubelet_server_journal_windows.go
args := []string{ "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", } psCmd := "Get-WinEvent -FilterHashtable @{LogName='Application'" if n.SinceTime != nil { psCmd += fmt.Sprintf("; StartTime='%s'", n.SinceTime.Format(dateLayout)) } if n.UntilTime != nil { psCmd += fmt.Sprintf("; EndTime='%s'", n.UntilTime.Format(dateLayout)) } var providers []string for _, service := range services {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 15:54:36 UTC 2023 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023 - 218 bytes - Viewed (0) -
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) -
pkg/kubelet/kubelet_server_journal_linux.go
func getLoggingCmd(n *nodeLogQuery, services []string) (string, []string, error) { args := []string{ "--utc", "--no-pager", "--output=short-precise", } if n.SinceTime != nil { args = append(args, fmt.Sprintf("--since=%s", n.SinceTime.Format(dateLayout))) } if n.UntilTime != nil { args = append(args, fmt.Sprintf("--until=%s", n.UntilTime.Format(dateLayout))) } if n.TailLines != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 11 01:09:28 UTC 2024 - 2.2K bytes - Viewed (0) -
pkg/apis/core/v1/conversion_test.go
func TestPodLogOptions(t *testing.T) { sinceSeconds := int64(1) 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,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 05:34:15 UTC 2023 - 21.7K bytes - Viewed (0) -
pkg/apis/core/v1/validation/validation.go
allErrs = append(allErrs, field.Invalid(field.NewPath("limitBytes"), *opts.LimitBytes, "must be greater than 0")) } switch { case opts.SinceSeconds != nil && opts.SinceTime != nil: allErrs = append(allErrs, field.Forbidden(field.NewPath(""), "at most one of `sinceTime` or `sinceSeconds` may be specified")) case opts.SinceSeconds != nil: if *opts.SinceSeconds < 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)