Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type Backend
- type BackendMockRecorder
- type HTTPClient
- type HTTPClientMockRecorder
- type Ingester
- type IngesterMockRecorder
- type PriceRepository
- func (m *PriceRepository) DeleteByProductWithKeep(arg0 context.Context, arg1 product.ID, arg2 []price.ID) error
- func (m *PriceRepository) EXPECT() *PriceRepositoryMockRecorder
- func (m *PriceRepository) Filter(arg0 context.Context, arg1 product.ID, arg2 *price.Filter) ([]*price.Price, error)
- func (m *PriceRepository) Upsert(arg0 context.Context, arg1 *price.WithProduct) (price.ID, error)
- type PriceRepositoryMockRecorder
- type ProductRepository
- func (m *ProductRepository) EXPECT() *ProductRepositoryMockRecorder
- func (m *ProductRepository) Filter(arg0 context.Context, arg1 *product.Filter) ([]*product.Product, error)
- func (m *ProductRepository) FindByVendorAndSKU(arg0 context.Context, arg1, arg2 string) (*product.Product, error)
- func (m *ProductRepository) Upsert(arg0 context.Context, arg1 *product.Product) (product.ID, error)
- type ProductRepositoryMockRecorder
- type TerraformProvider
- type TerraformProviderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend is a mock of Backend interface
func NewBackend ¶
func NewBackend(ctrl *gomock.Controller) *Backend
NewBackend creates a new mock instance
func (*Backend) EXPECT ¶
func (m *Backend) EXPECT() *BackendMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*Backend) Products ¶
func (m *Backend) Products() product.Repository
Products mocks base method
type BackendMockRecorder ¶
type BackendMockRecorder struct {
// contains filtered or unexported fields
}
BackendMockRecorder is the mock recorder for Backend
func (*BackendMockRecorder) Prices ¶
func (mr *BackendMockRecorder) Prices() *gomock.Call
Prices indicates an expected call of Prices
func (*BackendMockRecorder) Products ¶
func (mr *BackendMockRecorder) Products() *gomock.Call
Products indicates an expected call of Products
type HTTPClient ¶
type HTTPClient struct {
// contains filtered or unexported fields
}
HTTPClient is a mock of HTTPClient interface
func NewHTTPClient ¶
func NewHTTPClient(ctrl *gomock.Controller) *HTTPClient
NewHTTPClient creates a new mock instance
func (*HTTPClient) EXPECT ¶
func (m *HTTPClient) EXPECT() *HTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type HTTPClientMockRecorder ¶
type HTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
HTTPClientMockRecorder is the mock recorder for HTTPClient
func (*HTTPClientMockRecorder) Do ¶
func (mr *HTTPClientMockRecorder) Do(arg0 interface{}) *gomock.Call
Do indicates an expected call of Do
type Ingester ¶
type Ingester struct {
// contains filtered or unexported fields
}
Ingester is a mock of Ingester interface
func NewIngester ¶
func NewIngester(ctrl *gomock.Controller) *Ingester
NewIngester creates a new mock instance
func (*Ingester) EXPECT ¶
func (m *Ingester) EXPECT() *IngesterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type IngesterMockRecorder ¶
type IngesterMockRecorder struct {
// contains filtered or unexported fields
}
IngesterMockRecorder is the mock recorder for Ingester
func (*IngesterMockRecorder) Err ¶
func (mr *IngesterMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err
func (*IngesterMockRecorder) Ingest ¶
func (mr *IngesterMockRecorder) Ingest(arg0, arg1 interface{}) *gomock.Call
Ingest indicates an expected call of Ingest
type PriceRepository ¶
type PriceRepository struct {
// contains filtered or unexported fields
}
PriceRepository is a mock of Repository interface
func NewPriceRepository ¶
func NewPriceRepository(ctrl *gomock.Controller) *PriceRepository
NewPriceRepository creates a new mock instance
func (*PriceRepository) DeleteByProductWithKeep ¶
func (m *PriceRepository) DeleteByProductWithKeep(arg0 context.Context, arg1 product.ID, arg2 []price.ID) error
DeleteByProductWithKeep mocks base method
func (*PriceRepository) EXPECT ¶
func (m *PriceRepository) EXPECT() *PriceRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*PriceRepository) Filter ¶
func (m *PriceRepository) Filter(arg0 context.Context, arg1 product.ID, arg2 *price.Filter) ([]*price.Price, error)
Filter mocks base method
func (*PriceRepository) Upsert ¶
func (m *PriceRepository) Upsert(arg0 context.Context, arg1 *price.WithProduct) (price.ID, error)
Upsert mocks base method
type PriceRepositoryMockRecorder ¶
type PriceRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
PriceRepositoryMockRecorder is the mock recorder for PriceRepository
func (*PriceRepositoryMockRecorder) DeleteByProductWithKeep ¶
func (mr *PriceRepositoryMockRecorder) DeleteByProductWithKeep(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteByProductWithKeep indicates an expected call of DeleteByProductWithKeep
func (*PriceRepositoryMockRecorder) Filter ¶
func (mr *PriceRepositoryMockRecorder) Filter(arg0, arg1, arg2 interface{}) *gomock.Call
Filter indicates an expected call of Filter
func (*PriceRepositoryMockRecorder) Upsert ¶
func (mr *PriceRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert
type ProductRepository ¶
type ProductRepository struct {
// contains filtered or unexported fields
}
ProductRepository is a mock of Repository interface
func NewProductRepository ¶
func NewProductRepository(ctrl *gomock.Controller) *ProductRepository
NewProductRepository creates a new mock instance
func (*ProductRepository) EXPECT ¶
func (m *ProductRepository) EXPECT() *ProductRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*ProductRepository) Filter ¶
func (m *ProductRepository) Filter(arg0 context.Context, arg1 *product.Filter) ([]*product.Product, error)
Filter mocks base method
func (*ProductRepository) FindByVendorAndSKU ¶
func (m *ProductRepository) FindByVendorAndSKU(arg0 context.Context, arg1, arg2 string) (*product.Product, error)
FindByVendorAndSKU mocks base method
type ProductRepositoryMockRecorder ¶
type ProductRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
ProductRepositoryMockRecorder is the mock recorder for ProductRepository
func (*ProductRepositoryMockRecorder) Filter ¶
func (mr *ProductRepositoryMockRecorder) Filter(arg0, arg1 interface{}) *gomock.Call
Filter indicates an expected call of Filter
func (*ProductRepositoryMockRecorder) FindByVendorAndSKU ¶
func (mr *ProductRepositoryMockRecorder) FindByVendorAndSKU(arg0, arg1, arg2 interface{}) *gomock.Call
FindByVendorAndSKU indicates an expected call of FindByVendorAndSKU
func (*ProductRepositoryMockRecorder) Upsert ¶
func (mr *ProductRepositoryMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert
type TerraformProvider ¶
type TerraformProvider struct {
// contains filtered or unexported fields
}
TerraformProvider is a mock of Provider interface
func NewTerraformProvider ¶
func NewTerraformProvider(ctrl *gomock.Controller) *TerraformProvider
NewTerraformProvider creates a new mock instance
func (*TerraformProvider) EXPECT ¶
func (m *TerraformProvider) EXPECT() *TerraformProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*TerraformProvider) ResourceComponents ¶
func (m *TerraformProvider) ResourceComponents(arg0 map[string]terraform.Resource, arg1 terraform.Resource) []query.Component
ResourceComponents mocks base method
type TerraformProviderMockRecorder ¶
type TerraformProviderMockRecorder struct {
// contains filtered or unexported fields
}
TerraformProviderMockRecorder is the mock recorder for TerraformProvider
func (*TerraformProviderMockRecorder) Name ¶
func (mr *TerraformProviderMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*TerraformProviderMockRecorder) ResourceComponents ¶
func (mr *TerraformProviderMockRecorder) ResourceComponents(arg0, arg1 interface{}) *gomock.Call
ResourceComponents indicates an expected call of ResourceComponents