Documentation ¶
Index ¶
- type GittarFileTree
- func (svc *GittarFileTree) CreateFileTreeNode(req apistructs.UnifiedFileTreeNodeCreateRequest, orgID uint64) (*apistructs.UnifiedFileTreeNode, error)
- func (svc *GittarFileTree) DeleteFileTreeNode(req apistructs.UnifiedFileTreeNodeDeleteRequest, orgID uint64, userID string) (*apistructs.UnifiedFileTreeNode, error)
- func (svc *GittarFileTree) FindFileTreeNodeAncestors(req apistructs.UnifiedFileTreeNodeFindAncestorsRequest) ([]apistructs.UnifiedFileTreeNode, error)
- func (svc *GittarFileTree) FuzzySearchFileTreeNodes(req apistructs.UnifiedFileTreeNodeFuzzySearchRequest, orgID uint64) ([]apistructs.UnifiedFileTreeNode, error)
- func (svc *GittarFileTree) GetFileTreeNode(req apistructs.UnifiedFileTreeNodeGetRequest, orgID uint64) (*apistructs.UnifiedFileTreeNode, error)
- func (svc *GittarFileTree) GetGittarFileByPipelineId(pipelineId uint64, orgID uint64, identity apistructs.IdentityInfo) (*apistructs.UnifiedFileTreeNode, error)
- func (svc *GittarFileTree) GetWorkspaceByBranch(projectIDStr, branch string) (string, error)
- func (svc *GittarFileTree) ListFileTreeNodes(req apistructs.UnifiedFileTreeNodeListRequest, orgID uint64) ([]*apistructs.UnifiedFileTreeNode, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GittarFileTree ¶
type GittarFileTree struct {
// contains filtered or unexported fields
}
Pipeline pipeline 结构体
func (*GittarFileTree) CreateFileTreeNode ¶
func (svc *GittarFileTree) CreateFileTreeNode(req apistructs.UnifiedFileTreeNodeCreateRequest, orgID uint64) (*apistructs.UnifiedFileTreeNode, error)
func (*GittarFileTree) DeleteFileTreeNode ¶
func (svc *GittarFileTree) DeleteFileTreeNode(req apistructs.UnifiedFileTreeNodeDeleteRequest, orgID uint64, userID string) (*apistructs.UnifiedFileTreeNode, error)
func (*GittarFileTree) FindFileTreeNodeAncestors ¶
func (svc *GittarFileTree) FindFileTreeNodeAncestors(req apistructs.UnifiedFileTreeNodeFindAncestorsRequest) ([]apistructs.UnifiedFileTreeNode, error)
func (*GittarFileTree) FuzzySearchFileTreeNodes ¶
func (svc *GittarFileTree) FuzzySearchFileTreeNodes(req apistructs.UnifiedFileTreeNodeFuzzySearchRequest, orgID uint64) ([]apistructs.UnifiedFileTreeNode, error)
func (*GittarFileTree) GetFileTreeNode ¶
func (svc *GittarFileTree) GetFileTreeNode(req apistructs.UnifiedFileTreeNodeGetRequest, orgID uint64) (*apistructs.UnifiedFileTreeNode, error)
func (*GittarFileTree) GetGittarFileByPipelineId ¶
func (svc *GittarFileTree) GetGittarFileByPipelineId(pipelineId uint64, orgID uint64, identity apistructs.IdentityInfo) (*apistructs.UnifiedFileTreeNode, error)
func (*GittarFileTree) GetWorkspaceByBranch ¶
func (svc *GittarFileTree) GetWorkspaceByBranch(projectIDStr, branch string) (string, error)
func (*GittarFileTree) ListFileTreeNodes ¶
func (svc *GittarFileTree) ListFileTreeNodes(req apistructs.UnifiedFileTreeNodeListRequest, orgID uint64) ([]*apistructs.UnifiedFileTreeNode, error)
type Option ¶
type Option func(*GittarFileTree)
Option Pipeline 配置选项
func WithBranchRule ¶
func WithBranchRule(svc *branchrule.BranchRule) Option
Click to show internal directories.
Click to hide internal directories.