Documentation
¶
Overview ¶
Package endpoints 定义所有的 route handle.
Package endpoints cmdb api 逻辑处理层
Index ¶
- Constants
- Variables
- func GetImage(w http.ResponseWriter, r *http.Request)
- type Endpoints
- func (e *Endpoints) AddConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) AddIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchCreateAudits(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchCreateErrorLog(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchGetNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) BatchUpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CancelQuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ChangeCurrentOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)deprecated
- func (e *Endpoints) CheckPermission(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CloseTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CloseTicketByKey(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateApprove(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateAudits(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateComment(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateCommentIssueStream(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssueProperty(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssuePropertyInstance(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssueStage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateLabel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateMBox(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateMemberByInviteCode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNotify(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateNotifyHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOrUpdateErrorLog(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOrUpdateMember(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOrgClusterRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateOrgPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateReview(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateReviewUser(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) CreateTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DBClient() *dao.DBClient
- func (e *Endpoints) DealTaskEvent(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteComment(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteFile(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssueProperty(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteLabel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteMember(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNotify(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteNotifySource(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeletePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DeleteTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DereferenceCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DestroyMember(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) DownloadFile(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) (err error)
- func (e *Endpoints) ExportConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ExportExcelAudit(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) (err error)
- func (e *Endpoints) ExportExcelIssue(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) (err error)
- func (e *Endpoints) FetchOrgResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FillBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FindFileTreeNodeAncestors(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FixDataErr(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FuzzyQueryNotifiesBySource(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) FuzzySearchFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GenVerifiCode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAllOrganizational(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAllValidBranchWorkspaces(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetApplicationPublishItemRelationsGroupByENV(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetApprove(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAuditsSettings(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetAuthorityByUserId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetCurrentUser(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetDeployConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetFileTreeNode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetFunctions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetHost(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueBugPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueBugSeverityPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueBugStatusPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueManHourSum(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueProperties(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePropertyInstance(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuePropertyUpdateTime(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStatesBelong(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssueStatesByIDs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIssuesForWorkbench(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetLabel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetLicense(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetLocale(request *http.Request) *i18n.LocaleResource
- func (e *Endpoints) GetMBox(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetMBoxStats(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetMemberByToken(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetMultiNamespaceConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNSInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNexusOrgDockerCredentialByImage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNotify(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNotifyConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetNotifyGroupDetail(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetOrgByDomain(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetOrgNexus(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetReviewByTaskId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetReviewsBySponsorId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetReviewsByUserId(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) GetWorkbenchData(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) HeadFile(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) (err error)
- func (e *Endpoints) ImportConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ImportExcelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Info(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) InitApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListActivity(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAllOrgClusterRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e Endpoints) ListAppTemplates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListApproves(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListAudits(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListComments(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListEdasContainers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListErrorLog(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListFileTreeNodes(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListLabel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListLibReferenceVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMeberLabels(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMember(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMemberRoles(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMemberRolesByUser(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMyApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMyProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListMyPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListOrgRunningTasks(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListProjectResourceUsage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListPublicOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListPublicProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListQuoteCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListScopeRole(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ListUser(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) NotifyDisable(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) NotifyEnable(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingIssueStreams(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingIssues(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PagingIterations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e Endpoints) PinApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PrepareAbilityApp(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PublishNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PushCertificateConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) PutAuditsSettings(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryBranchRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryMBox(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryNotifies(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryNotifiesBySource(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryNotifyHistories(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QueryNotifyItems(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) QuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ReferCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RemoveApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ReopenTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) Routes() []httpserver.Endpoint
- func (e *Endpoints) RunIssueAddOrRepairHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) RunIssueHistory(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ScopeRoleAccess(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SetFunctions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SetMBoxReadStatus(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SetNotifyConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SetReleaseCrossCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) ShowOrgNexusPassword(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) SyncHostResource(interval time.Duration)
- func (e *Endpoints) SyncTaskStatus(interval time.Duration)
- func (e *Endpoints) TaskClean(interval time.Duration)
- func (e Endpoints) UnPinApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UnpublishNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateApplication(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateApproval(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateApprove(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateComment(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateConfigs(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateInstanceBySchedulerEvent(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePropertiesIndex(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssueProperty(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssuePropertyInstance(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIssueType(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateLabel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateMemberUserInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateNotify(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateNotifyItem(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateOrgIngress(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateProjectActiveTime(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UpdateTicket(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UploadFile(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) UploadImage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- func (e *Endpoints) WatchApprovalStatusChanged(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
- type Option
- func WithActivity(activity *activity.Activity) Option
- func WithApp(app *application.Application) Option
- func WithAppCertificate(cer *appcertificate.AppCertificate) Option
- func WithApprove(approve *approve.Approve) Option
- func WithAudit(audit *audit.Audit) Option
- func WithBranchRule(branchRule *branchrule.BranchRule) Option
- func WithBundle(bdl *bundle.Bundle) Option
- func WithCertificate(cer *certificate.Certificate) Option
- func WithCloudAccount(account *cloudaccount.CloudAccount) Option
- func WithCluster(cluster *cluster.Cluster) Option
- func WithComment(comment *comment.Comment) Option
- func WithContainer(container *container.Container) Option
- func WithDBClient(db *dao.DBClient) Option
- func WithEnvConfig(envConfig *environment.EnvConfig) Option
- func WithErrorBox(errorbox *errorbox.ErrorBox) Option
- func WithEtcdStore(etcdStore *etcd.Store) Option
- func WithFileSvc(svc *filesvc.FileService) Option
- func WithGittarFileTree(fileTree *filetree.FileTree) Option
- func WithHost(host *host.Host) Option
- func WithIssue(issue *issue.Issue) Option
- func WithIssuePanel(panel *issuepanel.IssuePanel) Option
- func WithIssueProperty(property *issueproperty.IssueProperty) Option
- func WithIssueRelated(ir *issuerelated.IssueRelated) Option
- func WithIssueState(state *issuestate.IssueState) Option
- func WithIssueStream(stream *issuestream.IssueStream) Option
- func WithIteration(itr *iteration.Iteration) Option
- func WithJSONStore(store jsonstore.JsonStore) Option
- func WithLabel(label *label.Label) Option
- func WithLibReference(libReference *libreference.LibReference) Option
- func WithLicense(license *license.License) Option
- func WithMBox(mbox *mbox.MBox) Option
- func WithManualReview(ManualReview *manual_review.ManualReview) Option
- func WithMember(member *member.Member) Option
- func WithNamespace(namespace *namespace.Namespace) Option
- func WithNotice(notice *notice.Notice) Option
- func WithNotify(notifyGroup *notify.NotifyGroup) Option
- func WithOSSClient(client *oss.Client) Option
- func WithOrg(org *org.Org) Option
- func WithPermission(permission *permission.Permission) Option
- func WithProject(project *project.Project) Option
- func WithPublisher(pub *publisher.Publisher) Option
- func WithQueryStringDecoder(decoder *schema.Decoder) Option
- func WithTicket(ticket *ticket.Ticket) Option
- func WithUCClient(uc *ucauth.UCClient) Option
- type SimplifyConfig
Constants ¶
const ( // Private 私有 Private = "private" // Public 公开 Public = "public" // All 全部 All = "" )
Variables ¶
var ( // job/deployment列表的任务存在时间,默认7天 TaskCleanDurationTimestamp int64 = 7 * 24 * 60 * 60 )
Functions ¶
Types ¶
type Endpoints ¶
type Endpoints struct { ManualReview *manual_review.ManualReview // contains filtered or unexported fields }
Endpoints 定义 endpoint 方法
func (*Endpoints) AddConfigs ¶
func (e *Endpoints) AddConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
AddConfigs 添加配置条目
func (*Endpoints) AddIssueRelation ¶
func (e *Endpoints) AddIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
AddIssueRelation 添加issue关联关系
func (*Endpoints) BatchCreateAudits ¶
func (e *Endpoints) BatchCreateAudits(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
BatchCreateAudits 批量创建审计
func (*Endpoints) BatchCreateErrorLog ¶
func (e *Endpoints) BatchCreateErrorLog(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
BatchCreateErrorLog 批量记录错误日志
func (*Endpoints) BatchGetNotifyGroup ¶
func (e *Endpoints) BatchGetNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
BatchGetNotifyGroup 批量根据id查询通知组 内部接口
func (*Endpoints) BatchUpdateIssue ¶
func (e *Endpoints) BatchUpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
BatchUpdateIssue 批量更新事件(仅支持需求、缺陷更新处理人、状态、迭代)
func (*Endpoints) CancelQuoteCertificate ¶
func (e *Endpoints) CancelQuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CancelQuoteCertificate 应用删除引用Certificate
func (*Endpoints) CheckPermission ¶
func (e *Endpoints) CheckPermission(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CheckPermission 鉴权
func (*Endpoints) CloseTicket ¶
func (e *Endpoints) CloseTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CloseTicket 关闭工单
func (*Endpoints) CloseTicketByKey ¶
func (e *Endpoints) CloseTicketByKey(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CloseTicketByKey 根据 key 关闭工单(告警使用, 仅对内)
func (*Endpoints) CreateApplication ¶
func (e *Endpoints) CreateApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateApplication 创建应用
func (*Endpoints) CreateApprove ¶
func (e *Endpoints) CreateApprove(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateApprove 创建审批流程
func (*Endpoints) CreateAudits ¶
func (e *Endpoints) CreateAudits(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateAudits 创建审计事件
func (*Endpoints) CreateBranchRule ¶
func (e *Endpoints) CreateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateBranchRule 创建分支规则
func (*Endpoints) CreateCertificate ¶
func (e *Endpoints) CreateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateCertificate 创建证书
func (*Endpoints) CreateCloudAccount ¶
func (e *Endpoints) CreateCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateCloudAccount 创建账号
func (*Endpoints) CreateCluster ¶
func (e *Endpoints) CreateCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateCluster 创建集群
func (*Endpoints) CreateComment ¶
func (e *Endpoints) CreateComment(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateComment 创建工单评论
func (*Endpoints) CreateCommentIssueStream ¶
func (e *Endpoints) CreateCommentIssueStream(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateCommentIssueStream 创建评论活动记录
func (*Endpoints) CreateFileTreeNode ¶
func (*Endpoints) CreateIssue ¶
func (e *Endpoints) CreateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssue 创建事件
func (*Endpoints) CreateIssuePanel ¶
func (e *Endpoints) CreateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssuePanel create panel
func (*Endpoints) CreateIssueProperty ¶
func (*Endpoints) CreateIssuePropertyInstance ¶
func (*Endpoints) CreateIssueStage ¶
func (e *Endpoints) CreateIssueStage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssue 创建事件
func (*Endpoints) CreateIssueState ¶
func (e *Endpoints) CreateIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIssueState 创建事件状态
func (*Endpoints) CreateIteration ¶
func (e *Endpoints) CreateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateIteration 创建迭代
func (*Endpoints) CreateLabel ¶
func (e *Endpoints) CreateLabel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateLabel 创建标签
func (*Endpoints) CreateLibReference ¶
func (e *Endpoints) CreateLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateLibReference 创建库引用
func (*Endpoints) CreateMBox ¶
func (e *Endpoints) CreateMBox(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateMBox 创建站内信 内部接口
func (*Endpoints) CreateMemberByInviteCode ¶
func (e *Endpoints) CreateMemberByInviteCode(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateMemberByInviteCode 通过邀请验证码添加成员
func (*Endpoints) CreateNamespace ¶
func (e *Endpoints) CreateNamespace(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateNamespace 创建 namespace
func (*Endpoints) CreateNamespaceRelation ¶
func (e *Endpoints) CreateNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateNamespace 创建 namespace 关联关系
func (*Endpoints) CreateNotice ¶
func (e *Endpoints) CreateNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateNotice 创建平台公告
func (*Endpoints) CreateNotify ¶
func (e *Endpoints) CreateNotify(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateNotify 创建通知
func (*Endpoints) CreateNotifyGroup ¶
func (e *Endpoints) CreateNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateNotifyGroup 创建通知组
func (*Endpoints) CreateNotifyHistory ¶
func (e *Endpoints) CreateNotifyHistory(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryNotifyHistories 创建通知发送历史
func (*Endpoints) CreateOrUpdateErrorLog ¶
func (e *Endpoints) CreateOrUpdateErrorLog(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateOrUpdateErrorLog 记录或更新错误日志
func (*Endpoints) CreateOrUpdateMember ¶
func (e *Endpoints) CreateOrUpdateMember(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateOrUpdateMember 添加成员/修改成员角色
func (*Endpoints) CreateOrg ¶
func (e *Endpoints) CreateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateOrg 创建企业
func (*Endpoints) CreateOrgClusterRelation ¶
func (e *Endpoints) CreateOrgClusterRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateOrgClusterRelation 创建企业集群关联关系
func (*Endpoints) CreateOrgPublisher ¶
func (e *Endpoints) CreateOrgPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateOrgPublisher 创建发布商
func (*Endpoints) CreateProject ¶
func (e *Endpoints) CreateProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreateProject 创建项目
func (*Endpoints) CreatePublisher ¶
func (e *Endpoints) CreatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
CreatePublisher 创建Publisher
func (*Endpoints) CreateReview ¶
func (*Endpoints) CreateReviewUser ¶
func (*Endpoints) CreateTicket ¶
func (e *Endpoints) CreateTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CreateTicket 创建工单
func (*Endpoints) DealTaskEvent ¶
func (e *Endpoints) DealTaskEvent(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DealTaskEvents 接收任务的事件
func (*Endpoints) DeleteApplication ¶
func (e *Endpoints) DeleteApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteApplication 删除应用
func (*Endpoints) DeleteBranchRule ¶
func (e *Endpoints) DeleteBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteBranchRule 删除分支规则
func (*Endpoints) DeleteCertificate ¶
func (e *Endpoints) DeleteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteCertificate 删除Certificate
func (*Endpoints) DeleteCloudAccount ¶
func (e *Endpoints) DeleteCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteCloudAccount 删除云账号
func (*Endpoints) DeleteCluster ¶
func (e *Endpoints) DeleteCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteCluster 删除集群
func (*Endpoints) DeleteComment ¶
func (e *Endpoints) DeleteComment(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteComment 删除工单评论
func (*Endpoints) DeleteConfig ¶
func (e *Endpoints) DeleteConfig(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteConfig 删除指定 namespace 下的某个配置
func (*Endpoints) DeleteFile ¶
func (e *Endpoints) DeleteFile(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteFile 删除文件
func (*Endpoints) DeleteFileTreeNode ¶
func (*Endpoints) DeleteIssue ¶
func (e *Endpoints) DeleteIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssue
func (*Endpoints) DeleteIssuePanel ¶
func (e *Endpoints) DeleteIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssuePanel delete panel
func (*Endpoints) DeleteIssueProperty ¶
func (*Endpoints) DeleteIssueRelation ¶
func (e *Endpoints) DeleteIssueRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssueRelation 删除issue关联关系
func (*Endpoints) DeleteIssueState ¶
func (e *Endpoints) DeleteIssueState(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIssueState 删除事件状态
func (*Endpoints) DeleteIteration ¶
func (e *Endpoints) DeleteIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteIteration 删除 iteration
func (*Endpoints) DeleteLabel ¶
func (e *Endpoints) DeleteLabel(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteLabel 删除标签
func (*Endpoints) DeleteLibReference ¶
func (e *Endpoints) DeleteLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteLibReference 删除库引用
func (*Endpoints) DeleteMember ¶
func (e *Endpoints) DeleteMember(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteMember 移除成员
func (*Endpoints) DeleteNamespace ¶
func (e *Endpoints) DeleteNamespace(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteNamespace 删除 namespace
func (*Endpoints) DeleteNamespaceRelation ¶
func (e *Endpoints) DeleteNamespaceRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteNamespaceRelation 删除 namespace 关联关系
func (*Endpoints) DeleteNotice ¶
func (e *Endpoints) DeleteNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteNotice 删除公告
func (*Endpoints) DeleteNotify ¶
func (e *Endpoints) DeleteNotify(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteNotifyGroup 删除通知
func (*Endpoints) DeleteNotifyGroup ¶
func (e *Endpoints) DeleteNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteNotifyGroup 删除通知组
func (*Endpoints) DeleteNotifySource ¶
func (e *Endpoints) DeleteNotifySource(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DeleteNotifySource 删除通知源
func (*Endpoints) DeleteOrg ¶
func (e *Endpoints) DeleteOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteOrg 删除企业
func (*Endpoints) DeleteProject ¶
func (e *Endpoints) DeleteProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeleteProject 删除项目
func (*Endpoints) DeletePublisher ¶
func (e *Endpoints) DeletePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DeletePublisher 删除Publisher
func (*Endpoints) DeleteTicket ¶
func (e *Endpoints) DeleteTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
CloseTicket 关闭工单
func (*Endpoints) DereferenceCluster ¶
func (e *Endpoints) DereferenceCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
DereferenceCluster 解除关联集群关系
func (*Endpoints) DestroyMember ¶
func (e *Endpoints) DestroyMember(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
DestroyMember 删除用户的一切成员信息
func (*Endpoints) DownloadFile ¶
func (e *Endpoints) DownloadFile(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) (err error)
DownloadFile 根据文件链接返回文件内容
func (*Endpoints) ExportConfigs ¶
func (*Endpoints) ExportExcelAudit ¶
func (e *Endpoints) ExportExcelAudit(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) (err error)
ExportExcelAudit 导出审计到 excel
func (*Endpoints) ExportExcelIssue ¶
func (e *Endpoints) ExportExcelIssue(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) (err error)
ExportExcelIssue 导出事件到 excel
func (*Endpoints) FetchOrgResources ¶
func (e *Endpoints) FetchOrgResources(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
FetchOrgResources 获取企业资源情况
func (*Endpoints) FillBranchRule ¶
func (e *Endpoints) FillBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
FillBranchRule 填充已有项目分支规则
func (*Endpoints) FindFileTreeNodeAncestors ¶
func (*Endpoints) FixDataErr ¶
func (e *Endpoints) FixDataErr(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
FixDataErr 修复 namespace 不存在的数据
func (*Endpoints) FuzzyQueryNotifiesBySource ¶
func (e *Endpoints) FuzzyQueryNotifiesBySource(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
FuzzyQueryNotifiesBySource 模糊查询根据source关联的通知
func (*Endpoints) FuzzySearchFileTreeNodes ¶
func (*Endpoints) GenVerifiCode ¶
func (e *Endpoints) GenVerifiCode(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GenVerifiCode 生成邀请成员加入企业的验证码
func (*Endpoints) GetAllOrganizational ¶
func (e *Endpoints) GetAllOrganizational(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetAllOrganizational 获取所有的人员组织架构
func (*Endpoints) GetAllValidBranchWorkspaces ¶
func (e *Endpoints) GetAllValidBranchWorkspaces(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetAllValidBranchWorkspaces 查询应用分支
func (*Endpoints) GetApplication ¶
func (e *Endpoints) GetApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetApplication 获取应用详情
func (*Endpoints) GetApplicationPublishItemRelationsGroupByENV ¶
func (e *Endpoints) GetApplicationPublishItemRelationsGroupByENV(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetApplicationPublishItemRelationsGroupByENV 根据环境分组应用和发布内容关联
func (*Endpoints) GetApprove ¶
func (e *Endpoints) GetApprove(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetApprove 获取Approve详情
func (*Endpoints) GetAuditsSettings ¶
func (e *Endpoints) GetAuditsSettings(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetAuditsSettings 获取企业设置事件清理周期
func (*Endpoints) GetAuthorityByUserId ¶
func (*Endpoints) GetCertificate ¶
func (e *Endpoints) GetCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetCertificate 获取Certificate详情
func (*Endpoints) GetCloudAccount ¶
func (e *Endpoints) GetCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetCloudAccount 云账号列表/云账号查询
func (*Endpoints) GetCluster ¶
func (e *Endpoints) GetCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetCluster 获取集群详情
func (*Endpoints) GetConfigs ¶
func (e *Endpoints) GetConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetConfigs 获取指定 namespace 所有环境变量配置
func (*Endpoints) GetCurrentUser ¶
func (e *Endpoints) GetCurrentUser(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetCurrentUser 获取当前登录用户信息
func (*Endpoints) GetDeployConfigs ¶
func (e *Endpoints) GetDeployConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetDeployConfigs 获取指定 namespace 的部署配置
func (*Endpoints) GetFileTreeNode ¶
func (*Endpoints) GetFunctions ¶
func (e *Endpoints) GetFunctions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetFunctions 获取项目功能开关配置
func (*Endpoints) GetHost ¶
func (e *Endpoints) GetHost(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetHost 获取指定集群下某个host的信息
func (*Endpoints) GetIssue ¶
func (e *Endpoints) GetIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssue 事件详情
func (*Endpoints) GetIssueBugPercentage ¶
func (e *Endpoints) GetIssueBugPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueBugPercentage 缺陷率查询
func (*Endpoints) GetIssueBugSeverityPercentage ¶
func (e *Endpoints) GetIssueBugSeverityPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueBugPercentage 缺陷状态发布查询
func (*Endpoints) GetIssueBugStatusPercentage ¶
func (e *Endpoints) GetIssueBugStatusPercentage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueBugPercentage 缺陷状态发布查询
func (*Endpoints) GetIssueManHourSum ¶
func (e *Endpoints) GetIssueManHourSum(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueManHourSum 事件流任务总和查询
func (*Endpoints) GetIssuePanel ¶
func (e *Endpoints) GetIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssuePanel get panel
func (*Endpoints) GetIssuePanelIssue ¶
func (e *Endpoints) GetIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssuePanelIssue get panelIssue
func (*Endpoints) GetIssueProperties ¶
func (*Endpoints) GetIssuePropertyInstance ¶
func (*Endpoints) GetIssuePropertyUpdateTime ¶
func (*Endpoints) GetIssueRelations ¶
func (e *Endpoints) GetIssueRelations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueRelations 获取Issue关联信息,包含关联和被关联信息
func (*Endpoints) GetIssueStage ¶
func (*Endpoints) GetIssueStateRelation ¶
func (e *Endpoints) GetIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueStateRelation 获取工作流
func (*Endpoints) GetIssueStates ¶
func (e *Endpoints) GetIssueStates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueStates 获取事件状态列表
func (*Endpoints) GetIssueStatesBelong ¶
func (e *Endpoints) GetIssueStatesBelong(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIssueStatesByType 根据事件类型获取事件状态列表
func (*Endpoints) GetIssueStatesByIDs ¶
func (*Endpoints) GetIssuesForWorkbench ¶
func (*Endpoints) GetIteration ¶
func (e *Endpoints) GetIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetIteration 获取迭代详情
func (*Endpoints) GetLabel ¶
func (e *Endpoints) GetLabel(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetLabel 通过id获取label
func (*Endpoints) GetLicense ¶
func (e *Endpoints) GetLicense(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetLicense 获取授权情况
func (*Endpoints) GetLocale ¶
func (e *Endpoints) GetLocale(request *http.Request) *i18n.LocaleResource
GetLocale 获取本地化资源
func (*Endpoints) GetMBox ¶
func (e *Endpoints) GetMBox(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetMBox 获取站内信详情
func (*Endpoints) GetMBoxStats ¶
func (e *Endpoints) GetMBoxStats(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetMBoxStats 查询站内信统计信息
func (*Endpoints) GetMemberByToken ¶
func (e *Endpoints) GetMemberByToken(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetMemberByToken 根据token查询用户
func (*Endpoints) GetMultiNamespaceConfigs ¶
func (e *Endpoints) GetMultiNamespaceConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetMultiNamespaceConfigs 获取多个 namespace 的所有环境变量配置
func (*Endpoints) GetNSInfo ¶
func (e *Endpoints) GetNSInfo(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetNSInfo 获取项目级命名空间信息
func (*Endpoints) GetNexusOrgDockerCredentialByImage ¶
func (*Endpoints) GetNotify ¶
func (e *Endpoints) GetNotify(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetNotifyDetail 获取通知详情
func (*Endpoints) GetNotifyConfig ¶
func (e *Endpoints) GetNotifyConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetNotifyConfig 获取通知配置
func (*Endpoints) GetNotifyGroup ¶
func (e *Endpoints) GetNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetNotifyGroupDetail 获取通知组信息
func (*Endpoints) GetNotifyGroupDetail ¶
func (e *Endpoints) GetNotifyGroupDetail(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetNotifyGroupDetail 获取通知组信息详情
func (*Endpoints) GetOrg ¶
func (e *Endpoints) GetOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetOrg 获取企业详情
func (*Endpoints) GetOrgByDomain ¶
func (e *Endpoints) GetOrgByDomain(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetOrgByDomain 通过域名查询企业
func (*Endpoints) GetOrgNexus ¶
func (*Endpoints) GetProject ¶
func (e *Endpoints) GetProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetProject 获取项目详情
func (*Endpoints) GetPublisher ¶
func (e *Endpoints) GetPublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
GetPublisher 获取Publisher详情
func (*Endpoints) GetReviewByTaskId ¶
func (*Endpoints) GetReviewsBySponsorId ¶
func (*Endpoints) GetReviewsByUserId ¶
func (*Endpoints) GetTicket ¶
func (e *Endpoints) GetTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
GetTicket 获取工单详情
func (*Endpoints) GetWorkbenchData ¶
func (*Endpoints) HeadFile ¶
func (e *Endpoints) HeadFile(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) (err error)
HeadFile 文件 HEAD 请求
func (*Endpoints) ImportConfigs ¶
func (*Endpoints) ImportExcelIssue ¶
func (e *Endpoints) ImportExcelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ImportExcelIssue 从excel导入事项
func (*Endpoints) Info ¶
func (e *Endpoints) Info(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
Info 用于健康检查
func (*Endpoints) InitApplication ¶
func (e *Endpoints) InitApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
InitApplication 应用初始化
func (*Endpoints) ListActivity ¶
func (e *Endpoints) ListActivity(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListActivity 活动列表
func (*Endpoints) ListAllOrgClusterRelation ¶
func (e *Endpoints) ListAllOrgClusterRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListAllOrgClusterRelation 获取所有企业对应集群关系
func (Endpoints) ListAppTemplates ¶
func (e Endpoints) ListAppTemplates(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListAppTemplates 列出应用模板
func (*Endpoints) ListApplication ¶
func (e *Endpoints) ListApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListApplication 所有应用列表
func (*Endpoints) ListApproves ¶
func (e *Endpoints) ListApproves(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListApprove 所有Approve列表
func (*Endpoints) ListAudits ¶
func (e *Endpoints) ListAudits(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListAudits 查看所有审计事件
func (*Endpoints) ListCertificates ¶
func (e *Endpoints) ListCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListCertificate 所有Certificate列表
func (*Endpoints) ListCloudAccount ¶
func (e *Endpoints) ListCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListCloudAccount 云账号列表/云账号查询
func (*Endpoints) ListCluster ¶
func (e *Endpoints) ListCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListCluster 获取集群列表(可按orgID过滤)
func (*Endpoints) ListComments ¶
func (e *Endpoints) ListComments(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListComments 工单评论列表
func (*Endpoints) ListEdasContainers ¶
func (e *Endpoints) ListEdasContainers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListEdasContainers 获取 edas 实例列表 (内部调用)
func (*Endpoints) ListErrorLog ¶
func (e *Endpoints) ListErrorLog(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListErrorLog 根据resource查看错误日志
func (*Endpoints) ListFileTreeNodes ¶
func (*Endpoints) ListLabel ¶
func (e *Endpoints) ListLabel(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListLabel 获取标签列表
func (*Endpoints) ListLibReference ¶
func (e *Endpoints) ListLibReference(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListLibReference 库引用列表
func (*Endpoints) ListLibReferenceVersion ¶
func (e *Endpoints) ListLibReferenceVersion(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListLibReferenceVersion 移动应用引用库依赖版本列表
func (*Endpoints) ListMeberLabels ¶
func (e *Endpoints) ListMeberLabels(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListMeberLabels 查询dice所有的成员标签
func (*Endpoints) ListMember ¶
func (e *Endpoints) ListMember(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListMember 获取成员列表/查询成员
func (*Endpoints) ListMemberRoles ¶
func (e *Endpoints) ListMemberRoles(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListMemberRoles 获取企业下面的角色列表
func (*Endpoints) ListMemberRolesByUser ¶
func (e *Endpoints) ListMemberRolesByUser(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListMemberRolesByUser 查看某个用户的角色
func (*Endpoints) ListMyApplication ¶
func (e *Endpoints) ListMyApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListMyApplication 我的应用列表
func (*Endpoints) ListMyProject ¶
func (e *Endpoints) ListMyProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListMyProject 我的项目列表
func (*Endpoints) ListMyPublishers ¶
func (e *Endpoints) ListMyPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListMyPublisher 我的Publisher列表
func (*Endpoints) ListNotice ¶
func (e *Endpoints) ListNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListNotice 公告列表
func (*Endpoints) ListOrg ¶
func (e *Endpoints) ListOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListOrg 查询企业 GET /api/orgs?key=xxx(按企业名称过滤)
func (*Endpoints) ListOrgRunningTasks ¶
func (e *Endpoints) ListOrgRunningTasks(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListOrgRunningTasks 指定企业获取服务或者job列表
func (*Endpoints) ListProject ¶
func (e *Endpoints) ListProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListProject 所有项目列表
func (*Endpoints) ListProjectResourceUsage ¶
func (e *Endpoints) ListProjectResourceUsage(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListProjectResourceUsage 项目的 CPU/Memory 使用率的历史图表s
func (*Endpoints) ListPublicOrg ¶
func (e *Endpoints) ListPublicOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
Get public orgs
func (*Endpoints) ListPublicProject ¶
func (e *Endpoints) ListPublicProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListPublicProject 公开项目列表
func (*Endpoints) ListPublishers ¶
func (e *Endpoints) ListPublishers(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListPublisher 所有Publisher列表
func (*Endpoints) ListQuoteCertificates ¶
func (e *Endpoints) ListQuoteCertificates(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ListQuoteCertificates 所有Certificate列表
func (*Endpoints) ListScopeRole ¶
func (e *Endpoints) ListScopeRole(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListScopeRole 获取当前用户所有权限
func (*Endpoints) ListTicket ¶
func (e *Endpoints) ListTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListTicket 工单列表
func (*Endpoints) ListUser ¶
func (e *Endpoints) ListUser(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ListUser 根据user id列表批量获取用户
func (*Endpoints) NotifyDisable ¶
func (e *Endpoints) NotifyDisable(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
NotifyEnable 禁用通知
func (*Endpoints) NotifyEnable ¶
func (e *Endpoints) NotifyEnable(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
NotifyEnable 启用通知
func (*Endpoints) PagingIssueStreams ¶
func (e *Endpoints) PagingIssueStreams(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingIssueStreams 事件流分页查询
func (*Endpoints) PagingIssues ¶
func (e *Endpoints) PagingIssues(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingIssues 分页查询事件
func (*Endpoints) PagingIterations ¶
func (e *Endpoints) PagingIterations(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PagingIterations 分页查询迭代
func (Endpoints) PinApplication ¶
func (e Endpoints) PinApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
PinApplication pin应用
func (*Endpoints) PrepareAbilityApp ¶
func (e *Endpoints) PrepareAbilityApp(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
PrepareAbilityApp 能力相关 TODO addon-platform支持通过scheduler直接部署能力后,删除此API
func (*Endpoints) PublishNotice ¶
func (e *Endpoints) PublishNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PublishNotice 发布平台公告
func (*Endpoints) PushCertificateConfig ¶
func (e *Endpoints) PushCertificateConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
PushCertificateConfig 推送证书配置到配置管理
func (*Endpoints) PutAuditsSettings ¶
func (e *Endpoints) PutAuditsSettings(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
PutAuditsSettings 对企业设置事件清理周期
func (*Endpoints) QueryApplicationPublishItemRelations ¶
func (e *Endpoints) QueryApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryApplicationPublishItemRelations 查询应用和发布内容关联
func (*Endpoints) QueryBranchRules ¶
func (e *Endpoints) QueryBranchRules(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
QueryBranchRules 查询分支规则
func (*Endpoints) QueryMBox ¶
func (e *Endpoints) QueryMBox(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryMBox 查询站内信
func (*Endpoints) QueryNotifies ¶
func (e *Endpoints) QueryNotifies(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryNotifyGroup 查询通知
func (*Endpoints) QueryNotifiesBySource ¶
func (e *Endpoints) QueryNotifiesBySource(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryNotifiesBySource 根据source关联的通知
func (*Endpoints) QueryNotifyGroup ¶
func (e *Endpoints) QueryNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryNotifyGroup 查询通知组
func (*Endpoints) QueryNotifyHistories ¶
func (e *Endpoints) QueryNotifyHistories(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryNotifyHistories 查询通知发送历史
func (*Endpoints) QueryNotifyItems ¶
func (e *Endpoints) QueryNotifyItems(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
QueryNotifyItems 查询通知项
func (*Endpoints) QuoteCertificate ¶
func (e *Endpoints) QuoteCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
QuoteCertificate 应用引用证书
func (*Endpoints) ReferCluster ¶
func (e *Endpoints) ReferCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
ReferCluster 查看集群是否被项目引用
func (*Endpoints) RemoveApplicationPublishItemRelations ¶
func (e *Endpoints) RemoveApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
RemoveApplicationPublishItemRelations 删除应用发布内容关联
func (*Endpoints) ReopenTicket ¶
func (e *Endpoints) ReopenTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ReopenTicket 重新打开工单
func (*Endpoints) Routes ¶
func (e *Endpoints) Routes() []httpserver.Endpoint
Routes 返回 endpoints 的所有 endpoint 方法,也就是 route.
func (*Endpoints) RunIssueAddOrRepairHistory ¶
func (*Endpoints) RunIssueHistory ¶
func (*Endpoints) ScopeRoleAccess ¶
func (e *Endpoints) ScopeRoleAccess(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
ScopeRoleAccess 根据 scope 返回对应权限列表
func (*Endpoints) SetFunctions ¶
func (e *Endpoints) SetFunctions(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
SetFunctions 设置项目功能开关
func (*Endpoints) SetMBoxReadStatus ¶
func (e *Endpoints) SetMBoxReadStatus(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
SetMBoxReadStatus 设置站内信已经读标记
func (*Endpoints) SetNotifyConfig ¶
func (e *Endpoints) SetNotifyConfig(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
SetNotifyConfig 设置通知配置
func (*Endpoints) SetReleaseCrossCluster ¶
func (*Endpoints) ShowOrgNexusPassword ¶
func (*Endpoints) SyncHostResource ¶
SyncHostResource 定时同步主机实际使用资源
func (*Endpoints) SyncTaskStatus ¶
SyncTaskStatus 定时同步主机实际使用资源
func (Endpoints) UnPinApplication ¶
func (e Endpoints) UnPinApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UnPinApplication unpin应用
func (*Endpoints) UnpublishNotice ¶
func (e *Endpoints) UnpublishNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UnpublishNotice 下架平台公告
func (*Endpoints) UpdateApplication ¶
func (e *Endpoints) UpdateApplication(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateApplication 更新应用
func (*Endpoints) UpdateApplicationPublishItemRelations ¶
func (e *Endpoints) UpdateApplicationPublishItemRelations(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateApplicationPublishItemRelations 更新应用发布内容关联
func (*Endpoints) UpdateApproval ¶
func (*Endpoints) UpdateApprove ¶
func (e *Endpoints) UpdateApprove(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateApprove 更新Approve
func (*Endpoints) UpdateBranchRule ¶
func (e *Endpoints) UpdateBranchRule(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateBranchRule 更新分支规则
func (*Endpoints) UpdateCertificate ¶
func (e *Endpoints) UpdateCertificate(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateCertificate 更新Certificate
func (*Endpoints) UpdateCloudAccount ¶
func (e *Endpoints) UpdateCloudAccount(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateCloudAccount 更新云账号
func (*Endpoints) UpdateCluster ¶
func (e *Endpoints) UpdateCluster(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateCluster 更新集群
func (*Endpoints) UpdateComment ¶
func (e *Endpoints) UpdateComment(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateComment 编辑工单评论
func (*Endpoints) UpdateConfigs ¶
func (e *Endpoints) UpdateConfigs(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateConfigs 更新配置信息
func (*Endpoints) UpdateInstanceBySchedulerEvent ¶
func (*Endpoints) UpdateIssue ¶
func (e *Endpoints) UpdateIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssue 更新事件
func (*Endpoints) UpdateIssuePanel ¶
func (e *Endpoints) UpdateIssuePanel(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssuePanel update panel
func (*Endpoints) UpdateIssuePanelIssue ¶
func (e *Endpoints) UpdateIssuePanelIssue(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssuePanelIssue update panelIssue
func (*Endpoints) UpdateIssuePropertiesIndex ¶
func (*Endpoints) UpdateIssueProperty ¶
func (*Endpoints) UpdateIssuePropertyInstance ¶
func (*Endpoints) UpdateIssueStateRelation ¶
func (e *Endpoints) UpdateIssueStateRelation(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssueStateRelation 更新工作流
func (*Endpoints) UpdateIssueType ¶
func (e *Endpoints) UpdateIssueType(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIssueType 转换事件类型
func (*Endpoints) UpdateIteration ¶
func (e *Endpoints) UpdateIteration(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateIteration 更新 iteration
func (*Endpoints) UpdateLabel ¶
func (e *Endpoints) UpdateLabel(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateLabel 更新标签
func (*Endpoints) UpdateMemberUserInfo ¶
func (e *Endpoints) UpdateMemberUserInfo(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateMemberUserInfo 更新成员 user info 的数据,和 uc 同步
func (*Endpoints) UpdateNotice ¶
func (e *Endpoints) UpdateNotice(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateNotice 编辑平台公告
func (*Endpoints) UpdateNotify ¶
func (e *Endpoints) UpdateNotify(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateNotifyGroup 更新通知
func (*Endpoints) UpdateNotifyGroup ¶
func (e *Endpoints) UpdateNotifyGroup(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateNotifyGroup 更新通知组
func (*Endpoints) UpdateNotifyItem ¶
func (e *Endpoints) UpdateNotifyItem(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateNotifyItem 更新通知项
func (*Endpoints) UpdateOrg ¶
func (e *Endpoints) UpdateOrg(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateOrg 更新企业
func (*Endpoints) UpdateOrgIngress ¶
func (e *Endpoints) UpdateOrgIngress(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
更新企业Ingress
func (*Endpoints) UpdateProject ¶
func (e *Endpoints) UpdateProject(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateProject 更新项目
func (*Endpoints) UpdateProjectActiveTime ¶
func (e *Endpoints) UpdateProjectActiveTime(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdateProjectActiveTime 更新项目活跃时间
func (*Endpoints) UpdatePublisher ¶
func (e *Endpoints) UpdatePublisher(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UpdatePublisher 更新Publisher
func (*Endpoints) UpdateTicket ¶
func (e *Endpoints) UpdateTicket(ctx context.Context, r *http.Request, vars map[string]string) ( httpserver.Responser, error)
UpdateTicket 更新工单
func (*Endpoints) UploadFile ¶
func (e *Endpoints) UploadFile(ctx context.Context, r *http.Request, vars map[string]string) (httpserver.Responser, error)
UploadFile 上传文件至存储
type Option ¶
type Option func(*Endpoints)
func WithActivity ¶
WithActivity 配置 activity service
func WithAppCertificate ¶
func WithAppCertificate(cer *appcertificate.AppCertificate) Option
WithAppCertificate 配置证书 service
func WithApprove ¶
func WithBranchRule ¶
func WithBranchRule(branchRule *branchrule.BranchRule) Option
WithBranchRule 配置 branchRule
func WithCertificate ¶
func WithCertificate(cer *certificate.Certificate) Option
WithCertificate 配置证书 service
func WithCloudAccount ¶
func WithCloudAccount(account *cloudaccount.CloudAccount) Option
WithCloudAccount 配置 cloudaccount service
func WithContainer ¶
WithContainer 配置 container service
func WithEnvConfig ¶
func WithEnvConfig(envConfig *environment.EnvConfig) Option
WithEnvConfig 配置 env config
func WithErrorBox ¶
func WithFileSvc ¶
func WithFileSvc(svc *filesvc.FileService) Option
func WithGittarFileTree ¶
func WithIssuePanel ¶
func WithIssuePanel(panel *issuepanel.IssuePanel) Option
func WithIssueProperty ¶
func WithIssueProperty(property *issueproperty.IssueProperty) Option
WithIssue 配置 issueStream
func WithIssueRelated ¶
func WithIssueRelated(ir *issuerelated.IssueRelated) Option
func WithIssueState ¶
func WithIssueState(state *issuestate.IssueState) Option
func WithIssueStream ¶
func WithIssueStream(stream *issuestream.IssueStream) Option
WithIssue 配置 issueStream
func WithJSONStore ¶
WithJSONStore 配置 jsonstore
func WithLibReference ¶
func WithLibReference(libReference *libreference.LibReference) Option
WithLibReference 设置 libReference service
func WithManualReview ¶
func WithManualReview(ManualReview *manual_review.ManualReview) Option
WithManualReview 配置 ManualReview service
func WithNamespace ¶
WithNamespace 配置 namespace service
func WithNotify ¶
func WithNotify(notifyGroup *notify.NotifyGroup) Option
WithNotify 配置 notify group service
func WithPermission ¶
func WithPermission(permission *permission.Permission) Option
WithPermission 配置 permission service
func WithPublisher ¶
WithPublisher 配置 publisher service
func WithQueryStringDecoder ¶
WithQueryStringDecoder 配置 queryStringDecoder
type SimplifyConfig ¶
Source Files
¶
- account.go
- activity.go
- application.go
- approve.go
- audit.go
- branch_rule.go
- certificate.go
- cluster.go
- cmdb_app.go
- cmdb_container.go
- cmdb_host.go
- cmdb_usage.go
- comment.go
- config.go
- endpoints.go
- errorbox.go
- file.go
- filetree.go
- image.go
- info.go
- instance_events.go
- issue.go
- issue_panel.go
- issue_property.go
- issue_property_instace.go
- issue_related.go
- issue_stage.go
- issue_state.go
- issue_stream.go
- iteration.go
- label.go
- lib-reference.go
- license.go
- manual_review.go
- mbox.go
- member.go
- monitor.go
- namespace.go
- nexus.go
- notice.go
- notify.go
- notify_group.go
- notify_history.go
- notify_item.go
- notify_source.go
- organization.go
- permission.go
- process.go
- project.go
- publisher.go
- ticket.go
- user.go
- workbench.go