Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App interface { DoAtomic(ctx context.Context, action func(context.Context) error) error List(ctx context.Context, pageSize uint, last string) ([]model.Repository, uint64, error) ListByKinds(ctx context.Context, pageSize uint, last string, kinds ...model.RepositoryKind) ([]model.Repository, uint64, error) Suggest(ctx context.Context, ignoreIds []uint64, count uint64) ([]model.Repository, error) Get(ctx context.Context, id uint64, forUpdate bool) (model.Repository, error) GetByName(ctx context.Context, repositoryKind model.RepositoryKind, name, part string) (model.Repository, error) Create(ctx context.Context, o model.Repository) (uint64, error) UpdateVersions(ctx context.Context, o model.Repository) error DeleteUnused(ctx context.Context) error DeleteUnusedVersions(ctx context.Context) error }
App of package
Click to show internal directories.
Click to hide internal directories.