- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for tid (0.11 sec)
-
internal/event/targetid_test.go
} } } func TestTargetDToARN(t *testing.T) { tid := TargetID{"1", "webhook"} testCases := []struct { tid TargetID region string expectedARN ARN }{ {tid, "", ARN{TargetID: tid, region: ""}}, {tid, "us-east-1", ARN{TargetID: tid, region: "us-east-1"}}, } for i, testCase := range testCases { arn := testCase.tid.ToARN(testCase.region) if arn != testCase.expectedARN {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 3.5K bytes - Viewed (0) -
internal/event/targetid.go
} // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Viewed (0) -
internal/config/lambda/event/targetid.go
} // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.8K bytes - Viewed (0) -
internal/config/lambda/event/targetid_test.go
} } } func TestTargetDToARN(t *testing.T) { tid := TargetID{"1", "webhook"} testCases := []struct { tid TargetID region string expectedARN ARN }{ {tid, "", ARN{TargetID: tid, region: ""}}, {tid, "us-east-1", ARN{TargetID: tid, region: "us-east-1"}}, } for i, testCase := range testCases { arn := testCase.tid.ToARN(testCase.region) if arn != testCase.expectedARN {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 3.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
for _, line := range lines { // Different kernel vintages pad differently. line = strings.TrimSpace(line) if strings.HasPrefix(line, "Pid:\t") { // On loaded systems, it is possible // for a TID to be reused really // quickly. As such, we need to // validate that the thread status // info we just read is a task of the // same process PID as we are // currently running, and not a
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0)