Documentation
¶
Index ¶
- Constants
- Variables
- type PackagingIntegrationRepository
- func (pir *PackagingIntegrationRepository) DeletePackagingIntegration(name string) error
- func (pir *PackagingIntegrationRepository) GetPackagingIntegration(name string) (*packaging.PackagingIntegration, error)
- func (pir *PackagingIntegrationRepository) GetPackagingIntegrationList(options ...filter.ListOption) ([]packaging.PackagingIntegration, error)
- func (pir *PackagingIntegrationRepository) SavePackagingIntegration(pi *packaging.PackagingIntegration) error
- func (pir *PackagingIntegrationRepository) UpdatePackagingIntegration(pi *packaging.PackagingIntegration) error
- type PackagingRepo
- func (repo PackagingRepo) BeginTransaction(ctx context.Context) (*sql.Tx, error)
- func (repo PackagingRepo) DeleteModelPackaging(ctx context.Context, tx *sql.Tx, id string) error
- func (repo PackagingRepo) GetModelPackaging(ctx context.Context, tx *sql.Tx, id string) (*packaging.ModelPackaging, error)
- func (repo PackagingRepo) GetModelPackagingList(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]packaging.ModelPackaging, error)
- func (repo PackagingRepo) SaveModelPackaging(ctx context.Context, tx *sql.Tx, mp *packaging.ModelPackaging) error
- func (repo PackagingRepo) SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error
- func (repo PackagingRepo) UpdateModelPackaging(ctx context.Context, tx *sql.Tx, mp *packaging.ModelPackaging) error
- func (repo PackagingRepo) UpdateModelPackagingStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelPackagingStatus) error
Constants ¶
View Source
const (
ModelPackagingTable = "odahu_operator_packaging"
)
Variables ¶
View Source
var ( MaxSize = 500 FirstPage = 0 )
Functions ¶
This section is empty.
Types ¶
type PackagingIntegrationRepository ¶
func (*PackagingIntegrationRepository) DeletePackagingIntegration ¶
func (pir *PackagingIntegrationRepository) DeletePackagingIntegration(name string) error
func (*PackagingIntegrationRepository) GetPackagingIntegration ¶
func (pir *PackagingIntegrationRepository) GetPackagingIntegration(name string) ( *packaging.PackagingIntegration, error, )
func (*PackagingIntegrationRepository) GetPackagingIntegrationList ¶
func (pir *PackagingIntegrationRepository) GetPackagingIntegrationList(options ...filter.ListOption) ( []packaging.PackagingIntegration, error, )
func (*PackagingIntegrationRepository) SavePackagingIntegration ¶
func (pir *PackagingIntegrationRepository) SavePackagingIntegration(pi *packaging.PackagingIntegration) error
func (*PackagingIntegrationRepository) UpdatePackagingIntegration ¶
func (pir *PackagingIntegrationRepository) UpdatePackagingIntegration(pi *packaging.PackagingIntegration) error
type PackagingRepo ¶
func (PackagingRepo) BeginTransaction ¶
func (PackagingRepo) DeleteModelPackaging ¶
func (PackagingRepo) GetModelPackaging ¶
func (repo PackagingRepo) GetModelPackaging( ctx context.Context, tx *sql.Tx, id string) (*packaging.ModelPackaging, error)
func (PackagingRepo) GetModelPackagingList ¶
func (repo PackagingRepo) GetModelPackagingList( ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]packaging.ModelPackaging, error)
func (PackagingRepo) SaveModelPackaging ¶
func (repo PackagingRepo) SaveModelPackaging(ctx context.Context, tx *sql.Tx, mp *packaging.ModelPackaging) error
func (PackagingRepo) SetDeletionMark ¶
func (PackagingRepo) UpdateModelPackaging ¶
func (repo PackagingRepo) UpdateModelPackaging(ctx context.Context, tx *sql.Tx, mp *packaging.ModelPackaging) error
func (PackagingRepo) UpdateModelPackagingStatus ¶
func (repo PackagingRepo) UpdateModelPackagingStatus( ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelPackagingStatus) error
Click to show internal directories.
Click to hide internal directories.