Documentation ¶
Index ¶
- type MockSubscriptionClient
- func (m *MockSubscriptionClient) GetSubscriptionAttributes(ctx context.Context, input *sns.GetSubscriptionAttributesInput, ...) (*sns.GetSubscriptionAttributesOutput, error)
- func (m *MockSubscriptionClient) SetSubscriptionAttributes(ctx context.Context, input *sns.SetSubscriptionAttributesInput, ...) (*sns.SetSubscriptionAttributesOutput, error)
- func (m *MockSubscriptionClient) Subscribe(ctx context.Context, input *sns.SubscribeInput, opts ...func(*sns.Options)) (*sns.SubscribeOutput, error)
- func (m *MockSubscriptionClient) Unsubscribe(ctx context.Context, input *sns.UnsubscribeInput, opts ...func(*sns.Options)) (*sns.UnsubscribeOutput, error)
- type MockTopicClient
- func (m *MockTopicClient) CreateTopic(ctx context.Context, input *sns.CreateTopicInput, opts ...func(*sns.Options)) (*sns.CreateTopicOutput, error)
- func (m *MockTopicClient) DeleteTopic(ctx context.Context, input *sns.DeleteTopicInput, opts ...func(*sns.Options)) (*sns.DeleteTopicOutput, error)
- func (m *MockTopicClient) GetTopicAttributes(ctx context.Context, input *sns.GetTopicAttributesInput, ...) (*sns.GetTopicAttributesOutput, error)
- func (m *MockTopicClient) SetTopicAttributes(ctx context.Context, input *sns.SetTopicAttributesInput, ...) (*sns.SetTopicAttributesOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSubscriptionClient ¶
type MockSubscriptionClient struct { MockSubscribe func(ctx context.Context, input *sns.SubscribeInput, opts []func(*sns.Options)) (*sns.SubscribeOutput, error) MockUnsubscribe func(ctx context.Context, input *sns.UnsubscribeInput, opts []func(*sns.Options)) (*sns.UnsubscribeOutput, error) MockGetSubscriptionAttributes func(ctx context.Context, input *sns.GetSubscriptionAttributesInput, opts []func(*sns.Options)) (*sns.GetSubscriptionAttributesOutput, error) MockSetSubscriptionAttributes func(ctx context.Context, input *sns.SetSubscriptionAttributesInput, opts []func(*sns.Options)) (*sns.SetSubscriptionAttributesOutput, error) }
MockSubscriptionClient is a type that implements all the methods for SubscriptionClient interface
func (*MockSubscriptionClient) GetSubscriptionAttributes ¶
func (m *MockSubscriptionClient) GetSubscriptionAttributes(ctx context.Context, input *sns.GetSubscriptionAttributesInput, opts ...func(*sns.Options)) (*sns.GetSubscriptionAttributesOutput, error)
GetSubscriptionAttributes mocks GetSubscriptionAttributes method
func (*MockSubscriptionClient) SetSubscriptionAttributes ¶
func (m *MockSubscriptionClient) SetSubscriptionAttributes(ctx context.Context, input *sns.SetSubscriptionAttributesInput, opts ...func(*sns.Options)) (*sns.SetSubscriptionAttributesOutput, error)
SetSubscriptionAttributes mocks SetSubscriptionAttributes method
func (*MockSubscriptionClient) Subscribe ¶
func (m *MockSubscriptionClient) Subscribe(ctx context.Context, input *sns.SubscribeInput, opts ...func(*sns.Options)) (*sns.SubscribeOutput, error)
Subscribe mocks Subscribe method
func (*MockSubscriptionClient) Unsubscribe ¶
func (m *MockSubscriptionClient) Unsubscribe(ctx context.Context, input *sns.UnsubscribeInput, opts ...func(*sns.Options)) (*sns.UnsubscribeOutput, error)
Unsubscribe mocks Unsubscribe method
type MockTopicClient ¶
type MockTopicClient struct { MockCreateTopic func(ctx context.Context, input *sns.CreateTopicInput, opts []func(*sns.Options)) (*sns.CreateTopicOutput, error) MockDeleteTopic func(ctx context.Context, input *sns.DeleteTopicInput, opts []func(*sns.Options)) (*sns.DeleteTopicOutput, error) MockGetTopicAttributes func(ctx context.Context, input *sns.GetTopicAttributesInput, opts []func(*sns.Options)) (*sns.GetTopicAttributesOutput, error) MockSetTopicAttributes func(ctx context.Context, input *sns.SetTopicAttributesInput, opts []func(*sns.Options)) (*sns.SetTopicAttributesOutput, error) }
MockTopicClient is a type that implements all the methods for TopicClient interface
func (*MockTopicClient) CreateTopic ¶
func (m *MockTopicClient) CreateTopic(ctx context.Context, input *sns.CreateTopicInput, opts ...func(*sns.Options)) (*sns.CreateTopicOutput, error)
CreateTopic mocks CreateTopic method
func (*MockTopicClient) DeleteTopic ¶
func (m *MockTopicClient) DeleteTopic(ctx context.Context, input *sns.DeleteTopicInput, opts ...func(*sns.Options)) (*sns.DeleteTopicOutput, error)
DeleteTopic mocks DeleteTopic method
func (*MockTopicClient) GetTopicAttributes ¶
func (m *MockTopicClient) GetTopicAttributes(ctx context.Context, input *sns.GetTopicAttributesInput, opts ...func(*sns.Options)) (*sns.GetTopicAttributesOutput, error)
GetTopicAttributes mocks GetTopicAttributes method
func (*MockTopicClient) SetTopicAttributes ¶
func (m *MockTopicClient) SetTopicAttributes(ctx context.Context, input *sns.SetTopicAttributesInput, opts ...func(*sns.Options)) (*sns.SetTopicAttributesOutput, error)
SetTopicAttributes mocks SetTopicAttributes method
Click to show internal directories.
Click to hide internal directories.