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 ¶
- type MockBucket
- type MockBucketMockRecorder
- type MockKeyValue
- type MockKeyValueMockRecorder
- type MockQueue
- type MockQueueMockRecorder
- type MockQueues
- type MockQueuesMockRecorder
- type MockSecretRef
- func (m *MockSecretRef) EXPECT() *MockSecretRefMockRecorder
- func (m *MockSecretRef) Latest() secrets.SecretVersionRef
- func (m *MockSecretRef) Name() string
- func (m *MockSecretRef) Put(arg0 context.Context, arg1 []byte) (secrets.SecretVersionRef, error)
- func (m *MockSecretRef) Version(arg0 string) secrets.SecretVersionRef
- type MockSecretRefMockRecorder
- type MockSecrets
- type MockSecretsMockRecorder
- type MockStorage
- type MockStorageMockRecorder
- type MockStore
- func (m *MockStore) Delete(arg0 context.Context, arg1 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 context.Context, arg1 string) (map[string]interface{}, error)
- func (m *MockStore) Keys(arg0 context.Context, arg1 ...func(*kvstorepb.KvStoreScanKeysRequest)) (*keyvalue.KeyStream, error)
- func (m *MockStore) Name() string
- func (m *MockStore) Set(arg0 context.Context, arg1 string, arg2 map[string]interface{}) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Keys(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Name() *gomock.Call
- func (mr *MockStoreMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockTopic
- type MockTopicMockRecorder
- type MockTopics
- type MockTopicsMockRecorder
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.
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
func (m *MockKeyValue) EXPECT() *MockKeyValueMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) EXPECT ¶
func (m *MockQueue) EXPECT() *MockQueueMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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 ¶
func (m *MockSecretRef) EXPECT() *MockSecretRefMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretRef) Latest ¶
func (m *MockSecretRef) Latest() secrets.SecretVersionRef
Latest mocks base method.
func (*MockSecretRef) Put ¶
func (m *MockSecretRef) Put(arg0 context.Context, arg1 []byte) (secrets.SecretVersionRef, error)
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 ¶
func (mr *MockSecretRefMockRecorder) Name() *gomock.Call
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.
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) EXPECT ¶ added in v1.0.0
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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.
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.