app

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	GetWorkspaceApp(uint64, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL