repository

package
v1.27.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package repository is a generated GoMock package.

Package repository is a generated GoMock package.

Package repository is a generated GoMock package.

Package repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset added in v1.27.0

type Asset interface {
	Create(organizationID, ledgerID string, inp mmodel.CreateAssetInput) (*mmodel.Asset, error)
}

type Auth

type Auth interface {
	AuthenticateWithCredentials(username, password string) (*model.TokenResponse, error)
	ExchangeToken(code string) (*model.TokenResponse, error)
}

type Ledger added in v1.26.0

type Ledger interface {
	Create(organizationID string, inp mmodel.CreateLedgerInput) (*mmodel.Ledger, error)
	Get(organizationID string, limit, page int) (*mmodel.Ledgers, error)
	GetByID(organizationID, ledgerID string) (*mmodel.Ledger, error)
	Update(organizationID, ledgerID string, inp mmodel.UpdateLedgerInput) (*mmodel.Ledger, error)
	Delete(organizationID, ledgerID string) error
}

type MockAsset added in v1.27.0

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

MockAsset is a mock of Asset interface.

func NewMockAsset added in v1.27.0

func NewMockAsset(ctrl *gomock.Controller) *MockAsset

NewMockAsset creates a new mock instance.

func (*MockAsset) Create added in v1.27.0

func (m *MockAsset) Create(organizationID, ledgerID string, inp mmodel.CreateAssetInput) (*mmodel.Asset, error)

Create mocks base method.

func (*MockAsset) EXPECT added in v1.27.0

func (m *MockAsset) EXPECT() *MockAssetMockRecorder

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

type MockAssetMockRecorder added in v1.27.0

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

MockAssetMockRecorder is the mock recorder for MockAsset.

func (*MockAssetMockRecorder) Create added in v1.27.0

func (mr *MockAssetMockRecorder) Create(organizationID, ledgerID, inp any) *gomock.Call

Create indicates an expected call of Create.

type MockAuth added in v1.22.0

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

MockAuth is a mock of Auth interface.

func NewMockAuth added in v1.22.0

func NewMockAuth(ctrl *gomock.Controller) *MockAuth

NewMockAuth creates a new mock instance.

func (*MockAuth) AuthenticateWithCredentials added in v1.22.0

func (m *MockAuth) AuthenticateWithCredentials(username, password string) (*model.TokenResponse, error)

AuthenticateWithCredentials mocks base method.

func (*MockAuth) EXPECT added in v1.22.0

func (m *MockAuth) EXPECT() *MockAuthMockRecorder

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

func (*MockAuth) ExchangeToken added in v1.22.0

func (m *MockAuth) ExchangeToken(code string) (*model.TokenResponse, error)

ExchangeToken mocks base method.

type MockAuthMockRecorder added in v1.22.0

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

MockAuthMockRecorder is the mock recorder for MockAuth.

func (*MockAuthMockRecorder) AuthenticateWithCredentials added in v1.22.0

func (mr *MockAuthMockRecorder) AuthenticateWithCredentials(username, password any) *gomock.Call

AuthenticateWithCredentials indicates an expected call of AuthenticateWithCredentials.

func (*MockAuthMockRecorder) ExchangeToken added in v1.22.0

func (mr *MockAuthMockRecorder) ExchangeToken(code any) *gomock.Call

ExchangeToken indicates an expected call of ExchangeToken.

type MockLedger added in v1.26.0

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

MockLedger is a mock of Ledger interface.

func NewMockLedger added in v1.26.0

func NewMockLedger(ctrl *gomock.Controller) *MockLedger

NewMockLedger creates a new mock instance.

func (*MockLedger) Create added in v1.26.0

func (m *MockLedger) Create(organizationID string, inp mmodel.CreateLedgerInput) (*mmodel.Ledger, error)

Create mocks base method.

func (*MockLedger) Delete added in v1.27.0

func (m *MockLedger) Delete(organizationID, ledgerID string) error

Delete mocks base method.

func (*MockLedger) EXPECT added in v1.26.0

func (m *MockLedger) EXPECT() *MockLedgerMockRecorder

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

func (*MockLedger) Get added in v1.26.0

