fake

package
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSubscriptionClient

type MockSubscriptionClient struct {
	MockSubscribeRequest                 func(*sns.SubscribeInput) sns.SubscribeRequest
	MockUnsubscribeRequest               func(*sns.UnsubscribeInput) sns.UnsubscribeRequest
	MockGetSubscriptionAttributesRequest func(*sns.GetSubscriptionAttributesInput) sns.GetSubscriptionAttributesRequest
	MockSetSubscriptionAttributesRequest func(*sns.SetSubscriptionAttributesInput) sns.SetSubscriptionAttributesRequest
}

MockSubscriptionClient is a type that implements all the methods for SubscriptionClient interface

func (*MockSubscriptionClient) GetSubscriptionAttributesRequest

GetSubscriptionAttributesRequest mocks GetSubscriptionAttributesRequest method

func (*MockSubscriptionClient) SetSubscriptionAttributesRequest

SetSubscriptionAttributesRequest mocks SetSubscriptionAttributesRequest method

func (*MockSubscriptionClient) SubscribeRequest

func (m *MockSubscriptionClient) SubscribeRequest(input *sns.SubscribeInput) sns.SubscribeRequest

SubscribeRequest mocks SubscribeRequest method

func (*MockSubscriptionClient) UnsubscribeRequest

func (m *MockSubscriptionClient) UnsubscribeRequest(input *sns.UnsubscribeInput) sns.UnsubscribeRequest

UnsubscribeRequest mocks UnsubscribeRequest method

type MockTopicClient

type MockTopicClient struct {
	MockCreateTopicRequest        func(*sns.CreateTopicInput) sns.CreateTopicRequest
	MockDeleteTopicRequest        func(*sns.DeleteTopicInput) sns.DeleteTopicRequest
	MockGetTopicAttributesRequest func(*sns.GetTopicAttributesInput) sns.GetTopicAttributesRequest
	MockSetTopicAttributesRequest func(*sns.SetTopicAttributesInput) sns.SetTopicAttributesRequest
}

MockTopicClient is a type that implements all the methods for TopicClient interface

func (*MockTopicClient) CreateTopicRequest

func (m *MockTopicClient) CreateTopicRequest(input *sns.CreateTopicInput) sns.CreateTopicRequest

CreateTopicRequest mocks CreateTopicRequest method

func (*MockTopicClient) DeleteTopicRequest

func (m *MockTopicClient) DeleteTopicRequest(input *sns.DeleteTopicInput) sns.DeleteTopicRequest

DeleteTopicRequest mocks DeleteTopicRequest method

func (*MockTopicClient) GetTopicAttributesRequest

func (m *MockTopicClient) GetTopicAttributesRequest(input *sns.GetTopicAttributesInput) sns.GetTopicAttributesRequest

GetTopicAttributesRequest mocks GetTopicAttributesRequest method

func (*MockTopicClient) SetTopicAttributesRequest

func (m *MockTopicClient) SetTopicAttributesRequest(input *sns.SetTopicAttributesInput) sns.SetTopicAttributesRequest

SetTopicAttributesRequest mocks SetTopicAttributesRequest method

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL