Documentation ¶
Index ¶
Constants ¶
View Source
const (
TagKey = "name"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackagingIntegrationRepository ¶
type PackagingIntegrationRepository interface { GetPackagingIntegration(id string) (*packaging.PackagingIntegration, error) GetPackagingIntegrationList(options ...filter.ListOption) ([]packaging.PackagingIntegration, error) DeletePackagingIntegration(id string) error UpdatePackagingIntegration(md *packaging.PackagingIntegration) error SavePackagingIntegration(md *packaging.PackagingIntegration) error }
type Repository ¶
type Repository interface { GetModelPackaging(ctx context.Context, tx *sql.Tx, id string) (*packaging.ModelPackaging, error) GetModelPackagingList( ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]packaging.ModelPackaging, error) DeleteModelPackaging(ctx context.Context, tx *sql.Tx, id string) error SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error UpdateModelPackaging(ctx context.Context, tx *sql.Tx, mp *packaging.ModelPackaging) error UpdateModelPackagingStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelPackagingStatus) error SaveModelPackaging(ctx context.Context, tx *sql.Tx, mp *packaging.ModelPackaging) error BeginTransaction(ctx context.Context) (*sql.Tx, error) }
Click to show internal directories.
Click to hide internal directories.