packaging

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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TagKey = "name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MPFilter

type MPFilter struct {
	Type []string `name:"type" postgres:"spec->>'type'"`
}

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)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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