Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getMilliseconds (0.22 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.val1 == duration('1h2m') + duration('3s4ms')",
    				"self.val1.getHours() == 1",
    				"self.val1.getMinutes() == 62",
    				"self.val1.getSeconds() == 3723",
    				"self.val1.getMilliseconds() == 3723004",
    				"type(self.val1) == google.protobuf.Duration",
    			},
    			errors: map[string]string{
    				"duration('1')":                      "compilation failed: ERROR: <input>:1:10: invalid duration argument",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top