issuepanel

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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