Documentation ¶
Index ¶
- type PackagingIntegrationRepository
- func (_m *PackagingIntegrationRepository) DeletePackagingIntegration(id string) error
- func (_m *PackagingIntegrationRepository) GetPackagingIntegration(id string) (*packaging.PackagingIntegration, error)
- func (_m *PackagingIntegrationRepository) GetPackagingIntegrationList(options ...filter.ListOption) ([]packaging.PackagingIntegration, error)
- func (_m *PackagingIntegrationRepository) SavePackagingIntegration(md *packaging.PackagingIntegration) error
- func (_m *PackagingIntegrationRepository) UpdatePackagingIntegration(md *packaging.PackagingIntegration) error
- type Repository
- func (_m *Repository) BeginTransaction(ctx context.Context) (*sql.Tx, error)
- func (_m *Repository) DeleteModelPackaging(ctx context.Context, tx *sql.Tx, id string) error
- func (_m *Repository) GetModelPackaging(ctx context.Context, tx *sql.Tx, id string) (*apispackaging.ModelPackaging, error)
- func (_m *Repository) GetModelPackagingList(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]apispackaging.ModelPackaging, error)
- func (_m *Repository) SaveModelPackaging(ctx context.Context, tx *sql.Tx, mp *apispackaging.ModelPackaging) error
- func (_m *Repository) SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error
- func (_m *Repository) UpdateModelPackaging(ctx context.Context, tx *sql.Tx, mp *apispackaging.ModelPackaging) error
- func (_m *Repository) UpdateModelPackagingStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelPackagingStatus) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackagingIntegrationRepository ¶
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 ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) BeginTransaction ¶
BeginTransaction provides a mock function with given fields: ctx
func (*Repository) DeleteModelPackaging ¶
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 ¶
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