func (m *MockLedger) Get(organizationID string, limit, page int) (*mmodel.Ledgers, error)

Get mocks base method.

func (*MockLedger) GetByID added in v1.26.0

func (m *MockLedger) GetByID(organizationID, ledgerID string) (*mmodel.Ledger, error)

GetByID mocks base method.

func (*MockLedger) Update added in v1.27.0

func (m *MockLedger) Update(organizationID, ledgerID string, inp mmodel.UpdateLedgerInput) (*mmodel.Ledger, error)

Update mocks base method.

type MockLedgerMockRecorder added in v1.26.0

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

MockLedgerMockRecorder is the mock recorder for MockLedger.

func (*MockLedgerMockRecorder) Create added in v1.26.0

func (mr *MockLedgerMockRecorder) Create(organizationID, inp any) *gomock.Call

Create indicates an expected call of Create.

func (*MockLedgerMockRecorder) Delete added in v1.27.0

func (mr *MockLedgerMockRecorder) Delete(organizationID, ledgerID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockLedgerMockRecorder) Get added in v1.26.0

func (mr *MockLedgerMockRecorder) Get(organizationID, limit, page any) *gomock.Call

Get indicates an expected call of Get.

func (*MockLedgerMockRecorder) GetByID added in v1.26.0

func (mr *MockLedgerMockRecorder) GetByID(organizationID, ledgerID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockLedgerMockRecorder) Update added in v1.27.0

func (mr *MockLedgerMockRecorder) Update(organizationID, ledgerID, inp any) *gomock.Call

Update indicates an expected call of Update.

type MockOrganization added in v1.25.0

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

MockOrganization is a mock of Organization interface.

func NewMockOrganization added in v1.25.0

func NewMockOrganization(ctrl *gomock.Controller) *MockOrganization

NewMockOrganization creates a new mock instance.

func (*MockOrganization) Create added in v1.25.0

Create mocks base method.

func (*MockOrganization) Delete added in v1.26.0

func (m *MockOrganization) Delete(organizationID string) error

Delete mocks base method.

func (*MockOrganization) EXPECT added in v1.25.0

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

func (*MockOrganization) Get added in v1.25.0

func (m *MockOrganization) Get(limit, page int) (*mmodel.Organizations, error)

Get mocks base method.

func (*MockOrganization) GetByID added in v1.25.0

func (m *MockOrganization) GetByID(organizationID string) (*mmodel.Organization, error)

GetByID mocks base method.

func (*MockOrganization) Update added in v1.26.0

func (m *MockOrganization) Update(organizationID string, orgInput mmodel.UpdateOrganizationInput) (*mmodel.Organization, error)

Update mocks base method.

type MockOrganizationMockRecorder added in v1.25.0

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

MockOrganizationMockRecorder is the mock recorder for MockOrganization.

func (*MockOrganizationMockRecorder) Create added in v1.25.0

func (mr *MockOrganizationMockRecorder) Create(org any) *gomock.Call

Create indicates an expected call of Create.

func (*MockOrganizationMockRecorder) Delete added in v1.26.0

func (mr *MockOrganizationMockRecorder) Delete(organizationID any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockOrganizationMockRecorder) Get added in v1.25.0

func (mr *MockOrganizationMockRecorder) Get(limit, page any) *gomock.Call

Get indicates an expected call of Get.

func (*MockOrganizationMockRecorder) GetByID added in v1.25.0

func (mr *MockOrganizationMockRecorder) GetByID(organizationID any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockOrganizationMockRecorder) Update added in v1.26.0

func (mr *MockOrganizationMockRecorder) Update(organizationID, orgInput any) *gomock.Call

Update indicates an expected call of Update.

type Organization added in v1.25.0

type Organization interface {
	Create(org mmodel.CreateOrganizationInput) (*mmodel.Organization, error)
	Get(limit, page int) (*mmodel.Organizations, error)
	GetByID(organizationID string) (*mmodel.Organization, error)
	Update(organizationID string, orgInput mmodel.UpdateOrganizationInput) (*mmodel.Organization, error)
	Delete(organizationID string) error
}

Jump to

Keyboard shortcuts

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