Documentation
¶
Index ¶
- Constants
- type AllAppWorkflowComponentDetails
- type AppWorkflowDto
- type AppWorkflowListRespDto
- type AppWorkflowMappingDto
- type PipelineIdentifier
- type TriggerViewWorkflowConfig
- type WorkflowCloneRequest
- type WorkflowComponentNamesDto
- type WorkflowComponents
- type WorkflowMappingsNotFoundError
- type WorkflowNamesRequest
- type WorkflowNamesResponse
- type WorkflowsFilterQuery
Constants ¶
View Source
const ( CD_PIPELINE_TYPE = "CD_PIPELINE" CI_PIPELINE_TYPE = "CI_PIPELINE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllAppWorkflowComponentDetails ¶
type AllAppWorkflowComponentDetails struct {
Workflows []*WorkflowComponentNamesDto `json:"workflows"`
}
type AppWorkflowDto ¶
type AppWorkflowDto struct {
Id int `json:"id,omitempty"`
Name string `json:"name"`
AppId int `json:"appId"`
AppWorkflowMappingDto []AppWorkflowMappingDto `json:"tree,omitempty"`
UserId int32 `json:"-"`
}
type AppWorkflowListRespDto ¶ added in v1.5.0
type AppWorkflowListRespDto struct {
Workflows []AppWorkflowDto `json:"workflows"`
AppId int `json:"appId"`
AppName string `json:"appName"`
IsGitOpsRepoNotConfigured bool `json:"isGitOpsRepoNotConfigured"`
}
type AppWorkflowMappingDto ¶
type AppWorkflowMappingDto struct {
Id int `json:"id,omitempty"`
AppWorkflowId int `json:"appWorkflowId"`
Type string `json:"type"`
ComponentId int `json:"componentId"`
ParentId int `json:"parentId"`
ParentType string `json:"parentType"`
DeploymentAppDeleteRequest bool `json:"deploymentAppDeleteRequest"`
UserId int32 `json:"-"`
IsLast bool `json:"isLast"`
ChildPipelinesIds mapset.Set `json:"-"`
}
func (AppWorkflowMappingDto) GetParentPipelineIdentifier ¶
func (dto AppWorkflowMappingDto) GetParentPipelineIdentifier() PipelineIdentifier
func (AppWorkflowMappingDto) GetPipelineIdentifier ¶
func (dto AppWorkflowMappingDto) GetPipelineIdentifier() PipelineIdentifier
type PipelineIdentifier ¶
type TriggerViewWorkflowConfig ¶
type TriggerViewWorkflowConfig struct {
Workflows []AppWorkflowDto `json:"workflows"`
CiConfig *bean.TriggerViewCiConfig `json:"ciConfig"`
CdPipelines *bean.CdPipelines `json:"cdConfig"`
ExternalCiConfig []*bean.ExternalCiConfig `json:"externalCiConfig"`
}
type WorkflowCloneRequest ¶
type WorkflowComponents ¶
type WorkflowMappingsNotFoundError ¶
type WorkflowMappingsNotFoundError struct {
WorkflowIds []int
}
func (WorkflowMappingsNotFoundError) Error ¶
func (w WorkflowMappingsNotFoundError) Error() string
type WorkflowNamesRequest ¶
type WorkflowNamesRequest struct {
AppNames []string `json:"appNames"`
}
type WorkflowNamesResponse ¶
type WorkflowsFilterQuery ¶
type WorkflowsFilterQuery struct {
EnvIdsString string `schema:"envIds"`
EnvIds []int `schema:"-"`
}
func NewWorkflowsFilterQuery ¶
func NewWorkflowsFilterQuery() *WorkflowsFilterQuery
func (*WorkflowsFilterQuery) WithEnvIds ¶
func (q *WorkflowsFilterQuery) WithEnvIds(envIds []int) *WorkflowsFilterQuery
Click to show internal directories.
Click to hide internal directories.