Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + const ApplicationEvent + const ApprovalStatusChangedEvent + const ApproveEvent + const AutoTestPlanExecuteEvent + const ClusterEvent + const CreateAction + const DeleteAction + const GitPushEvent + const IssueEvent + const OrgEvent + const PipelineYmlEvent + const ProjectEvent + const ReleaseEvent + const RoleAppDev + const RoleAppGuest + const RoleAppLead + const RoleAppOps + const RoleAppOwner + const RoleAppQA + const RoleOrgDataEngineer + const RoleOrgDataManager + const RoleOrgDev + const RoleOrgEdgeAppEngineer + const RoleOrgGuest + const RoleOrgManager + const RoleOrgOps + const RoleOrgReporter + const RoleOrgSupport + const RoleProjectDev + const RoleProjectGuest + const RoleProjectLead + const RoleProjectOwner + const RoleProjectPD + const RoleProjectPM + const RoleProjectQA + const RoleProjectReporter + const RolePublisherManager + const RolePublisherMember + const RoleSysManager + const RuntimeEvent + const UpdateAction + var RepoNotExist = errors.New("repo not exist.") + func EncodeBranch(branch string) string + func GetApplicationRuntimesAPI() string + func GetRuntimeServicesAPI(runtimeID uint64) string + type AbilityAppReq struct + ApplicationName string + ClusterId uint64 + ClusterName string + Operator string + OrgId uint64 + type Bundle struct + func New(options ...Option) *Bundle + func (b *Bundle) AddMember(req apistructs.MemberAddRequest, userID string) error + func (b *Bundle) AddOrUpdateNamespaceConfig(namespace string, items []apistructs.EnvConfig, encrypt bool) error + func (b *Bundle) AddonConfigCallback(addonID string, req apistructs.AddonConfigCallBackResponse) (*apistructs.PostAddonConfigCallBackResponse, error) + func (b *Bundle) AddonConfigCallbackProvison(addonID string, req apistructs.AddonCreateCallBackResponse) (*apistructs.PostAddonConfigCallBackResponse, error) + func (b *Bundle) AddonMetrics(path string, paramValues url.Values) (map[string]interface{}, error) + func (b *Bundle) BatchCreateAuditEvent(audits *apistructs.AuditBatchCreateRequest) error + func (b *Bundle) BatchGetRuntimeServices(runtimeIDs []uint64, orgID, userID string) (map[uint64]*GetRuntimeServicesResponseData, error) + func (b *Bundle) BatchUpdateDelete(req apistructs.RuntimeScaleRecords, orgID uint64, userID, action string) (apistructs.BatchRuntimeDeleteResults, error) + func (b *Bundle) BatchUpdateReDeploy(req apistructs.RuntimeScaleRecords, orgID uint64, userID, action string) (apistructs.BatchRuntimeReDeployResults, error) + func (b *Bundle) BatchUpdateScale(req apistructs.RuntimeScaleRecords, orgID uint64, userID, action string) (apistructs.BatchRuntimeScaleResults, error) + func (b *Bundle) CancelDiceAutotestScene(req apistructs.AutotestCancelSceneRequest) (string, error) + func (b *Bundle) CancelDiceAutotestTestPlan(req apistructs.AutotestCancelTestPlansRequest) (string, error) + func (b *Bundle) CancelPipeline(req pb.PipelineCancelRequest) error + func (b *Bundle) CheckIfRoleIsManager(role string) bool + func (b *Bundle) CheckPermission(req *apistructs.PermissionCheckRequest) (*apistructs.PermissionCheckResponseData, error) + func (b *Bundle) CloseMergeRequest(appID int64, mrID int, userID string) error + func (b *Bundle) CloseTicket(ticketID int64, userID string) (int64, error) + func (b *Bundle) CollectLogs(source string, body io.Reader) error + func (b *Bundle) CollectMetrics(metrics *apistructs.Metrics) error + func (b *Bundle) CollectNotifyMetrics(metrics *apistructs.Metric) error + func (b *Bundle) CopyAutoTestScene(req apistructs.AutotestSceneCopyRequest) (uint64, error) + func (b *Bundle) CopyTestSpace(spaceID uint64, userID string) error + func (b *Bundle) CordonNode(req *apistructs.SteveRequest) error + func (b *Bundle) CountAppByProID(proID uint64) (int64, error) + func (b *Bundle) CountMembersWithoutExtraByScope(scopeType string, scopeID uint64) (int, error) + func (b *Bundle) CreateAPIAsset(req apistructs.APIAssetCreateRequest) (apistructs.APIAssetID, error) + func (b *Bundle) CreateApp(req apistructs.ApplicationCreateRequest, userID string) (*apistructs.ApplicationDTO, error) + func (b *Bundle) CreateAppWithRepo(req apistructs.ApplicationCreateRequest, userID string) (*apistructs.ApplicationDTO, error) + func (b *Bundle) CreateApprove(req *apistructs.ApproveCreateRequest, userID string) (*apistructs.ApproveDTO, error) + func (b *Bundle) CreateAuditEvent(audits *apistructs.AuditCreateRequest) error + func (b *Bundle) CreateAutoTestScene(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) CreateAutoTestSceneInput(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) CreateAutoTestSceneOutput(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) CreateAutoTestSceneStep(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) CreateCheckRun(appID int64, request apistructs.CheckRun, userID string) (*apistructs.CheckRun, error) + func (b *Bundle) CreateClientConsumer(orgID, userID string, clientName string) (dto *apistructs.ClientInfoDto, err error) + func (b *Bundle) CreateCloudAddon(orgID, userID, pathWithName string, body *map[string]interface{}) (*apistructs.CreateCloudResourceBaseResponseData, error) + func (b *Bundle) CreateCloudAddonWithInstance(orgID, userID, pathWithName, resourceName string, body *map[string]interface{}) (*apistructs.CreateCloudResourceBaseResponseData, error) + func (b *Bundle) CreateCluster(req *apistructs.ClusterCreateRequest, header ...http.Header) error + func (b *Bundle) CreateClusterWithOrg(userID string, orgID uint64, req *apistructs.ClusterCreateRequest, ...) error + func (b *Bundle) CreateComment(req *apistructs.CommentCreateRequest) (int64, error) + func (b *Bundle) CreateCustomAddon(userID, orgID string, req apistructs.CustomAddonCreateRequest) (map[string]interface{}, error) + func (b *Bundle) CreateDingTalkWorkNotify(templatename string, params map[string]string, locale string, orgid uint64, ...) error + func (b *Bundle) CreateEdgeApp(req *apistructs.EdgeAppCreateRequest, identify apistructs.Identity) error + func (b *Bundle) CreateEdgeCfgSetItem(req *apistructs.EdgeCfgSetItemCreateRequest, identify apistructs.Identity) error + func (b *Bundle) CreateEdgeConfigset(req *apistructs.EdgeConfigSetCreateRequest, identify apistructs.Identity) error + func (b *Bundle) CreateEdgeSite(req *apistructs.EdgeSiteCreateRequest, identify apistructs.Identity) error + func (b *Bundle) CreateEmailNotify(templatename string, params map[string]string, locale string, orgid uint64, ...) error + func (b *Bundle) CreateEndpoint(orgID, userID, projectID string, workspace string, ...) (endpointID string, err error) + func (b *Bundle) CreateErrorLog(errorLog *apistructs.ErrorLogCreateRequest) error + func (b *Bundle) CreateEvent(ev *apistructs.EventCreateRequest) error + func (b *Bundle) CreateEventNotify(ev *apistructs.EventBoxRequest) error + func (b *Bundle) CreateFileTreeNodes(req apistructs.UnifiedFileTreeNodeCreateRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) CreateGatewayTenant(req *apistructs.GatewayTenantRequest) error + func (b *Bundle) CreateGittarBranch(repo string, branchInfo apistructs.GittarCreateBranchRequest, orgID string, ...) error + func (b *Bundle) CreateGittarCommit(repo string, request apistructs.GittarCreateCommitRequest, userID string) (*apistructs.GittarCreateCommitResponse, error) + func (b *Bundle) CreateGittarCommitV2(repo string, request apistructs.GittarCreateCommitRequest, orgID int, ...) (*apistructs.GittarCreateCommitResponse, error) + func (b *Bundle) CreateGittarCommitV3(orgID uint64, userID, repo string, ...) (*apistructs.GittarCreateCommitResponse, error) + func (b *Bundle) CreateGittarFileTreeNodes(req apistructs.UnifiedFileTreeNodeCreateRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) CreateGroupNotifyEvent(groupNotifyRequest apistructs.EventBoxGroupNotifyRequest) error + func (b *Bundle) CreateIssueTicket(createReq apistructs.IssueCreateRequest) (uint64, error) + func (b *Bundle) CreateJob(job apistructs.JobFromUser) (jsonResp apistructs.JobCreateResponse, err error) + func (b *Bundle) CreateLabel(req apistructs.ProjectLabelCreateRequest) (int64, error) + func (b *Bundle) CreateMBox(request *apistructs.CreateMBoxRequest) error + func (b *Bundle) CreateMSPTenant(projectID, workspace, tenantType, tenantGroup string) (string, error) + func (b *Bundle) CreateMboxNotify(templatename string, params map[string]string, locale string, orgid uint64, ...) error + func (b *Bundle) CreateMergeRequest(appID uint64, userID string, req apistructs.GittarCreateMergeRequest) (*apistructs.MergeRequestInfo, error) + func (b *Bundle) CreateMessage(message *apistructs.MessageCreateRequest) error + func (b *Bundle) CreateNamespace(createReq apistructs.NamespaceCreateRequest) error + func (b *Bundle) CreateNamespaceRelations(createReq apistructs.NamespaceRelationCreateRequest) error + func (b *Bundle) CreateNoticeRequest(userID string, orgID uint64, body io.Reader) (*apistructs.NoticeCreateResponse, error) + func (b *Bundle) CreateNotifyGroup(orgID string, userID string, request *apistructs.CreateNotifyGroupRequest) (*apistructs.NotifyGroup, error) + func (b *Bundle) CreateNotifyHistory(request *apistructs.CreateNotifyHistoryRequest) (int64, error) + func (b *Bundle) CreateOrEditNotify(submitData *apistructs.EditOrCreateModalData, inParams *apistructs.InParams, ...) error + func (b *Bundle) CreateOrUpdateClientLimits(orgID, userID, clientID, endpointID string, limits []apistructs.LimitType) (err error) + func (b *Bundle) CreateOrUpdateComponentIngress(req apistructs.ComponentIngressUpdateRequest) error + func (b *Bundle) CreateOrUpdateEndpointRootRoute(orgID, userID, endpointID, redirectAddr, redirectPath string) (err error) + func (b *Bundle) CreateOrgClusterRelationsByOrg(clusterName string, userID string, orgID uint64) error + func (b *Bundle) CreatePipeline(req interface{}) (*basepb.PipelineDTO, error) + func (b *Bundle) CreateProject(req apistructs.ProjectCreateRequest, userID string) (uint64, error) + func (b *Bundle) CreateProjectWorkSpaceAbilities(req apistructs.ProjectWorkSpaceAbility, orgID uint64, userID string) error + func (b *Bundle) CreateQaFileTreeNodes(req apistructs.UnifiedFileTreeNodeCreateRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) CreateRelease(req apistructs.ReleaseCreateRequest, orgID uint64, userID string) (string, error) + func (b *Bundle) CreateRepo(repo apistructs.CreateRepoRequest) (*apistructs.CreateRepoResponseData, error) + func (b *Bundle) CreateRuntime(req apistructs.RuntimeCreateRequest, orgID uint64, userID string) (*apistructs.DeploymentCreateResponseDTO, error) + func (b *Bundle) CreateSceneSet(req apistructs.SceneSetRequest) (*uint64, error) + func (b *Bundle) CreateServiceGroup(sg apistructs.ServiceGroupCreateV2Request) error + func (b *Bundle) CreateSteveResource(req *apistructs.SteveRequest) (data.Object, error) + func (b *Bundle) CreateSubscribe(userID, orgID string, req apistructs.CreateSubscribeReq) (string, error) + func (b *Bundle) CreateTestAPI(req apistructs.ApiTestInfo) error + func (b *Bundle) CreateTestCase(req apistructs.TestCaseCreateRequest) (apistructs.AICreateTestCaseResponse, error) + func (b *Bundle) CreateTestPlanV2(req apistructs.TestPlanV2CreateRequest) error + func (b *Bundle) CreateTestPlansV2Step(req apistructs.TestPlanV2StepAddRequest) (uint64, error) + func (b *Bundle) CreateTestReportRecord(req apistructs.TestReportRecord) (uint64, error) + func (b *Bundle) CreateTestSet(req apistructs.TestSetCreateRequest) (*apistructs.TestSet, error) + func (b *Bundle) CreateTestSpace(req *apistructs.AutoTestSpaceCreateRequest, userID string) error + func (b *Bundle) CreateTicket(requestID string, req *apistructs.TicketCreateRequest) (int64, error) + func (b *Bundle) CreateWebhook(r apistructs.CreateHookRequest) error + func (b *Bundle) CronCreate(req *cronpb.CronCreateRequest) (*pb.Cron, error) + func (b *Bundle) CronStart(req *cronpb.CronStartRequest) (*pb.Cron, error) + func (b *Bundle) CronStop(req *cronpb.CronStopRequest) (*pb.Cron, error) + func (b *Bundle) CronUpdate(req *cronpb.CronUpdateRequest) error + func (b *Bundle) DecreaseReference(releaseID string) error + func (b *Bundle) DeleteAddon(addonID string, orgID string, userID string) (*apistructs.AddonFetchResponseData, error) + func (b *Bundle) DeleteApp(appID uint64, userID string) (*apistructs.ApplicationDTO, error) + func (b *Bundle) DeleteAutoTestScene(req apistructs.AutotestSceneRequest) error + func (b *Bundle) DeleteAutoTestSceneInput(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) DeleteAutoTestSceneStep(req apistructs.AutotestSceneRequest) error + func (b *Bundle) DeleteClientConsumer(orgID, userID, clientID string) (err error) + func (b *Bundle) DeleteCloudAddon(orgID, userID, pathWithName string, body *map[string]interface{}) error + func (b *Bundle) DeleteCloudAddonResource(orgID, userID, pathWithName, resourceName string, body *map[string]interface{}) error + func (b *Bundle) DeleteCluster(clusterName string, header ...http.Header) error + func (b *Bundle) DeleteCron(cronID uint64) error + func (b *Bundle) DeleteDiceFile(uuid string) error + func (b *Bundle) DeleteEdgeApp(appID int64, identify apistructs.Identity) error + func (b *Bundle) DeleteEdgeCfgSetItem(siteID int64, identify apistructs.Identity) error + func (b *Bundle) DeleteEdgeConfigset(siteID int64, identify apistructs.Identity) error + func (b *Bundle) DeleteEdgeSite(siteID int64, identify apistructs.Identity) error + func (b *Bundle) DeleteEndpoint(orgID, userID, endpointID string) (err error) + func (b *Bundle) DeleteFileTreeNodes(req apistructs.UnifiedFileTreeNodeDeleteRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) DeleteGitRepo(gitRepo string) error + func (b *Bundle) DeleteGittarBranch(repo, orgID, branch, userID string) error + func (b *Bundle) DeleteGittarFileTreeNodes(req apistructs.UnifiedFileTreeNodeDeleteRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) DeleteImageManifests(clusterIDOrName string, images []string) (*apistructs.RegistryManifestsRemoveResponseData, error) + func (b *Bundle) DeleteJob(namespace string, name string) (jsonResp apistructs.JobDeleteResponse, err error) + func (b *Bundle) DeleteMember(req apistructs.MemberRemoveRequest) error + func (b *Bundle) DeleteNamespace(name string) error + func (b *Bundle) DeleteNamespaceConfig(namespace string, key string) error + func (b *Bundle) DeleteNamespaceRelation(defaultNamespace string) error + func (b *Bundle) DeleteNotice(noticeID, orgID uint64, userID string) (*apistructs.NoticeDeleteResponse, error) + func (b *Bundle) DeleteNotifyGroup(id int64, orgID string) (*apistructs.NotifyGroup, error) + func (b *Bundle) DeleteNotifyRecord(scope, scopeId string, id uint64, userId string) error + func (b *Bundle) DeletePipeline(pipelineID uint64) error + func (b *Bundle) DeletePipelineAction(req *pb.PipelineActionDeleteRequest) error + func (b *Bundle) DeleteProject(id, orgID uint64, userID string) (*apistructs.ProjectDTO, error) + func (b *Bundle) DeleteProjectWorkSpaceAbilities(projectID uint64, workspace string, orgID uint64, userID string) error + func (b *Bundle) DeleteQaFileTreeNodes(req apistructs.UnifiedFileTreeNodeDeleteRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) DeleteReleases(orgID uint64, userID string, req apistructs.ReleasesDeleteRequest) error + func (b *Bundle) DeleteRepo(appID int64) error + func (b *Bundle) DeleteRuntimeService(runtimeID uint64) error + func (b *Bundle) DeleteSceneSet(req apistructs.SceneSetRequest) error + func (b *Bundle) DeleteServiceGroup(namespace, name string) error + func (b *Bundle) DeleteSteveResource(req *apistructs.SteveRequest) error + func (b *Bundle) DeleteSubscribe(userID, orgID string, req apistructs.UnSubscribeReq) error + func (b *Bundle) DeleteTestAPI(apiID int64) error + func (b *Bundle) DeleteTestPlansV2Step(req apistructs.TestPlanV2StepDeleteRequest) error + func (b *Bundle) DeleteTestSpace(id uint64, userID string) error + func (b *Bundle) DeleteTicket(ticketID int64) (int64, error) + func (b *Bundle) DeleteTicketByTargetID(targetID int64, ticketType string, targetType string) error + func (b *Bundle) DeleteWebhook(r apistructs.DeleteHookRequest) error + func (b *Bundle) DestroyUsers(req apistructs.MemberDestroyRequest) error + func (b *Bundle) DoRemoteAliyunAction(orgId, clusterName, endpointType string, endpointMap map[string]string, ...) error + func (b *Bundle) DownloadDiceFile(uuid string) (io.ReadCloser, error) + func (b *Bundle) DownloadRelease(orgID uint64, userID, releaseId, distDir string) (string, error) + func (b *Bundle) DragSceneSet(req apistructs.SceneSetRequest) error + func (b *Bundle) ExecuteApiTest(req apistructs.ApiTestsActionRequest) (uint64, error) + func (b *Bundle) ExecuteDiceAutotestScene(req apistructs.AutotestExecuteSceneRequest) (*apistructs.AutotestExecuteSceneResponse, error) + func (b *Bundle) ExecuteDiceAutotestSceneStep(req apistructs.AutotestExecuteSceneStepRequest) (*apistructs.AutotestExecuteSceneStepResp, error) + func (b *Bundle) ExecuteDiceAutotestTestPlan(req apistructs.AutotestExecuteTestPlansRequest) (*apistructs.AutotestExecuteTestPlansResponse, error) + func (b *Bundle) ExportAuditExcel(orgID, userID, lang string, params url.Values) (io.ReadCloser, *httpclient.Response, error) + func (b *Bundle) ExportAutotestSceneSet(userID string, req apistructs.AutoTestSceneSetExportRequest) error + func (b *Bundle) ExportTestSpace(userID string, req apistructs.AutoTestSpaceExportRequest) error + func (b *Bundle) FetchDeploymentConfig(namespace string) (map[string]string, map[string]string, error) + func (b *Bundle) FetchDeploymentConfigDetail(namespace string) ([]apistructs.EnvConfig, []apistructs.EnvConfig, error) + func (b *Bundle) FetchNamespaceConfig(fetchReq apistructs.EnvConfigFetchRequest) (map[string]string, error) + func (b *Bundle) FetchNamespacesBelongsTo(ctx context.Context, orgID uint64, clusters []string) (*apistructs.GetProjectsNamesapcesResponseData, error) + func (b *Bundle) FetchPublisher(publisherID uint64) (*apistructs.PublisherDTO, error) + func (b *Bundle) FetchQuotaOnClusters(orgID uint64, clusterNames []string) (*apistructs.GetQuotaOnClustersResponse, error) + func (b *Bundle) FindClusterResource(clusterName, orgID string) (*apistructs.ResourceReferenceData, error) + func (b *Bundle) FindFileTreeNodeAncestors(req apistructs.UnifiedFileTreeNodeFindAncestorsRequest, orgID uint64) (result []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) FindGittarFileTreeNodeAncestors(req apistructs.UnifiedFileTreeNodeFindAncestorsRequest, orgID uint64) (result []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) FindQaFileTreeNodeAncestors(req apistructs.UnifiedFileTreeNodeFindAncestorsRequest, orgID uint64) (result []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) ForceDeleteServiceGroup(req apistructs.ServiceGroupDeleteRequest) error + func (b *Bundle) FuzzySearchFileTreeNodes(query apistructs.UnifiedFileTreeNodeFuzzySearchRequest, orgID uint64) (result []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) FuzzySearchGittarFileTreeNodes(query apistructs.UnifiedFileTreeNodeFuzzySearchRequest, orgID uint64) (result []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) FuzzySearchQaFileTreeNodes(query apistructs.UnifiedFileTreeNodeFuzzySearchRequest, orgID uint64) (result []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) GetAPIOperation(orgID uint64, userID string, id uint64) (*apistructs.APIOperation, error) + func (b *Bundle) GetAddon(addonid string, orgID string, userID string) (*apistructs.AddonFetchResponseData, error) + func (b *Bundle) GetAllGroups(scope, scopeId, orgId, userId string) ([]apistructs.AllGroups, error) + func (b *Bundle) GetAllMyApps(userid string, orgid uint64, req apistructs.ApplicationListRequest) (*apistructs.ApplicationListResponseData, error) + func (b *Bundle) GetAllOrganizational() (*apistructs.GetAllOrganizationalData, error) + func (b *Bundle) GetAllProjects() ([]apistructs.ProjectDTO, error) + func (b *Bundle) GetAllTemplates(scope, scopeId, userId string) (map[string]string, error) + func (b *Bundle) GetAllValidBranchWorkspace(appId uint64, userID string) ([]apistructs.ValidBranch, error) + func (b *Bundle) GetApp(id uint64) (*apistructs.ApplicationDTO, error) + func (b *Bundle) GetAppBranchRules(appId uint64) ([]*apistructs.BranchRule, error) + func (b *Bundle) GetAppIDByNames(projectID uint64, userID string, names []string) (*apistructs.GetAppIDByNamesResponseData, error) + func (b *Bundle) GetAppList(orgID, userID string, req apistructs.ApplicationListRequest) (*apistructs.ApplicationListResponseData, error) + func (b *Bundle) GetAppPublishItemRelationsGroupByENV(appID uint64) (*apistructs.QueryAppPublishItemRelationGroupByENVResponse, error) + func (b *Bundle) GetApplicationRuntimes(applicationID uint64, orgID uint64, userID string) ([]*GetApplicationRuntimesDataEle, error) + func (b *Bundle) GetApprove(orgID, userID string, approveID int64) (*apistructs.ApproveDetailResponse, error) + func (b *Bundle) GetAppsByProject(projectID, orgID uint64, userID string) (*apistructs.ApplicationListResponseData, error) + func (b *Bundle) GetAppsByProjectAndAppName(projectID, orgID uint64, userID string, appName string, header ...http.Header) (*apistructs.ApplicationListResponseData, error) + func (b *Bundle) GetAppsByProjectSimple(projectID, orgID uint64, userID string) (*apistructs.ApplicationListResponseData, error) + func (b *Bundle) GetArchive(userID string, req apistructs.GittarArchiveRequest, distDir string) (string, error) + func (b *Bundle) GetAutoTestExecHistory(pipelineID uint64) (*apistructs.AutoTestExecHistoryDto, error) + func (b *Bundle) GetAutoTestScene(req apistructs.AutotestSceneRequest) (*apistructs.AutoTestScene, error) + func (b *Bundle) GetAutoTestSceneStep(req apistructs.AutotestGetSceneStepReq) (*apistructs.AutoTestSceneStep, error) + func (b *Bundle) GetAutoTestSpaceStats(spaceIDs []string) (map[uint64]*apistructs.AutoTestSpaceStats, error) + func (b *Bundle) GetBranchRules(scopeType apistructs.ScopeType, scopeID uint64) ([]*apistructs.BranchRule, error) + func (b *Bundle) GetBranchWorkspaceConfig(appId uint64, branch string) (*apistructs.ValidBranch, error) + func (b *Bundle) GetBranchWorkspaceConfigByProject(projectID uint64, branch string) (*apistructs.ValidBranch, error) + func (b *Bundle) GetClientCredentials(orgID, userID, clientID string) (dto *apistructs.ClientInfoDto, err error) + func (b *Bundle) GetCloudAccount(accountID uint64) (*apistructs.CloudAccountAllInfo, error) + func (b *Bundle) GetCluster(idOrName string) (*apistructs.ClusterInfo, error) + func (b *Bundle) GetClusterInfo(clusterName string, identify apistructs.Identity) (map[string]interface{}, error) + func (b *Bundle) GetClusterManagerClientData(clientType apistructs.ClusterManagerClientType, clusterKey string) (apistructs.ClusterManagerClientDetail, error) + func (b *Bundle) GetCron(cronID uint64) (*pb.Cron, error) + func (b *Bundle) GetCurrentUser(userID string) (*apistructs.UserInfo, error) + func (b *Bundle) GetDevFlowRule(projectID uint64) (*apistructs.DevFlowRule, error) + func (b *Bundle) GetDiceYAML(releaseID string, workspace ...string) (*diceyml.DiceYaml, error) + func (b *Bundle) GetEdgeApp(appID uint64, identify apistructs.Identity) (*apistructs.EdgeAppInfo, error) + func (b *Bundle) GetEdgeAppStatus(req *apistructs.EdgeAppStatusListRequest, identify apistructs.Identity) (*apistructs.EdgeAppStatusResponse, error) + func (b *Bundle) GetEdgeCfgSetItem(itemID int64, identify apistructs.Identity) (*apistructs.EdgeCfgSetItemInfo, error) + func (b *Bundle) GetEdgeConfigSet(itemID int64, identify apistructs.Identity) (*apistructs.EdgeConfigSetInfo, error) + func (b *Bundle) GetEdgeInstanceInfo(orgID int64, appName, site string, identify apistructs.Identity) ([]apistructs.InstanceInfoData, error) + func (b *Bundle) GetEdgeSite(siteID int64, identify apistructs.Identity) (*apistructs.EdgeSiteInfo, error) + func (b *Bundle) GetEdgeSiteInitShell(siteID int64, identify apistructs.Identity) (map[string]interface{}, error) + func (b *Bundle) GetEnabledNotifyChannelByType(orgID interface{}, channelType apistructs.NotifyChannelType) (*apistructs.NotifyChannelDTO, error) + func (b *Bundle) GetEndpoint(orgID, userID, endpointID string) (dto *apistructs.PackageInfoDto, err error) + func (b *Bundle) GetExtensionVersion(req apistructs.ExtensionVersionGetRequest) (*apistructs.ExtensionVersion, error) + func (b *Bundle) GetFileTreeNode(req apistructs.UnifiedFileTreeNodeGetRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) GetGittarBlobNode(repo, orgID, userID string) (string, error) + func (b *Bundle) GetGittarBlobNodeInfo(blobPath string, orgID, userID string) (*apistructs.GittarBlobRspData, error) + func (b *Bundle) GetGittarBranchDetail(repo, orgID, branch, userID string) (*apistructs.BranchDetail, error) + func (b *Bundle) GetGittarBranches(repo, userID string) ([]string, error) + func (b *Bundle) GetGittarBranchesV2(repo string, orgID string, onlyBranchNames bool, userID string) ([]string, error) + func (b *Bundle) GetGittarCommit(repo, ref, userID string) (*apistructs.Commit, error) + func (b *Bundle) GetGittarCompare(after, before string, appID int64, userID string) (*apistructs.GittarCompareData, error) + func (b *Bundle) GetGittarFile(repoUrl, ref, filePath, userName, passWord, userID string) (string, error) + func (b *Bundle) GetGittarFileTreeNode(req apistructs.UnifiedFileTreeNodeGetRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) GetGittarHost() (string, error) + func (b *Bundle) GetGittarLines(lines *GittarLines, userName, passWord string) ([]string, error) + func (b *Bundle) GetGittarStats(appID int64, userID string) (*apistructs.GittarStatsData, error) + func (b *Bundle) GetGittarTags(repo, userID string) ([]string, error) + func (b *Bundle) GetGittarTree(repo, orgID, userID string) (*apistructs.GittarTreeData, error) + func (b *Bundle) GetGittarTreeNode(repo string, orgID string, simple bool, userID string) (*apistructs.GittarTreeData, error) + func (b *Bundle) GetGittarTreeNodeInfo(treePath, orgID, userID string) (*apistructs.GittarTreeRspData, error) + func (b *Bundle) GetHostMetricInfo(clusterName string) (map[string]*apistructs.HostMetric, error) + func (b *Bundle) GetInstanceInfo(req apistructs.InstanceInfoRequest) (*apistructs.InstanceInfoResponse, error) + func (b *Bundle) GetIssue(id uint64) (*apistructs.Issue, error) + func (b *Bundle) GetIssueRelations(id uint64) (*apistructs.IssueRelations, error) + func (b *Bundle) GetIssueStage(orgID int64, issueType apistructs.IssueType) ([]apistructs.IssueStage, error) + func (b *Bundle) GetIssueStreams(req apistructs.IssueStreamPagingRequest) (data apistructs.IssueStreamPagingResponseData, err error) + func (b *Bundle) GetIteration(id uint64) (*apistructs.Iteration, error) + func (b *Bundle) GetJobStatus(namespace string, name string) (status apistructs.StatusCode, err error) + func (b *Bundle) GetLabel(id uint64) (*apistructs.ProjectLabel, error) + func (b *Bundle) GetLocale(locales ...string) *i18n.LocaleResource + func (b *Bundle) GetLocaleByRequest(request *http.Request) *i18n.LocaleResource + func (b *Bundle) GetLocaleLoader() *i18n.LocaleResourceLoader + func (b *Bundle) GetLog(orgName string, req apistructs.DashboardSpotLogRequest) (*apistructs.DashboardSpotLogData, error) + func (b *Bundle) GetMSPTenantProjects(userID, orgID string, withStats bool, projectIds []uint64) ([]*projpb.Project, error) + func (b *Bundle) GetMSProjects(orgID, userID string, params url.Values) ([]apistructs.MicroServiceProjectResponseData, error) + func (b *Bundle) GetMboxStats(identity apistructs.Identity) (int64, error) + func (b *Bundle) GetMemberByToken(request *apistructs.GetMemberByTokenRequest) (*apistructs.Member, error) + func (b *Bundle) GetMemberByUserAndScope(scopeType apistructs.ScopeType, userID string, scopeID uint64) ([]apistructs.Member, error) + func (b *Bundle) GetMembers(req apistructs.MemberListRequest) (*apistructs.MemberList, error) + func (b *Bundle) GetMergeBase(userID string, req apistructs.GittarMergeBaseRequest) (*apistructs.Commit, error) + func (b *Bundle) GetMergeRequestDetail(appID uint64, userID string, mrID uint64) (*apistructs.MergeRequestInfo, error) + func (b *Bundle) GetMonitorReportTasksByID(id int64) (*apistructs.ReportTask, error) + func (b *Bundle) GetMonitorStatusMetricDetails(metricID string) (*apistructs.MonitorStatusMetricDetails, error) + func (b *Bundle) GetMyApps(userid string, orgid uint64) (*apistructs.ApplicationListResponseData, error) + func (b *Bundle) GetMyAppsByProject(userid string, orgid, projectID uint64, appName string) (*apistructs.ApplicationListResponseData, error) + func (b *Bundle) GetMyManagedProjectIDs(orgID uint64, userID string) ([]uint64, error) + func (b *Bundle) GetMyProjectIDs(orgID uint64, userID string) ([]uint64, error) + func (b *Bundle) GetNexusOrgDockerCredentialByImage(orgID uint64, image string) (*apistructs.NexusUser, error) + func (b *Bundle) GetNotifyConfig(orgIDstr, userID string) (*apistructs.NotifyConfigUpdateRequestBody, error) + func (b *Bundle) GetNotifyConfigMS(userId, orgId string) (bool, error) + func (b *Bundle) GetNotifyDetail(id uint64) (*apistructs.DetailResponse, error) + func (b *Bundle) GetNotifyGroup(id int64, orgID string) (*apistructs.GetNotifyGroupResponse, error) + func (b *Bundle) GetNotifyGroupDetail(id int64, orgID int64, userID string) (*apistructs.NotifyGroupDetail, error) + func (b *Bundle) GetOAuth2Token(req apistructs.OAuth2TokenGetRequest) (*apistructs.OAuth2Token, error) + func (b *Bundle) GetOrg(idOrName interface{}) (*apistructs.OrgDTO, error) + func (b *Bundle) GetOrgAccount(orgId, vendor string) (*apistructs.CloudAccount, error) + func (b *Bundle) GetOrgClusterRelationsByOrg(orgID uint64) ([]apistructs.OrgClusterRelationDTO, error) + func (b *Bundle) GetPermissionByGitReference(branch *apistructs.ValidBranch) string + func (b *Bundle) GetPipeline(pipelineID uint64) (*pb.PipelineDetailDTO, error) + func (b *Bundle) GetPipelineActionParamsAndOutputs(req apistructs.SnippetQueryDetailsRequest) (map[string]apistructs.SnippetQueryDetail, error) + func (b *Bundle) GetPipelineGittarFolder(userID string, appID uint64, branch string) string + func (b *Bundle) GetPipelineReportSet(pipelineID uint64, types []string) (*apistructs.PipelineReportSet, error) + func (b *Bundle) GetPipelineTask(pipelineID, taskID uint64) (*apistructs.PipelineTaskDTO, error) + func (b *Bundle) GetPipelineTemplateVersion(request *apistructs.PipelineTemplateVersionGetRequest) (*apistructs.PipelineTemplateVersion, error) + func (b *Bundle) GetProject(id uint64) (*apistructs.ProjectDTO, error) + func (b *Bundle) GetProjectBranchRules(projectId uint64) ([]*apistructs.BranchRule, error) + func (b *Bundle) GetProjectByOrgIdAndName(orgId uint64, name string, userID string) (*apistructs.ProjectDTO, error) + func (b *Bundle) GetProjectListByStates(req apistructs.GetProjectIDListByStatesRequest) (*apistructs.GetProjectIDListByStatesData, error) + func (b *Bundle) GetProjectMetric(paramValues url.Values) (map[string]interface{}, error) + func (b *Bundle) GetProjectNamespaceInfo(projectID uint64) (*apistructs.ProjectNameSpaceInfo, error) + func (b *Bundle) GetProjectNamespaceWithoutErr(projectID uint64, workspace string) string + func (b *Bundle) GetProjectWithSetter(id uint64, requestSetter ...httpclient.RequestSetter) (*apistructs.ProjectDTO, error) + func (b *Bundle) GetProjectWorkSpaceAbilities(projectID uint64, workspace string, orgID uint64, userID string) (map[string]string, error) + func (b *Bundle) GetProjectsMap(req apistructs.GetModelProjectsMapRequest) (map[uint64]apistructs.ProjectDTO, error) + func (b *Bundle) GetPublishItem(publishItemID int64) (*apistructs.PublishItem, error) + func (b *Bundle) GetQaFileTreeNode(req apistructs.UnifiedFileTreeNodeGetRequest, orgID uint64) (result *apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) GetRelease(releaseID string) (*apistructs.ReleaseGetResponseData, error) + func (b *Bundle) GetRuntimeServices(runtimeID uint64, orgID uint64, userID string) (*GetRuntimeServicesResponseData, error) + func (b *Bundle) GetRuntimes(name, applicationId, workspace, orgID, userID string) ([]apistructs.RuntimeSummaryDTO, error) + func (b *Bundle) GetSceneSet(req apistructs.SceneSetRequest) (*apistructs.SceneSet, error) + func (b *Bundle) GetSceneSets(req apistructs.SceneSetRequest) ([]apistructs.SceneSet, error) + func (b *Bundle) GetSteveResource(req *apistructs.SteveRequest) (data.Object, error) + func (b *Bundle) GetTenantGroupDetails(tenantGroup string) (*apistructs.TenantGroupDetails, error) + func (b *Bundle) GetTenantGroupID(orgID, userID, projectID, workspace string) (id string, err error) + func (b *Bundle) GetTestAPI(apiID int64) (*apistructs.ApiTestInfo, error) + func (b *Bundle) GetTestPlanV2(testPlanID uint64) (*apistructs.TestPlanV2GetResponse, error) + func (b *Bundle) GetTestPlanV2Step(stepID uint64) (*apistructs.TestPlanV2Step, error) + func (b *Bundle) GetTestReportRecord(req apistructs.TestReportRecord) (apistructs.TestReportRecord, error) + func (b *Bundle) GetTestSetById(req apistructs.TestSetGetRequest) (*apistructs.TestSetWithAncestors, error) + func (b *Bundle) GetTestSets(req apistructs.TestSetListRequest) ([]apistructs.TestSet, error) + func (b *Bundle) GetTestSpace(id uint64) (*apistructs.AutoTestSpace, error) + func (b *Bundle) GetUcUserID(uuid string) (string, error) + func (b *Bundle) GetUserRelationPublisher(userID string, orgID string) (*apistructs.PagingPublisherDTO, error) + func (b *Bundle) GetWorkbenchData(userID string, req apistructs.WorkbenchRequest) (*apistructs.WorkbenchResponse, error) + func (b *Bundle) GetWorkspaceClusterByAppBranch(appID uint64, gitRef string) (app *apistructs.ApplicationDTO, project *apistructs.ProjectDTO, ...) + func (b *Bundle) GetWorkspaceNamespaces(req *apistructs.GetWorkspaceNamespaceRequest) ([]string, error) + func (b *Bundle) GetWorkspaceQuota(req *apistructs.GetWorkspaceQuotaRequest) (int64, int64, error) + func (b *Bundle) GrantEndpointToClient(orgID, userID, clientID, endpointID string) (err error) + func (b *Bundle) IncreaseReference(releaseID string) error + func (b *Bundle) InspectServiceGroup(namespace, name string) (*apistructs.ServiceGroup, error) + func (b *Bundle) InspectServiceGroupWithTimeout(namespace, name string) (*apistructs.ServiceGroup, error) + func (b *Bundle) InternalRemoveTestPlanCaseRelIssueRelationsByIssueID(issueID uint64) error + func (b *Bundle) InvalidateOAuth2Token(req apistructs.OAuth2TokenInvalidateRequest) (*apistructs.OAuth2Token, error) + func (b *Bundle) IsClusterManagerClientRegistered(clientType apistructs.ClusterManagerClientType, clusterKey string) (bool, error) + func (b *Bundle) IsEnabledProjectNamespaceWithoutErr(projectID uint64) bool + func (b *Bundle) KMSCreateKey(req apistructs.KMSCreateKeyRequest) (*kmstypes.CreateKeyResponse, error) + func (b *Bundle) KMSDecrypt(req apistructs.KMSDecryptRequest) (*kmstypes.DecryptResponse, error) + func (b *Bundle) KMSDescribeKey(req apistructs.KMSDescribeKeyRequest) (*kmstypes.DescribeKeyResponse, error) + func (b *Bundle) KMSEncrypt(req apistructs.KMSEncryptRequest) (*kmstypes.EncryptResponse, error) + func (b *Bundle) KMSGenerateDataKey(req apistructs.KMSGenerateDataKeyRequest) (*kmstypes.GenerateDataKeyResponse, error) + func (b *Bundle) KMSRotateKeyVersion(req apistructs.KMSRotateKeyVersionRequest) (*kmstypes.RotateKeyVersionResponse, error) + func (b *Bundle) LabelNode(req *apistructs.SteveRequest, labels map[string]string) error + func (b *Bundle) Labels(tp string, projectID uint64, userID string) (*apistructs.ProjectLabelListResponseData, error) + func (b *Bundle) ListAddonByProjectID(projectID, orgID int64) (*apistructs.AddonListResponse, error) + func (b *Bundle) ListAddonByRuntimeID(runtimeID string) (*apistructs.AddonListResponse, error) + func (b *Bundle) ListApprove(orgID uint64, userID string, params url.Values) (*apistructs.ApproveListResponse, error) + func (b *Bundle) ListAuditEvent(orgID string, userID string, params url.Values) (*apistructs.AuditsListResponse, error) + func (b *Bundle) ListAutoTestGlobalConfig(req apistructs.AutoTestGlobalConfigListRequest) ([]apistructs.AutoTestGlobalConfig, error) + func (b *Bundle) ListAutoTestScene(req apistructs.AutotestSceneRequest) (uint64, []apistructs.AutoTestScene, error) + func (b *Bundle) ListAutoTestSceneInput(req apistructs.AutotestSceneRequest) ([]apistructs.AutoTestSceneInput, error) + func (b *Bundle) ListAutoTestSceneOutput(req apistructs.AutotestSceneRequest) ([]apistructs.AutoTestSceneOutput, error) + func (b *Bundle) ListAutoTestSceneStep(req apistructs.AutotestSceneRequest) ([]apistructs.AutoTestSceneStep, error) + func (b *Bundle) ListAutoTestStepOutput(req apistructs.AutotestListStepOutPutRequest) (map[string]string, error) + func (b *Bundle) ListByAddonName(addonName, projectID, workspace string) (*apistructs.AddonNameResponse, error) + func (b *Bundle) ListClusterManagerClientByType(clientType apistructs.ClusterManagerClientType) ([]apistructs.ClusterManagerClientDetail, error) + func (b *Bundle) ListClusters(clusterType string, orgID ...uint64) ([]apistructs.ClusterInfo, error) + func (b *Bundle) ListClustersWithType(clusterType string) ([]apistructs.ClusterInfo, error) + func (b *Bundle) ListConfigSheetAddon(params url.Values, orgID string, userID string) (*apistructs.AddonListResponse, error) + func (b *Bundle) ListDopProject(userID string, req apistructs.ProjectListRequest) (*apistructs.PagingProjectDTO, error) + func (b *Bundle) ListEdgeApp(req *apistructs.EdgeAppListPageRequest, identify apistructs.Identity) (*apistructs.EdgeAppListResponse, error) + func (b *Bundle) ListEdgeCfgSetItem(req *apistructs.EdgeCfgSetItemListPageRequest, identify apistructs.Identity) (*apistructs.EdgeCfgSetItemListResponse, error) + func (b *Bundle) ListEdgeCluster(orgID uint64, valueType string, identify apistructs.Identity) ([]map[string]interface{}, error) + func (b *Bundle) ListEdgeConfigset(req *apistructs.EdgeConfigSetListPageRequest, identify apistructs.Identity) (*apistructs.EdgeConfigSetListResponse, error) + func (b *Bundle) ListEdgeSelectApps(orgID, clusterID int64, exceptName string, valueType string, ...) ([]map[string]interface{}, error) + func (b *Bundle) ListEdgeSelectConfigSet(orgID, clusterID int64, valueType string, identify apistructs.Identity) ([]map[string]interface{}, error) + func (b *Bundle) ListEdgeSelectSite(orgID, clusterID int64, valueType string, identify apistructs.Identity) ([]map[string]interface{}, error) + func (b *Bundle) ListEdgeSite(req *apistructs.EdgeSiteListPageRequest, identify apistructs.Identity) (*apistructs.EdgeSiteListResponse, error) + func (b *Bundle) ListFileRecords(userID string, req apistructs.ListTestFileRecordsRequest) (*apistructs.ListFileRecordsResponse, error) + func (b *Bundle) ListFileTreeNodes(req apistructs.UnifiedFileTreeNodeListRequest, orgID uint64) (results []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) ListGittarCommit(repo, ref, userID string, orgID string) (*apistructs.Commit, error) + func (b *Bundle) ListGittarFileTreeNodes(req apistructs.UnifiedFileTreeNodeListRequest, orgID uint64) (results []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) ListLabel(req apistructs.ProjectLabelListRequest) (*apistructs.ProjectLabelListResponseData, error) + func (b *Bundle) ListLabelByIDs(ids []uint64) ([]apistructs.ProjectLabel, error) + func (b *Bundle) ListLabelByNameAndProjectID(projectID uint64, names []string) ([]apistructs.ProjectLabel, error) + func (b *Bundle) ListManualApproval(orgID string, userID string, params url.Values) (*apistructs.GetReviewListResponse, error) + func (b *Bundle) ListMbox(identity apistructs.Identity, req apistructs.QueryMBoxRequest) (apistructs.QueryMBoxData, error) + func (b *Bundle) ListMemberRoles(req apistructs.ListScopeManagersByScopeIDRequest, orgID int64, locale string) (*apistructs.RoleList, error) + func (b *Bundle) ListMemberRolesByUser(req apistructs.ListMemberRolesByUserRequest) (*apistructs.UserRoleListResponseData, error) + func (b *Bundle) ListMembers(req apistructs.MemberListRequest) ([]apistructs.Member, error) + func (b *Bundle) ListMembersAndTotal(req apistructs.MemberListRequest) (*apistructs.MemberList, error) + func (b *Bundle) ListMergeRequest(appID uint64, userID string, req apistructs.GittarQueryMrRequest) (*apistructs.QueryMergeRequestsData, error) + func (b *Bundle) ListMiddleware(orgID, userID string, r *apistructs.MiddlewareListRequest) (*apistructs.MiddlewareListResponse, error) + func (b *Bundle) ListMyProject(userID string, req apistructs.ProjectListRequest) (*apistructs.PagingProjectDTO, error) + func (b *Bundle) ListNoticeByOrgID(orgID uint64, userID string, params url.Values) (*apistructs.NoticeListResponse, error) + func (b *Bundle) ListProject(userID string, req apistructs.ProjectListRequest) (*apistructs.PagingProjectDTO, error) + func (b *Bundle) ListProjectIterations(req apistructs.IterationPagingRequest, orgID string) ([]apistructs.Iteration, error) + func (b *Bundle) ListProjectsEnvAndTenantId(userID, orgID, tenantId, Type string) ([]*apistructs.MenuItem, error) + func (b *Bundle) ListPublicProject(userID string, req apistructs.ProjectListRequest) (*apistructs.PagingProjectDTO, error) + func (b *Bundle) ListQaFileTreeNodes(req apistructs.UnifiedFileTreeNodeListRequest, orgID uint64) (results []apistructs.UnifiedFileTreeNode, err error) + func (b *Bundle) ListQuotaRecords() ([]*apistructs.ProjectQuota, error) + func (b *Bundle) ListReleases(req apistructs.ReleaseListRequest) (*apistructs.ReleaseListResponseData, error) + func (b *Bundle) ListRuntimesGroupByApps(orgID uint64, userID string, applicationsIDs []uint64, workspace string) (map[uint64][]*GetApplicationRuntimesDataEle, error) + func (b *Bundle) ListScopeManagersByScopeID(req apistructs.ListScopeManagersByScopeIDRequest) ([]apistructs.Member, error) + func (b *Bundle) ListScopeRole(userID, orgID string) (*apistructs.ScopeRoleList, error) + func (b *Bundle) ListSteveResource(req *apistructs.SteveRequest) (data.Object, error) + func (b *Bundle) ListSubscribes(userID, orgID string, req apistructs.GetSubscribeReq) (data *apistructs.SubscribeDTO, err error) + func (b *Bundle) ListTestAPI(usecaseID int64) ([]*apistructs.ApiTestInfo, error) + func (b *Bundle) ListTestPlanCaseRel(testCaseIDs []uint64) ([]apistructs.TestPlanCaseRel, error) + func (b *Bundle) ListTestPlanV2Step(testPlanID, groupID uint64) ([]*apistructs.TestPlanV2Step, error) + func (b *Bundle) ListTestReportRecord(req apistructs.TestReportRecordListRequest) (apistructs.ListTestReportRecordResponse, error) + func (b *Bundle) ListTestSpace(req apistructs.AutoTestSpaceListRequest) (*apistructs.AutoTestSpaceList, error) + func (b *Bundle) ListTicket(req apistructs.TicketListRequest) (*apistructs.TicketListResponseData, error) + func (b *Bundle) ListUsers(req apistructs.UserListRequest) (*apistructs.UserListResponseData, error) + func (b *Bundle) MergeRequestCount(userID string, req apistructs.MergeRequestCountRequest) (map[string]int, error) + func (b *Bundle) MergeWithBranch(userID string, req apistructs.GittarMergeWithBranchRequest) (*apistructs.Commit, error) + func (b *Bundle) MetricsRouting(pathRouting, name string, paramValues url.Values) (interface{}, error) + func (b *Bundle) MoveAutoTestScene(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) MoveAutoTestSceneStep(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) MoveTestPlansV2Step(req apistructs.TestPlanV2StepMoveRequest) error + func (b *Bundle) MySQLCheck(mysqlExec *apistructs.MysqlExec, soldierUrl string) error + func (b *Bundle) MySQLExec(mysqlExec *apistructs.MysqlExec, soldierUrl string) error + func (b *Bundle) MySQLExecFile(mysqlExec *apistructs.MysqlExec, soldierUrl string) error + func (b *Bundle) MySQLInit(mysqlExecList *[]apistructs.MysqlExec, soldierUrl string) error + func (b *Bundle) NotifyList(req apistructs.NotifyPageRequest) (*[]apistructs.DataItem, error) + func (b *Bundle) OfflineEdgeAppSite(appID uint64, req *apistructs.EdgeAppSiteRequest, identify apistructs.Identity) error + func (b *Bundle) OperatePipeline(pipelineID uint64, req apistructs.PipelineOperateRequest) error + func (b *Bundle) OperationTempBranch(appID uint64, userID string, ...) error + func (b *Bundle) PageListPipeline(req apistructs.PipelinePageListRequest) (*apistructs.PipelinePageListData, error) + func (b *Bundle) PagingTestPlansV2(req apistructs.TestPlanV2PagingRequest) (*apistructs.TestPlanV2PagingResponseData, error) + func (b *Bundle) PatchCluster(req *apistructs.ClusterPatchRequest, header ...http.Header) error + func (b *Bundle) PatchNode(req *apistructs.SteveRequest) error + func (b *Bundle) PipelineCallback(req apistructs.PipelineCallbackRequest, openapiAddr, token string) error + func (b *Bundle) ProfileRender(req *apistructs.ProfileRenderRequest) (*query.RenderResponse, error) + func (b *Bundle) ProjectClusterReferred(userID, orgID, clusterName string) (referred bool, err error) + func (b *Bundle) ProjectResource(projectIDs []uint64) (*apistructs.ProjectResourceResponse, error) + func (b *Bundle) PublishORUnPublishNotice(orgID uint64, noticeID uint64, userID, publishType string) error + func (b *Bundle) PublisherItemReferred(libID uint64) (uint64, error) + func (b *Bundle) PushLog(req *apistructs.LogPushRequest) error + func (b *Bundle) PutRuntimeService(req *apistructs.RuntimeServiceRequest) error + func (b *Bundle) QueryAppPublishItemRelations(req *apistructs.QueryAppPublishItemRelationRequest) (*apistructs.QueryAppPublishItemRelationResponse, error) + func (b *Bundle) QueryClusterInfo(name string) (apistructs.ClusterInfoData, error) + func (b *Bundle) QueryExtensionVersions(req apistructs.ExtensionVersionQueryRequest) ([]apistructs.ExtensionVersion, error) + func (b *Bundle) QueryExtensions(req apistructs.ExtensionQueryRequest) ([]apistructs.Extension, error) + func (b *Bundle) QueryNotifiesBySource(orgID string, sourceType, sourceID, itemName, label string, ...) ([]*apistructs.NotifyDetail, error) + func (b *Bundle) QueryNotifyGroup(orgID string, request *apistructs.QueryNotifyGroupRequest) (*apistructs.QueryNotifyGroupResponse, error) + func (b *Bundle) QueryPublishItems(req *apistructs.QueryPublishItemRequest) (*apistructs.QueryPublishItemData, error) + func (b *Bundle) RegisterGittarHook(r apistructs.GittarRegisterHookRequest) error + func (b *Bundle) RemoveAppPublishItemRelations(publishItemID int64) error + func (b *Bundle) RenderPipelineTemplate(request *apistructs.PipelineTemplateRenderRequest) (*apistructs.PipelineTemplateRender, error) + func (b *Bundle) RenderPipelineTemplateBySpec(request *apistructs.PipelineTemplateRenderSpecRequest) (*apistructs.PipelineTemplateRender, error) + func (b *Bundle) ReopenTicket(ticketID int64, userID string) (int64, error) + func (b *Bundle) RerunFailedPipeline(req pb.PipelineRerunFailedRequest) (*basepb.PipelineDTO, error) + func (b *Bundle) RerunPipeline(req pb.PipelineRerunRequest) (*basepb.PipelineDTO, error) + func (b *Bundle) ResetClientCredentials(orgID, userID, clientID string) (dto *apistructs.ClientInfoDto, err error) + func (b *Bundle) ResourceInfo(clustername string, brief bool) (*apistructs.ClusterResourceInfoData, error) + func (b *Bundle) RestartEdgeAppSite(appID uint64, req *apistructs.EdgeAppSiteRequest, identify apistructs.Identity) error + func (b *Bundle) RevokeEndpointFromClient(orgID, userID, clientID, endpointID string) (err error) + func (b *Bundle) RunPipeline(req pb.PipelineRunRequest) error + func (b *Bundle) RunSoldierScript(scriptName string, params map[string]string) error + func (b *Bundle) RuntimesClusterReferred(userID, orgID, clusterName string) (referred bool, err error) + func (b *Bundle) SavePipelineAction(req *pb.PipelineActionSaveRequest) (*extensionpb.ExtensionVersion, error) + func (b *Bundle) ScaleAddon(req apistructs.AddonScaleRecords, orgID uint64, userID string, action string) (*apistructs.AddonScaleResults, error) + func (b *Bundle) ScopeRoleAccess(userID string, req *apistructs.ScopeRoleAccessRequest) (*apistructs.ScopeRole, error) + func (b *Bundle) ScopeRoleAccessList(userID string, req *apistructs.ScopeRoleAccessRequest) (*apistructs.PermissionList, error) + func (b *Bundle) SearchAPIOperations(orgID uint64, userID string, keyword string) ([]*apistructs.APIOperationSummary, error) + func (b *Bundle) SearchExtensions(req apistructs.ExtensionSearchRequest) (map[string]apistructs.ExtensionVersion, error) + func (b *Bundle) SearchGittarFiles(appID int64, ref string, pattern string, basePath string, depth int64, ...) ([]*apistructs.TreeEntry, error) + func (b *Bundle) SearchUser(params url.Values) (*apistructs.UserListResponseData, error) + func (b *Bundle) ServiceGroupConfigUpdate(sg apistructs.ServiceGroup) error + func (b *Bundle) SetMBoxReadStatus(identity apistructs.Identity, request *apistructs.SetMBoxReadStatusRequest) error + func (b *Bundle) StartJob(namespace string, name string) (jsonResp apistructs.JobStartResponse, err error) + func (b *Bundle) StateCheckPermission(req *apistructs.PermissionCheckRequest) (*apistructs.StatePermissionCheckResponseData, error) + func (b *Bundle) StopJob(namespace string, name string) (jsonResp apistructs.JobStopResponse, err error) + func (b *Bundle) SwitchNotifyRecord(scope, scopeId, userId string, operation *apistructs.SwitchOperationData) error + func (b *Bundle) TenantGroupInfo(scopeId string) (*apistructs.TenantGroupInfo, error) + func (b *Bundle) ToFormalReleases(orgID uint64, userID string, req apistructs.ReleasesToFormalRequest) error + func (b *Bundle) UnCordonNode(req *apistructs.SteveRequest) error + func (b *Bundle) UnlabelNode(req *apistructs.SteveRequest, labels []string) error + func (b *Bundle) UpdateApp(req apistructs.ApplicationUpdateRequestBody, appID uint64, userID string) (interface{}, error) + func (b *Bundle) UpdateApprove(orgID uint64, userID string, approveID int64, body io.Reader) (*apistructs.ApproveUpdateResponse, error) + func (b *Bundle) UpdateAutoTestScene(req apistructs.AutotestSceneSceneUpdateRequest) (uint64, error) + func (b *Bundle) UpdateAutoTestSceneInputs(req apistructs.AutotestSceneInputUpdateRequest) (uint64, error) + func (b *Bundle) UpdateAutoTestSceneOutput(req apistructs.AutotestSceneOutputUpdateRequest) (uint64, error) + func (b *Bundle) UpdateAutoTestSceneStep(req apistructs.AutotestSceneRequest) (uint64, error) + func (b *Bundle) UpdateCluster(req apistructs.ClusterUpdateRequest, header ...http.Header) error + func (b *Bundle) UpdateEdgeApp(req *apistructs.EdgeAppUpdateRequest, appID uint64, ...) error + func (b *Bundle) UpdateEdgeCfgSetItem(req *apistructs.EdgeCfgSetItemUpdateRequest, cfgSetItemID int64, ...) error + func (b *Bundle) UpdateEdgeConfigset(req *apistructs.EdgeConfigSetUpdateRequest, siteID int64, ...) error + func (b *Bundle) UpdateEdgeSite(req *apistructs.EdgeSiteUpdateRequest, siteID int64, ...) error + func (b *Bundle) UpdateEndpoint(orgID, userID, endpointID string, packageDto apistructs.PackageDto) (err error) + func (b *Bundle) UpdateIssueTicket(updateReq apistructs.IssueUpdateRequest, issueID uint64) error + func (b *Bundle) UpdateManualApproval(orgID string, req *apistructs.UpdateApproval) error + func (b *Bundle) UpdateMemberUserInfo(req apistructs.MemberUserInfoUpdateRequest) error + func (b *Bundle) UpdateNotice(noticeID, orgID uint64, userID string, body io.Reader) (*apistructs.NoticeUpdateResponse, error) + func (b *Bundle) UpdateNotifyGroup(id int64, orgID string, request *apistructs.UpdateNotifyGroupRequest) (*apistructs.NotifyGroup, error) + func (b *Bundle) UpdateProject(req apistructs.ProjectUpdateRequest, orgID uint64, userID string) error + func (b *Bundle) UpdateProjectActiveTime(req apistructs.ProjectActiveTimeUpdateRequest) error + func (b *Bundle) UpdateProjectWorkSpaceAbilities(req apistructs.ProjectWorkSpaceAbility, orgID uint64, userID string) error + func (b *Bundle) UpdateReference(releaseID string, increase ...bool) error + func (b *Bundle) UpdateRelease(orgID uint64, userID string, req apistructs.ReleaseUpdateRequest) error + func (b *Bundle) UpdateRepo(request apistructs.UpdateRepoRequest) error + func (b *Bundle) UpdateSceneSet(req apistructs.SceneSetRequest) (*apistructs.SceneSet, error) + func (b *Bundle) UpdateSteveResource(req *apistructs.SteveRequest) (data.Object, error) + func (b *Bundle) UpdateTestAPI(req apistructs.ApiTestInfo) error + func (b *Bundle) UpdateTestPlanV2(req apistructs.TestPlanV2UpdateRequest) error + func (b *Bundle) UpdateTestPlanV2Step(req apistructs.TestPlanV2StepUpdateRequest) error + func (b *Bundle) UpdateTestSpace(space *apistructs.AutoTestSpace, userID string) error + func (b *Bundle) UploadFile(req filetypes.FileUploadRequest, clientTimeout ...int64) (*pb.File, error) + func (b *Bundle) UploadRelease(req apistructs.ReleaseUploadRequest) error + type CreateAPIAssetResponse struct + Data apistructs.APIAssetID + type GetApplicationRuntimesDataEle struct + ApplicationID uint64 + ClusterID uint64 + ClusterName string + ClusterType string + CreatedAt time.Time + Creator string + DeleteStatus string + DeployStatus string + DeploymentOrderName string + Errors interface{} + Extra *GetApplicationRuntimesDataEleExtra + ID uint64 + LastMessage interface{} + LastOperateTime time.Time + LastOperator string + LastOperatorAvatar string + LastOperatorId uint64 + LastOperatorName string + Name string + ProjectID uint64 + RawDeploymentStatus string + RawStatus string + ReleaseID string + ReleaseVersion string + ServiceGroupName string + ServiceGroupNamespace string + Services map[string]*apistructs.RuntimeInspectServiceDTO + Source string + Status string + TimeCreated time.Time + UpdatedAt time.Time + type GetApplicationRuntimesDataEleExtra struct + ApplicationID uint64 + BuildID uint64 + Workspace string + type GetApplicationRuntimesResponse struct + Data []*GetApplicationRuntimesDataEle + type GetBatchRuntimeServicesResponse struct + Data map[uint64]*GetRuntimeServicesResponseData + type GetRuntimeServicesResponse struct + Data *GetRuntimeServicesResponseData + type GetRuntimeServicesResponseData struct + ClusterId uint64 + ClusterName string + ClusterType string + DeleteStatus string + DeployStatus string + Extra *GetRuntimeServicesResponseDataExtra + ID uint64 + Name string + ProjectID uint64 + ReleaseId string + ServiceGroupName string + ServiceGroupNamespace string + Services map[string]*GetRuntimeServicesResponseDataService + Source string + Status string + type GetRuntimeServicesResponseDataExtra struct + ApplicationId uint64 + BuildId uint64 + Workspace string + type GetRuntimeServicesResponseDataService struct + Addrs []string + Expose []string + Status string + type GittarFileTree struct + func NewGittarFileTree(inode string) (*GittarFileTree, error) + func (t *GittarFileTree) ApplicationID() string + func (t *GittarFileTree) ApplicationName() string + func (t *GittarFileTree) BlobPath() string + func (t *GittarFileTree) BranchName() string + func (t *GittarFileTree) BranchesPath() string + func (t *GittarFileTree) Clone() *GittarFileTree + func (t *GittarFileTree) DeletePathFromRepoRoot() *GittarFileTree + func (t *GittarFileTree) Inode() string + func (t *GittarFileTree) PathFromRepoRoot() string + func (t *GittarFileTree) ProjectID() string + func (t *GittarFileTree) ProjectName() string + func (t *GittarFileTree) RepoPath() string + func (t *GittarFileTree) SetApplicationIDName(id, name string) *GittarFileTree + func (t *GittarFileTree) SetBranchName(name string) *GittarFileTree + func (t *GittarFileTree) SetPathFromRepoRoot(name string) *GittarFileTree + func (t *GittarFileTree) SetProjectIDName(id, name string) *GittarFileTree + func (t *GittarFileTree) TreePath() string + type GittarLines struct + CommitID string + Path string + Repo string + Since string + To string + type Option func(*Bundle) + func WithAPIM() Option + func WithAddOnPlatform() Option + func WithAllAvailableClients() Option + func WithCMDB() Option + func WithCMP() Option + func WithClusterManager() Option + func WithCollector() Option + func WithCustom(srvName, url string) Option + func WithDOP() Option + func WithDialContext(...) Option + func WithErdaServer() Option + func WithEventBox() Option + func WithGittar() Option + func WithGittarAdaptor() Option + func WithHTTPClient(hc *httpclient.HTTPClient) Option + func WithHepa() Option + func WithI18nLoader(i18nLoader *i18n.LocaleResourceLoader) Option + func WithKMS() Option + func WithMSP() Option + func WithMonitor() Option + func WithOpenapi() Option + func WithOrchestrator() Option + func WithPipeline() Option + func WithQA() Option + func WithScheduler() Option + func WithSoldier(addr ...string) Option + func WithTMC() Option + type RoleInfo struct + I18nKey string + IsHide bool + IsManager bool + Level int + Role string + type SearchAPIOperationHandle interface + GetAPIOperation func(assetID, version, path, method string) (*apistructs.APIOperation, error) + SearchAPIOperations func(keyword string) ([]*apistructs.APIOperationSummary, error) + type Sender = string + const SenderClusterManager + const SenderCoreServices + const SenderDOP + const SenderGittar + const SenderOrchestrator + const SenderScheduler