- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for tid (0.15 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)