Documentation ¶
Index ¶
- type FakeYandexMessageQueueAdapter
- func (r *FakeYandexMessageQueueAdapter) Create(_ context.Context, _ *sqs.SQS, attributes map[string]*string, name string) (string, error)
- func (r *FakeYandexMessageQueueAdapter) Delete(_ context.Context, _ *sqs.SQS, queueURL string) error
- func (r *FakeYandexMessageQueueAdapter) GetAttributes(_ context.Context, _ *sqs.SQS, queueURL string) (map[string]*string, error)
- func (r *FakeYandexMessageQueueAdapter) GetURL(_ context.Context, _ *sqs.SQS, queueName string) (string, error)
- func (r *FakeYandexMessageQueueAdapter) List(_ context.Context, _ *sqs.SQS) ([]*string, error)
- func (r *FakeYandexMessageQueueAdapter) UpdateAttributes(_ context.Context, _ *sqs.SQS, attributes map[string]*string, queueURL string) error
- type YandexMessageQueueAdapter
- type YandexMessageQueueAdapterSDK
- func (r *YandexMessageQueueAdapterSDK) Create(_ context.Context, sdk *sqs.SQS, attributes map[string]*string, name string) (string, error)
- func (r *YandexMessageQueueAdapterSDK) Delete(_ context.Context, sdk *sqs.SQS, queueURL string) error
- func (r *YandexMessageQueueAdapterSDK) GetAttributes(_ context.Context, sdk *sqs.SQS, queueURL string) (map[string]*string, error)
- func (r *YandexMessageQueueAdapterSDK) GetURL(_ context.Context, sdk *sqs.SQS, queueName string) (string, error)
- func (r *YandexMessageQueueAdapterSDK) List(ctx context.Context, sdk *sqs.SQS) ([]*string, error)
- func (r *YandexMessageQueueAdapterSDK) UpdateAttributes(_ context.Context, sdk *sqs.SQS, attributes map[string]*string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeYandexMessageQueueAdapter ¶
type FakeYandexMessageQueueAdapter struct {
// contains filtered or unexported fields
}
func (*FakeYandexMessageQueueAdapter) GetAttributes ¶
type YandexMessageQueueAdapter ¶
type YandexMessageQueueAdapter interface { Create(ctx context.Context, sdk *sqs.SQS, attributes map[string]*string, queueName string) (string, error) GetURL(ctx context.Context, sdk *sqs.SQS, queueName string) (string, error) GetAttributes(ctx context.Context, sdk *sqs.SQS, queueURL string) (map[string]*string, error) List(ctx context.Context, sdk *sqs.SQS) ([]*string, error) UpdateAttributes(ctx context.Context, sdk *sqs.SQS, attributes map[string]*string, queueName string) error Delete(ctx context.Context, sdk *sqs.SQS, queueURL string) error }
func NewFakeYandexMessageQueueAdapter ¶
func NewFakeYandexMessageQueueAdapter() YandexMessageQueueAdapter
func NewYandexMessageQueueAdapterSDK ¶
func NewYandexMessageQueueAdapterSDK() YandexMessageQueueAdapter
type YandexMessageQueueAdapterSDK ¶
type YandexMessageQueueAdapterSDK struct { }
func (*YandexMessageQueueAdapterSDK) GetAttributes ¶
Click to show internal directories.
Click to hide internal directories.