mock_providers

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_providers is a generated GoMock package.

Index

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) Delete

func (m *MockProviderStore) Delete(ctx context.Context, providerID, projectID uuid.UUID) error

Delete mocks base method.

func (*MockProviderStore) EXPECT

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.

func (*MockProviderStoreMockRecorder) Update

func (mr *MockProviderStoreMockRecorder) Update(ctx, providerID, projectID, config any) *gomock.Call

Update indicates an expected call of Update.

Directories

Path Synopsis
Package fixtures contains code for creating ProviderStore fixtures and is used in various parts of the code.
Package fixtures contains code for creating ProviderStore fixtures and is used in various parts of the code.

Jump to

Keyboard shortcuts

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