Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppSvc ¶
type AppSvc struct {
// contains filtered or unexported fields
}
func (*AppSvc) GetWorkspaceApp ¶
func (s *AppSvc) GetWorkspaceApp(appID uint64, branch string) (*WorkspaceApp, error)
type WorkspaceApp ¶
type WorkspaceApp struct { ID uint64 `json:"ID"` Name string `json:"name"` OrgID uint64 `json:"orgId"` OrgName string `json:"orgName"` ProjectID uint64 `json:"projectID"` ProjectName string `json:"projectName"` GitRepo string `json:"gitRepo"` GitRepoAbbrev string `json:"gitRepoAbbrev"` Branch string `json:"branch"` Workspace apistructs.DiceWorkspace `json:"workspace"` ClusterName string `json:"clusterName"` }
WorkspaceApp 包括所有 pipeline 创建需要的应用信息
func (*WorkspaceApp) GenerateLabels ¶
func (app *WorkspaceApp) GenerateLabels() map[string]string
func (*WorkspaceApp) GenerateV1UniquePipelineYmlName ¶
func (app *WorkspaceApp) GenerateV1UniquePipelineYmlName(originPipelineYmlPath string) string
Click to show internal directories.
Click to hide internal directories.