bean

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 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 PipelineIdentifier struct {
	PipelineType string
	PipelineId   int
}

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 WorkflowCloneRequest struct {
	WorkflowName  string `json:"workflowName,omitempty"`
	AppId         int    `json:"appId,omitempty"`
	EnvironmentId int    `json:"environmentId,omitempty"`
	WorkflowId    int    `json:"workflowId,omitempty"`
	UserId        int32  `json:"-"`
}

type WorkflowComponentNamesDto

type WorkflowComponentNamesDto struct {
	Id             int      `json:"id"`
	Name           string   `json:"name"`
	CiPipelineId   int      `json:"ciPipelineId"`
	CiPipelineName string   `json:"ciPipelineName"`
	CdPipelines    []string `json:"cdPipelines"`
}

type WorkflowComponents

type WorkflowComponents struct {
	CiPipelineId         int
	ExternalCiPipelineId int
	CdPipelineIds        []int
}

type WorkflowMappingsNotFoundError

type WorkflowMappingsNotFoundError struct {
	WorkflowIds []int
}

func (WorkflowMappingsNotFoundError) Error

type WorkflowNamesRequest

type WorkflowNamesRequest struct {
	AppNames []string `json:"appNames"`
}

type WorkflowNamesResponse

type WorkflowNamesResponse struct {
	AppIdWorkflowNamesMapping map[string][]string `json:"appIdWorkflowNamesMapping"`
}

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

Jump to

Keyboard shortcuts

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