mocks

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackagingIntegrationRepository

type PackagingIntegrationRepository struct {
	mock.Mock
}

PackagingIntegrationRepository is an autogenerated mock type for the PackagingIntegrationRepository type

func (*PackagingIntegrationRepository) DeletePackagingIntegration

func (_m *PackagingIntegrationRepository) DeletePackagingIntegration(id string) error

DeletePackagingIntegration provides a mock function with given fields: id

func (*PackagingIntegrationRepository) GetPackagingIntegration

func (_m *PackagingIntegrationRepository) GetPackagingIntegration(id string) (*packaging.PackagingIntegration, error)

GetPackagingIntegration provides a mock function with given fields: id

func (*PackagingIntegrationRepository) GetPackagingIntegrationList

func (_m *PackagingIntegrationRepository) GetPackagingIntegrationList(options ...filter.ListOption) ([]packaging.PackagingIntegration, error)

GetPackagingIntegrationList provides a mock function with given fields: options

func (*PackagingIntegrationRepository) SavePackagingIntegration

func (_m *PackagingIntegrationRepository) SavePackagingIntegration(md *packaging.PackagingIntegration) error

CreatePackagingIntegration provides a mock function with given fields: md

func (*PackagingIntegrationRepository) UpdatePackagingIntegration

func (_m *PackagingIntegrationRepository) UpdatePackagingIntegration(md *packaging.PackagingIntegration) error

UpdatePackagingIntegration provides a mock function with given fields: md

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) BeginTransaction

func (_m *Repository) BeginTransaction(ctx context.Context) (*sql.Tx, error)

BeginTransaction provides a mock function with given fields: ctx

func (*Repository) DeleteModelPackaging

func (_m *Repository) DeleteModelPackaging(ctx context.Context, tx *sql.Tx, id string) error

DeleteModelPackaging provides a mock function with given fields: ctx, tx, id

func (*Repository) GetModelPackaging

func (_m *Repository) GetModelPackaging(ctx context.Context, tx *sql.Tx, id string) (*apispackaging.ModelPackaging, error)

GetModelPackaging provides a mock function with given fields: ctx, tx, id

func (*Repository) GetModelPackagingList

func (_m *Repository) GetModelPackagingList(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]apispackaging.ModelPackaging, error)

GetModelPackagingList provides a mock function with given fields: ctx, tx, options

func (*Repository) SaveModelPackaging

func (_m *Repository) SaveModelPackaging(ctx context.Context, tx *sql.Tx, mp *apispackaging.ModelPackaging) error

CreateModelPackaging provides a mock function with given fields: ctx, tx, mp

func (*Repository) SetDeletionMark

func (_m *Repository) SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error

SetDeletionMark provides a mock function with given fields: ctx, tx, id, value

func (*Repository) UpdateModelPackaging

func (_m *Repository) UpdateModelPackaging(ctx context.Context, tx *sql.Tx, mp *apispackaging.ModelPackaging) error

UpdateModelPackaging provides a mock function with given fields: ctx, tx, mp

func (*Repository) UpdateModelPackagingStatus

func (_m *Repository) UpdateModelPackagingStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelPackagingStatus) error

UpdateModelPackagingStatus provides a mock function with given fields: ctx, tx, id, s

Jump to

Keyboard shortcuts

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