fake

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 2 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 {
	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

Jump to

Keyboard shortcuts

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