Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Service ¶
type Service interface { // 创建dockerfile Post(ctx context.Context, name, language, version, detail, desc, dockerfile, fullPath string, status int64) (err error) // dockerfile详情 Detail(ctx context.Context, id int64) (res *types.Dockerfile, err error) // download 可以调用这个方法 // dockerfile列表 List(ctx context.Context, page, limit int, language []string, status int, name string) (res []*types.Dockerfile, count int64, err error) // 更新dockerfile Put(ctx context.Context, id int64, name, language, version, detail, desc, dockerfile, fullPath string, status int64) (err error) // 删除dockerfile Delete(ctx context.Context, id int64) (err error) }
func NewService ¶
func NewService(logger log.Logger, store repository.Repository) Service
Click to show internal directories.
Click to hide internal directories.