Documentation ¶
Overview ¶
Package mock_providers is a generated GoMock package.
Index ¶
- type MockProviderStore
- func (m *MockProviderStore) Create(ctx context.Context, providerClass db.ProviderClass, name string, ...) (*db.Provider, error)
- func (m *MockProviderStore) Delete(ctx context.Context, providerID, projectID uuid.UUID) error
- func (m *MockProviderStore) EXPECT() *MockProviderStoreMockRecorder
- func (m *MockProviderStore) GetByID(ctx context.Context, providerID uuid.UUID) (*db.Provider, error)
- func (m *MockProviderStore) GetByIDProject(ctx context.Context, providerID, projectID uuid.UUID) (*db.Provider, error)
- func (m *MockProviderStore) GetByName(ctx context.Context, projectID uuid.UUID, name string) (*db.Provider, error)
- func (m *MockProviderStore) GetByNameInSpecificProject(ctx context.Context, projectID uuid.UUID, name string) (*db.Provider, error)
- func (m *MockProviderStore) GetByTraitInHierarchy(ctx context.Context, projectID uuid.UUID, name string, trait db.ProviderType) ([]db.Provider, error)
- func (m *MockProviderStore) Update(ctx context.Context, providerID, projectID uuid.UUID, config json.RawMessage) error
- type MockProviderStoreMockRecorder
- func (mr *MockProviderStoreMockRecorder) Create(ctx, providerClass, name, projectID, config any) *gomock.Call
- func (mr *MockProviderStoreMockRecorder) Delete(ctx, providerID, projectID any) *gomock.Call
- func (mr *MockProviderStoreMockRecorder) GetByID(ctx, providerID any) *gomock.Call
- func (mr *MockProviderStoreMockRecorder) GetByIDProject(ctx, providerID, projectID any) *gomock.Call
- func (mr *MockProviderStoreMockRecorder) GetByName(ctx, projectID, name any) *gomock.Call
- func (mr *MockProviderStoreMockRecorder) GetByNameInSpecificProject(ctx, projectID, name any) *gomock.Call
- func (mr *MockProviderStoreMockRecorder) GetByTraitInHierarchy(ctx, projectID, name, trait any) *gomock.Call
- func (mr *MockProviderStoreMockRecorder) Update(ctx, providerID, projectID, config any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProviderStore ¶
type MockProviderStore struct {
// contains filtered or unexported fields
}
MockProviderStore is a mock of ProviderStore interface.
func NewMockProviderStore ¶
func NewMockProviderStore(ctrl *gomock.Controller) *MockProviderStore
NewMockProviderStore creates a new mock instance.
func (*MockProviderStore) Create ¶
func (m *MockProviderStore) Create(ctx context.Context, providerClass db.ProviderClass, name string, projectID uuid.UUID, config json.RawMessage) (*db.Provider, error)
Create mocks base method.
func (*MockProviderStore) EXPECT ¶
func (m *MockProviderStore) EXPECT() *MockProviderStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProviderStore) GetByID ¶
func (m *MockProviderStore) GetByID(ctx context.Context, providerID uuid.UUID) (*db.Provider, error)
GetByID mocks base method.
func (*MockProviderStore) GetByIDProject ¶
func (m *MockProviderStore) GetByIDProject(ctx context.Context, providerID, projectID uuid.UUID) (*db.Provider, error)
GetByIDProject mocks base method.
func (*MockProviderStore) GetByName ¶
func (m *MockProviderStore) GetByName(ctx context.Context, projectID uuid.UUID, name string) (*db.Provider, error)
GetByName mocks base method.
func (*MockProviderStore) GetByNameInSpecificProject ¶
func (m *MockProviderStore) GetByNameInSpecificProject(ctx context.Context, projectID uuid.UUID, name string) (*db.Provider, error)
GetByNameInSpecificProject mocks base method.
func (*MockProviderStore) GetByTraitInHierarchy ¶
func (m *MockProviderStore) GetByTraitInHierarchy(ctx context.Context, projectID uuid.UUID, name string, trait db.ProviderType) ([]db.Provider, error)
GetByTraitInHierarchy mocks base method.
func (*MockProviderStore) Update ¶
func (m *MockProviderStore) Update(ctx context.Context, providerID, projectID uuid.UUID, config json.RawMessage) error
Update mocks base method.
type MockProviderStoreMockRecorder ¶
type MockProviderStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderStoreMockRecorder is the mock recorder for MockProviderStore.
func (*MockProviderStoreMockRecorder) Create ¶
func (mr *MockProviderStoreMockRecorder) Create(ctx, providerClass, name, projectID, config any) *gomock.Call
Create indicates an expected call of Create.
func (*MockProviderStoreMockRecorder) Delete ¶
func (mr *MockProviderStoreMockRecorder) Delete(ctx, providerID, projectID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockProviderStoreMockRecorder) GetByID ¶
func (mr *MockProviderStoreMockRecorder) GetByID(ctx, providerID any) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockProviderStoreMockRecorder) GetByIDProject ¶
func (mr *MockProviderStoreMockRecorder) GetByIDProject(ctx, providerID, projectID any) *gomock.Call
GetByIDProject indicates an expected call of GetByIDProject.
func (*MockProviderStoreMockRecorder) GetByName ¶
func (mr *MockProviderStoreMockRecorder) GetByName(ctx, projectID, name any) *gomock.Call
GetByName indicates an expected call of GetByName.
func (*MockProviderStoreMockRecorder) GetByNameInSpecificProject ¶
func (mr *MockProviderStoreMockRecorder) GetByNameInSpecificProject(ctx, projectID, name any) *gomock.Call
GetByNameInSpecificProject indicates an expected call of GetByNameInSpecificProject.
func (*MockProviderStoreMockRecorder) GetByTraitInHierarchy ¶
func (mr *MockProviderStoreMockRecorder) GetByTraitInHierarchy(ctx, projectID, name, trait any) *gomock.Call
GetByTraitInHierarchy indicates an expected call of GetByTraitInHierarchy.