- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for fixedNonce (0.3 sec)
-
security/pkg/util/jwtutil_test.go
jwt string expectedExp time.Time expectedErr error }{ "jwt with expiration time": { jwt: thirdPartyJwt, expectedExp: time.Date(2020, time.April, 5, 10, 13, 54, 0, time.FixedZone("PDT", -int((7*time.Hour).Seconds()))), expectedErr: nil, }, "jwt with no expiration time": { jwt: firstPartyJwt, expectedExp: time.Time{}, expectedErr: nil, }, "invalid jwt": {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go
T Time `json:"t"` } func TestTimeMarshalYAML(t *testing.T) { cases := []struct { input Time result string }{ {Time{}, "t: null\n"}, {Date(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05Z\"\n"}, {Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05Z\"\n"}, } for _, c := range cases { input := TimeHolder{c.input}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:09 UTC 2024 - 9.4K bytes - Viewed (0)