mockapi

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mockapi is a generated GoMock package.

Package mockapi is a generated GoMock package.

Package mockapi is a generated GoMock package.

Package mockapi is a generated GoMock package.

Package mockapi is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBucket

type MockBucket struct {
	// contains filtered or unexported fields
}

MockBucket is a mock of Bucket interface.

func NewMockBucket

func NewMockBucket(ctrl *gomock.Controller) *MockBucket

NewMockBucket creates a new mock instance.

func (*MockBucket) EXPECT

func (m *MockBucket) EXPECT() *MockBucketMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBucket) File

func (m *MockBucket) File(arg0 string) storage.File

File mocks base method.

func (*MockBucket) Files

func (m *MockBucket) Files(arg0 context.Context) ([]storage.File, error)

Files mocks base method.

func (*MockBucket) Name

func (m *MockBucket) Name() string

Name mocks base method.

type MockBucketMockRecorder

type MockBucketMockRecorder struct {
	// contains filtered or unexported fields
}

MockBucketMockRecorder is the mock recorder for MockBucket.

func (*MockBucketMockRecorder) File

func (mr *MockBucketMockRecorder) File(arg0 interface{}) *gomock.Call

File indicates an expected call of File.

func (*MockBucketMockRecorder) Files

func (mr *MockBucketMockRecorder) Files(arg0 interface{}) *gomock.Call

Files indicates an expected call of Files.

func (*MockBucketMockRecorder) Name

func (mr *MockBucketMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

type MockKeyValue added in v1.0.0

type MockKeyValue struct {
	// contains filtered or unexported fields
}

MockKeyValue is a mock of KeyValue interface.

func NewMockKeyValue added in v1.0.0

func NewMockKeyValue(ctrl *gomock.Controller) *MockKeyValue

NewMockKeyValue creates a new mock instance.

func (*MockKeyValue) EXPECT added in v1.0.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKeyValue) Store added in v1.0.0

func (m *MockKeyValue) Store(arg0 string) keyvalue.Store

Store mocks base method.

type MockKeyValueMockRecorder added in v1.0.0

type MockKeyValueMockRecorder struct {
	// contains filtered or unexported fields
}

MockKeyValueMockRecorder is the mock recorder for MockKeyValue.

func (*MockKeyValueMockRecorder) Store added in v1.0.0

func (mr *MockKeyValueMockRecorder) Store(arg0 interface{}) *gomock.Call

Store indicates an expected call of Store.

type MockQueue

type MockQueue struct {
	// contains filtered or unexported fields
}

MockQueue is a mock of Queue interface.

func NewMockQueue

func NewMockQueue(ctrl *gomock.Controller) *MockQueue

NewMockQueue creates a new mock instance.

func (*MockQueue) Dequeue added in v1.0.0

func (m *MockQueue) Dequeue(arg0 context.Context, arg1 int) ([]queues.ReceivedMessage, error)

Dequeue mocks base method.

func (*MockQueue) EXPECT

func (m *MockQueue) EXPECT() *MockQueueMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueue) Enqueue added in v1.0.0

func (m *MockQueue) Enqueue(arg0 context.Context, arg1 []map[string]interface{}) ([]*queues.FailedMessage, error)

Enqueue mocks base method.

func (*MockQueue) Name

func (m *MockQueue) Name() string

Name mocks base method.

type MockQueueMockRecorder

type MockQueueMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueueMockRecorder is the mock recorder for MockQueue.

func (*MockQueueMockRecorder) Dequeue added in v1.0.0

func (mr *MockQueueMockRecorder) Dequeue(arg0, arg1 interface{}) *gomock.Call

Dequeue indicates an expected call of Dequeue.

func (*MockQueueMockRecorder) Enqueue added in v1.0.0

func (mr *MockQueueMockRecorder) Enqueue(arg0, arg1 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockQueueMockRecorder) Name

func (mr *MockQueueMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

type MockQueues

type MockQueues struct {
	// contains filtered or unexported fields
}

MockQueues is a mock of Queues interface.

func NewMockQueues

func NewMockQueues(ctrl *gomock.Controller) *MockQueues

NewMockQueues creates a new mock instance.

func (*MockQueues) EXPECT

func (m *MockQueues) EXPECT() *MockQueuesMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueues) Queue

func (m *MockQueues) Queue(arg0 string) queues.Queue

Queue mocks base method.

type MockQueuesMockRecorder

type MockQueuesMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueuesMockRecorder is the mock recorder for MockQueues.

func (*MockQueuesMockRecorder) Queue

func (mr *MockQueuesMockRecorder) Queue(arg0 interface{}) *gomock.Call

Queue indicates an expected call of Queue.

type MockSecretRef

type MockSecretRef struct {
	// contains filtered or unexported fields
}

MockSecretRef is a mock of SecretRef interface.

func NewMockSecretRef

func NewMockSecretRef(ctrl *gomock.Controller) *MockSecretRef

NewMockSecretRef creates a new mock instance.

func (*MockSecretRef) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSecretRef) Latest

Latest mocks base method.

func (*MockSecretRef) Name

func (m *MockSecretRef) Name() string

Name mocks base method.

func (*MockSecretRef) Put

Put mocks base method.

func (*MockSecretRef) Version

