issuepanel

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: AGPL-3.0 Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssuePanel

type IssuePanel struct {
	// contains filtered or unexported fields
}

IssuePanel issue panel 对象

func New

func New(options ...Option) *IssuePanel

New 新建 IssuePanel 对象

func (*IssuePanel) CreatePanel

func (ip *IssuePanel) CreatePanel(req *apistructs.IssuePanelRequest) (*dao.IssuePanel, error)

CreatePanel 增加自定义面板

func (*IssuePanel) DeletePanel

DeletePanel 删除自定义面板

func (*IssuePanel) GetPanelByProjectID

func (ip *IssuePanel) GetPanelByProjectID(req *apistructs.IssuePanelRequest) ([]apistructs.IssuePanelIssues, error)

func (*IssuePanel) GetPanelIssue

func (ip *IssuePanel) GetPanelIssue(req *apistructs.IssuePanelRequest) (*dao.IssuePanel, error)

func (*IssuePanel) GetPanelIssues

func (ip *IssuePanel) GetPanelIssues(req *apistructs.IssuePanelRequest) ([]apistructs.Issue, uint64, error)

GetPanelIssues 获取看板下的事件ID

func (*IssuePanel) UpdatePanel

func (ip *IssuePanel) UpdatePanel(req *apistructs.IssuePanelRequest) (*dao.IssuePanel, error)

func (*IssuePanel) UpdatePanelIssue

func (ip *IssuePanel) UpdatePanelIssue(req *apistructs.IssuePanelRequest) (*dao.IssuePanel, error)

type Option

type Option func(*IssuePanel)

Option 定义 IssuePanel 对象配置选项

func WithBundle

func WithBundle(bdl *bundle.Bundle) Option

WithBundle 配置 bundle

func WithDBClient

func WithDBClient(db *dao.DBClient) Option

WithDBClient 配置 db client

func WithIssue

func WithIssue(i *issue.Issue) Option

WithIssue 配置 issue service

Jump to

Keyboard shortcuts

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