Documentation
¶
Index ¶
- type Async
- type CreateRemoteExecutionPayload
- type DefaultPipelineOverride
- type EdgeLayoutList
- type ExecutableResponse
- type ExecutionGraph
- type ExecutionNode
- type ExecutionNodeAdjacencyList
- type FailureInfoDto
- type GraphLayoutNode
- type IacmClient
- func (c *IacmClient) CreateRemoteExecution(ctx context.Context, org, project, workspace string, ...) (*RemoteExecution, error)
- func (c *IacmClient) ExecuteRemoteExecution(ctx context.Context, org, project, workspace, id string) (*RemoteExecution, error)
- func (c *IacmClient) GetLogToken(ctx context.Context) (string, error)
- func (c *IacmClient) GetPipelineExecution(ctx context.Context, org, project, executionID string, stageNodeID string) (*PipelineExecutionDetail, error)
- func (c *IacmClient) GetWorkspace(ctx context.Context, org, project, workspace string) (*Workspace, error)
- func (c *IacmClient) UploadRemoteExecution(ctx context.Context, org, project, workspace, id string, file []byte) (*RemoteExecution, error)
- type IacmError
- type Line
- type LogClient
- type LogError
- type PipelineExecutionDetail
- type PipelineExecutionError
- type PipelineExecutionSummary
- type RemoteExecution
- type ResponseDtoPipelineExecutionDetail
- type ResponseMessage
- type Workspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultPipelineOverride ¶
type EdgeLayoutList ¶
type ExecutableResponse ¶
type ExecutableResponse struct {
Async Async `json:"async"`
}
type ExecutionGraph ¶
type ExecutionGraph struct {
RootNodeId string `json:"rootNodeId,omitempty"`
NodeMap map[string]ExecutionNode `json:"nodeMap,omitempty"`
NodeAdjacencyListMap map[string]ExecutionNodeAdjacencyList `json:"nodeAdjacencyListMap,omitempty"`
}
type ExecutionNode ¶
type ExecutionNode struct {
Uuid string `json:"uuid,omitempty"`
SetupId string `json:"setupId,omitempty"`
Name string `json:"name,omitempty"`
Identifier string `json:"identifier,omitempty"`
StepType string `json:"stepType,omitempty"`
Status string `json:"status,omitempty"`
LogBaseKey string `json:"logBaseKey,omitempty"`
ExecutableResponses []ExecutableResponse `json:"executableResponses"`
}
type FailureInfoDto ¶
type FailureInfoDto struct {
Message string `json:"message,omitempty"`
FailureTypeList []string `json:"failureTypeList,omitempty"`
ResponseMessages []ResponseMessage `json:"responseMessages,omitempty"`
}
type GraphLayoutNode ¶
type GraphLayoutNode struct {
NodeType string `json:"nodeType,omitempty"`
NodeGroup string `json:"nodeGroup,omitempty"`
NodeIdentifier string `json:"nodeIdentifier,omitempty"`
Name string `json:"name,omitempty"`
NodeUuid string `json:"nodeUuid,omitempty"`
Status string `json:"status,omitempty"`
EdgeLayoutList *EdgeLayoutList `json:"edgeLayoutList,omitempty"`
}
type IacmClient ¶
type IacmClient struct {
// contains filtered or unexported fields
}
func NewIacmClient ¶
func NewIacmClient(debug bool) *IacmClient
func (*IacmClient) CreateRemoteExecution ¶
func (c *IacmClient) CreateRemoteExecution(ctx context.Context, org, project, workspace string, customArguments map[string][]string) (*RemoteExecution, error)
func (*IacmClient) ExecuteRemoteExecution ¶
func (c *IacmClient) ExecuteRemoteExecution(ctx context.Context, org, project, workspace, id string) (*RemoteExecution, error)
func (*IacmClient) GetLogToken ¶
func (c *IacmClient) GetLogToken(ctx context.Context) (string, error)
func (*IacmClient) GetPipelineExecution ¶
func (c *IacmClient) GetPipelineExecution(ctx context.Context, org, project, executionID string, stageNodeID string) (*PipelineExecutionDetail, error)
func (*IacmClient) GetWorkspace ¶
func (*IacmClient) UploadRemoteExecution ¶
func (c *IacmClient) UploadRemoteExecution(ctx context.Context, org, project, workspace, id string, file []byte) (*RemoteExecution, error)
type IacmError ¶
type LogClient ¶
type LogClient struct {
// contains filtered or unexported fields
}
func NewLogClient ¶
func NewLogClient() *LogClient
type PipelineExecutionDetail ¶
type PipelineExecutionDetail struct {
PipelineExecutionSummary *PipelineExecutionSummary `json:"pipelineExecutionSummary,omitempty"`
ExecutionGraph *ExecutionGraph `json:"executionGraph,omitempty"`
}
type PipelineExecutionError ¶
type PipelineExecutionError struct {
Status string
Code string
Message string
DetailedMessage string
}
func (*PipelineExecutionError) Error ¶
func (e *PipelineExecutionError) Error() string
type PipelineExecutionSummary ¶
type PipelineExecutionSummary struct {
PipelineIdentifier string `json:"pipelineIdentifier,omitempty"`
OrgIdentifier string `json:"orgIdentifier"`
ProjectIdentifier string `json:"projectIdentifier"`
PlanExecutionId string `json:"planExecutionId,omitempty"`
Name string `json:"name,omitempty"`
YamlVersion string `json:"yamlVersion,omitempty"`
Status string `json:"status,omitempty"`
LayoutNodeMap map[string]GraphLayoutNode `json:"layoutNodeMap,omitempty"`
StartingNodeId string `json:"startingNodeId,omitempty"`
}
type RemoteExecution ¶
type RemoteExecution struct {
ID string `json:"id"`
Workspace string `json:"workspace"`
Account string `json:"account"`
Org string `json:"org"`
Project string `json:"project"`
PipelineExecutionID string `json:"pipeline_execution_id"`
PipelineExecutionURL string `json:"pipeline_execution_url"`
Sha256Checksum string `json:"sha256_checksum"`
Created int `json:"created"`
Updated int `json:"updated"`
CustomArguments map[string][]string `json:"custom_arguments"`
}
type ResponseDtoPipelineExecutionDetail ¶
type ResponseDtoPipelineExecutionDetail struct {
Status string `json:"status,omitempty"`
Data *PipelineExecutionDetail `json:"data,omitempty"`
CorrelationId string `json:"correlationId,omitempty"`
}
type ResponseMessage ¶
Click to show internal directories.
Click to hide internal directories.