func (m *MockSecretRef) Version(arg0 string) secrets.SecretVersionRef

Version mocks base method.

type MockSecretRefMockRecorder

type MockSecretRefMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretRefMockRecorder is the mock recorder for MockSecretRef.

func (*MockSecretRefMockRecorder) Latest

func (mr *MockSecretRefMockRecorder) Latest() *gomock.Call

Latest indicates an expected call of Latest.

func (*MockSecretRefMockRecorder) Name

Name indicates an expected call of Name.

func (*MockSecretRefMockRecorder) Put

func (mr *MockSecretRefMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockSecretRefMockRecorder) Version

func (mr *MockSecretRefMockRecorder) Version(arg0 interface{}) *gomock.Call

Version indicates an expected call of Version.

type MockSecrets

type MockSecrets struct {
	// contains filtered or unexported fields
}

MockSecrets is a mock of Secrets interface.

func NewMockSecrets

func NewMockSecrets(ctrl *gomock.Controller) *MockSecrets

NewMockSecrets creates a new mock instance.

func (*MockSecrets) EXPECT

func (m *MockSecrets) EXPECT() *MockSecretsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSecrets) Secret

func (m *MockSecrets) Secret(arg0 string) secrets.SecretRef

Secret mocks base method.

type MockSecretsMockRecorder

type MockSecretsMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretsMockRecorder is the mock recorder for MockSecrets.

func (*MockSecretsMockRecorder) Secret

func (mr *MockSecretsMockRecorder) Secret(arg0 interface{}) *gomock.Call

Secret indicates an expected call of Secret.

type MockStorage

type MockStorage struct {
	// contains filtered or unexported fields
}

MockStorage is a mock of Storage interface.

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) Bucket

func (m *MockStorage) Bucket(arg0 string) storage.Bucket

Bucket mocks base method.

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockStorageMockRecorder

type MockStorageMockRecorder struct {
	// contains filtered or unexported fields
}

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) Bucket

func (mr *MockStorageMockRecorder) Bucket(arg0 interface{}) *gomock.Call

Bucket indicates an expected call of Bucket.

type MockStore added in v1.0.0

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore added in v1.0.0

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Delete added in v1.0.0

func (m *MockStore) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockStore) EXPECT added in v1.0.0

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) Get added in v1.0.0

func (m *MockStore) Get(arg0 context.Context, arg1 string) (map[string]interface{}, error)

Get mocks base method.

func (*MockStore) Keys added in v1.0.0

Keys mocks base method.

func (*MockStore) Name added in v1.0.0

func (m *MockStore) Name() string

Name mocks base method.

func (*MockStore) Set added in v1.0.0

func (m *MockStore) Set(arg0 context.Context, arg1 string, arg2 map[string]interface{}) error

Set mocks base method.

type MockStoreMockRecorder added in v1.0.0

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Delete added in v1.0.0

func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Get added in v1.0.0

func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) Keys added in v1.0.0

func (mr *MockStoreMockRecorder) Keys(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Keys indicates an expected call of Keys.

func (*MockStoreMockRecorder) Name added in v1.0.0

func (mr *MockStoreMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockStoreMockRecorder) Set added in v1.0.0

func (mr *MockStoreMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockTopic

type MockTopic struct {
	// contains filtered or unexported fields
}

MockTopic is a mock of Topic interface.

func NewMockTopic

func NewMockTopic(ctrl *gomock.Controller) *MockTopic

NewMockTopic creates a new mock instance.

func (*MockTopic) EXPECT

func (m *MockTopic) EXPECT() *MockTopicMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTopic) Name

func (m *MockTopic) Name() string

Name mocks base method.

func (*MockTopic) Publish

func (m *MockTopic) Publish(arg0 context.Context, arg1 map[string]interface{}, arg2 ...func(*topicspb.TopicPublishRequest)) error

Publish mocks base method.

type MockTopicMockRecorder

type MockTopicMockRecorder struct {
	// contains filtered or unexported fields
}

MockTopicMockRecorder is the mock recorder for MockTopic.

func (*MockTopicMockRecorder) Name

func (mr *MockTopicMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockTopicMockRecorder) Publish

func (mr *MockTopicMockRecorder) Publish(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Publish indicates an expected call of Publish.

type MockTopics added in v1.0.0

type MockTopics struct {
	// contains filtered or unexported fields
}

MockTopics is a mock of Topics interface.

func NewMockTopics added in v1.0.0

func NewMockTopics(ctrl *gomock.Controller) *MockTopics

NewMockTopics creates a new mock instance.

func (*MockTopics) EXPECT added in v1.0.0

func (m *MockTopics) EXPECT() *MockTopicsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTopics) Topic added in v1.0.0

func (m *MockTopics) Topic(arg0 string) topics.Topic

Topic mocks base method.

type MockTopicsMockRecorder added in v1.0.0

type MockTopicsMockRecorder struct {
	// contains filtered or unexported fields
}

MockTopicsMockRecorder is the mock recorder for MockTopics.

func (*MockTopicsMockRecorder) Topic added in v1.0.0

func (mr *MockTopicsMockRecorder) Topic(arg0 interface{}) *gomock.Call

Topic indicates an expected call of Topic.

Jump to

Keyboard shortcuts

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