Documentation ¶
Overview ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package codestarnotificationsdouble contains test double implementation of codestarnotificationsiface.CodeStarNotificationsAPI
Package codestarnotificationsdouble provides a TestDouble implementation of codestarnotificationsiface.CodeStarNotificationsAPI ¶
Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00
Index ¶
- type CodeStarNotificationsDouble
- func (d *CodeStarNotificationsDouble) CreateNotificationRule(i0 *codestarnotifications.CreateNotificationRuleInput) (r0 *codestarnotifications.CreateNotificationRuleOutput, r1 error)
- func (d *CodeStarNotificationsDouble) CreateNotificationRuleRequest(i0 *codestarnotifications.CreateNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.CreateNotificationRuleOutput)
- func (d *CodeStarNotificationsDouble) CreateNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.CreateNotificationRuleInput, ...) (r0 *codestarnotifications.CreateNotificationRuleOutput, r1 error)
- func (d *CodeStarNotificationsDouble) DeleteNotificationRule(i0 *codestarnotifications.DeleteNotificationRuleInput) (r0 *codestarnotifications.DeleteNotificationRuleOutput, r1 error)
- func (d *CodeStarNotificationsDouble) DeleteNotificationRuleRequest(i0 *codestarnotifications.DeleteNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.DeleteNotificationRuleOutput)
- func (d *CodeStarNotificationsDouble) DeleteNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.DeleteNotificationRuleInput, ...) (r0 *codestarnotifications.DeleteNotificationRuleOutput, r1 error)
- func (d *CodeStarNotificationsDouble) DeleteTarget(i0 *codestarnotifications.DeleteTargetInput) (r0 *codestarnotifications.DeleteTargetOutput, r1 error)
- func (d *CodeStarNotificationsDouble) DeleteTargetRequest(i0 *codestarnotifications.DeleteTargetInput) (r0 *request.Request, r1 *codestarnotifications.DeleteTargetOutput)
- func (d *CodeStarNotificationsDouble) DeleteTargetWithContext(i0 context.Context, i1 *codestarnotifications.DeleteTargetInput, ...) (r0 *codestarnotifications.DeleteTargetOutput, r1 error)
- func (d *CodeStarNotificationsDouble) DescribeNotificationRule(i0 *codestarnotifications.DescribeNotificationRuleInput) (r0 *codestarnotifications.DescribeNotificationRuleOutput, r1 error)
- func (d *CodeStarNotificationsDouble) DescribeNotificationRuleRequest(i0 *codestarnotifications.DescribeNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.DescribeNotificationRuleOutput)
- func (d *CodeStarNotificationsDouble) DescribeNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.DescribeNotificationRuleInput, ...) (r0 *codestarnotifications.DescribeNotificationRuleOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListEventTypes(i0 *codestarnotifications.ListEventTypesInput) (r0 *codestarnotifications.ListEventTypesOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListEventTypesPages(i0 *codestarnotifications.ListEventTypesInput, ...) (r0 error)
- func (d *CodeStarNotificationsDouble) ListEventTypesPagesWithContext(i0 context.Context, i1 *codestarnotifications.ListEventTypesInput, ...) (r0 error)
- func (d *CodeStarNotificationsDouble) ListEventTypesRequest(i0 *codestarnotifications.ListEventTypesInput) (r0 *request.Request, r1 *codestarnotifications.ListEventTypesOutput)
- func (d *CodeStarNotificationsDouble) ListEventTypesWithContext(i0 context.Context, i1 *codestarnotifications.ListEventTypesInput, ...) (r0 *codestarnotifications.ListEventTypesOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListNotificationRules(i0 *codestarnotifications.ListNotificationRulesInput) (r0 *codestarnotifications.ListNotificationRulesOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListNotificationRulesPages(i0 *codestarnotifications.ListNotificationRulesInput, ...) (r0 error)
- func (d *CodeStarNotificationsDouble) ListNotificationRulesPagesWithContext(i0 context.Context, i1 *codestarnotifications.ListNotificationRulesInput, ...) (r0 error)
- func (d *CodeStarNotificationsDouble) ListNotificationRulesRequest(i0 *codestarnotifications.ListNotificationRulesInput) (r0 *request.Request, r1 *codestarnotifications.ListNotificationRulesOutput)
- func (d *CodeStarNotificationsDouble) ListNotificationRulesWithContext(i0 context.Context, i1 *codestarnotifications.ListNotificationRulesInput, ...) (r0 *codestarnotifications.ListNotificationRulesOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListTagsForResource(i0 *codestarnotifications.ListTagsForResourceInput) (r0 *codestarnotifications.ListTagsForResourceOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListTagsForResourceRequest(i0 *codestarnotifications.ListTagsForResourceInput) (r0 *request.Request, r1 *codestarnotifications.ListTagsForResourceOutput)
- func (d *CodeStarNotificationsDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *codestarnotifications.ListTagsForResourceInput, ...) (r0 *codestarnotifications.ListTagsForResourceOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListTargets(i0 *codestarnotifications.ListTargetsInput) (r0 *codestarnotifications.ListTargetsOutput, r1 error)
- func (d *CodeStarNotificationsDouble) ListTargetsPages(i0 *codestarnotifications.ListTargetsInput, ...) (r0 error)
- func (d *CodeStarNotificationsDouble) ListTargetsPagesWithContext(i0 context.Context, i1 *codestarnotifications.ListTargetsInput, ...) (r0 error)
- func (d *CodeStarNotificationsDouble) ListTargetsRequest(i0 *codestarnotifications.ListTargetsInput) (r0 *request.Request, r1 *codestarnotifications.ListTargetsOutput)
- func (d *CodeStarNotificationsDouble) ListTargetsWithContext(i0 context.Context, i1 *codestarnotifications.ListTargetsInput, ...) (r0 *codestarnotifications.ListTargetsOutput, r1 error)
- func (d *CodeStarNotificationsDouble) Subscribe(i0 *codestarnotifications.SubscribeInput) (r0 *codestarnotifications.SubscribeOutput, r1 error)
- func (d *CodeStarNotificationsDouble) SubscribeRequest(i0 *codestarnotifications.SubscribeInput) (r0 *request.Request, r1 *codestarnotifications.SubscribeOutput)
- func (d *CodeStarNotificationsDouble) SubscribeWithContext(i0 context.Context, i1 *codestarnotifications.SubscribeInput, ...) (r0 *codestarnotifications.SubscribeOutput, r1 error)
- func (d *CodeStarNotificationsDouble) TagResource(i0 *codestarnotifications.TagResourceInput) (r0 *codestarnotifications.TagResourceOutput, r1 error)
- func (d *CodeStarNotificationsDouble) TagResourceRequest(i0 *codestarnotifications.TagResourceInput) (r0 *request.Request, r1 *codestarnotifications.TagResourceOutput)
- func (d *CodeStarNotificationsDouble) TagResourceWithContext(i0 context.Context, i1 *codestarnotifications.TagResourceInput, ...) (r0 *codestarnotifications.TagResourceOutput, r1 error)
- func (d *CodeStarNotificationsDouble) Unsubscribe(i0 *codestarnotifications.UnsubscribeInput) (r0 *codestarnotifications.UnsubscribeOutput, r1 error)
- func (d *CodeStarNotificationsDouble) UnsubscribeRequest(i0 *codestarnotifications.UnsubscribeInput) (r0 *request.Request, r1 *codestarnotifications.UnsubscribeOutput)
- func (d *CodeStarNotificationsDouble) UnsubscribeWithContext(i0 context.Context, i1 *codestarnotifications.UnsubscribeInput, ...) (r0 *codestarnotifications.UnsubscribeOutput, r1 error)
- func (d *CodeStarNotificationsDouble) UntagResource(i0 *codestarnotifications.UntagResourceInput) (r0 *codestarnotifications.UntagResourceOutput, r1 error)
- func (d *CodeStarNotificationsDouble) UntagResourceRequest(i0 *codestarnotifications.UntagResourceInput) (r0 *request.Request, r1 *codestarnotifications.UntagResourceOutput)
- func (d *CodeStarNotificationsDouble) UntagResourceWithContext(i0 context.Context, i1 *codestarnotifications.UntagResourceInput, ...) (r0 *codestarnotifications.UntagResourceOutput, r1 error)
- func (d *CodeStarNotificationsDouble) UpdateNotificationRule(i0 *codestarnotifications.UpdateNotificationRuleInput) (r0 *codestarnotifications.UpdateNotificationRuleOutput, r1 error)
- func (d *CodeStarNotificationsDouble) UpdateNotificationRuleRequest(i0 *codestarnotifications.UpdateNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.UpdateNotificationRuleOutput)
- func (d *CodeStarNotificationsDouble) UpdateNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.UpdateNotificationRuleInput, ...) (r0 *codestarnotifications.UpdateNotificationRuleOutput, r1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeStarNotificationsDouble ¶
type CodeStarNotificationsDouble struct { codestarnotificationsiface.CodeStarNotificationsAPI *awsdouble.AWSTestDouble }
CodeStarNotificationsDouble is TestDouble for codestarnotificationsiface.CodeStarNotificationsAPI
func NewDouble ¶
func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *CodeStarNotificationsDouble
Constructor for CodeStarNotificationsDouble Default configuration will ensure
API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.
WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.
Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.
This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.
func (*CodeStarNotificationsDouble) CreateNotificationRule ¶
func (d *CodeStarNotificationsDouble) CreateNotificationRule(i0 *codestarnotifications.CreateNotificationRuleInput) (r0 *codestarnotifications.CreateNotificationRuleOutput, r1 error)
func (*CodeStarNotificationsDouble) CreateNotificationRuleRequest ¶
func (d *CodeStarNotificationsDouble) CreateNotificationRuleRequest(i0 *codestarnotifications.CreateNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.CreateNotificationRuleOutput)
func (*CodeStarNotificationsDouble) CreateNotificationRuleWithContext ¶
func (d *CodeStarNotificationsDouble) CreateNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.CreateNotificationRuleInput, i2 ...request.Option) (r0 *codestarnotifications.CreateNotificationRuleOutput, r1 error)
func (*CodeStarNotificationsDouble) DeleteNotificationRule ¶
func (d *CodeStarNotificationsDouble) DeleteNotificationRule(i0 *codestarnotifications.DeleteNotificationRuleInput) (r0 *codestarnotifications.DeleteNotificationRuleOutput, r1 error)
func (*CodeStarNotificationsDouble) DeleteNotificationRuleRequest ¶
func (d *CodeStarNotificationsDouble) DeleteNotificationRuleRequest(i0 *codestarnotifications.DeleteNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.DeleteNotificationRuleOutput)
func (*CodeStarNotificationsDouble) DeleteNotificationRuleWithContext ¶
func (d *CodeStarNotificationsDouble) DeleteNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.DeleteNotificationRuleInput, i2 ...request.Option) (r0 *codestarnotifications.DeleteNotificationRuleOutput, r1 error)
func (*CodeStarNotificationsDouble) DeleteTarget ¶
func (d *CodeStarNotificationsDouble) DeleteTarget(i0 *codestarnotifications.DeleteTargetInput) (r0 *codestarnotifications.DeleteTargetOutput, r1 error)
func (*CodeStarNotificationsDouble) DeleteTargetRequest ¶
func (d *CodeStarNotificationsDouble) DeleteTargetRequest(i0 *codestarnotifications.DeleteTargetInput) (r0 *request.Request, r1 *codestarnotifications.DeleteTargetOutput)
func (*CodeStarNotificationsDouble) DeleteTargetWithContext ¶
func (d *CodeStarNotificationsDouble) DeleteTargetWithContext(i0 context.Context, i1 *codestarnotifications.DeleteTargetInput, i2 ...request.Option) (r0 *codestarnotifications.DeleteTargetOutput, r1 error)
func (*CodeStarNotificationsDouble) DescribeNotificationRule ¶
func (d *CodeStarNotificationsDouble) DescribeNotificationRule(i0 *codestarnotifications.DescribeNotificationRuleInput) (r0 *codestarnotifications.DescribeNotificationRuleOutput, r1 error)
func (*CodeStarNotificationsDouble) DescribeNotificationRuleRequest ¶
func (d *CodeStarNotificationsDouble) DescribeNotificationRuleRequest(i0 *codestarnotifications.DescribeNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.DescribeNotificationRuleOutput)
func (*CodeStarNotificationsDouble) DescribeNotificationRuleWithContext ¶
func (d *CodeStarNotificationsDouble) DescribeNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.DescribeNotificationRuleInput, i2 ...request.Option) (r0 *codestarnotifications.DescribeNotificationRuleOutput, r1 error)
func (*CodeStarNotificationsDouble) ListEventTypes ¶
func (d *CodeStarNotificationsDouble) ListEventTypes(i0 *codestarnotifications.ListEventTypesInput) (r0 *codestarnotifications.ListEventTypesOutput, r1 error)
func (*CodeStarNotificationsDouble) ListEventTypesPages ¶
func (d *CodeStarNotificationsDouble) ListEventTypesPages(i0 *codestarnotifications.ListEventTypesInput, i1 func(*codestarnotifications.ListEventTypesOutput, bool) bool) (r0 error)
func (*CodeStarNotificationsDouble) ListEventTypesPagesWithContext ¶
func (d *CodeStarNotificationsDouble) ListEventTypesPagesWithContext(i0 context.Context, i1 *codestarnotifications.ListEventTypesInput, i2 func(*codestarnotifications.ListEventTypesOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*CodeStarNotificationsDouble) ListEventTypesRequest ¶
func (d *CodeStarNotificationsDouble) ListEventTypesRequest(i0 *codestarnotifications.ListEventTypesInput) (r0 *request.Request, r1 *codestarnotifications.ListEventTypesOutput)
func (*CodeStarNotificationsDouble) ListEventTypesWithContext ¶
func (d *CodeStarNotificationsDouble) ListEventTypesWithContext(i0 context.Context, i1 *codestarnotifications.ListEventTypesInput, i2 ...request.Option) (r0 *codestarnotifications.ListEventTypesOutput, r1 error)
func (*CodeStarNotificationsDouble) ListNotificationRules ¶
func (d *CodeStarNotificationsDouble) ListNotificationRules(i0 *codestarnotifications.ListNotificationRulesInput) (r0 *codestarnotifications.ListNotificationRulesOutput, r1 error)
func (*CodeStarNotificationsDouble) ListNotificationRulesPages ¶
func (d *CodeStarNotificationsDouble) ListNotificationRulesPages(i0 *codestarnotifications.ListNotificationRulesInput, i1 func(*codestarnotifications.ListNotificationRulesOutput, bool) bool) (r0 error)
func (*CodeStarNotificationsDouble) ListNotificationRulesPagesWithContext ¶
func (d *CodeStarNotificationsDouble) ListNotificationRulesPagesWithContext(i0 context.Context, i1 *codestarnotifications.ListNotificationRulesInput, i2 func(*codestarnotifications.ListNotificationRulesOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*CodeStarNotificationsDouble) ListNotificationRulesRequest ¶
func (d *CodeStarNotificationsDouble) ListNotificationRulesRequest(i0 *codestarnotifications.ListNotificationRulesInput) (r0 *request.Request, r1 *codestarnotifications.ListNotificationRulesOutput)
func (*CodeStarNotificationsDouble) ListNotificationRulesWithContext ¶
func (d *CodeStarNotificationsDouble) ListNotificationRulesWithContext(i0 context.Context, i1 *codestarnotifications.ListNotificationRulesInput, i2 ...request.Option) (r0 *codestarnotifications.ListNotificationRulesOutput, r1 error)
func (*CodeStarNotificationsDouble) ListTagsForResource ¶
func (d *CodeStarNotificationsDouble) ListTagsForResource(i0 *codestarnotifications.ListTagsForResourceInput) (r0 *codestarnotifications.ListTagsForResourceOutput, r1 error)
func (*CodeStarNotificationsDouble) ListTagsForResourceRequest ¶
func (d *CodeStarNotificationsDouble) ListTagsForResourceRequest(i0 *codestarnotifications.ListTagsForResourceInput) (r0 *request.Request, r1 *codestarnotifications.ListTagsForResourceOutput)
func (*CodeStarNotificationsDouble) ListTagsForResourceWithContext ¶
func (d *CodeStarNotificationsDouble) ListTagsForResourceWithContext(i0 context.Context, i1 *codestarnotifications.ListTagsForResourceInput, i2 ...request.Option) (r0 *codestarnotifications.ListTagsForResourceOutput, r1 error)
func (*CodeStarNotificationsDouble) ListTargets ¶
func (d *CodeStarNotificationsDouble) ListTargets(i0 *codestarnotifications.ListTargetsInput) (r0 *codestarnotifications.ListTargetsOutput, r1 error)
func (*CodeStarNotificationsDouble) ListTargetsPages ¶
func (d *CodeStarNotificationsDouble) ListTargetsPages(i0 *codestarnotifications.ListTargetsInput, i1 func(*codestarnotifications.ListTargetsOutput, bool) bool) (r0 error)
func (*CodeStarNotificationsDouble) ListTargetsPagesWithContext ¶
func (d *CodeStarNotificationsDouble) ListTargetsPagesWithContext(i0 context.Context, i1 *codestarnotifications.ListTargetsInput, i2 func(*codestarnotifications.ListTargetsOutput, bool) bool, i3 ...request.Option) (r0 error)
func (*CodeStarNotificationsDouble) ListTargetsRequest ¶
func (d *CodeStarNotificationsDouble) ListTargetsRequest(i0 *codestarnotifications.ListTargetsInput) (r0 *request.Request, r1 *codestarnotifications.ListTargetsOutput)
func (*CodeStarNotificationsDouble) ListTargetsWithContext ¶
func (d *CodeStarNotificationsDouble) ListTargetsWithContext(i0 context.Context, i1 *codestarnotifications.ListTargetsInput, i2 ...request.Option) (r0 *codestarnotifications.ListTargetsOutput, r1 error)
func (*CodeStarNotificationsDouble) Subscribe ¶
func (d *CodeStarNotificationsDouble) Subscribe(i0 *codestarnotifications.SubscribeInput) (r0 *codestarnotifications.SubscribeOutput, r1 error)
func (*CodeStarNotificationsDouble) SubscribeRequest ¶
func (d *CodeStarNotificationsDouble) SubscribeRequest(i0 *codestarnotifications.SubscribeInput) (r0 *request.Request, r1 *codestarnotifications.SubscribeOutput)
func (*CodeStarNotificationsDouble) SubscribeWithContext ¶
func (d *CodeStarNotificationsDouble) SubscribeWithContext(i0 context.Context, i1 *codestarnotifications.SubscribeInput, i2 ...request.Option) (r0 *codestarnotifications.SubscribeOutput, r1 error)
func (*CodeStarNotificationsDouble) TagResource ¶
func (d *CodeStarNotificationsDouble) TagResource(i0 *codestarnotifications.TagResourceInput) (r0 *codestarnotifications.TagResourceOutput, r1 error)
func (*CodeStarNotificationsDouble) TagResourceRequest ¶
func (d *CodeStarNotificationsDouble) TagResourceRequest(i0 *codestarnotifications.TagResourceInput) (r0 *request.Request, r1 *codestarnotifications.TagResourceOutput)
func (*CodeStarNotificationsDouble) TagResourceWithContext ¶
func (d *CodeStarNotificationsDouble) TagResourceWithContext(i0 context.Context, i1 *codestarnotifications.TagResourceInput, i2 ...request.Option) (r0 *codestarnotifications.TagResourceOutput, r1 error)
func (*CodeStarNotificationsDouble) Unsubscribe ¶
func (d *CodeStarNotificationsDouble) Unsubscribe(i0 *codestarnotifications.UnsubscribeInput) (r0 *codestarnotifications.UnsubscribeOutput, r1 error)
func (*CodeStarNotificationsDouble) UnsubscribeRequest ¶
func (d *CodeStarNotificationsDouble) UnsubscribeRequest(i0 *codestarnotifications.UnsubscribeInput) (r0 *request.Request, r1 *codestarnotifications.UnsubscribeOutput)
func (*CodeStarNotificationsDouble) UnsubscribeWithContext ¶
func (d *CodeStarNotificationsDouble) UnsubscribeWithContext(i0 context.Context, i1 *codestarnotifications.UnsubscribeInput, i2 ...request.Option) (r0 *codestarnotifications.UnsubscribeOutput, r1 error)
func (*CodeStarNotificationsDouble) UntagResource ¶
func (d *CodeStarNotificationsDouble) UntagResource(i0 *codestarnotifications.UntagResourceInput) (r0 *codestarnotifications.UntagResourceOutput, r1 error)
func (*CodeStarNotificationsDouble) UntagResourceRequest ¶
func (d *CodeStarNotificationsDouble) UntagResourceRequest(i0 *codestarnotifications.UntagResourceInput) (r0 *request.Request, r1 *codestarnotifications.UntagResourceOutput)
func (*CodeStarNotificationsDouble) UntagResourceWithContext ¶
func (d *CodeStarNotificationsDouble) UntagResourceWithContext(i0 context.Context, i1 *codestarnotifications.UntagResourceInput, i2 ...request.Option) (r0 *codestarnotifications.UntagResourceOutput, r1 error)
func (*CodeStarNotificationsDouble) UpdateNotificationRule ¶
func (d *CodeStarNotificationsDouble) UpdateNotificationRule(i0 *codestarnotifications.UpdateNotificationRuleInput) (r0 *codestarnotifications.UpdateNotificationRuleOutput, r1 error)
func (*CodeStarNotificationsDouble) UpdateNotificationRuleRequest ¶
func (d *CodeStarNotificationsDouble) UpdateNotificationRuleRequest(i0 *codestarnotifications.UpdateNotificationRuleInput) (r0 *request.Request, r1 *codestarnotifications.UpdateNotificationRuleOutput)
func (*CodeStarNotificationsDouble) UpdateNotificationRuleWithContext ¶
func (d *CodeStarNotificationsDouble) UpdateNotificationRuleWithContext(i0 context.Context, i1 *codestarnotifications.UpdateNotificationRuleInput, i2 ...request.Option) (r0 *codestarnotifications.UpdateNotificationRuleOutput, r1 error)