pipelineTable

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: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColumnPipelineName    table.ColumnKey = "pipelineName"
	ColumnPipelineStatus  table.ColumnKey = common.ColumnPipelineStatus
	ColumnCostTime        table.ColumnKey = "costTime"
	ColumnApplicationName table.ColumnKey = "applicationName"
	ColumnBranch          table.ColumnKey = "branch"
	ColumnExecutor        table.ColumnKey = "executor"
	ColumnStartTime       table.ColumnKey = "startTime"
	ColumnOwner           table.ColumnKey = "owner"
	ColumnTriggerMode     table.ColumnKey = "triggerMode"

	ColumnCostTimeOrder  = "cost_time_sec"
	ColumnStartTimeOrder = "time_begin"

	StateKeyTransactionPaging = "paging"
	StateKeyTransactionSort   = "sort"
)

Variables

This section is empty.

Functions

func GetAppNames

func GetAppNames(helper *gshelper.GSHelper) []string

func GetPagingFromGlobalState

func GetPagingFromGlobalState(globalState cptype.GlobalStateData) (pageNo int, pageSize int)

func GetSortsFromGlobalState

func GetSortsFromGlobalState(globalState cptype.GlobalStateData) []*common.Sort

func ParticipatedInApps

func ParticipatedInApps(appIDs []uint64) bool

Types

type InParams

type InParams struct {
	ProjectID    string `json:"projectId,omitempty"`
	ProjectIDInt uint64
	OrgIDInt     uint64
}

Jump to

Keyboard shortcuts

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