Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllWorkflowResponseContainer ¶
type AllWorkflowResponseContainer struct {
Workflows []AllWorkflowsResponseItem `json:"workflows"`
}
type AllWorkflowsResponseItem ¶
type AllWorkflowsResponseItem struct { Id primitive.ObjectID `json:"id"` Name string `json:"name"` User string `json:"user"` Executions []ExecutionWithoutLogs `json:"executions"` }
type ExecutionWithoutLogs ¶
type ExecutionWithoutLogs struct { ID primitive.ObjectID `json:"id"` Namespace string `json:"namespace"` ArgoName string `json:"argoName"` WorkflowName string `json:"workflowName"` Status string `json:"status"` WorkflowID primitive.ObjectID `json:"workflowId"` StartedAt string `json:"startedAt"` FinishedAt string `json:"finishedAt"` Tasks []TaskWithoutLogs `json:"tasks"` }
type FoundWorkFlow ¶
type Handler ¶
type Handler struct { Service *Service ExecutionService executions.Service }
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) GetAllWorkflowsHandler ¶
func (*Handler) SetUpRoutes ¶
func (w *Handler) SetUpRoutes(router *gin.RouterGroup)
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func GetWorkflowService ¶
func GetWorkflowService() *Service
func (*Service) FindByUser ¶
Click to show internal directories.
Click to hide internal directories.