api

package
v1.30.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiTokenScopes  = "apiToken.Scopes"
	BasicAuthScopes = "basicAuth.Scopes"
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type APIKey added in v1.29.0

type APIKey struct {
	// CreatedAt Creation timestamp
	CreatedAt time.Time `json:"createdAt"`

	// CreatedBy Creator user ID
	CreatedBy string `json:"createdBy"`

	// Description Purpose description
	Description *string `json:"description,omitempty"`

	// Id Unique identifier
	Id string `json:"id"`

	// KeyPrefix First 8 characters for identification
	KeyPrefix string `json:"keyPrefix"`

	// LastUsedAt Last authentication timestamp
	LastUsedAt *time.Time `json:"lastUsedAt"`

	// Name Human-readable name
	Name string `json:"name"`

	// Role User role determining access permissions. admin: full access including user management, manager: DAG CRUD and execution, operator: DAG execution only, viewer: read-only
	Role UserRole `json:"role"`

	// UpdatedAt Last update timestamp
	UpdatedAt time.Time `json:"updatedAt"`
}

APIKey API key information

type APIKeyId added in v1.29.0

type APIKeyId = string

APIKeyId defines model for APIKeyId.

type APIKeyResponse added in v1.29.0

type APIKeyResponse struct {
	// ApiKey API key information
	ApiKey APIKey `json:"apiKey"`
}

APIKeyResponse API key response

type APIKeysListResponse added in v1.29.0

type APIKeysListResponse struct {
	ApiKeys []APIKey `json:"apiKeys"`
}

APIKeysListResponse List of API keys

type ApproveDAGRunStep200JSONResponse added in v1.30.0

type ApproveDAGRunStep200JSONResponse ApproveStepResponse

func (ApproveDAGRunStep200JSONResponse) VisitApproveDAGRunStepResponse added in v1.30.0

func (response ApproveDAGRunStep200JSONResponse) VisitApproveDAGRunStepResponse(w http.ResponseWriter) error

type ApproveDAGRunStep400JSONResponse added in v1.30.0

type ApproveDAGRunStep400JSONResponse Error

func (ApproveDAGRunStep400JSONResponse) VisitApproveDAGRunStepResponse added in v1.30.0

func (response ApproveDAGRunStep400JSONResponse) VisitApproveDAGRunStepResponse(w http.ResponseWriter) error

type ApproveDAGRunStep404JSONResponse added in v1.30.0

type ApproveDAGRunStep404JSONResponse Error

func (ApproveDAGRunStep404JSONResponse) VisitApproveDAGRunStepResponse added in v1.30.0

func (response ApproveDAGRunStep404JSONResponse) VisitApproveDAGRunStepResponse(w http.ResponseWriter) error

type ApproveDAGRunStepJSONRequestBody added in v1.30.0

type ApproveDAGRunStepJSONRequestBody = ApproveStepRequest

ApproveDAGRunStepJSONRequestBody defines body for ApproveDAGRunStep for application/json ContentType.

type ApproveDAGRunStepParams added in v1.30.0

type ApproveDAGRunStepParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ApproveDAGRunStepParams defines parameters for ApproveDAGRunStep.

type ApproveDAGRunStepRequestObject added in v1.30.0

type ApproveDAGRunStepRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	StepName StepName `json:"stepName"`
	Params   ApproveDAGRunStepParams
	Body     *ApproveDAGRunStepJSONRequestBody
}

type ApproveDAGRunStepResponseObject added in v1.30.0

type ApproveDAGRunStepResponseObject interface {
	VisitApproveDAGRunStepResponse(w http.ResponseWriter) error
}

type ApproveDAGRunStepdefaultJSONResponse added in v1.30.0

type ApproveDAGRunStepdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ApproveDAGRunStepdefaultJSONResponse) VisitApproveDAGRunStepResponse added in v1.30.0

func (response ApproveDAGRunStepdefaultJSONResponse) VisitApproveDAGRunStepResponse(w http.ResponseWriter) error

type ApproveStepRequest added in v1.30.0

type ApproveStepRequest struct {
	// Inputs Key-value parameters to provide. These will be available as environment variables in subsequent steps.
	Inputs *map[string]string `json:"inputs,omitempty"`
}

ApproveStepRequest Request body for approving a waiting step

type ApproveStepResponse added in v1.30.0

type ApproveStepResponse struct {
	// DagRunId The DAG run ID
	DagRunId string `json:"dagRunId"`

	// Resumed Whether the DAG run was re-enqueued for execution
	Resumed bool `json:"resumed"`

	// StepName The approved step name
	StepName string `json:"stepName"`
}

ApproveStepResponse Response after approving a waiting step

type ApproveSubDAGRunStep200JSONResponse added in v1.30.0

type ApproveSubDAGRunStep200JSONResponse ApproveStepResponse

func (ApproveSubDAGRunStep200JSONResponse) VisitApproveSubDAGRunStepResponse added in v1.30.0

func (response ApproveSubDAGRunStep200JSONResponse) VisitApproveSubDAGRunStepResponse(w http.ResponseWriter) error

type ApproveSubDAGRunStep400JSONResponse added in v1.30.0

type ApproveSubDAGRunStep400JSONResponse Error

func (ApproveSubDAGRunStep400JSONResponse) VisitApproveSubDAGRunStepResponse added in v1.30.0

func (response ApproveSubDAGRunStep400JSONResponse) VisitApproveSubDAGRunStepResponse(w http.ResponseWriter) error

type ApproveSubDAGRunStep404JSONResponse added in v1.30.0

type ApproveSubDAGRunStep404JSONResponse Error

func (ApproveSubDAGRunStep404JSONResponse) VisitApproveSubDAGRunStepResponse added in v1.30.0

func (response ApproveSubDAGRunStep404JSONResponse) VisitApproveSubDAGRunStepResponse(w http.ResponseWriter) error

type ApproveSubDAGRunStepJSONRequestBody added in v1.30.0

type ApproveSubDAGRunStepJSONRequestBody = ApproveStepRequest

ApproveSubDAGRunStepJSONRequestBody defines body for ApproveSubDAGRunStep for application/json ContentType.

type ApproveSubDAGRunStepParams added in v1.30.0

type ApproveSubDAGRunStepParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ApproveSubDAGRunStepParams defines parameters for ApproveSubDAGRunStep.

type ApproveSubDAGRunStepRequestObject added in v1.30.0

type ApproveSubDAGRunStepRequestObject struct {
	Name        DAGName  `json:"name"`
	DagRunId    DAGRunId `json:"dagRunId"`
	SubDAGRunId string   `json:"subDAGRunId"`
	StepName    StepName `json:"stepName"`
	Params      ApproveSubDAGRunStepParams
	Body        *ApproveSubDAGRunStepJSONRequestBody
}

type ApproveSubDAGRunStepResponseObject added in v1.30.0

type ApproveSubDAGRunStepResponseObject interface {
	VisitApproveSubDAGRunStepResponse(w http.ResponseWriter) error
}

type ApproveSubDAGRunStepdefaultJSONResponse added in v1.30.0

type ApproveSubDAGRunStepdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ApproveSubDAGRunStepdefaultJSONResponse) VisitApproveSubDAGRunStepResponse added in v1.30.0

func (response ApproveSubDAGRunStepdefaultJSONResponse) VisitApproveSubDAGRunStepResponse(w http.ResponseWriter) error

type ChangePassword200JSONResponse added in v1.26.0

type ChangePassword200JSONResponse SuccessResponse

func (ChangePassword200JSONResponse) VisitChangePasswordResponse added in v1.26.0

func (response ChangePassword200JSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePassword400JSONResponse added in v1.26.0

type ChangePassword400JSONResponse Error

func (ChangePassword400JSONResponse) VisitChangePasswordResponse added in v1.26.0

func (response ChangePassword400JSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePassword401JSONResponse added in v1.26.0

type ChangePassword401JSONResponse Error

func (ChangePassword401JSONResponse) VisitChangePasswordResponse added in v1.26.0

func (response ChangePassword401JSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChangePasswordJSONRequestBody added in v1.26.0

type ChangePasswordJSONRequestBody = ChangePasswordRequest

ChangePasswordJSONRequestBody defines body for ChangePassword for application/json ContentType.

type ChangePasswordRequest added in v1.26.0

type ChangePasswordRequest struct {
	// CurrentPassword Current password for verification
	CurrentPassword string `json:"currentPassword"`

	// NewPassword New password to set
	NewPassword string `json:"newPassword"`
}

ChangePasswordRequest Request body for changing password

type ChangePasswordRequestObject added in v1.26.0

type ChangePasswordRequestObject struct {
	Body *ChangePasswordJSONRequestBody
}

type ChangePasswordResponseObject added in v1.26.0

type ChangePasswordResponseObject interface {
	VisitChangePasswordResponse(w http.ResponseWriter) error
}

type ChangePassworddefaultJSONResponse added in v1.26.0

type ChangePassworddefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ChangePassworddefaultJSONResponse) VisitChangePasswordResponse added in v1.26.0

func (response ChangePassworddefaultJSONResponse) VisitChangePasswordResponse(w http.ResponseWriter) error

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type CommandEntry added in v1.29.0

type CommandEntry struct {
	// Args Arguments for the command
	Args *[]string `json:"args,omitempty"`

	// Command The command to execute
	Command string `json:"command"`
}

CommandEntry A command with its arguments

type Condition

type Condition struct {
	// Condition Expression or check to evaluate
	Condition string `json:"condition"`

	// Error Error message if the condition is not met
	Error *string `json:"error,omitempty"`

	// Expected Expected result of the condition evaluation
	Expected *string `json:"expected,omitempty"`

	// Matched Whether the condition was met
	Matched *bool `json:"matched,omitempty"`

	// Negate If true, inverts the condition result (run when condition does NOT match)
	Negate *bool `json:"negate,omitempty"`
}

Condition Precondition that must be satisfied before running a step or DAG-run

type CoordinatorInstance added in v1.20.0

type CoordinatorInstance struct {
	// Host Hostname where coordinator is running
	Host string `json:"host"`

	// InstanceId Unique identifier of the coordinator instance
	InstanceId string `json:"instanceId"`

	// Port Port number the coordinator is listening on
	Port int `json:"port"`

	// StartedAt RFC3339 timestamp when coordinator started
	StartedAt string `json:"startedAt"`

	// Status Coordinator status
	Status CoordinatorInstanceStatus `json:"status"`
}

CoordinatorInstance Coordinator instance status information

type CoordinatorInstanceStatus added in v1.20.0

type CoordinatorInstanceStatus string

CoordinatorInstanceStatus Coordinator status

const (
	CoordinatorInstanceStatusActive   CoordinatorInstanceStatus = "active"
	CoordinatorInstanceStatusInactive CoordinatorInstanceStatus = "inactive"
	CoordinatorInstanceStatusUnknown  CoordinatorInstanceStatus = "unknown"
)

Defines values for CoordinatorInstanceStatus.

type CoordinatorStatusResponse added in v1.20.0

type CoordinatorStatusResponse struct {
	// Coordinators List of all registered coordinator instances
	Coordinators []CoordinatorInstance `json:"coordinators"`
}

CoordinatorStatusResponse Response containing status of all coordinator instances

type CreateAPIKey201JSONResponse added in v1.29.0

type CreateAPIKey201JSONResponse CreateAPIKeyResponse

func (CreateAPIKey201JSONResponse) VisitCreateAPIKeyResponse added in v1.29.0

func (response CreateAPIKey201JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error

type CreateAPIKey400JSONResponse added in v1.29.0

type CreateAPIKey400JSONResponse Error

func (CreateAPIKey400JSONResponse) VisitCreateAPIKeyResponse added in v1.29.0

func (response CreateAPIKey400JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error

type CreateAPIKey401JSONResponse added in v1.29.0

type CreateAPIKey401JSONResponse Error

func (CreateAPIKey401JSONResponse) VisitCreateAPIKeyResponse added in v1.29.0

func (response CreateAPIKey401JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error

type CreateAPIKey403JSONResponse added in v1.29.0

type CreateAPIKey403JSONResponse Error

func (CreateAPIKey403JSONResponse) VisitCreateAPIKeyResponse added in v1.29.0

func (response CreateAPIKey403JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error

type CreateAPIKey409JSONResponse added in v1.29.0

type CreateAPIKey409JSONResponse Error

func (CreateAPIKey409JSONResponse) VisitCreateAPIKeyResponse added in v1.29.0

func (response CreateAPIKey409JSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error

type CreateAPIKeyJSONRequestBody added in v1.29.0

type CreateAPIKeyJSONRequestBody = CreateAPIKeyRequest

CreateAPIKeyJSONRequestBody defines body for CreateAPIKey for application/json ContentType.

type CreateAPIKeyRequest added in v1.29.0

type CreateAPIKeyRequest struct {
	// Description Purpose description
	Description *string `json:"description,omitempty"`

	// Name Human-readable name
	Name string `json:"name"`

	// Role User role determining access permissions. admin: full access including user management, manager: DAG CRUD and execution, operator: DAG execution only, viewer: read-only
	Role UserRole `json:"role"`
}

CreateAPIKeyRequest Create API key request

type CreateAPIKeyRequestObject added in v1.29.0

type CreateAPIKeyRequestObject struct {
	Body *CreateAPIKeyJSONRequestBody
}

type CreateAPIKeyResponse added in v1.29.0

type CreateAPIKeyResponse struct {
	// ApiKey API key information
	ApiKey APIKey `json:"apiKey"`

	// Key Full key secret, only returned once
	Key string `json:"key"`
}

CreateAPIKeyResponse Create API key response

type CreateAPIKeyResponseObject added in v1.29.0

type CreateAPIKeyResponseObject interface {
	VisitCreateAPIKeyResponse(w http.ResponseWriter) error
}

type CreateAPIKeydefaultJSONResponse added in v1.29.0

type CreateAPIKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateAPIKeydefaultJSONResponse) VisitCreateAPIKeyResponse added in v1.29.0

func (response CreateAPIKeydefaultJSONResponse) VisitCreateAPIKeyResponse(w http.ResponseWriter) error

type CreateDAGWebhook201JSONResponse added in v1.29.0

type CreateDAGWebhook201JSONResponse WebhookCreateResponse

func (CreateDAGWebhook201JSONResponse) VisitCreateDAGWebhookResponse added in v1.29.0

func (response CreateDAGWebhook201JSONResponse) VisitCreateDAGWebhookResponse(w http.ResponseWriter) error

type CreateDAGWebhook409JSONResponse added in v1.29.0

type CreateDAGWebhook409JSONResponse Error

func (CreateDAGWebhook409JSONResponse) VisitCreateDAGWebhookResponse added in v1.29.0

func (response CreateDAGWebhook409JSONResponse) VisitCreateDAGWebhookResponse(w http.ResponseWriter) error

type CreateDAGWebhookParams added in v1.29.0

type CreateDAGWebhookParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

CreateDAGWebhookParams defines parameters for CreateDAGWebhook.

type CreateDAGWebhookRequestObject added in v1.29.0

type CreateDAGWebhookRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   CreateDAGWebhookParams
}

type CreateDAGWebhookResponseObject added in v1.29.0

type CreateDAGWebhookResponseObject interface {
	VisitCreateDAGWebhookResponse(w http.ResponseWriter) error
}

type CreateDAGWebhookdefaultJSONResponse added in v1.29.0

type CreateDAGWebhookdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateDAGWebhookdefaultJSONResponse) VisitCreateDAGWebhookResponse added in v1.29.0

func (response CreateDAGWebhookdefaultJSONResponse) VisitCreateDAGWebhookResponse(w http.ResponseWriter) error

type CreateNewDAG201JSONResponse

type CreateNewDAG201JSONResponse struct {
	// Name Name of the newly created DAG
	Name string `json:"name"`
}

func (CreateNewDAG201JSONResponse) VisitCreateNewDAGResponse

func (response CreateNewDAG201JSONResponse) VisitCreateNewDAGResponse(w http.ResponseWriter) error

type CreateNewDAG400JSONResponse added in v1.23.0

type CreateNewDAG400JSONResponse Error

func (CreateNewDAG400JSONResponse) VisitCreateNewDAGResponse added in v1.23.0

func (response CreateNewDAG400JSONResponse) VisitCreateNewDAGResponse(w http.ResponseWriter) error

type CreateNewDAGJSONBody

type CreateNewDAGJSONBody struct {
	// Name Name of the DAG
	Name DAGName `json:"name"`

	// Spec Optional DAG spec in YAML format to initialize the DAG. If provided, the spec will be validated before creation.
	Spec *string `json:"spec,omitempty"`
}

CreateNewDAGJSONBody defines parameters for CreateNewDAG.

type CreateNewDAGJSONRequestBody

type CreateNewDAGJSONRequestBody CreateNewDAGJSONBody

CreateNewDAGJSONRequestBody defines body for CreateNewDAG for application/json ContentType.

type CreateNewDAGParams

type CreateNewDAGParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

CreateNewDAGParams defines parameters for CreateNewDAG.

type CreateNewDAGRequestObject

type CreateNewDAGRequestObject struct {
	Params CreateNewDAGParams
	Body   *CreateNewDAGJSONRequestBody
}

type CreateNewDAGResponseObject

type CreateNewDAGResponseObject interface {
	VisitCreateNewDAGResponse(w http.ResponseWriter) error
}

type CreateNewDAGdefaultJSONResponse

type CreateNewDAGdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateNewDAGdefaultJSONResponse) VisitCreateNewDAGResponse

func (response CreateNewDAGdefaultJSONResponse) VisitCreateNewDAGResponse(w http.ResponseWriter) error

type CreateUser201JSONResponse added in v1.26.0

type CreateUser201JSONResponse UserResponse

func (CreateUser201JSONResponse) VisitCreateUserResponse added in v1.26.0

func (response CreateUser201JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser400JSONResponse added in v1.26.0

type CreateUser400JSONResponse Error

func (CreateUser400JSONResponse) VisitCreateUserResponse added in v1.26.0

func (response CreateUser400JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser401JSONResponse added in v1.26.0

type CreateUser401JSONResponse Error

func (CreateUser401JSONResponse) VisitCreateUserResponse added in v1.26.0

func (response CreateUser401JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser403JSONResponse added in v1.26.0

type CreateUser403JSONResponse Error

func (CreateUser403JSONResponse) VisitCreateUserResponse added in v1.26.0

func (response CreateUser403JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUser409JSONResponse added in v1.26.0

type CreateUser409JSONResponse Error

func (CreateUser409JSONResponse) VisitCreateUserResponse added in v1.26.0

func (response CreateUser409JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUserJSONRequestBody added in v1.26.0

type CreateUserJSONRequestBody = CreateUserRequest

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserRequest added in v1.26.0

type CreateUserRequest struct {
	// Password User's password
	Password string `json:"password"`

	// Role User role determining access permissions. admin: full access including user management, manager: DAG CRUD and execution, operator: DAG execution only, viewer: read-only
	Role UserRole `json:"role"`

	// Username Unique username
	Username string `json:"username"`
}

CreateUserRequest Request body for creating a new user

type CreateUserRequestObject added in v1.26.0

type CreateUserRequestObject struct {
	Body *CreateUserJSONRequestBody
}

type CreateUserResponseObject added in v1.26.0

type CreateUserResponseObject interface {
	VisitCreateUserResponse(w http.ResponseWriter) error
}

type CreateUserdefaultJSONResponse added in v1.26.0

type CreateUserdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (CreateUserdefaultJSONResponse) VisitCreateUserResponse added in v1.26.0

func (response CreateUserdefaultJSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type DAG

type DAG struct {
	// DefaultParams Default parameter values in JSON format if not specified at DAG-run creation
	DefaultParams *string `json:"defaultParams,omitempty"`

	// Description Human-readable description of the DAG's purpose and behavior
	Description *string `json:"description,omitempty"`

	// Group Logical grouping of related DAGs for organizational purposes
	Group *string `json:"group,omitempty"`

	// MaxActiveRuns Maximum number of concurrent DAG-runs allowed from this DAG
	MaxActiveRuns *int `json:"maxActiveRuns,omitempty"`

	// Name Logical name of the DAG
	Name string `json:"name"`

	// Params List of parameter names that can be passed to DAG-runs created from this DAG
	Params *[]string `json:"params,omitempty"`

	// Queue Name of the queue this DAG is assigned to. If not specified, the DAG name itself becomes the queue name
	Queue *string `json:"queue,omitempty"`

	// RunConfig Configuration for controlling user interactions when starting DAG runs
	RunConfig *RunConfig `json:"runConfig,omitempty"`

	// Schedule List of scheduling expressions defining when DAG-runs should be created from this DAG
	Schedule *[]Schedule `json:"schedule,omitempty"`

	// Tags List of tags for categorizing and filtering DAGs
	Tags *[]string `json:"tags,omitempty"`
}

DAG Core DAG configuration containing definition and metadata

type DAGDetails

type DAGDetails struct {
	// DefaultParams Default parameter values in JSON format if not specified at DAG-run creation
	DefaultParams *string `json:"defaultParams,omitempty"`

	// Delay Time in seconds to wait before starting a DAG-run
	Delay *int `json:"delay,omitempty"`

	// Description Human-readable description of the DAG's purpose and behavior
	Description *string `json:"description,omitempty"`

	// Env List of environment variables to set before executing a DAG-run
	Env *[]string `json:"env,omitempty"`

	// Group Logical grouping of related DAGs for organizational purposes
	Group *string `json:"group,omitempty"`

	// HandlerOn Configuration for event handlers in a DAG-run
	HandlerOn *HandlerOn `json:"handlerOn,omitempty"`

	// HistRetentionDays Number of days to retain historical logs
	HistRetentionDays *int `json:"histRetentionDays,omitempty"`

	// LogDir Directory path for storing log files
	LogDir *string `json:"logDir,omitempty"`

	// MaxActiveRuns Maximum number of concurrent DAG-runs allowed from this DAG
	MaxActiveRuns *int `json:"maxActiveRuns,omitempty"`

	// MaxActiveSteps Maximum number of concurrent steps allowed in a DAG run
	MaxActiveSteps *int `json:"maxActiveSteps,omitempty"`

	// Name Unique identifier for the DAG within its group
	Name string `json:"name"`

	// Params List of parameter names that can be passed to DAG-runs created from this DAG
	Params *[]string `json:"params,omitempty"`

	// Preconditions Conditions that must be met before a DAG-run can start
	Preconditions *[]Condition `json:"preconditions,omitempty"`

	// Queue Name of the queue this DAG is assigned to. If not specified, the DAG name itself becomes the queue name
	Queue *string `json:"queue,omitempty"`

	// RunConfig Configuration for controlling user interactions when starting DAG runs
	RunConfig *RunConfig `json:"runConfig,omitempty"`

	// Schedule List of scheduling expressions defining when DAG-runs should be created from this DAG
	Schedule *[]Schedule `json:"schedule,omitempty"`

	// Steps List of steps to execute in DAG-runs created from this DAG
	Steps *[]Step `json:"steps,omitempty"`

	// Tags List of tags for categorizing and filtering DAGs
	Tags *[]string `json:"tags,omitempty"`
}

DAGDetails Detailed DAG configuration information

type DAGFile

type DAGFile struct {
	// Dag Core DAG configuration containing definition and metadata
	Dag DAG `json:"dag"`

	// Errors List of errors encountered during the request
	Errors []string `json:"errors"`

	// FileName File ID of the DAG file
	FileName string `json:"fileName"`

	// LatestDAGRun Current status of a DAG-run
	LatestDAGRun DAGRunSummary `json:"latestDAGRun"`

	// Suspended Whether the DAG is suspended
	Suspended bool `json:"suspended"`
}

DAGFile DAG file with its status information

type DAGFileName

type DAGFileName = string

DAGFileName Name of the DAG file

type DAGGridItem

type DAGGridItem struct {
	// History Status of the step ordered by time
	History []NodeStatus `json:"history"`

	// Name Name of the step
	Name string `json:"name"`
}

DAGGridItem Grid item for visualizing DAG-run execution history

type DAGName

type DAGName = string

DAGName Name of the DAG

type DAGRunDetails

type DAGRunDetails struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`

	// FinishedAt RFC 3339 timestamp when the DAG-run finished
	FinishedAt string `json:"finishedAt"`

	// Log Path to the log file
	Log string `json:"log"`

	// Name Name of the DAG
	Name DAGName `json:"name"`

	// Nodes Status of individual steps within the DAG-run
	Nodes []Node `json:"nodes"`

	// OnCancel Status of an individual step within a DAG-run
	OnCancel *Node `json:"onCancel,omitempty"`

	// OnExit Status of an individual step within a DAG-run
	OnExit *Node `json:"onExit,omitempty"`

	// OnFailure Status of an individual step within a DAG-run
	OnFailure *Node `json:"onFailure,omitempty"`

	// OnSuccess Status of an individual step within a DAG-run
	OnSuccess *Node `json:"onSuccess,omitempty"`

	// Params Runtime parameters passed to the DAG-run in JSON format
	Params         *string `json:"params,omitempty"`
	ParentDAGRunId *string `json:"parentDAGRunId,omitempty"`

	// ParentDAGRunName Name of the parent DAG-run
	ParentDAGRunName *string `json:"parentDAGRunName,omitempty"`

	// Preconditions List of preconditions that must be met before the DAG-run can start
	Preconditions *[]Condition `json:"preconditions,omitempty"`

	// QueuedAt RFC 3339 timestamp when the DAG-run was queued
	QueuedAt     *string `json:"queuedAt,omitempty"`
	RootDAGRunId string  `json:"rootDAGRunId"`

	// RootDAGRunName Name of the root DAG-run
	RootDAGRunName string `json:"rootDAGRunName"`

	// StartedAt RFC 3339 timestamp when the DAG-run started
	StartedAt string `json:"startedAt"`

	// Status Numeric status code indicating current DAG-run state:
	// 0: "Not started"
	// 1: "Running"
	// 2: "Failed"
	// 3: "Aborted"
	// 4: "Success"
	// 5: "Queued"
	// 6: "Partial Success"
	// 7: "Waiting for approval"
	// 8: "Rejected"
	Status Status `json:"status"`

	// StatusLabel Human-readable status description for the DAG-run
	StatusLabel StatusLabel `json:"statusLabel"`

	// WorkerId ID of the worker that executed this DAG-run ('local' for local execution)
	WorkerId *string `json:"workerId,omitempty"`
}

DAGRunDetails defines model for DAGRunDetails.

type DAGRunId

type DAGRunId = string

DAGRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.

type DAGRunIdSearch

type DAGRunIdSearch = DAGRunId

DAGRunIdSearch Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.

type DAGRunName

type DAGRunName = string

DAGRunName defines model for DAGRunName.

type DAGRunOutputs added in v1.29.0

type DAGRunOutputs struct {
	// Metadata Execution context metadata for the outputs
	Metadata OutputsMetadata `json:"metadata"`

	// Outputs Collected step outputs as key-value pairs. Keys are output names (UPPER_CASE converted to camelCase by default, or custom key if specified) and values are the captured output strings. Empty object if no outputs were captured.
	Outputs map[string]string `json:"outputs"`
}

DAGRunOutputs Collected outputs from step executions in a DAG-run, including execution metadata. If the DAG-run completed but no outputs were captured, the outputs object will be empty and metadata fields may be empty strings.

type DAGRunSummary

type DAGRunSummary struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`

	// FinishedAt RFC 3339 timestamp when the DAG-run finished
	FinishedAt string `json:"finishedAt"`

	// Log Path to the log file
	Log string `json:"log"`

	// Name Name of the DAG
	Name DAGName `json:"name"`

	// Params Runtime parameters passed to the DAG-run in JSON format
	Params         *string `json:"params,omitempty"`
	ParentDAGRunId *string `json:"parentDAGRunId,omitempty"`

	// ParentDAGRunName Name of the parent DAG-run
	ParentDAGRunName *string `json:"parentDAGRunName,omitempty"`

	// QueuedAt RFC 3339 timestamp when the DAG-run was queued
	QueuedAt     *string `json:"queuedAt,omitempty"`
	RootDAGRunId string  `json:"rootDAGRunId"`

	// RootDAGRunName Name of the root DAG-run
	RootDAGRunName string `json:"rootDAGRunName"`

	// StartedAt RFC 3339 timestamp when the DAG-run started
	StartedAt string `json:"startedAt"`

	// Status Numeric status code indicating current DAG-run state:
	// 0: "Not started"
	// 1: "Running"
	// 2: "Failed"
	// 3: "Aborted"
	// 4: "Success"
	// 5: "Queued"
	// 6: "Partial Success"
	// 7: "Waiting for approval"
	// 8: "Rejected"
	Status Status `json:"status"`

	// StatusLabel Human-readable status description for the DAG-run
	StatusLabel StatusLabel `json:"statusLabel"`

	// WorkerId ID of the worker that executed this DAG-run ('local' for local execution)
	WorkerId *string `json:"workerId,omitempty"`
}

DAGRunSummary Current status of a DAG-run

type DateTimeFrom

type DateTimeFrom = UnixTimestamp

DateTimeFrom Unix timestamp in seconds

type DateTimeTo

type DateTimeTo = UnixTimestamp

DateTimeTo Unix timestamp in seconds

type DeleteAPIKey204Response added in v1.29.0

type DeleteAPIKey204Response struct {
}

func (DeleteAPIKey204Response) VisitDeleteAPIKeyResponse added in v1.29.0

func (response DeleteAPIKey204Response) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error

type DeleteAPIKey401JSONResponse added in v1.29.0

type DeleteAPIKey401JSONResponse Error

func (DeleteAPIKey401JSONResponse) VisitDeleteAPIKeyResponse added in v1.29.0

func (response DeleteAPIKey401JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error

type DeleteAPIKey403JSONResponse added in v1.29.0

type DeleteAPIKey403JSONResponse Error

func (DeleteAPIKey403JSONResponse) VisitDeleteAPIKeyResponse added in v1.29.0

func (response DeleteAPIKey403JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error

type DeleteAPIKey404JSONResponse added in v1.29.0

type DeleteAPIKey404JSONResponse Error

func (DeleteAPIKey404JSONResponse) VisitDeleteAPIKeyResponse added in v1.29.0

func (response DeleteAPIKey404JSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error

type DeleteAPIKeyRequestObject added in v1.29.0

type DeleteAPIKeyRequestObject struct {
	KeyId APIKeyId `json:"keyId"`
}

type DeleteAPIKeyResponseObject added in v1.29.0

type DeleteAPIKeyResponseObject interface {
	VisitDeleteAPIKeyResponse(w http.ResponseWriter) error
}

type DeleteAPIKeydefaultJSONResponse added in v1.29.0

type DeleteAPIKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteAPIKeydefaultJSONResponse) VisitDeleteAPIKeyResponse added in v1.29.0

func (response DeleteAPIKeydefaultJSONResponse) VisitDeleteAPIKeyResponse(w http.ResponseWriter) error

type DeleteDAG204Response

type DeleteDAG204Response struct {
}

func (DeleteDAG204Response) VisitDeleteDAGResponse

func (response DeleteDAG204Response) VisitDeleteDAGResponse(w http.ResponseWriter) error

type DeleteDAG404JSONResponse

type DeleteDAG404JSONResponse Error

func (DeleteDAG404JSONResponse) VisitDeleteDAGResponse

func (response DeleteDAG404JSONResponse) VisitDeleteDAGResponse(w http.ResponseWriter) error

type DeleteDAGParams

type DeleteDAGParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

DeleteDAGParams defines parameters for DeleteDAG.

type DeleteDAGRequestObject

type DeleteDAGRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   DeleteDAGParams
}

type DeleteDAGResponseObject

type DeleteDAGResponseObject interface {
	VisitDeleteDAGResponse(w http.ResponseWriter) error
}

type DeleteDAGWebhook204Response added in v1.29.0

type DeleteDAGWebhook204Response struct {
}

func (DeleteDAGWebhook204Response) VisitDeleteDAGWebhookResponse added in v1.29.0

func (response DeleteDAGWebhook204Response) VisitDeleteDAGWebhookResponse(w http.ResponseWriter) error

type DeleteDAGWebhook404JSONResponse added in v1.29.0

type DeleteDAGWebhook404JSONResponse Error

func (DeleteDAGWebhook404JSONResponse) VisitDeleteDAGWebhookResponse added in v1.29.0

func (response DeleteDAGWebhook404JSONResponse) VisitDeleteDAGWebhookResponse(w http.ResponseWriter) error

type DeleteDAGWebhookParams added in v1.29.0

type DeleteDAGWebhookParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

DeleteDAGWebhookParams defines parameters for DeleteDAGWebhook.

type DeleteDAGWebhookRequestObject added in v1.29.0

type DeleteDAGWebhookRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   DeleteDAGWebhookParams
}

type DeleteDAGWebhookResponseObject added in v1.29.0

type DeleteDAGWebhookResponseObject interface {
	VisitDeleteDAGWebhookResponse(w http.ResponseWriter) error
}

type DeleteDAGWebhookdefaultJSONResponse added in v1.29.0

type DeleteDAGWebhookdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteDAGWebhookdefaultJSONResponse) VisitDeleteDAGWebhookResponse added in v1.29.0

func (response DeleteDAGWebhookdefaultJSONResponse) VisitDeleteDAGWebhookResponse(w http.ResponseWriter) error

type DeleteDAGdefaultJSONResponse

type DeleteDAGdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteDAGdefaultJSONResponse) VisitDeleteDAGResponse

func (response DeleteDAGdefaultJSONResponse) VisitDeleteDAGResponse(w http.ResponseWriter) error

type DeleteUser204Response added in v1.26.0

type DeleteUser204Response struct {
}

func (DeleteUser204Response) VisitDeleteUserResponse added in v1.26.0

func (response DeleteUser204Response) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser401JSONResponse added in v1.26.0

type DeleteUser401JSONResponse Error

func (DeleteUser401JSONResponse) VisitDeleteUserResponse added in v1.26.0

func (response DeleteUser401JSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser403JSONResponse added in v1.26.0

type DeleteUser403JSONResponse Error

func (DeleteUser403JSONResponse) VisitDeleteUserResponse added in v1.26.0

func (response DeleteUser403JSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUser404JSONResponse added in v1.26.0

type DeleteUser404JSONResponse Error

func (DeleteUser404JSONResponse) VisitDeleteUserResponse added in v1.26.0

func (response DeleteUser404JSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUserRequestObject added in v1.26.0

type DeleteUserRequestObject struct {
	UserId UserId `json:"userId"`
}

type DeleteUserResponseObject added in v1.26.0

type DeleteUserResponseObject interface {
	VisitDeleteUserResponse(w http.ResponseWriter) error
}

type DeleteUserdefaultJSONResponse added in v1.26.0

type DeleteUserdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DeleteUserdefaultJSONResponse) VisitDeleteUserResponse added in v1.26.0

func (response DeleteUserdefaultJSONResponse) VisitDeleteUserResponse(w http.ResponseWriter) error

type DequeueDAGRun200Response

type DequeueDAGRun200Response struct {
}

func (DequeueDAGRun200Response) VisitDequeueDAGRunResponse

func (response DequeueDAGRun200Response) VisitDequeueDAGRunResponse(w http.ResponseWriter) error

type DequeueDAGRun404JSONResponse

type DequeueDAGRun404JSONResponse Error

func (DequeueDAGRun404JSONResponse) VisitDequeueDAGRunResponse

func (response DequeueDAGRun404JSONResponse) VisitDequeueDAGRunResponse(w http.ResponseWriter) error

type DequeueDAGRunParams

type DequeueDAGRunParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

DequeueDAGRunParams defines parameters for DequeueDAGRun.

type DequeueDAGRunRequestObject

type DequeueDAGRunRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   DequeueDAGRunParams
}

type DequeueDAGRunResponseObject

type DequeueDAGRunResponseObject interface {
	VisitDequeueDAGRunResponse(w http.ResponseWriter) error
}

type DequeueDAGRundefaultJSONResponse

type DequeueDAGRundefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (DequeueDAGRundefaultJSONResponse) VisitDequeueDAGRunResponse

func (response DequeueDAGRundefaultJSONResponse) VisitDequeueDAGRunResponse(w http.ResponseWriter) error

type EnqueueDAGDAGRun200JSONResponse

type EnqueueDAGDAGRun200JSONResponse struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`
}

func (EnqueueDAGDAGRun200JSONResponse) VisitEnqueueDAGDAGRunResponse

func (response EnqueueDAGDAGRun200JSONResponse) VisitEnqueueDAGDAGRunResponse(w http.ResponseWriter) error

type EnqueueDAGDAGRun409JSONResponse added in v1.26.4

type EnqueueDAGDAGRun409JSONResponse Error

func (EnqueueDAGDAGRun409JSONResponse) VisitEnqueueDAGDAGRunResponse added in v1.26.4

func (response EnqueueDAGDAGRun409JSONResponse) VisitEnqueueDAGDAGRunResponse(w http.ResponseWriter) error

type EnqueueDAGDAGRunJSONBody

type EnqueueDAGDAGRunJSONBody struct {
	// DagName Optional DAG name override to use for the queued dag-run
	DagName  *string `json:"dagName,omitempty"`
	DagRunId *string `json:"dagRunId,omitempty"`

	// Params Parameters to pass to the DAG-run in JSON format
	Params *string `json:"params,omitempty"`

	// Queue Override the DAG-level queue definition
	Queue *string `json:"queue,omitempty"`

	// Singleton If true, prevent enqueuing if DAG is already running or queued (returns 409 conflict)
	Singleton *bool `json:"singleton,omitempty"`
}

EnqueueDAGDAGRunJSONBody defines parameters for EnqueueDAGDAGRun.

type EnqueueDAGDAGRunJSONRequestBody

type EnqueueDAGDAGRunJSONRequestBody EnqueueDAGDAGRunJSONBody

EnqueueDAGDAGRunJSONRequestBody defines body for EnqueueDAGDAGRun for application/json ContentType.

type EnqueueDAGDAGRunParams

type EnqueueDAGDAGRunParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

EnqueueDAGDAGRunParams defines parameters for EnqueueDAGDAGRun.

type EnqueueDAGDAGRunRequestObject

type EnqueueDAGDAGRunRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   EnqueueDAGDAGRunParams
	Body     *EnqueueDAGDAGRunJSONRequestBody
}

type EnqueueDAGDAGRunResponseObject

type EnqueueDAGDAGRunResponseObject interface {
	VisitEnqueueDAGDAGRunResponse(w http.ResponseWriter) error
}

type EnqueueDAGDAGRundefaultJSONResponse

type EnqueueDAGDAGRundefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (EnqueueDAGDAGRundefaultJSONResponse) VisitEnqueueDAGDAGRunResponse

func (response EnqueueDAGDAGRundefaultJSONResponse) VisitEnqueueDAGDAGRunResponse(w http.ResponseWriter) error

type EnqueueDAGRunFromSpec200JSONResponse added in v1.24.0

type EnqueueDAGRunFromSpec200JSONResponse struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`
}

func (EnqueueDAGRunFromSpec200JSONResponse) VisitEnqueueDAGRunFromSpecResponse added in v1.24.0

func (response EnqueueDAGRunFromSpec200JSONResponse) VisitEnqueueDAGRunFromSpecResponse(w http.ResponseWriter) error

type EnqueueDAGRunFromSpec400JSONResponse added in v1.24.0

type EnqueueDAGRunFromSpec400JSONResponse Error

func (EnqueueDAGRunFromSpec400JSONResponse) VisitEnqueueDAGRunFromSpecResponse added in v1.24.0

func (response EnqueueDAGRunFromSpec400JSONResponse) VisitEnqueueDAGRunFromSpecResponse(w http.ResponseWriter) error

type EnqueueDAGRunFromSpec409JSONResponse added in v1.24.0

type EnqueueDAGRunFromSpec409JSONResponse Error

func (EnqueueDAGRunFromSpec409JSONResponse) VisitEnqueueDAGRunFromSpecResponse added in v1.24.0

func (response EnqueueDAGRunFromSpec409JSONResponse) VisitEnqueueDAGRunFromSpecResponse(w http.ResponseWriter) error

type EnqueueDAGRunFromSpecJSONBody added in v1.24.0

type EnqueueDAGRunFromSpecJSONBody struct {
	DagRunId *string `json:"dagRunId,omitempty"`

	// Name Optional name to use when the spec omits a name
	Name *string `json:"name,omitempty"`

	// Params Parameters to persist with the queued DAG-run in JSON format
	Params *string `json:"params,omitempty"`

	// Queue Override the queue to use for this DAG-run
	Queue *string `json:"queue,omitempty"`

	// Spec DAG specification in YAML format
	Spec string `json:"spec"`
}

EnqueueDAGRunFromSpecJSONBody defines parameters for EnqueueDAGRunFromSpec.

type EnqueueDAGRunFromSpecJSONRequestBody added in v1.24.0

type EnqueueDAGRunFromSpecJSONRequestBody EnqueueDAGRunFromSpecJSONBody

EnqueueDAGRunFromSpecJSONRequestBody defines body for EnqueueDAGRunFromSpec for application/json ContentType.

type EnqueueDAGRunFromSpecParams added in v1.24.0

type EnqueueDAGRunFromSpecParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

EnqueueDAGRunFromSpecParams defines parameters for EnqueueDAGRunFromSpec.

type EnqueueDAGRunFromSpecRequestObject added in v1.24.0

type EnqueueDAGRunFromSpecRequestObject struct {
	Params EnqueueDAGRunFromSpecParams
	Body   *EnqueueDAGRunFromSpecJSONRequestBody
}

type EnqueueDAGRunFromSpecResponseObject added in v1.24.0

type EnqueueDAGRunFromSpecResponseObject interface {
	VisitEnqueueDAGRunFromSpecResponse(w http.ResponseWriter) error
}

type EnqueueDAGRunFromSpecdefaultJSONResponse added in v1.24.0

type EnqueueDAGRunFromSpecdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (EnqueueDAGRunFromSpecdefaultJSONResponse) VisitEnqueueDAGRunFromSpecResponse added in v1.24.0

func (response EnqueueDAGRunFromSpecdefaultJSONResponse) VisitEnqueueDAGRunFromSpecResponse(w http.ResponseWriter) error

type Error

type Error struct {
	// Code Error code indicating the type of error
	Code ErrorCode `json:"code"`

	// Details Additional error details
	Details *map[string]interface{} `json:"details,omitempty"`

	// Message Short error message
	Message string `json:"message"`
}

Error Generic error response object

type ErrorCode

type ErrorCode string

ErrorCode Error code indicating the type of error

const (
	ErrorCodeAlreadyExists    ErrorCode = "already_exists"
	ErrorCodeAuthForbidden    ErrorCode = "auth.forbidden"
	ErrorCodeAuthTokenInvalid ErrorCode = "auth.token_invalid"
	ErrorCodeAuthUnauthorized ErrorCode = "auth.unauthorized"
	ErrorCodeBadGateway       ErrorCode = "bad_gateway"
	ErrorCodeBadRequest       ErrorCode = "bad_request"
	ErrorCodeForbidden        ErrorCode = "forbidden"
	ErrorCodeInternalError    ErrorCode = "internal_error"
	ErrorCodeMaxRunReached    ErrorCode = "max_run_reached"
	ErrorCodeNotFound         ErrorCode = "not_found"
	ErrorCodeNotRunning       ErrorCode = "not_running"
	ErrorCodeRemoteNodeError  ErrorCode = "remote_node_error"
	ErrorCodeUnauthorized     ErrorCode = "unauthorized"
)

Defines values for ErrorCode.

type ExecuteDAG200JSONResponse

type ExecuteDAG200JSONResponse struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`
}

func (ExecuteDAG200JSONResponse) VisitExecuteDAGResponse

func (response ExecuteDAG200JSONResponse) VisitExecuteDAGResponse(w http.ResponseWriter) error

type ExecuteDAG409JSONResponse added in v1.21.0

type ExecuteDAG409JSONResponse Error

func (ExecuteDAG409JSONResponse) VisitExecuteDAGResponse added in v1.21.0

func (response ExecuteDAG409JSONResponse) VisitExecuteDAGResponse(w http.ResponseWriter) error

type ExecuteDAGJSONBody

type ExecuteDAGJSONBody struct {
	// DagName Optional DAG name override to use for the created dag-run
	DagName  *string `json:"dagName,omitempty"`
	DagRunId *string `json:"dagRunId,omitempty"`

	// Params Parameters to pass to the DAG-run in JSON format
	Params *string `json:"params,omitempty"`

	// Singleton If true, prevent starting if DAG is already running (returns 409 conflict)
	Singleton *bool `json:"singleton,omitempty"`
}

ExecuteDAGJSONBody defines parameters for ExecuteDAG.

type ExecuteDAGJSONRequestBody

type ExecuteDAGJSONRequestBody ExecuteDAGJSONBody

ExecuteDAGJSONRequestBody defines body for ExecuteDAG for application/json ContentType.

type ExecuteDAGParams

type ExecuteDAGParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ExecuteDAGParams defines parameters for ExecuteDAG.

type ExecuteDAGRequestObject

type ExecuteDAGRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   ExecuteDAGParams
	Body     *ExecuteDAGJSONRequestBody
}

type ExecuteDAGResponseObject

type ExecuteDAGResponseObject interface {
	VisitExecuteDAGResponse(w http.ResponseWriter) error
}

type ExecuteDAGRunFromSpec200JSONResponse added in v1.23.0

type ExecuteDAGRunFromSpec200JSONResponse struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`
}

func (ExecuteDAGRunFromSpec200JSONResponse) VisitExecuteDAGRunFromSpecResponse added in v1.23.0

func (response ExecuteDAGRunFromSpec200JSONResponse) VisitExecuteDAGRunFromSpecResponse(w http.ResponseWriter) error

type ExecuteDAGRunFromSpec400JSONResponse added in v1.23.0

type ExecuteDAGRunFromSpec400JSONResponse Error

func (ExecuteDAGRunFromSpec400JSONResponse) VisitExecuteDAGRunFromSpecResponse added in v1.23.0

func (response ExecuteDAGRunFromSpec400JSONResponse) VisitExecuteDAGRunFromSpecResponse(w http.ResponseWriter) error

type ExecuteDAGRunFromSpec409JSONResponse added in v1.23.0

type ExecuteDAGRunFromSpec409JSONResponse Error

func (ExecuteDAGRunFromSpec409JSONResponse) VisitExecuteDAGRunFromSpecResponse added in v1.23.0

func (response ExecuteDAGRunFromSpec409JSONResponse) VisitExecuteDAGRunFromSpecResponse(w http.ResponseWriter) error

type ExecuteDAGRunFromSpecJSONBody added in v1.23.0

type ExecuteDAGRunFromSpecJSONBody struct {
	DagRunId *string `json:"dagRunId,omitempty"`

	// Name Optional name to use when the spec omits a name
	Name *string `json:"name,omitempty"`

	// Params Parameters to pass to the DAG-run in JSON format
	Params *string `json:"params,omitempty"`

	// Singleton If true, prevent starting if a DAG with the same name is already running (returns 409)
	Singleton *bool `json:"singleton,omitempty"`

	// Spec DAG specification in YAML format
	Spec string `json:"spec"`
}

ExecuteDAGRunFromSpecJSONBody defines parameters for ExecuteDAGRunFromSpec.

type ExecuteDAGRunFromSpecJSONRequestBody added in v1.23.0

type ExecuteDAGRunFromSpecJSONRequestBody ExecuteDAGRunFromSpecJSONBody

ExecuteDAGRunFromSpecJSONRequestBody defines body for ExecuteDAGRunFromSpec for application/json ContentType.

type ExecuteDAGRunFromSpecParams added in v1.23.0

type ExecuteDAGRunFromSpecParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ExecuteDAGRunFromSpecParams defines parameters for ExecuteDAGRunFromSpec.

type ExecuteDAGRunFromSpecRequestObject added in v1.23.0

type ExecuteDAGRunFromSpecRequestObject struct {
	Params ExecuteDAGRunFromSpecParams
	Body   *ExecuteDAGRunFromSpecJSONRequestBody
}

type ExecuteDAGRunFromSpecResponseObject added in v1.23.0

type ExecuteDAGRunFromSpecResponseObject interface {
	VisitExecuteDAGRunFromSpecResponse(w http.ResponseWriter) error
}

type ExecuteDAGRunFromSpecdefaultJSONResponse added in v1.23.0

type ExecuteDAGRunFromSpecdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ExecuteDAGRunFromSpecdefaultJSONResponse) VisitExecuteDAGRunFromSpecResponse added in v1.23.0

func (response ExecuteDAGRunFromSpecdefaultJSONResponse) VisitExecuteDAGRunFromSpecResponse(w http.ResponseWriter) error

type ExecuteDAGdefaultJSONResponse

type ExecuteDAGdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ExecuteDAGdefaultJSONResponse) VisitExecuteDAGResponse

func (response ExecuteDAGdefaultJSONResponse) VisitExecuteDAGResponse(w http.ResponseWriter) error

type GetAPIKey200JSONResponse added in v1.29.0

type GetAPIKey200JSONResponse APIKeyResponse

func (GetAPIKey200JSONResponse) VisitGetAPIKeyResponse added in v1.29.0

func (response GetAPIKey200JSONResponse) VisitGetAPIKeyResponse(w http.ResponseWriter) error

type GetAPIKey401JSONResponse added in v1.29.0

type GetAPIKey401JSONResponse Error

func (GetAPIKey401JSONResponse) VisitGetAPIKeyResponse added in v1.29.0

func (response GetAPIKey401JSONResponse) VisitGetAPIKeyResponse(w http.ResponseWriter) error

type GetAPIKey403JSONResponse added in v1.29.0

type GetAPIKey403JSONResponse Error

func (GetAPIKey403JSONResponse) VisitGetAPIKeyResponse added in v1.29.0

func (response GetAPIKey403JSONResponse) VisitGetAPIKeyResponse(w http.ResponseWriter) error

type GetAPIKey404JSONResponse added in v1.29.0

type GetAPIKey404JSONResponse Error

func (GetAPIKey404JSONResponse) VisitGetAPIKeyResponse added in v1.29.0

func (response GetAPIKey404JSONResponse) VisitGetAPIKeyResponse(w http.ResponseWriter) error

type GetAPIKeyRequestObject added in v1.29.0

type GetAPIKeyRequestObject struct {
	KeyId APIKeyId `json:"keyId"`
}

type GetAPIKeyResponseObject added in v1.29.0

type GetAPIKeyResponseObject interface {
	VisitGetAPIKeyResponse(w http.ResponseWriter) error
}

type GetAPIKeydefaultJSONResponse added in v1.29.0

type GetAPIKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetAPIKeydefaultJSONResponse) VisitGetAPIKeyResponse added in v1.29.0

func (response GetAPIKeydefaultJSONResponse) VisitGetAPIKeyResponse(w http.ResponseWriter) error

type GetAllDAGTags200JSONResponse

type GetAllDAGTags200JSONResponse ListTagResponse

func (GetAllDAGTags200JSONResponse) VisitGetAllDAGTagsResponse

func (response GetAllDAGTags200JSONResponse) VisitGetAllDAGTagsResponse(w http.ResponseWriter) error

type GetAllDAGTagsParams

type GetAllDAGTagsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetAllDAGTagsParams defines parameters for GetAllDAGTags.

type GetAllDAGTagsRequestObject

type GetAllDAGTagsRequestObject struct {
	Params GetAllDAGTagsParams
}

type GetAllDAGTagsResponseObject

type GetAllDAGTagsResponseObject interface {
	VisitGetAllDAGTagsResponse(w http.ResponseWriter) error
}

type GetAllDAGTagsdefaultJSONResponse

type GetAllDAGTagsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetAllDAGTagsdefaultJSONResponse) VisitGetAllDAGTagsResponse

func (response GetAllDAGTagsdefaultJSONResponse) VisitGetAllDAGTagsResponse(w http.ResponseWriter) error

type GetCoordinatorStatus200JSONResponse added in v1.20.0

type GetCoordinatorStatus200JSONResponse CoordinatorStatusResponse

func (GetCoordinatorStatus200JSONResponse) VisitGetCoordinatorStatusResponse added in v1.20.0

func (response GetCoordinatorStatus200JSONResponse) VisitGetCoordinatorStatusResponse(w http.ResponseWriter) error

type GetCoordinatorStatusParams added in v1.20.0

type GetCoordinatorStatusParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetCoordinatorStatusParams defines parameters for GetCoordinatorStatus.

type GetCoordinatorStatusRequestObject added in v1.20.0

type GetCoordinatorStatusRequestObject struct {
	Params GetCoordinatorStatusParams
}

type GetCoordinatorStatusResponseObject added in v1.20.0

type GetCoordinatorStatusResponseObject interface {
	VisitGetCoordinatorStatusResponse(w http.ResponseWriter) error
}

type GetCoordinatorStatusdefaultJSONResponse added in v1.20.0

type GetCoordinatorStatusdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetCoordinatorStatusdefaultJSONResponse) VisitGetCoordinatorStatusResponse added in v1.20.0

func (response GetCoordinatorStatusdefaultJSONResponse) VisitGetCoordinatorStatusResponse(w http.ResponseWriter) error

type GetCurrentUser200JSONResponse added in v1.26.0

type GetCurrentUser200JSONResponse UserResponse

func (GetCurrentUser200JSONResponse) VisitGetCurrentUserResponse added in v1.26.0

func (response GetCurrentUser200JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUser401JSONResponse added in v1.26.0

type GetCurrentUser401JSONResponse Error

func (GetCurrentUser401JSONResponse) VisitGetCurrentUserResponse added in v1.26.0

func (response GetCurrentUser401JSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetCurrentUserRequestObject added in v1.26.0

type GetCurrentUserRequestObject struct {
}

type GetCurrentUserResponseObject added in v1.26.0

type GetCurrentUserResponseObject interface {
	VisitGetCurrentUserResponse(w http.ResponseWriter) error
}

type GetCurrentUserdefaultJSONResponse added in v1.26.0

type GetCurrentUserdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetCurrentUserdefaultJSONResponse) VisitGetCurrentUserResponse added in v1.26.0

func (response GetCurrentUserdefaultJSONResponse) VisitGetCurrentUserResponse(w http.ResponseWriter) error

type GetDAGDAGRunDetails200JSONResponse

type GetDAGDAGRunDetails200JSONResponse struct {
	// DagRun Detailed status of a DAG-run including sub DAG-run nodes
	DagRun DAGRunDetails `json:"dagRun"`
}

func (GetDAGDAGRunDetails200JSONResponse) VisitGetDAGDAGRunDetailsResponse

func (response GetDAGDAGRunDetails200JSONResponse) VisitGetDAGDAGRunDetailsResponse(w http.ResponseWriter) error

type GetDAGDAGRunDetailsParams

type GetDAGDAGRunDetailsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGDAGRunDetailsParams defines parameters for GetDAGDAGRunDetails.

type GetDAGDAGRunDetailsRequestObject

type GetDAGDAGRunDetailsRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	DagRunId DAGRunId    `json:"dagRunId"`
	Params   GetDAGDAGRunDetailsParams
}

type GetDAGDAGRunDetailsResponseObject

type GetDAGDAGRunDetailsResponseObject interface {
	VisitGetDAGDAGRunDetailsResponse(w http.ResponseWriter) error
}

type GetDAGDAGRunDetailsdefaultJSONResponse

type GetDAGDAGRunDetailsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGDAGRunDetailsdefaultJSONResponse) VisitGetDAGDAGRunDetailsResponse

func (response GetDAGDAGRunDetailsdefaultJSONResponse) VisitGetDAGDAGRunDetailsResponse(w http.ResponseWriter) error

type GetDAGDAGRunHistory200JSONResponse

type GetDAGDAGRunHistory200JSONResponse struct {
	// DagRuns List of historical DAG-runs created from this DAG
	DagRuns []DAGRunDetails `json:"dagRuns"`

	// GridData Grid data for visualization
	GridData []DAGGridItem `json:"gridData"`
}

func (GetDAGDAGRunHistory200JSONResponse) VisitGetDAGDAGRunHistoryResponse

func (response GetDAGDAGRunHistory200JSONResponse) VisitGetDAGDAGRunHistoryResponse(w http.ResponseWriter) error

type GetDAGDAGRunHistoryParams

type GetDAGDAGRunHistoryParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGDAGRunHistoryParams defines parameters for GetDAGDAGRunHistory.

type GetDAGDAGRunHistoryRequestObject

type GetDAGDAGRunHistoryRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   GetDAGDAGRunHistoryParams
}

type GetDAGDAGRunHistoryResponseObject

type GetDAGDAGRunHistoryResponseObject interface {
	VisitGetDAGDAGRunHistoryResponse(w http.ResponseWriter) error
}

type GetDAGDAGRunHistorydefaultJSONResponse

type GetDAGDAGRunHistorydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGDAGRunHistorydefaultJSONResponse) VisitGetDAGDAGRunHistoryResponse

func (response GetDAGDAGRunHistorydefaultJSONResponse) VisitGetDAGDAGRunHistoryResponse(w http.ResponseWriter) error

type GetDAGDetails200JSONResponse

type GetDAGDetails200JSONResponse struct {
	// Dag Detailed DAG configuration information
	Dag *DAGDetails `json:"dag,omitempty"`

	// Errors List of errors encountered during the request
	Errors []string `json:"errors"`

	// LatestDAGRun Detailed status of a DAG-run including sub DAG-run nodes
	LatestDAGRun DAGRunDetails `json:"latestDAGRun"`

	// LocalDags List of local DAGs that are part of this DAG
	LocalDags []LocalDag `json:"localDags"`

	// Suspended Whether the DAG is suspended
	Suspended bool `json:"suspended"`
}

func (GetDAGDetails200JSONResponse) VisitGetDAGDetailsResponse

func (response GetDAGDetails200JSONResponse) VisitGetDAGDetailsResponse(w http.ResponseWriter) error

type GetDAGDetailsParams

type GetDAGDetailsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGDetailsParams defines parameters for GetDAGDetails.

type GetDAGDetailsRequestObject

type GetDAGDetailsRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   GetDAGDetailsParams
}

type GetDAGDetailsResponseObject

type GetDAGDetailsResponseObject interface {
	VisitGetDAGDetailsResponse(w http.ResponseWriter) error
}

type GetDAGDetailsdefaultJSONResponse

type GetDAGDetailsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGDetailsdefaultJSONResponse) VisitGetDAGDetailsResponse

func (response GetDAGDetailsdefaultJSONResponse) VisitGetDAGDetailsResponse(w http.ResponseWriter) error

type GetDAGRunDetails200JSONResponse

type GetDAGRunDetails200JSONResponse struct {
	// DagRunDetails Detailed status of a DAG-run including sub DAG-run nodes
	DagRunDetails DAGRunDetails `json:"dagRunDetails"`
}

func (GetDAGRunDetails200JSONResponse) VisitGetDAGRunDetailsResponse

func (response GetDAGRunDetails200JSONResponse) VisitGetDAGRunDetailsResponse(w http.ResponseWriter) error

type GetDAGRunDetails404JSONResponse

type GetDAGRunDetails404JSONResponse Error

func (GetDAGRunDetails404JSONResponse) VisitGetDAGRunDetailsResponse

func (response GetDAGRunDetails404JSONResponse) VisitGetDAGRunDetailsResponse(w http.ResponseWriter) error

type GetDAGRunDetailsParams

type GetDAGRunDetailsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGRunDetailsParams defines parameters for GetDAGRunDetails.

type GetDAGRunDetailsRequestObject

type GetDAGRunDetailsRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   GetDAGRunDetailsParams
}

type GetDAGRunDetailsResponseObject

type GetDAGRunDetailsResponseObject interface {
	VisitGetDAGRunDetailsResponse(w http.ResponseWriter) error
}

type GetDAGRunDetailsdefaultJSONResponse

type GetDAGRunDetailsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGRunDetailsdefaultJSONResponse) VisitGetDAGRunDetailsResponse

func (response GetDAGRunDetailsdefaultJSONResponse) VisitGetDAGRunDetailsResponse(w http.ResponseWriter) error

type GetDAGRunLog200JSONResponse

type GetDAGRunLog200JSONResponse Log

func (GetDAGRunLog200JSONResponse) VisitGetDAGRunLogResponse

func (response GetDAGRunLog200JSONResponse) VisitGetDAGRunLogResponse(w http.ResponseWriter) error

type GetDAGRunLog404JSONResponse

type GetDAGRunLog404JSONResponse Error

func (GetDAGRunLog404JSONResponse) VisitGetDAGRunLogResponse

func (response GetDAGRunLog404JSONResponse) VisitGetDAGRunLogResponse(w http.ResponseWriter) error

type GetDAGRunLogParams

type GetDAGRunLogParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Tail Number of lines to return from the end of the file
	Tail *Tail `form:"tail,omitempty" json:"tail,omitempty"`

	// Head Number of lines to return from the beginning of the file
	Head *Head `form:"head,omitempty" json:"head,omitempty"`

	// Offset Line number to start reading from (1-based)
	Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit Maximum number of lines to return
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetDAGRunLogParams defines parameters for GetDAGRunLog.

type GetDAGRunLogRequestObject

type GetDAGRunLogRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   GetDAGRunLogParams
}

type GetDAGRunLogResponseObject

type GetDAGRunLogResponseObject interface {
	VisitGetDAGRunLogResponse(w http.ResponseWriter) error
}

type GetDAGRunLogdefaultJSONResponse

type GetDAGRunLogdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGRunLogdefaultJSONResponse) VisitGetDAGRunLogResponse

func (response GetDAGRunLogdefaultJSONResponse) VisitGetDAGRunLogResponse(w http.ResponseWriter) error

type GetDAGRunOutputs200JSONResponse added in v1.29.0

type GetDAGRunOutputs200JSONResponse DAGRunOutputs

func (GetDAGRunOutputs200JSONResponse) VisitGetDAGRunOutputsResponse added in v1.29.0

func (response GetDAGRunOutputs200JSONResponse) VisitGetDAGRunOutputsResponse(w http.ResponseWriter) error

type GetDAGRunOutputs404JSONResponse added in v1.29.0

type GetDAGRunOutputs404JSONResponse Error

func (GetDAGRunOutputs404JSONResponse) VisitGetDAGRunOutputsResponse added in v1.29.0

func (response GetDAGRunOutputs404JSONResponse) VisitGetDAGRunOutputsResponse(w http.ResponseWriter) error

type GetDAGRunOutputsParams added in v1.29.0

type GetDAGRunOutputsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGRunOutputsParams defines parameters for GetDAGRunOutputs.

type GetDAGRunOutputsRequestObject added in v1.29.0

type GetDAGRunOutputsRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   GetDAGRunOutputsParams
}

type GetDAGRunOutputsResponseObject added in v1.29.0

type GetDAGRunOutputsResponseObject interface {
	VisitGetDAGRunOutputsResponse(w http.ResponseWriter) error
}

type GetDAGRunOutputsdefaultJSONResponse added in v1.29.0

type GetDAGRunOutputsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGRunOutputsdefaultJSONResponse) VisitGetDAGRunOutputsResponse added in v1.29.0

func (response GetDAGRunOutputsdefaultJSONResponse) VisitGetDAGRunOutputsResponse(w http.ResponseWriter) error

type GetDAGRunSpec200JSONResponse added in v1.30.0

type GetDAGRunSpec200JSONResponse struct {
	// Spec The DAG spec in YAML format
	Spec string `json:"spec"`
}

func (GetDAGRunSpec200JSONResponse) VisitGetDAGRunSpecResponse added in v1.30.0

func (response GetDAGRunSpec200JSONResponse) VisitGetDAGRunSpecResponse(w http.ResponseWriter) error

type GetDAGRunSpec404JSONResponse added in v1.30.0

type GetDAGRunSpec404JSONResponse Error

func (GetDAGRunSpec404JSONResponse) VisitGetDAGRunSpecResponse added in v1.30.0

func (response GetDAGRunSpec404JSONResponse) VisitGetDAGRunSpecResponse(w http.ResponseWriter) error

type GetDAGRunSpecParams added in v1.30.0

type GetDAGRunSpecParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGRunSpecParams defines parameters for GetDAGRunSpec.

type GetDAGRunSpecRequestObject added in v1.30.0

type GetDAGRunSpecRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   GetDAGRunSpecParams
}

type GetDAGRunSpecResponseObject added in v1.30.0

type GetDAGRunSpecResponseObject interface {
	VisitGetDAGRunSpecResponse(w http.ResponseWriter) error
}

type GetDAGRunSpecdefaultJSONResponse added in v1.30.0

type GetDAGRunSpecdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGRunSpecdefaultJSONResponse) VisitGetDAGRunSpecResponse added in v1.30.0

func (response GetDAGRunSpecdefaultJSONResponse) VisitGetDAGRunSpecResponse(w http.ResponseWriter) error

type GetDAGRunStepLog200JSONResponse

type GetDAGRunStepLog200JSONResponse Log

func (GetDAGRunStepLog200JSONResponse) VisitGetDAGRunStepLogResponse

func (response GetDAGRunStepLog200JSONResponse) VisitGetDAGRunStepLogResponse(w http.ResponseWriter) error

type GetDAGRunStepLog404JSONResponse

type GetDAGRunStepLog404JSONResponse Error

func (GetDAGRunStepLog404JSONResponse) VisitGetDAGRunStepLogResponse

func (response GetDAGRunStepLog404JSONResponse) VisitGetDAGRunStepLogResponse(w http.ResponseWriter) error

type GetDAGRunStepLogParams

type GetDAGRunStepLogParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Tail Number of lines to return from the end of the file
	Tail *Tail `form:"tail,omitempty" json:"tail,omitempty"`

	// Head Number of lines to return from the beginning of the file
	Head *Head `form:"head,omitempty" json:"head,omitempty"`

	// Offset Line number to start reading from (1-based)
	Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit Maximum number of lines to return
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Stream Whether to return stdout or stderr logs
	Stream *Stream `form:"stream,omitempty" json:"stream,omitempty"`
}

GetDAGRunStepLogParams defines parameters for GetDAGRunStepLog.

type GetDAGRunStepLogRequestObject

type GetDAGRunStepLogRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	StepName StepName `json:"stepName"`
	Params   GetDAGRunStepLogParams
}

type GetDAGRunStepLogResponseObject

type GetDAGRunStepLogResponseObject interface {
	VisitGetDAGRunStepLogResponse(w http.ResponseWriter) error
}

type GetDAGRunStepLogdefaultJSONResponse

type GetDAGRunStepLogdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGRunStepLogdefaultJSONResponse) VisitGetDAGRunStepLogResponse

func (response GetDAGRunStepLogdefaultJSONResponse) VisitGetDAGRunStepLogResponse(w http.ResponseWriter) error

type GetDAGSpec200JSONResponse

type GetDAGSpec200JSONResponse struct {
	// Dag Detailed DAG configuration information
	Dag *DAGDetails `json:"dag,omitempty"`

	// Errors List of errors in the spec
	Errors []string `json:"errors"`

	// Spec The DAG spec in YAML format
	Spec string `json:"spec"`
}

func (GetDAGSpec200JSONResponse) VisitGetDAGSpecResponse

func (response GetDAGSpec200JSONResponse) VisitGetDAGSpecResponse(w http.ResponseWriter) error

type GetDAGSpecParams

type GetDAGSpecParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGSpecParams defines parameters for GetDAGSpec.

type GetDAGSpecRequestObject

type GetDAGSpecRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   GetDAGSpecParams
}

type GetDAGSpecResponseObject

type GetDAGSpecResponseObject interface {
	VisitGetDAGSpecResponse(w http.ResponseWriter) error
}

type GetDAGSpecdefaultJSONResponse

type GetDAGSpecdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGSpecdefaultJSONResponse) VisitGetDAGSpecResponse

func (response GetDAGSpecdefaultJSONResponse) VisitGetDAGSpecResponse(w http.ResponseWriter) error

type GetDAGWebhook200JSONResponse added in v1.29.0

type GetDAGWebhook200JSONResponse WebhookDetails

func (GetDAGWebhook200JSONResponse) VisitGetDAGWebhookResponse added in v1.29.0

func (response GetDAGWebhook200JSONResponse) VisitGetDAGWebhookResponse(w http.ResponseWriter) error

type GetDAGWebhook404JSONResponse added in v1.29.0

type GetDAGWebhook404JSONResponse Error

func (GetDAGWebhook404JSONResponse) VisitGetDAGWebhookResponse added in v1.29.0

func (response GetDAGWebhook404JSONResponse) VisitGetDAGWebhookResponse(w http.ResponseWriter) error

type GetDAGWebhookParams added in v1.29.0

type GetDAGWebhookParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetDAGWebhookParams defines parameters for GetDAGWebhook.

type GetDAGWebhookRequestObject added in v1.29.0

type GetDAGWebhookRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   GetDAGWebhookParams
}

type GetDAGWebhookResponseObject added in v1.29.0

type GetDAGWebhookResponseObject interface {
	VisitGetDAGWebhookResponse(w http.ResponseWriter) error
}

type GetDAGWebhookdefaultJSONResponse added in v1.29.0

type GetDAGWebhookdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetDAGWebhookdefaultJSONResponse) VisitGetDAGWebhookResponse added in v1.29.0

func (response GetDAGWebhookdefaultJSONResponse) VisitGetDAGWebhookResponse(w http.ResponseWriter) error

type GetHealthStatus200JSONResponse

type GetHealthStatus200JSONResponse HealthResponse

func (GetHealthStatus200JSONResponse) VisitGetHealthStatusResponse

func (response GetHealthStatus200JSONResponse) VisitGetHealthStatusResponse(w http.ResponseWriter) error

type GetHealthStatusRequestObject

type GetHealthStatusRequestObject struct {
}

type GetHealthStatusResponseObject

type GetHealthStatusResponseObject interface {
	VisitGetHealthStatusResponse(w http.ResponseWriter) error
}

type GetHealthStatusdefaultResponse

type GetHealthStatusdefaultResponse struct {
	StatusCode int
}

func (GetHealthStatusdefaultResponse) VisitGetHealthStatusResponse

func (response GetHealthStatusdefaultResponse) VisitGetHealthStatusResponse(w http.ResponseWriter) error

type GetMetrics200TextResponse

type GetMetrics200TextResponse string

func (GetMetrics200TextResponse) VisitGetMetricsResponse

func (response GetMetrics200TextResponse) VisitGetMetricsResponse(w http.ResponseWriter) error

type GetMetricsRequestObject

type GetMetricsRequestObject struct {
}

type GetMetricsResponseObject

type GetMetricsResponseObject interface {
	VisitGetMetricsResponse(w http.ResponseWriter) error
}

type GetMetricsdefaultJSONResponse

type GetMetricsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetMetricsdefaultJSONResponse) VisitGetMetricsResponse

func (response GetMetricsdefaultJSONResponse) VisitGetMetricsResponse(w http.ResponseWriter) error

type GetResourceHistory200JSONResponse added in v1.26.0

type GetResourceHistory200JSONResponse ResourceHistory

func (GetResourceHistory200JSONResponse) VisitGetResourceHistoryResponse added in v1.26.0

func (response GetResourceHistory200JSONResponse) VisitGetResourceHistoryResponse(w http.ResponseWriter) error

type GetResourceHistoryParams added in v1.26.0

type GetResourceHistoryParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Duration Duration of history to retrieve (e.g., 30m, 1h)
	Duration *string `form:"duration,omitempty" json:"duration,omitempty"`
}

GetResourceHistoryParams defines parameters for GetResourceHistory.

type GetResourceHistoryRequestObject added in v1.26.0

type GetResourceHistoryRequestObject struct {
	Params GetResourceHistoryParams
}

type GetResourceHistoryResponseObject added in v1.26.0

type GetResourceHistoryResponseObject interface {
	VisitGetResourceHistoryResponse(w http.ResponseWriter) error
}

type GetResourceHistorydefaultJSONResponse added in v1.26.0

type GetResourceHistorydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetResourceHistorydefaultJSONResponse) VisitGetResourceHistoryResponse added in v1.26.0

func (response GetResourceHistorydefaultJSONResponse) VisitGetResourceHistoryResponse(w http.ResponseWriter) error

type GetSchedulerStatus200JSONResponse added in v1.20.0

type GetSchedulerStatus200JSONResponse SchedulerStatusResponse

func (GetSchedulerStatus200JSONResponse) VisitGetSchedulerStatusResponse added in v1.20.0

func (response GetSchedulerStatus200JSONResponse) VisitGetSchedulerStatusResponse(w http.ResponseWriter) error

type GetSchedulerStatusParams added in v1.20.0

type GetSchedulerStatusParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetSchedulerStatusParams defines parameters for GetSchedulerStatus.

type GetSchedulerStatusRequestObject added in v1.20.0

type GetSchedulerStatusRequestObject struct {
	Params GetSchedulerStatusParams
}

type GetSchedulerStatusResponseObject added in v1.20.0

type GetSchedulerStatusResponseObject interface {
	VisitGetSchedulerStatusResponse(w http.ResponseWriter) error
}

type GetSchedulerStatusdefaultJSONResponse added in v1.20.0

type GetSchedulerStatusdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetSchedulerStatusdefaultJSONResponse) VisitGetSchedulerStatusResponse added in v1.20.0

func (response GetSchedulerStatusdefaultJSONResponse) VisitGetSchedulerStatusResponse(w http.ResponseWriter) error

type GetSubDAGRunDetails200JSONResponse added in v1.24.0

type GetSubDAGRunDetails200JSONResponse struct {
	// DagRunDetails Detailed status of a DAG-run including sub DAG-run nodes
	DagRunDetails DAGRunDetails `json:"dagRunDetails"`
}

func (GetSubDAGRunDetails200JSONResponse) VisitGetSubDAGRunDetailsResponse added in v1.24.0

func (response GetSubDAGRunDetails200JSONResponse) VisitGetSubDAGRunDetailsResponse(w http.ResponseWriter) error

type GetSubDAGRunDetails404JSONResponse added in v1.24.0

type GetSubDAGRunDetails404JSONResponse Error

func (GetSubDAGRunDetails404JSONResponse) VisitGetSubDAGRunDetailsResponse added in v1.24.0

func (response GetSubDAGRunDetails404JSONResponse) VisitGetSubDAGRunDetailsResponse(w http.ResponseWriter) error

type GetSubDAGRunDetailsParams added in v1.24.0

type GetSubDAGRunDetailsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetSubDAGRunDetailsParams defines parameters for GetSubDAGRunDetails.

type GetSubDAGRunDetailsRequestObject added in v1.24.0

type GetSubDAGRunDetailsRequestObject struct {
	Name        DAGName  `json:"name"`
	DagRunId    DAGRunId `json:"dagRunId"`
	SubDAGRunId string   `json:"subDAGRunId"`
	Params      GetSubDAGRunDetailsParams
}

type GetSubDAGRunDetailsResponseObject added in v1.24.0

type GetSubDAGRunDetailsResponseObject interface {
	VisitGetSubDAGRunDetailsResponse(w http.ResponseWriter) error
}

type GetSubDAGRunDetailsdefaultJSONResponse added in v1.24.0

type GetSubDAGRunDetailsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetSubDAGRunDetailsdefaultJSONResponse) VisitGetSubDAGRunDetailsResponse added in v1.24.0

func (response GetSubDAGRunDetailsdefaultJSONResponse) VisitGetSubDAGRunDetailsResponse(w http.ResponseWriter) error

type GetSubDAGRunLog200JSONResponse added in v1.24.0

type GetSubDAGRunLog200JSONResponse Log

func (GetSubDAGRunLog200JSONResponse) VisitGetSubDAGRunLogResponse added in v1.24.0

func (response GetSubDAGRunLog200JSONResponse) VisitGetSubDAGRunLogResponse(w http.ResponseWriter) error

type GetSubDAGRunLog404JSONResponse added in v1.24.0

type GetSubDAGRunLog404JSONResponse Error

func (GetSubDAGRunLog404JSONResponse) VisitGetSubDAGRunLogResponse added in v1.24.0

func (response GetSubDAGRunLog404JSONResponse) VisitGetSubDAGRunLogResponse(w http.ResponseWriter) error

type GetSubDAGRunLogParams added in v1.24.0

type GetSubDAGRunLogParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Tail Number of lines to return from the end of the file
	Tail *Tail `form:"tail,omitempty" json:"tail,omitempty"`

	// Head Number of lines to return from the beginning of the file
	Head *Head `form:"head,omitempty" json:"head,omitempty"`

	// Offset Line number to start reading from (1-based)
	Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit Maximum number of lines to return
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`
}

GetSubDAGRunLogParams defines parameters for GetSubDAGRunLog.

type GetSubDAGRunLogRequestObject added in v1.24.0

type GetSubDAGRunLogRequestObject struct {
	Name        DAGName  `json:"name"`
	DagRunId    DAGRunId `json:"dagRunId"`
	SubDAGRunId string   `json:"subDAGRunId"`
	Params      GetSubDAGRunLogParams
}

type GetSubDAGRunLogResponseObject added in v1.24.0

type GetSubDAGRunLogResponseObject interface {
	VisitGetSubDAGRunLogResponse(w http.ResponseWriter) error
}

type GetSubDAGRunLogdefaultJSONResponse added in v1.24.0

type GetSubDAGRunLogdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetSubDAGRunLogdefaultJSONResponse) VisitGetSubDAGRunLogResponse added in v1.24.0

func (response GetSubDAGRunLogdefaultJSONResponse) VisitGetSubDAGRunLogResponse(w http.ResponseWriter) error

type GetSubDAGRunStepLog200JSONResponse added in v1.24.0

type GetSubDAGRunStepLog200JSONResponse Log

func (GetSubDAGRunStepLog200JSONResponse) VisitGetSubDAGRunStepLogResponse added in v1.24.0

func (response GetSubDAGRunStepLog200JSONResponse) VisitGetSubDAGRunStepLogResponse(w http.ResponseWriter) error

type GetSubDAGRunStepLog404JSONResponse added in v1.24.0

type GetSubDAGRunStepLog404JSONResponse Error

func (GetSubDAGRunStepLog404JSONResponse) VisitGetSubDAGRunStepLogResponse added in v1.24.0

func (response GetSubDAGRunStepLog404JSONResponse) VisitGetSubDAGRunStepLogResponse(w http.ResponseWriter) error

type GetSubDAGRunStepLogParams added in v1.24.0

type GetSubDAGRunStepLogParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Tail Number of lines to return from the end of the file
	Tail *Tail `form:"tail,omitempty" json:"tail,omitempty"`

	// Head Number of lines to return from the beginning of the file
	Head *Head `form:"head,omitempty" json:"head,omitempty"`

	// Offset Line number to start reading from (1-based)
	Offset *Offset `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit Maximum number of lines to return
	Limit *Limit `form:"limit,omitempty" json:"limit,omitempty"`

	// Stream Whether to return stdout or stderr logs
	Stream *Stream `form:"stream,omitempty" json:"stream,omitempty"`
}

GetSubDAGRunStepLogParams defines parameters for GetSubDAGRunStepLog.

type GetSubDAGRunStepLogRequestObject added in v1.24.0

type GetSubDAGRunStepLogRequestObject struct {
	Name        DAGName  `json:"name"`
	DagRunId    DAGRunId `json:"dagRunId"`
	SubDAGRunId string   `json:"subDAGRunId"`
	StepName    StepName `json:"stepName"`
	Params      GetSubDAGRunStepLogParams
}

type GetSubDAGRunStepLogResponseObject added in v1.24.0

type GetSubDAGRunStepLogResponseObject interface {
	VisitGetSubDAGRunStepLogResponse(w http.ResponseWriter) error
}

type GetSubDAGRunStepLogdefaultJSONResponse added in v1.24.0

type GetSubDAGRunStepLogdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetSubDAGRunStepLogdefaultJSONResponse) VisitGetSubDAGRunStepLogResponse added in v1.24.0

func (response GetSubDAGRunStepLogdefaultJSONResponse) VisitGetSubDAGRunStepLogResponse(w http.ResponseWriter) error

type GetSubDAGRuns200JSONResponse added in v1.24.0

type GetSubDAGRuns200JSONResponse struct {
	SubRuns []SubDAGRunDetail `json:"subRuns"`
}

func (GetSubDAGRuns200JSONResponse) VisitGetSubDAGRunsResponse added in v1.24.0

func (response GetSubDAGRuns200JSONResponse) VisitGetSubDAGRunsResponse(w http.ResponseWriter) error

type GetSubDAGRuns404JSONResponse added in v1.24.0

type GetSubDAGRuns404JSONResponse Error

func (GetSubDAGRuns404JSONResponse) VisitGetSubDAGRunsResponse added in v1.24.0

func (response GetSubDAGRuns404JSONResponse) VisitGetSubDAGRunsResponse(w http.ResponseWriter) error

type GetSubDAGRunsParams added in v1.24.0

type GetSubDAGRunsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// ParentSubDAGRunId Optional parent sub DAG run ID. When provided, returns sub-runs of this specific sub DAG run instead of the root DAG run. Used for multi-level nested DAGs.
	ParentSubDAGRunId *string `form:"parentSubDAGRunId,omitempty" json:"parentSubDAGRunId,omitempty"`
}

GetSubDAGRunsParams defines parameters for GetSubDAGRuns.

type GetSubDAGRunsRequestObject added in v1.24.0

type GetSubDAGRunsRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   GetSubDAGRunsParams
}

type GetSubDAGRunsResponseObject added in v1.24.0

type GetSubDAGRunsResponseObject interface {
	VisitGetSubDAGRunsResponse(w http.ResponseWriter) error
}

type GetSubDAGRunsdefaultJSONResponse added in v1.24.0

type GetSubDAGRunsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetSubDAGRunsdefaultJSONResponse) VisitGetSubDAGRunsResponse added in v1.24.0

func (response GetSubDAGRunsdefaultJSONResponse) VisitGetSubDAGRunsResponse(w http.ResponseWriter) error

type GetUser200JSONResponse added in v1.26.0

type GetUser200JSONResponse UserResponse

func (GetUser200JSONResponse) VisitGetUserResponse added in v1.26.0

func (response GetUser200JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser401JSONResponse added in v1.26.0

type GetUser401JSONResponse Error

func (GetUser401JSONResponse) VisitGetUserResponse added in v1.26.0

func (response GetUser401JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser403JSONResponse added in v1.26.0

type GetUser403JSONResponse Error

func (GetUser403JSONResponse) VisitGetUserResponse added in v1.26.0

func (response GetUser403JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUser404JSONResponse added in v1.26.0

type GetUser404JSONResponse Error

func (GetUser404JSONResponse) VisitGetUserResponse added in v1.26.0

func (response GetUser404JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUserRequestObject added in v1.26.0

type GetUserRequestObject struct {
	UserId UserId `json:"userId"`
}

type GetUserResponseObject added in v1.26.0

type GetUserResponseObject interface {
	VisitGetUserResponse(w http.ResponseWriter) error
}

type GetUserdefaultJSONResponse added in v1.26.0

type GetUserdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetUserdefaultJSONResponse) VisitGetUserResponse added in v1.26.0

func (response GetUserdefaultJSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetWorkers200JSONResponse added in v1.18.0

type GetWorkers200JSONResponse WorkersListResponse

func (GetWorkers200JSONResponse) VisitGetWorkersResponse added in v1.18.0

func (response GetWorkers200JSONResponse) VisitGetWorkersResponse(w http.ResponseWriter) error

type GetWorkers503JSONResponse added in v1.18.0

type GetWorkers503JSONResponse Error

func (GetWorkers503JSONResponse) VisitGetWorkersResponse added in v1.18.0

func (response GetWorkers503JSONResponse) VisitGetWorkersResponse(w http.ResponseWriter) error

type GetWorkersParams added in v1.18.0

type GetWorkersParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

GetWorkersParams defines parameters for GetWorkers.

type GetWorkersRequestObject added in v1.18.0

type GetWorkersRequestObject struct {
	Params GetWorkersParams
}

type GetWorkersResponseObject added in v1.18.0

type GetWorkersResponseObject interface {
	VisitGetWorkersResponse(w http.ResponseWriter) error
}

type GetWorkersdefaultJSONResponse added in v1.18.0

type GetWorkersdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (GetWorkersdefaultJSONResponse) VisitGetWorkersResponse added in v1.18.0

func (response GetWorkersdefaultJSONResponse) VisitGetWorkersResponse(w http.ResponseWriter) error

type HandlerOn

type HandlerOn struct {
	// Cancel Individual task definition that performs a specific operation in a DAG-run
	Cancel *Step `json:"cancel,omitempty"`

	// Exit Individual task definition that performs a specific operation in a DAG-run
	Exit *Step `json:"exit,omitempty"`

	// Failure Individual task definition that performs a specific operation in a DAG-run
	Failure *Step `json:"failure,omitempty"`

	// Success Individual task definition that performs a specific operation in a DAG-run
	Success *Step `json:"success,omitempty"`
}

HandlerOn Configuration for event handlers in a DAG-run

type Head = int

Head defines model for Head.

type HealthResponse

type HealthResponse struct {
	// Status Overall health status of the server
	Status HealthResponseStatus `json:"status"`

	// Timestamp Current server time
	Timestamp string `json:"timestamp"`

	// Uptime Server uptime in seconds
	Uptime int `json:"uptime"`

	// Version Current version of the server
	Version string `json:"version"`
}

HealthResponse Response object for the health check endpoint

type HealthResponseStatus

type HealthResponseStatus string

HealthResponseStatus Overall health status of the server

const (
	HealthResponseStatusHealthy   HealthResponseStatus = "healthy"
	HealthResponseStatusUnhealthy HealthResponseStatus = "unhealthy"
)

Defines values for HealthResponseStatus.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type Limit

type Limit = int

Limit defines model for Limit.

type ListAPIKeys200JSONResponse added in v1.29.0

type ListAPIKeys200JSONResponse APIKeysListResponse

func (ListAPIKeys200JSONResponse) VisitListAPIKeysResponse added in v1.29.0

func (response ListAPIKeys200JSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error

type ListAPIKeys401JSONResponse added in v1.29.0

type ListAPIKeys401JSONResponse Error

func (ListAPIKeys401JSONResponse) VisitListAPIKeysResponse added in v1.29.0

func (response ListAPIKeys401JSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error

type ListAPIKeys403JSONResponse added in v1.29.0

type ListAPIKeys403JSONResponse Error

func (ListAPIKeys403JSONResponse) VisitListAPIKeysResponse added in v1.29.0

func (response ListAPIKeys403JSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error

type ListAPIKeysRequestObject added in v1.29.0

type ListAPIKeysRequestObject struct {
}

type ListAPIKeysResponseObject added in v1.29.0

type ListAPIKeysResponseObject interface {
	VisitListAPIKeysResponse(w http.ResponseWriter) error
}

type ListAPIKeysdefaultJSONResponse added in v1.29.0

type ListAPIKeysdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListAPIKeysdefaultJSONResponse) VisitListAPIKeysResponse added in v1.29.0

func (response ListAPIKeysdefaultJSONResponse) VisitListAPIKeysResponse(w http.ResponseWriter) error

type ListDAGRuns200JSONResponse

type ListDAGRuns200JSONResponse struct {
	// DagRuns List of DAG-runs with their status and metadata
	DagRuns []DAGRunSummary `json:"dagRuns"`
}

func (ListDAGRuns200JSONResponse) VisitListDAGRunsResponse

func (response ListDAGRuns200JSONResponse) VisitListDAGRunsResponse(w http.ResponseWriter) error

type ListDAGRunsByName200JSONResponse

type ListDAGRunsByName200JSONResponse struct {
	// DagRuns List of DAG-runs with their status and metadata
	DagRuns []DAGRunSummary `json:"dagRuns"`
}

func (ListDAGRunsByName200JSONResponse) VisitListDAGRunsByNameResponse

func (response ListDAGRunsByName200JSONResponse) VisitListDAGRunsByNameResponse(w http.ResponseWriter) error

type ListDAGRunsByNameParams

type ListDAGRunsByNameParams struct {
	// Status status of the DAG-run
	Status *Status `form:"status,omitempty" json:"status,omitempty"`

	// FromDate start datetime for filtering DAG-runs in ISO 8601 format with timezone
	FromDate *DateTimeFrom `form:"fromDate,omitempty" json:"fromDate,omitempty"`

	// ToDate end datetime for filtering DAG-runs in ISO 8601 format with timezone
	ToDate *DateTimeTo `form:"toDate,omitempty" json:"toDate,omitempty"`

	// DagRunId ID of the DAG-run or 'latest' to get the most recent DAG-run
	DagRunId *DAGRunIdSearch `form:"dagRunId,omitempty" json:"dagRunId,omitempty"`

	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ListDAGRunsByNameParams defines parameters for ListDAGRunsByName.

type ListDAGRunsByNameRequestObject

type ListDAGRunsByNameRequestObject struct {
	Name   DAGRunName `json:"name"`
	Params ListDAGRunsByNameParams
}

type ListDAGRunsByNameResponseObject

type ListDAGRunsByNameResponseObject interface {
	VisitListDAGRunsByNameResponse(w http.ResponseWriter) error
}

type ListDAGRunsByNamedefaultJSONResponse

type ListDAGRunsByNamedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListDAGRunsByNamedefaultJSONResponse) VisitListDAGRunsByNameResponse

func (response ListDAGRunsByNamedefaultJSONResponse) VisitListDAGRunsByNameResponse(w http.ResponseWriter) error

type ListDAGRunsParams

type ListDAGRunsParams struct {
	// Status status of the DAG-run
	Status *Status `form:"status,omitempty" json:"status,omitempty"`

	// FromDate start datetime for filtering DAG-runs in ISO 8601 format with timezone
	FromDate *DateTimeFrom `form:"fromDate,omitempty" json:"fromDate,omitempty"`

	// ToDate end datetime for filtering DAG-runs in ISO 8601 format with timezone
	ToDate *DateTimeTo `form:"toDate,omitempty" json:"toDate,omitempty"`

	// DagRunId ID of the DAG-run or 'latest' to get the most recent DAG-run
	DagRunId *DAGRunIdSearch `form:"dagRunId,omitempty" json:"dagRunId,omitempty"`

	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Name Filter DAG-runs by name
	Name *string `form:"name,omitempty" json:"name,omitempty"`
}

ListDAGRunsParams defines parameters for ListDAGRuns.

type ListDAGRunsRequestObject

type ListDAGRunsRequestObject struct {
	Params ListDAGRunsParams
}

type ListDAGRunsResponseObject

type ListDAGRunsResponseObject interface {
	VisitListDAGRunsResponse(w http.ResponseWriter) error
}

type ListDAGRunsdefaultJSONResponse

type ListDAGRunsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListDAGRunsdefaultJSONResponse) VisitListDAGRunsResponse

func (response ListDAGRunsdefaultJSONResponse) VisitListDAGRunsResponse(w http.ResponseWriter) error

type ListDAGs200JSONResponse

type ListDAGs200JSONResponse struct {
	// Dags List of DAG definitions with their status and metadata
	Dags []DAGFile `json:"dags"`

	// Errors List of errors encountered during the request
	Errors     []string   `json:"errors"`
	Pagination Pagination `json:"pagination"`
}

func (ListDAGs200JSONResponse) VisitListDAGsResponse

func (response ListDAGs200JSONResponse) VisitListDAGsResponse(w http.ResponseWriter) error

type ListDAGsParams

type ListDAGsParams struct {
	// Page page number of items to fetch (default is 1)
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage number of items per page (default is 30, max is 100)
	PerPage *PerPage `form:"perPage,omitempty" json:"perPage,omitempty"`

	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Name Filter DAGs by name
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Tag Filter DAGs by tag
	Tag *string `form:"tag,omitempty" json:"tag,omitempty"`

	// Sort Field to sort by:
	// - `name`: Sort alphabetically by DAG name (case-insensitive)
	// - `nextRun`: Sort by next scheduled run time. DAGs with earlier next run times appear first in ascending order. DAGs without schedules appear last.
	Sort *ListDAGsParamsSort `form:"sort,omitempty" json:"sort,omitempty"`

	// Order Sort order (ascending or descending)
	Order *ListDAGsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}

ListDAGsParams defines parameters for ListDAGs.

type ListDAGsParamsOrder added in v1.18.0

type ListDAGsParamsOrder string

ListDAGsParamsOrder defines parameters for ListDAGs.

const (
	ListDAGsParamsOrderAsc  ListDAGsParamsOrder = "asc"
	ListDAGsParamsOrderDesc ListDAGsParamsOrder = "desc"
)

Defines values for ListDAGsParamsOrder.

type ListDAGsParamsSort added in v1.18.0

type ListDAGsParamsSort string

ListDAGsParamsSort defines parameters for ListDAGs.

const (
	ListDAGsParamsSortName    ListDAGsParamsSort = "name"
	ListDAGsParamsSortNextRun ListDAGsParamsSort = "nextRun"
)

Defines values for ListDAGsParamsSort.

type ListDAGsRequestObject

type ListDAGsRequestObject struct {
	Params ListDAGsParams
}

type ListDAGsResponseObject

type ListDAGsResponseObject interface {
	VisitListDAGsResponse(w http.ResponseWriter) error
}

type ListDAGsdefaultJSONResponse

type ListDAGsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListDAGsdefaultJSONResponse) VisitListDAGsResponse

func (response ListDAGsdefaultJSONResponse) VisitListDAGsResponse(w http.ResponseWriter) error

type ListQueues200JSONResponse added in v1.22.0

type ListQueues200JSONResponse QueuesResponse

func (ListQueues200JSONResponse) VisitListQueuesResponse added in v1.22.0

func (response ListQueues200JSONResponse) VisitListQueuesResponse(w http.ResponseWriter) error

type ListQueuesParams added in v1.22.0

type ListQueuesParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ListQueuesParams defines parameters for ListQueues.

type ListQueuesRequestObject added in v1.22.0

type ListQueuesRequestObject struct {
	Params ListQueuesParams
}

type ListQueuesResponseObject added in v1.22.0

type ListQueuesResponseObject interface {
	VisitListQueuesResponse(w http.ResponseWriter) error
}

type ListQueuesdefaultJSONResponse added in v1.22.0

type ListQueuesdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListQueuesdefaultJSONResponse) VisitListQueuesResponse added in v1.22.0

func (response ListQueuesdefaultJSONResponse) VisitListQueuesResponse(w http.ResponseWriter) error

type ListTagResponse

type ListTagResponse struct {
	// Errors List of errors encountered during the request
	Errors []string `json:"errors"`

	// Tags List of unique tags
	Tags []string `json:"tags"`
}

ListTagResponse Response object for listing all tags

type ListUsers200JSONResponse added in v1.26.0

type ListUsers200JSONResponse UsersListResponse

func (ListUsers200JSONResponse) VisitListUsersResponse added in v1.26.0

func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers401JSONResponse added in v1.26.0

type ListUsers401JSONResponse Error

func (ListUsers401JSONResponse) VisitListUsersResponse added in v1.26.0

func (response ListUsers401JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers403JSONResponse added in v1.26.0

type ListUsers403JSONResponse Error

func (ListUsers403JSONResponse) VisitListUsersResponse added in v1.26.0

func (response ListUsers403JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsersRequestObject added in v1.26.0

type ListUsersRequestObject struct {
}

type ListUsersResponseObject added in v1.26.0

type ListUsersResponseObject interface {
	VisitListUsersResponse(w http.ResponseWriter) error
}

type ListUsersdefaultJSONResponse added in v1.26.0

type ListUsersdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListUsersdefaultJSONResponse) VisitListUsersResponse added in v1.26.0

func (response ListUsersdefaultJSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListWebhooks200JSONResponse added in v1.29.0

type ListWebhooks200JSONResponse WebhookListResponse

func (ListWebhooks200JSONResponse) VisitListWebhooksResponse added in v1.29.0

func (response ListWebhooks200JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooksParams added in v1.29.0

type ListWebhooksParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ListWebhooksParams defines parameters for ListWebhooks.

type ListWebhooksRequestObject added in v1.29.0

type ListWebhooksRequestObject struct {
	Params ListWebhooksParams
}

type ListWebhooksResponseObject added in v1.29.0

type ListWebhooksResponseObject interface {
	VisitListWebhooksResponse(w http.ResponseWriter) error
}

type ListWebhooksdefaultJSONResponse added in v1.29.0

type ListWebhooksdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ListWebhooksdefaultJSONResponse) VisitListWebhooksResponse added in v1.29.0

func (response ListWebhooksdefaultJSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type LocalDag

type LocalDag struct {
	// Dag Detailed DAG configuration information
	Dag *DAGDetails `json:"dag,omitempty"`

	// Errors List of errors encountered while processing the local DAG
	Errors []string `json:"errors"`

	// Name Name of the local DAG
	Name string `json:"name"`
}

LocalDag defines model for LocalDag.

type Log

type Log struct {
	// Content Log content
	Content string `json:"content"`

	// HasMore Whether there are more lines available
	HasMore *bool `json:"hasMore,omitempty"`

	// IsEstimate Whether the line count is an estimate
	IsEstimate *bool `json:"isEstimate,omitempty"`

	// LineCount Number of lines returned
	LineCount *int `json:"lineCount,omitempty"`

	// TotalLines Total number of lines in the log file
	TotalLines *int `json:"totalLines,omitempty"`
}

Log Log information for the execution

type Login200JSONResponse added in v1.26.0

type Login200JSONResponse LoginResponse

func (Login200JSONResponse) VisitLoginResponse added in v1.26.0

func (response Login200JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type Login401JSONResponse added in v1.26.0

type Login401JSONResponse Error

func (Login401JSONResponse) VisitLoginResponse added in v1.26.0

func (response Login401JSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type LoginJSONRequestBody added in v1.26.0

type LoginJSONRequestBody = LoginRequest

LoginJSONRequestBody defines body for Login for application/json ContentType.

type LoginRequest added in v1.26.0

type LoginRequest struct {
	// Password User's password
	Password string `json:"password"`

	// Username User's username
	Username string `json:"username"`
}

LoginRequest Request body for user login

type LoginRequestObject added in v1.26.0

type LoginRequestObject struct {
	Body *LoginJSONRequestBody
}

type LoginResponse added in v1.26.0

type LoginResponse struct {
	// ExpiresAt Token expiration timestamp
	ExpiresAt time.Time `json:"expiresAt"`

	// Token JWT authentication token
	Token string `json:"token"`

	// User User information
	User User `json:"user"`
}

LoginResponse Response containing authentication token

type LoginResponseObject added in v1.26.0

type LoginResponseObject interface {
	VisitLoginResponse(w http.ResponseWriter) error
}

type LogindefaultJSONResponse added in v1.26.0

type LogindefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (LogindefaultJSONResponse) VisitLoginResponse added in v1.26.0

func (response LogindefaultJSONResponse) VisitLoginResponse(w http.ResponseWriter) error

type MetricPoint added in v1.26.0

type MetricPoint struct {
	// Timestamp Unix timestamp
	Timestamp int64   `json:"timestamp"`
	Value     float64 `json:"value"`
}

MetricPoint defines model for MetricPoint.

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type Node

type Node struct {
	// ApprovalInputs Key-value inputs provided during HITL approval
	ApprovalInputs *map[string]string `json:"approvalInputs,omitempty"`

	// ApprovedAt RFC3339 timestamp when the HITL step was approved
	ApprovedAt *string `json:"approvedAt,omitempty"`

	// ApprovedBy Username of who approved the HITL step
	ApprovedBy *string `json:"approvedBy,omitempty"`

	// DoneCount Number of successful completions for repeating steps
	DoneCount int `json:"doneCount"`

	// Error Error message if the step failed
	Error *string `json:"error,omitempty"`

	// FinishedAt RFC3339 timestamp when the step finished
	FinishedAt string `json:"finishedAt"`

	// RejectedAt RFC3339 timestamp when the HITL step was rejected
	RejectedAt *string `json:"rejectedAt,omitempty"`

	// RejectedBy Username of who rejected the HITL step
	RejectedBy *string `json:"rejectedBy,omitempty"`

	// RejectionReason Optional reason for rejection
	RejectionReason *string `json:"rejectionReason,omitempty"`

	// RetryCount Number of retry attempts made for this step
	RetryCount int `json:"retryCount"`

	// StartedAt RFC3339 timestamp when the step started
	StartedAt string `json:"startedAt"`

	// Status Numeric status code indicating current node state:
	// 0: "Not started"
	// 1: "Running"
	// 2: "Failed"
	// 3: "Aborted"
	// 4: "Success"
	// 5: "Skipped"
	// 6: "Partial Success"
	// 7: "Waiting for approval"
	// 8: "Rejected"
	Status NodeStatus `json:"status"`

	// StatusLabel Human-readable status description for the node
	StatusLabel NodeStatusLabel `json:"statusLabel"`

	// Stderr Path to the standard error log file for this step
	Stderr string `json:"stderr"`

	// Stdout Path to the standard output log file for this step
	Stdout string `json:"stdout"`

	// Step Individual task definition that performs a specific operation in a DAG-run
	Step Step `json:"step"`

	// SubRuns List of sub DAG-runs associated with this step
	SubRuns *[]SubDAGRun `json:"subRuns,omitempty"`

	// SubRunsRepeated List of repeated sub DAG-runs when using repeatPolicy
	SubRunsRepeated *[]SubDAGRun `json:"subRunsRepeated,omitempty"`
}

Node Status of an individual step within a DAG-run

type NodeStatus

type NodeStatus int

NodeStatus Numeric status code indicating current node state: 0: "Not started" 1: "Running" 2: "Failed" 3: "Aborted" 4: "Success" 5: "Skipped" 6: "Partial Success" 7: "Waiting for approval" 8: "Rejected"

const (
	NodeStatusAborted        NodeStatus = 3
	NodeStatusFailed         NodeStatus = 2
	NodeStatusNotStarted     NodeStatus = 0
	NodeStatusPartialSuccess NodeStatus = 6
	NodeStatusRejected       NodeStatus = 8
	NodeStatusRunning        NodeStatus = 1
	NodeStatusSkipped        NodeStatus = 5
	NodeStatusSuccess        NodeStatus = 4
	NodeStatusWaiting        NodeStatus = 7
)

Defines values for NodeStatus.

type NodeStatusLabel

type NodeStatusLabel string

NodeStatusLabel Human-readable status description for the node

const (
	NodeStatusLabelAborted            NodeStatusLabel = "aborted"
	NodeStatusLabelFailed             NodeStatusLabel = "failed"
	NodeStatusLabelNotStarted         NodeStatusLabel = "not_started"
	NodeStatusLabelPartiallySucceeded NodeStatusLabel = "partially_succeeded"
	NodeStatusLabelRejected           NodeStatusLabel = "rejected"
	NodeStatusLabelRunning            NodeStatusLabel = "running"
	NodeStatusLabelSkipped            NodeStatusLabel = "skipped"
	NodeStatusLabelSucceeded          NodeStatusLabel = "succeeded"
	NodeStatusLabelWaiting            NodeStatusLabel = "waiting"
)

Defines values for NodeStatusLabel.

type Offset

type Offset = int

Offset defines model for Offset.

type OutputsMetadata added in v1.29.0

type OutputsMetadata struct {
	// AttemptId Attempt identifier within the run
	AttemptId string `json:"attemptId"`

	// CompletedAt RFC3339 timestamp when execution completed
	CompletedAt time.Time `json:"completedAt"`

	// DagName Name of the DAG
	DagName DAGName `json:"dagName"`

	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`

	// Params JSON-serialized parameters passed to the DAG
	Params *string `json:"params,omitempty"`

	// Status Human-readable status description for the DAG-run
	Status StatusLabel `json:"status"`
}

OutputsMetadata Execution context metadata for the outputs

type Page

type Page = int

Page defines model for Page.

type Pagination

type Pagination struct {
	// CurrentPage current page number
	CurrentPage int `json:"currentPage"`

	// NextPage next page number
	NextPage int `json:"nextPage"`

	// PrevPage previous page number
	PrevPage int `json:"prevPage"`

	// TotalPages total number of pages
	TotalPages int `json:"totalPages"`

	// TotalRecords total number of records
	TotalRecords int `json:"totalRecords"`
}

Pagination defines model for Pagination.

type PerPage

type PerPage = int

PerPage defines model for PerPage.

type Queue added in v1.22.0

type Queue struct {
	// MaxConcurrency Maximum number of concurrent runs allowed. For 'global' queues, this is the configured maxConcurrency. For 'dag-based' queues, this is the DAG's maxActiveRuns (default 1)
	MaxConcurrency *int `json:"maxConcurrency,omitempty"`

	// Name Name of the queue (global queue name or DAG name if no queue specified)
	Name string `json:"name"`

	// Queued List of DAG-runs waiting to execute
	Queued []DAGRunSummary `json:"queued"`

	// Running List of currently running DAG-runs
	Running []DAGRunSummary `json:"running"`

	// Type Type of queue - 'global' if explicitly defined, 'dag-based' if using DAG name
	Type QueueType `json:"type"`
}

Queue A queue/process group with its active DAG-runs

type QueueType added in v1.22.0

type QueueType string

QueueType Type of queue - 'global' if explicitly defined, 'dag-based' if using DAG name

const (
	QueueTypeDagBased QueueType = "dag-based"
	QueueTypeGlobal   QueueType = "global"
)

Defines values for QueueType.

type QueuesResponse added in v1.22.0

type QueuesResponse struct {
	// Queues List of all queues with their running and queued DAG-runs
	Queues []Queue `json:"queues"`

	// Summary Summary statistics across all queues
	Summary QueuesSummary `json:"summary"`
}

QueuesResponse Response containing all queues with their active DAG-runs

type QueuesSummary added in v1.22.0

type QueuesSummary struct {
	// TotalCapacity Sum of all queue maxConcurrency values
	TotalCapacity int `json:"totalCapacity"`

	// TotalQueued Total DAG-runs waiting in queues
	TotalQueued int `json:"totalQueued"`

	// TotalQueues Total number of active queues
	TotalQueues int `json:"totalQueues"`

	// TotalRunning Total DAG-runs currently executing
	TotalRunning int `json:"totalRunning"`

	// UtilizationPercentage System-wide utilization (totalRunning / totalCapacity * 100)
	UtilizationPercentage float32 `json:"utilizationPercentage"`
}

QueuesSummary Summary statistics across all queues

type RegenerateDAGWebhookToken200JSONResponse added in v1.29.0

type RegenerateDAGWebhookToken200JSONResponse WebhookCreateResponse

func (RegenerateDAGWebhookToken200JSONResponse) VisitRegenerateDAGWebhookTokenResponse added in v1.29.0

func (response RegenerateDAGWebhookToken200JSONResponse) VisitRegenerateDAGWebhookTokenResponse(w http.ResponseWriter) error

type RegenerateDAGWebhookToken404JSONResponse added in v1.29.0

type RegenerateDAGWebhookToken404JSONResponse Error

func (RegenerateDAGWebhookToken404JSONResponse) VisitRegenerateDAGWebhookTokenResponse added in v1.29.0

func (response RegenerateDAGWebhookToken404JSONResponse) VisitRegenerateDAGWebhookTokenResponse(w http.ResponseWriter) error

type RegenerateDAGWebhookTokenParams added in v1.29.0

type RegenerateDAGWebhookTokenParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

RegenerateDAGWebhookTokenParams defines parameters for RegenerateDAGWebhookToken.

type RegenerateDAGWebhookTokenRequestObject added in v1.29.0

type RegenerateDAGWebhookTokenRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   RegenerateDAGWebhookTokenParams
}

type RegenerateDAGWebhookTokenResponseObject added in v1.29.0

type RegenerateDAGWebhookTokenResponseObject interface {
	VisitRegenerateDAGWebhookTokenResponse(w http.ResponseWriter) error
}

type RegenerateDAGWebhookTokendefaultJSONResponse added in v1.29.0

type RegenerateDAGWebhookTokendefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RegenerateDAGWebhookTokendefaultJSONResponse) VisitRegenerateDAGWebhookTokenResponse added in v1.29.0

func (response RegenerateDAGWebhookTokendefaultJSONResponse) VisitRegenerateDAGWebhookTokenResponse(w http.ResponseWriter) error

type RejectDAGRunStep200JSONResponse added in v1.30.0

type RejectDAGRunStep200JSONResponse RejectStepResponse

func (RejectDAGRunStep200JSONResponse) VisitRejectDAGRunStepResponse added in v1.30.0

func (response RejectDAGRunStep200JSONResponse) VisitRejectDAGRunStepResponse(w http.ResponseWriter) error

type RejectDAGRunStep400JSONResponse added in v1.30.0

type RejectDAGRunStep400JSONResponse Error

func (RejectDAGRunStep400JSONResponse) VisitRejectDAGRunStepResponse added in v1.30.0

func (response RejectDAGRunStep400JSONResponse) VisitRejectDAGRunStepResponse(w http.ResponseWriter) error

type RejectDAGRunStep404JSONResponse added in v1.30.0

type RejectDAGRunStep404JSONResponse Error

func (RejectDAGRunStep404JSONResponse) VisitRejectDAGRunStepResponse added in v1.30.0

func (response RejectDAGRunStep404JSONResponse) VisitRejectDAGRunStepResponse(w http.ResponseWriter) error

type RejectDAGRunStepJSONRequestBody added in v1.30.0

type RejectDAGRunStepJSONRequestBody = RejectStepRequest

RejectDAGRunStepJSONRequestBody defines body for RejectDAGRunStep for application/json ContentType.

type RejectDAGRunStepParams added in v1.30.0

type RejectDAGRunStepParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

RejectDAGRunStepParams defines parameters for RejectDAGRunStep.

type RejectDAGRunStepRequestObject added in v1.30.0

type RejectDAGRunStepRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	StepName StepName `json:"stepName"`
	Params   RejectDAGRunStepParams
	Body     *RejectDAGRunStepJSONRequestBody
}

type RejectDAGRunStepResponseObject added in v1.30.0

type RejectDAGRunStepResponseObject interface {
	VisitRejectDAGRunStepResponse(w http.ResponseWriter) error
}

type RejectDAGRunStepdefaultJSONResponse added in v1.30.0

type RejectDAGRunStepdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RejectDAGRunStepdefaultJSONResponse) VisitRejectDAGRunStepResponse added in v1.30.0

func (response RejectDAGRunStepdefaultJSONResponse) VisitRejectDAGRunStepResponse(w http.ResponseWriter) error

type RejectStepRequest added in v1.30.0

type RejectStepRequest struct {
	// Reason Optional reason for rejecting the step
	Reason *string `json:"reason,omitempty"`
}

RejectStepRequest Request body for rejecting a waiting step

type RejectStepResponse added in v1.30.0

type RejectStepResponse struct {
	// DagRunId The DAG run ID
	DagRunId string `json:"dagRunId"`

	// StepName The rejected step name
	StepName string `json:"stepName"`
}

RejectStepResponse Response after rejecting a waiting step

type RejectSubDAGRunStep200JSONResponse added in v1.30.0

type RejectSubDAGRunStep200JSONResponse RejectStepResponse

func (RejectSubDAGRunStep200JSONResponse) VisitRejectSubDAGRunStepResponse added in v1.30.0

func (response RejectSubDAGRunStep200JSONResponse) VisitRejectSubDAGRunStepResponse(w http.ResponseWriter) error

type RejectSubDAGRunStep400JSONResponse added in v1.30.0

type RejectSubDAGRunStep400JSONResponse Error

func (RejectSubDAGRunStep400JSONResponse) VisitRejectSubDAGRunStepResponse added in v1.30.0

func (response RejectSubDAGRunStep400JSONResponse) VisitRejectSubDAGRunStepResponse(w http.ResponseWriter) error

type RejectSubDAGRunStep404JSONResponse added in v1.30.0

type RejectSubDAGRunStep404JSONResponse Error

func (RejectSubDAGRunStep404JSONResponse) VisitRejectSubDAGRunStepResponse added in v1.30.0

func (response RejectSubDAGRunStep404JSONResponse) VisitRejectSubDAGRunStepResponse(w http.ResponseWriter) error

type RejectSubDAGRunStepJSONRequestBody added in v1.30.0

type RejectSubDAGRunStepJSONRequestBody = RejectStepRequest

RejectSubDAGRunStepJSONRequestBody defines body for RejectSubDAGRunStep for application/json ContentType.

type RejectSubDAGRunStepParams added in v1.30.0

type RejectSubDAGRunStepParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

RejectSubDAGRunStepParams defines parameters for RejectSubDAGRunStep.

type RejectSubDAGRunStepRequestObject added in v1.30.0

type RejectSubDAGRunStepRequestObject struct {
	Name        DAGName  `json:"name"`
	DagRunId    DAGRunId `json:"dagRunId"`
	SubDAGRunId string   `json:"subDAGRunId"`
	StepName    StepName `json:"stepName"`
	Params      RejectSubDAGRunStepParams
	Body        *RejectSubDAGRunStepJSONRequestBody
}

type RejectSubDAGRunStepResponseObject added in v1.30.0

type RejectSubDAGRunStepResponseObject interface {
	VisitRejectSubDAGRunStepResponse(w http.ResponseWriter) error
}

type RejectSubDAGRunStepdefaultJSONResponse added in v1.30.0

type RejectSubDAGRunStepdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RejectSubDAGRunStepdefaultJSONResponse) VisitRejectSubDAGRunStepResponse added in v1.30.0

func (response RejectSubDAGRunStepdefaultJSONResponse) VisitRejectSubDAGRunStepResponse(w http.ResponseWriter) error

type RemoteNode

type RemoteNode = string

RemoteNode defines model for RemoteNode.

type RenameDAG200Response

type RenameDAG200Response struct {
}

func (RenameDAG200Response) VisitRenameDAGResponse

func (response RenameDAG200Response) VisitRenameDAGResponse(w http.ResponseWriter) error

type RenameDAG400JSONResponse

type RenameDAG400JSONResponse Error

func (RenameDAG400JSONResponse) VisitRenameDAGResponse

func (response RenameDAG400JSONResponse) VisitRenameDAGResponse(w http.ResponseWriter) error

type RenameDAG404JSONResponse

type RenameDAG404JSONResponse Error

func (RenameDAG404JSONResponse) VisitRenameDAGResponse

func (response RenameDAG404JSONResponse) VisitRenameDAGResponse(w http.ResponseWriter) error

type RenameDAGJSONBody

type RenameDAGJSONBody struct {
	// NewFileName New file name for the DAG
	NewFileName string `json:"newFileName"`
}

RenameDAGJSONBody defines parameters for RenameDAG.

type RenameDAGJSONRequestBody

type RenameDAGJSONRequestBody RenameDAGJSONBody

RenameDAGJSONRequestBody defines body for RenameDAG for application/json ContentType.

type RenameDAGParams

type RenameDAGParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

RenameDAGParams defines parameters for RenameDAG.

type RenameDAGRequestObject

type RenameDAGRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   RenameDAGParams
	Body     *RenameDAGJSONRequestBody
}

type RenameDAGResponseObject

type RenameDAGResponseObject interface {
	VisitRenameDAGResponse(w http.ResponseWriter) error
}

type RenameDAGdefaultJSONResponse

type RenameDAGdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RenameDAGdefaultJSONResponse) VisitRenameDAGResponse

func (response RenameDAGdefaultJSONResponse) VisitRenameDAGResponse(w http.ResponseWriter) error

type RepeatMode added in v1.18.0

type RepeatMode string

RepeatMode Repeat execution mode for steps

const (
	RepeatModeUntil RepeatMode = "until"
	RepeatModeWhile RepeatMode = "while"
)

Defines values for RepeatMode.

type RepeatPolicy

type RepeatPolicy struct {
	Backoff *RepeatPolicy_Backoff `json:"backoff,omitempty"`

	// Condition Precondition that must be satisfied before running a step or DAG-run
	Condition *Condition `json:"condition,omitempty"`

	// ExitCode List of exit codes that trigger repeat behavior
	ExitCode *[]int `json:"exitCode,omitempty"`

	// Interval Time in seconds to wait between repeat attempts
	Interval *int `json:"interval,omitempty"`

	// Limit Maximum number of times to repeat the step
	Limit *int `json:"limit,omitempty"`

	// MaxIntervalSec Maximum interval in seconds (caps exponential growth)
	MaxIntervalSec *int `json:"maxIntervalSec,omitempty"`

	// Repeat Repeat execution mode for steps
	Repeat *RepeatMode `json:"repeat,omitempty"`
}

RepeatPolicy Configuration for step repeat behavior

type RepeatPolicyBackoff0 added in v1.18.0

type RepeatPolicyBackoff0 = bool

RepeatPolicyBackoff0 When true, uses default multiplier of 2.0

type RepeatPolicyBackoff1 added in v1.18.0

type RepeatPolicyBackoff1 = float32

RepeatPolicyBackoff1 Custom exponential backoff multiplier

type RepeatPolicy_Backoff added in v1.18.0

type RepeatPolicy_Backoff struct {
	// contains filtered or unexported fields
}

RepeatPolicy_Backoff defines model for RepeatPolicy.Backoff.

func (RepeatPolicy_Backoff) AsRepeatPolicyBackoff0 added in v1.18.0

func (t RepeatPolicy_Backoff) AsRepeatPolicyBackoff0() (RepeatPolicyBackoff0, error)

AsRepeatPolicyBackoff0 returns the union data inside the RepeatPolicy_Backoff as a RepeatPolicyBackoff0

func (RepeatPolicy_Backoff) AsRepeatPolicyBackoff1 added in v1.18.0

func (t RepeatPolicy_Backoff) AsRepeatPolicyBackoff1() (RepeatPolicyBackoff1, error)

AsRepeatPolicyBackoff1 returns the union data inside the RepeatPolicy_Backoff as a RepeatPolicyBackoff1

func (*RepeatPolicy_Backoff) FromRepeatPolicyBackoff0 added in v1.18.0

func (t *RepeatPolicy_Backoff) FromRepeatPolicyBackoff0(v RepeatPolicyBackoff0) error

FromRepeatPolicyBackoff0 overwrites any union data inside the RepeatPolicy_Backoff as the provided RepeatPolicyBackoff0

func (*RepeatPolicy_Backoff) FromRepeatPolicyBackoff1 added in v1.18.0

func (t *RepeatPolicy_Backoff) FromRepeatPolicyBackoff1(v RepeatPolicyBackoff1) error

FromRepeatPolicyBackoff1 overwrites any union data inside the RepeatPolicy_Backoff as the provided RepeatPolicyBackoff1

func (RepeatPolicy_Backoff) MarshalJSON added in v1.18.0

func (t RepeatPolicy_Backoff) MarshalJSON() ([]byte, error)

func (*RepeatPolicy_Backoff) MergeRepeatPolicyBackoff0 added in v1.18.0

func (t *RepeatPolicy_Backoff) MergeRepeatPolicyBackoff0(v RepeatPolicyBackoff0) error

MergeRepeatPolicyBackoff0 performs a merge with any union data inside the RepeatPolicy_Backoff, using the provided RepeatPolicyBackoff0

func (*RepeatPolicy_Backoff) MergeRepeatPolicyBackoff1 added in v1.18.0

func (t *RepeatPolicy_Backoff) MergeRepeatPolicyBackoff1(v RepeatPolicyBackoff1) error

MergeRepeatPolicyBackoff1 performs a merge with any union data inside the RepeatPolicy_Backoff, using the provided RepeatPolicyBackoff1

func (*RepeatPolicy_Backoff) UnmarshalJSON added in v1.18.0

func (t *RepeatPolicy_Backoff) UnmarshalJSON(b []byte) error

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type RescheduleDAGRun200JSONResponse added in v1.24.0

type RescheduleDAGRun200JSONResponse struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`

	// Queued Indicates whether the run was queued instead of starting immediately.
	Queued bool `json:"queued"`
}

func (RescheduleDAGRun200JSONResponse) VisitRescheduleDAGRunResponse added in v1.24.0

func (response RescheduleDAGRun200JSONResponse) VisitRescheduleDAGRunResponse(w http.ResponseWriter) error

type RescheduleDAGRun400JSONResponse added in v1.24.0

type RescheduleDAGRun400JSONResponse Error

func (RescheduleDAGRun400JSONResponse) VisitRescheduleDAGRunResponse added in v1.24.0

func (response RescheduleDAGRun400JSONResponse) VisitRescheduleDAGRunResponse(w http.ResponseWriter) error

type RescheduleDAGRun404JSONResponse added in v1.24.0

type RescheduleDAGRun404JSONResponse Error

func (RescheduleDAGRun404JSONResponse) VisitRescheduleDAGRunResponse added in v1.24.0

func (response RescheduleDAGRun404JSONResponse) VisitRescheduleDAGRunResponse(w http.ResponseWriter) error

type RescheduleDAGRun409JSONResponse added in v1.24.0

type RescheduleDAGRun409JSONResponse Error

func (RescheduleDAGRun409JSONResponse) VisitRescheduleDAGRunResponse added in v1.24.0

func (response RescheduleDAGRun409JSONResponse) VisitRescheduleDAGRunResponse(w http.ResponseWriter) error

type RescheduleDAGRunJSONBody added in v1.24.0

type RescheduleDAGRunJSONBody struct {
	// DagName Optional DAG name override for the new run.
	DagName  *string `json:"dagName,omitempty"`
	DagRunId *string `json:"dagRunId,omitempty"`
}

RescheduleDAGRunJSONBody defines parameters for RescheduleDAGRun.

type RescheduleDAGRunJSONRequestBody added in v1.24.0

type RescheduleDAGRunJSONRequestBody RescheduleDAGRunJSONBody

RescheduleDAGRunJSONRequestBody defines body for RescheduleDAGRun for application/json ContentType.

type RescheduleDAGRunParams added in v1.24.0

type RescheduleDAGRunParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

RescheduleDAGRunParams defines parameters for RescheduleDAGRun.

type RescheduleDAGRunRequestObject added in v1.24.0

type RescheduleDAGRunRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   RescheduleDAGRunParams
	Body     *RescheduleDAGRunJSONRequestBody
}

type RescheduleDAGRunResponseObject added in v1.24.0

type RescheduleDAGRunResponseObject interface {
	VisitRescheduleDAGRunResponse(w http.ResponseWriter) error
}

type RescheduleDAGRundefaultJSONResponse added in v1.24.0

type RescheduleDAGRundefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RescheduleDAGRundefaultJSONResponse) VisitRescheduleDAGRunResponse added in v1.24.0

func (response RescheduleDAGRundefaultJSONResponse) VisitRescheduleDAGRunResponse(w http.ResponseWriter) error

type ResetPasswordRequest added in v1.26.0

type ResetPasswordRequest struct {
	// NewPassword New password to set for the user
	NewPassword string `json:"newPassword"`
}

ResetPasswordRequest Request body for admin password reset

type ResetUserPassword200JSONResponse added in v1.26.0

type ResetUserPassword200JSONResponse SuccessResponse

func (ResetUserPassword200JSONResponse) VisitResetUserPasswordResponse added in v1.26.0

func (response ResetUserPassword200JSONResponse) VisitResetUserPasswordResponse(w http.ResponseWriter) error

type ResetUserPassword400JSONResponse added in v1.26.0

type ResetUserPassword400JSONResponse Error

func (ResetUserPassword400JSONResponse) VisitResetUserPasswordResponse added in v1.26.0

func (response ResetUserPassword400JSONResponse) VisitResetUserPasswordResponse(w http.ResponseWriter) error

type ResetUserPassword401JSONResponse added in v1.26.0

type ResetUserPassword401JSONResponse Error

func (ResetUserPassword401JSONResponse) VisitResetUserPasswordResponse added in v1.26.0

func (response ResetUserPassword401JSONResponse) VisitResetUserPasswordResponse(w http.ResponseWriter) error

type ResetUserPassword403JSONResponse added in v1.26.0

type ResetUserPassword403JSONResponse Error

func (ResetUserPassword403JSONResponse) VisitResetUserPasswordResponse added in v1.26.0

func (response ResetUserPassword403JSONResponse) VisitResetUserPasswordResponse(w http.ResponseWriter) error

type ResetUserPassword404JSONResponse added in v1.26.0

type ResetUserPassword404JSONResponse Error

func (ResetUserPassword404JSONResponse) VisitResetUserPasswordResponse added in v1.26.0

func (response ResetUserPassword404JSONResponse) VisitResetUserPasswordResponse(w http.ResponseWriter) error

type ResetUserPasswordJSONRequestBody added in v1.26.0

type ResetUserPasswordJSONRequestBody = ResetPasswordRequest

ResetUserPasswordJSONRequestBody defines body for ResetUserPassword for application/json ContentType.

type ResetUserPasswordRequestObject added in v1.26.0

type ResetUserPasswordRequestObject struct {
	UserId UserId `json:"userId"`
	Body   *ResetUserPasswordJSONRequestBody
}

type ResetUserPasswordResponseObject added in v1.26.0

type ResetUserPasswordResponseObject interface {
	VisitResetUserPasswordResponse(w http.ResponseWriter) error
}

type ResetUserPassworddefaultJSONResponse added in v1.26.0

type ResetUserPassworddefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ResetUserPassworddefaultJSONResponse) VisitResetUserPasswordResponse added in v1.26.0

func (response ResetUserPassworddefaultJSONResponse) VisitResetUserPasswordResponse(w http.ResponseWriter) error

type ResourceHistory added in v1.26.0

type ResourceHistory struct {
	Cpu    *[]MetricPoint `json:"cpu,omitempty"`
	Disk   *[]MetricPoint `json:"disk,omitempty"`
	Load   *[]MetricPoint `json:"load,omitempty"`
	Memory *[]MetricPoint `json:"memory,omitempty"`
}

ResourceHistory defines model for ResourceHistory.

type RetryDAGRun200Response

type RetryDAGRun200Response struct {
}

func (RetryDAGRun200Response) VisitRetryDAGRunResponse

func (response RetryDAGRun200Response) VisitRetryDAGRunResponse(w http.ResponseWriter) error

type RetryDAGRunJSONBody

type RetryDAGRunJSONBody struct {
	DagRunId string `json:"dagRunId"`

	// StepName Optional. If provided, only this step will be retried.
	StepName *string `json:"stepName,omitempty"`
}

RetryDAGRunJSONBody defines parameters for RetryDAGRun.

type RetryDAGRunJSONRequestBody

type RetryDAGRunJSONRequestBody RetryDAGRunJSONBody

RetryDAGRunJSONRequestBody defines body for RetryDAGRun for application/json ContentType.

type RetryDAGRunParams

type RetryDAGRunParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

RetryDAGRunParams defines parameters for RetryDAGRun.

type RetryDAGRunRequestObject

type RetryDAGRunRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   RetryDAGRunParams
	Body     *RetryDAGRunJSONRequestBody
}

type RetryDAGRunResponseObject

type RetryDAGRunResponseObject interface {
	VisitRetryDAGRunResponse(w http.ResponseWriter) error
}

type RetryDAGRundefaultJSONResponse

type RetryDAGRundefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (RetryDAGRundefaultJSONResponse) VisitRetryDAGRunResponse

func (response RetryDAGRundefaultJSONResponse) VisitRetryDAGRunResponse(w http.ResponseWriter) error

type RunConfig added in v1.20.0

type RunConfig struct {
	// DisableParamEdit Disable parameter editing when starting the DAG
	DisableParamEdit bool `json:"disableParamEdit"`

	// DisableRunIdEdit Disable custom run ID specification
	DisableRunIdEdit bool `json:"disableRunIdEdit"`
}

RunConfig Configuration for controlling user interactions when starting DAG runs

type RunningTask added in v1.18.0

type RunningTask struct {
	// DagName Name of the DAG
	DagName DAGName `json:"dagName"`

	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`

	// ParentDagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	ParentDagRunId *DAGRunId `json:"parentDagRunId,omitempty"`

	// ParentDagRunName Name of the DAG
	ParentDagRunName *DAGName `json:"parentDagRunName,omitempty"`

	// RootDagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	RootDagRunId *DAGRunId `json:"rootDagRunId,omitempty"`

	// RootDagRunName Name of the DAG
	RootDagRunName *DAGName `json:"rootDagRunName,omitempty"`

	// StartedAt RFC3339 timestamp when the task started
	StartedAt string `json:"startedAt"`
}

RunningTask Information about a task currently being executed

type Schedule

type Schedule struct {
	// Expression Cron expression or schedule pattern
	Expression string `json:"expression"`
}

Schedule Schedule configuration for DAG-run creation

type SchedulerInstance added in v1.20.0

type SchedulerInstance struct {
	// Host Hostname where scheduler is running
	Host string `json:"host"`

	// InstanceId Unique identifier of the scheduler instance
	InstanceId string `json:"instanceId"`

	// StartedAt RFC3339 timestamp when scheduler started
	StartedAt string `json:"startedAt"`

	// Status Scheduler status (active = holds lock and scheduling)
	Status SchedulerInstanceStatus `json:"status"`
}

SchedulerInstance Scheduler instance status information

type SchedulerInstanceStatus added in v1.20.0

type SchedulerInstanceStatus string

SchedulerInstanceStatus Scheduler status (active = holds lock and scheduling)

const (
	SchedulerInstanceStatusActive   SchedulerInstanceStatus = "active"
	SchedulerInstanceStatusInactive SchedulerInstanceStatus = "inactive"
	SchedulerInstanceStatusUnknown  SchedulerInstanceStatus = "unknown"
)

Defines values for SchedulerInstanceStatus.

type SchedulerStatusResponse added in v1.20.0

type SchedulerStatusResponse struct {
	// Schedulers List of all registered scheduler instances
	Schedulers []SchedulerInstance `json:"schedulers"`
}

SchedulerStatusResponse Response containing status of all scheduler instances

type SearchDAGs200JSONResponse

type SearchDAGs200JSONResponse struct {
	// Errors Errors encountered during the search
	Errors []string `json:"errors"`

	// Results Search results matching the query
	Results []SearchResultItem `json:"results"`
}

func (SearchDAGs200JSONResponse) VisitSearchDAGsResponse

func (response SearchDAGs200JSONResponse) VisitSearchDAGsResponse(w http.ResponseWriter) error

type SearchDAGsMatchItem

type SearchDAGsMatchItem struct {
	// Line Matching line content
	Line string `json:"line"`

	// LineNumber Line number where match was found
	LineNumber int `json:"lineNumber"`

	// StartLine Start line for context
	StartLine int `json:"startLine"`
}

SearchDAGsMatchItem Details of a search match within a DAG definition

type SearchDAGsParams

type SearchDAGsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Q A search query string
	Q string `form:"q" json:"q"`
}

SearchDAGsParams defines parameters for SearchDAGs.

type SearchDAGsRequestObject

type SearchDAGsRequestObject struct {
	Params SearchDAGsParams
}

type SearchDAGsResponseObject

type SearchDAGsResponseObject interface {
	VisitSearchDAGsResponse(w http.ResponseWriter) error
}

type SearchDAGsdefaultJSONResponse

type SearchDAGsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (SearchDAGsdefaultJSONResponse) VisitSearchDAGsResponse

func (response SearchDAGsdefaultJSONResponse) VisitSearchDAGsResponse(w http.ResponseWriter) error

type SearchResultItem

type SearchResultItem struct {
	// Dag Core DAG configuration containing definition and metadata
	Dag DAG `json:"dag"`

	// Matches Details of where matches were found
	Matches []SearchDAGsMatchItem `json:"matches"`

	// Name Name of the matching DAG
	Name string `json:"name"`
}

SearchResultItem Individual search result item for a DAG

type ServerInterface

type ServerInterface interface {
	// List all API keys
	// (GET /api-keys)
	ListAPIKeys(w http.ResponseWriter, r *http.Request)
	// Create API key
	// (POST /api-keys)
	CreateAPIKey(w http.ResponseWriter, r *http.Request)
	// Delete API key
	// (DELETE /api-keys/{keyId})
	DeleteAPIKey(w http.ResponseWriter, r *http.Request, keyId APIKeyId)
	// Get API key
	// (GET /api-keys/{keyId})
	GetAPIKey(w http.ResponseWriter, r *http.Request, keyId APIKeyId)
	// Update API key
	// (PATCH /api-keys/{keyId})
	UpdateAPIKey(w http.ResponseWriter, r *http.Request, keyId APIKeyId)
	// Change current user's password
	// (POST /auth/change-password)
	ChangePassword(w http.ResponseWriter, r *http.Request)
	// Authenticate user and obtain JWT token
	// (POST /auth/login)
	Login(w http.ResponseWriter, r *http.Request)
	// Get current authenticated user
	// (GET /auth/me)
	GetCurrentUser(w http.ResponseWriter, r *http.Request)
	// List all DAG-runs
	// (GET /dag-runs)
	ListDAGRuns(w http.ResponseWriter, r *http.Request, params ListDAGRunsParams)
	// Create and execute a DAG-run from inline spec
	// (POST /dag-runs)
	ExecuteDAGRunFromSpec(w http.ResponseWriter, r *http.Request, params ExecuteDAGRunFromSpecParams)
	// Enqueue a DAG-run from inline spec
	// (POST /dag-runs/enqueue)
	EnqueueDAGRunFromSpec(w http.ResponseWriter, r *http.Request, params EnqueueDAGRunFromSpecParams)
	// List all DAG-runs with a specific name
	// (GET /dag-runs/{name})
	ListDAGRunsByName(w http.ResponseWriter, r *http.Request, name DAGRunName, params ListDAGRunsByNameParams)
	// Retrieve detailed status of a DAG-run
	// (GET /dag-runs/{name}/{dagRunId})
	GetDAGRunDetails(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunDetailsParams)
	// Dequeue a queued DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/dequeue)
	DequeueDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params DequeueDAGRunParams)
	// Retrieve full execution log of a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/log)
	GetDAGRunLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunLogParams)
	// Retrieve collected outputs from a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/outputs)
	GetDAGRunOutputs(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunOutputsParams)
	// Reschedule DAG-run with a new run ID
	// (POST /dag-runs/{name}/{dagRunId}/reschedule)
	RescheduleDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params RescheduleDAGRunParams)
	// Retry DAG-run execution
	// (POST /dag-runs/{name}/{dagRunId}/retry)
	RetryDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params RetryDAGRunParams)
	// Retrieve DAG specification for a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/spec)
	GetDAGRunSpec(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunSpecParams)
	// Approve a waiting step for HITL
	// (POST /dag-runs/{name}/{dagRunId}/steps/{stepName}/approve)
	ApproveDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params ApproveDAGRunStepParams)
	// Retrieve log for a specific step in a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/steps/{stepName}/log)
	GetDAGRunStepLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params GetDAGRunStepLogParams)
	// Reject a waiting step for HITL
	// (POST /dag-runs/{name}/{dagRunId}/steps/{stepName}/reject)
	RejectDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params RejectDAGRunStepParams)
	// Manually update a step's execution status
	// (PATCH /dag-runs/{name}/{dagRunId}/steps/{stepName}/status)
	UpdateDAGRunStepStatus(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params UpdateDAGRunStepStatusParams)
	// Terminate a running DAG-run
	// (POST /dag-runs/{name}/{dagRunId}/stop)
	TerminateDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params TerminateDAGRunParams)
	// Get sub DAG runs with timing info
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs)
	GetSubDAGRuns(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetSubDAGRunsParams)
	// Retrieve detailed status of a sub DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId})
	GetSubDAGRunDetails(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, params GetSubDAGRunDetailsParams)
	// Retrieve log for a specific sub DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/log)
	GetSubDAGRunLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, params GetSubDAGRunLogParams)
	// Approve a waiting step in a sub DAG-run for HITL
	// (POST /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/approve)
	ApproveSubDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params ApproveSubDAGRunStepParams)
	// Retrieve log for a specific step in a sub DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/log)
	GetSubDAGRunStepLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params GetSubDAGRunStepLogParams)
	// Reject a waiting step in a sub DAG-run for HITL
	// (POST /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/reject)
	RejectSubDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params RejectSubDAGRunStepParams)
	// Manually update a step's execution status in a sub DAG-run
	// (PATCH /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/status)
	UpdateSubDAGRunStepStatus(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params UpdateSubDAGRunStepStatusParams)
	// List all available DAGs
	// (GET /dags)
	ListDAGs(w http.ResponseWriter, r *http.Request, params ListDAGsParams)
	// Create a new DAG definition
	// (POST /dags)
	CreateNewDAG(w http.ResponseWriter, r *http.Request, params CreateNewDAGParams)
	// Search DAGs
	// (GET /dags/search)
	SearchDAGs(w http.ResponseWriter, r *http.Request, params SearchDAGsParams)
	// List all available DAG tags
	// (GET /dags/tags)
	GetAllDAGTags(w http.ResponseWriter, r *http.Request, params GetAllDAGTagsParams)
	// Validate a DAG specification
	// (POST /dags/validate)
	ValidateDAGSpec(w http.ResponseWriter, r *http.Request, params ValidateDAGSpecParams)
	// Delete an existing DAG
	// (DELETE /dags/{fileName})
	DeleteDAG(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params DeleteDAGParams)
	// Retrieve comprehensive DAG information
	// (GET /dags/{fileName})
	GetDAGDetails(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGDetailsParams)
	// Retrieve execution history of a DAG
	// (GET /dags/{fileName}/dag-runs)
	GetDAGDAGRunHistory(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGDAGRunHistoryParams)
	// Get detailed status of a specific DAG-run
	// (GET /dags/{fileName}/dag-runs/{dagRunId})
	GetDAGDAGRunDetails(w http.ResponseWriter, r *http.Request, fileName DAGFileName, dagRunId DAGRunId, params GetDAGDAGRunDetailsParams)
	// Enqueue a DAG-run from DAG
	// (POST /dags/{fileName}/enqueue)
	EnqueueDAGDAGRun(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params EnqueueDAGDAGRunParams)
	// Change DAG file ID
	// (POST /dags/{fileName}/rename)
	RenameDAG(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params RenameDAGParams)
	// Retrieve DAG specification
	// (GET /dags/{fileName}/spec)
	GetDAGSpec(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGSpecParams)
	// Update DAG spec
	// (PUT /dags/{fileName}/spec)
	UpdateDAGSpec(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params UpdateDAGSpecParams)
	// Create and execute a DAG-run from DAG
	// (POST /dags/{fileName}/start)
	ExecuteDAG(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params ExecuteDAGParams)
	// Stop all running instances of a DAG
	// (POST /dags/{fileName}/stop-all)
	StopAllDAGRuns(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params StopAllDAGRunsParams)
	// Toggle DAG suspension state
	// (POST /dags/{fileName}/suspend)
	UpdateDAGSuspensionState(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params UpdateDAGSuspensionStateParams)
	// Delete webhook for DAG
	// (DELETE /dags/{fileName}/webhook)
	DeleteDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params DeleteDAGWebhookParams)
	// Get webhook for DAG
	// (GET /dags/{fileName}/webhook)
	GetDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGWebhookParams)
	// Create webhook for DAG
	// (POST /dags/{fileName}/webhook)
	CreateDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params CreateDAGWebhookParams)
	// Regenerate webhook token
	// (POST /dags/{fileName}/webhook/regenerate)
	RegenerateDAGWebhookToken(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params RegenerateDAGWebhookTokenParams)
	// Toggle webhook enabled state
	// (POST /dags/{fileName}/webhook/toggle)
	ToggleDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params ToggleDAGWebhookParams)
	// Check server health status
	// (GET /health)
	GetHealthStatus(w http.ResponseWriter, r *http.Request)
	// Get Prometheus metrics
	// (GET /metrics)
	GetMetrics(w http.ResponseWriter, r *http.Request)
	// List all execution queues with active DAG-runs
	// (GET /queues)
	ListQueues(w http.ResponseWriter, r *http.Request, params ListQueuesParams)
	// Get coordinator service status
	// (GET /services/coordinator)
	GetCoordinatorStatus(w http.ResponseWriter, r *http.Request, params GetCoordinatorStatusParams)
	// Get resource usage history
	// (GET /services/resources/history)
	GetResourceHistory(w http.ResponseWriter, r *http.Request, params GetResourceHistoryParams)
	// Get scheduler service status
	// (GET /services/scheduler)
	GetSchedulerStatus(w http.ResponseWriter, r *http.Request, params GetSchedulerStatusParams)
	// List all users
	// (GET /users)
	ListUsers(w http.ResponseWriter, r *http.Request)
	// Create a new user
	// (POST /users)
	CreateUser(w http.ResponseWriter, r *http.Request)
	// Delete user
	// (DELETE /users/{userId})
	DeleteUser(w http.ResponseWriter, r *http.Request, userId UserId)
	// Get user by ID
	// (GET /users/{userId})
	GetUser(w http.ResponseWriter, r *http.Request, userId UserId)
	// Update user
	// (PATCH /users/{userId})
	UpdateUser(w http.ResponseWriter, r *http.Request, userId UserId)
	// Reset user's password
	// (POST /users/{userId}/reset-password)
	ResetUserPassword(w http.ResponseWriter, r *http.Request, userId UserId)
	// List all webhooks
	// (GET /webhooks)
	ListWebhooks(w http.ResponseWriter, r *http.Request, params ListWebhooksParams)
	// Trigger DAG execution via webhook
	// (POST /webhooks/{fileName})
	TriggerWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params TriggerWebhookParams)
	// List distributed workers
	// (GET /workers)
	GetWorkers(w http.ResponseWriter, r *http.Request, params GetWorkersParams)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) ApproveDAGRunStep added in v1.30.0

func (siw *ServerInterfaceWrapper) ApproveDAGRunStep(w http.ResponseWriter, r *http.Request)

ApproveDAGRunStep operation middleware

func (*ServerInterfaceWrapper) ApproveSubDAGRunStep added in v1.30.0

func (siw *ServerInterfaceWrapper) ApproveSubDAGRunStep(w http.ResponseWriter, r *http.Request)

ApproveSubDAGRunStep operation middleware

func (*ServerInterfaceWrapper) ChangePassword added in v1.26.0

func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)

ChangePassword operation middleware

func (*ServerInterfaceWrapper) CreateAPIKey added in v1.29.0

func (siw *ServerInterfaceWrapper) CreateAPIKey(w http.ResponseWriter, r *http.Request)

CreateAPIKey operation middleware

func (*ServerInterfaceWrapper) CreateDAGWebhook added in v1.29.0

func (siw *ServerInterfaceWrapper) CreateDAGWebhook(w http.ResponseWriter, r *http.Request)

CreateDAGWebhook operation middleware

func (*ServerInterfaceWrapper) CreateNewDAG

func (siw *ServerInterfaceWrapper) CreateNewDAG(w http.ResponseWriter, r *http.Request)

CreateNewDAG operation middleware

func (*ServerInterfaceWrapper) CreateUser added in v1.26.0

func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser operation middleware

func (*ServerInterfaceWrapper) DeleteAPIKey added in v1.29.0

func (siw *ServerInterfaceWrapper) DeleteAPIKey(w http.ResponseWriter, r *http.Request)

DeleteAPIKey operation middleware

func (*ServerInterfaceWrapper) DeleteDAG

func (siw *ServerInterfaceWrapper) DeleteDAG(w http.ResponseWriter, r *http.Request)

DeleteDAG operation middleware

func (*ServerInterfaceWrapper) DeleteDAGWebhook added in v1.29.0

func (siw *ServerInterfaceWrapper) DeleteDAGWebhook(w http.ResponseWriter, r *http.Request)

DeleteDAGWebhook operation middleware

func (*ServerInterfaceWrapper) DeleteUser added in v1.26.0

func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser operation middleware

func (*ServerInterfaceWrapper) DequeueDAGRun

func (siw *ServerInterfaceWrapper) DequeueDAGRun(w http.ResponseWriter, r *http.Request)

DequeueDAGRun operation middleware

func (*ServerInterfaceWrapper) EnqueueDAGDAGRun

func (siw *ServerInterfaceWrapper) EnqueueDAGDAGRun(w http.ResponseWriter, r *http.Request)

EnqueueDAGDAGRun operation middleware

func (*ServerInterfaceWrapper) EnqueueDAGRunFromSpec added in v1.24.0

func (siw *ServerInterfaceWrapper) EnqueueDAGRunFromSpec(w http.ResponseWriter, r *http.Request)

EnqueueDAGRunFromSpec operation middleware

func (*ServerInterfaceWrapper) ExecuteDAG

func (siw *ServerInterfaceWrapper) ExecuteDAG(w http.ResponseWriter, r *http.Request)

ExecuteDAG operation middleware

func (*ServerInterfaceWrapper) ExecuteDAGRunFromSpec added in v1.23.0

func (siw *ServerInterfaceWrapper) ExecuteDAGRunFromSpec(w http.ResponseWriter, r *http.Request)

ExecuteDAGRunFromSpec operation middleware

func (*ServerInterfaceWrapper) GetAPIKey added in v1.29.0

func (siw *ServerInterfaceWrapper) GetAPIKey(w http.ResponseWriter, r *http.Request)

GetAPIKey operation middleware

func (*ServerInterfaceWrapper) GetAllDAGTags

func (siw *ServerInterfaceWrapper) GetAllDAGTags(w http.ResponseWriter, r *http.Request)

GetAllDAGTags operation middleware

func (*ServerInterfaceWrapper) GetCoordinatorStatus added in v1.20.0

func (siw *ServerInterfaceWrapper) GetCoordinatorStatus(w http.ResponseWriter, r *http.Request)

GetCoordinatorStatus operation middleware

func (*ServerInterfaceWrapper) GetCurrentUser added in v1.26.0

func (siw *ServerInterfaceWrapper) GetCurrentUser(w http.ResponseWriter, r *http.Request)

GetCurrentUser operation middleware

func (*ServerInterfaceWrapper) GetDAGDAGRunDetails

func (siw *ServerInterfaceWrapper) GetDAGDAGRunDetails(w http.ResponseWriter, r *http.Request)

GetDAGDAGRunDetails operation middleware

func (*ServerInterfaceWrapper) GetDAGDAGRunHistory

func (siw *ServerInterfaceWrapper) GetDAGDAGRunHistory(w http.ResponseWriter, r *http.Request)

GetDAGDAGRunHistory operation middleware

func (*ServerInterfaceWrapper) GetDAGDetails

func (siw *ServerInterfaceWrapper) GetDAGDetails(w http.ResponseWriter, r *http.Request)

GetDAGDetails operation middleware

func (*ServerInterfaceWrapper) GetDAGRunDetails

func (siw *ServerInterfaceWrapper) GetDAGRunDetails(w http.ResponseWriter, r *http.Request)

GetDAGRunDetails operation middleware

func (*ServerInterfaceWrapper) GetDAGRunLog

func (siw *ServerInterfaceWrapper) GetDAGRunLog(w http.ResponseWriter, r *http.Request)

GetDAGRunLog operation middleware

func (*ServerInterfaceWrapper) GetDAGRunOutputs added in v1.29.0

func (siw *ServerInterfaceWrapper) GetDAGRunOutputs(w http.ResponseWriter, r *http.Request)

GetDAGRunOutputs operation middleware

func (*ServerInterfaceWrapper) GetDAGRunSpec added in v1.30.0

func (siw *ServerInterfaceWrapper) GetDAGRunSpec(w http.ResponseWriter, r *http.Request)

GetDAGRunSpec operation middleware

func (*ServerInterfaceWrapper) GetDAGRunStepLog

func (siw *ServerInterfaceWrapper) GetDAGRunStepLog(w http.ResponseWriter, r *http.Request)

GetDAGRunStepLog operation middleware

func (*ServerInterfaceWrapper) GetDAGSpec

func (siw *ServerInterfaceWrapper) GetDAGSpec(w http.ResponseWriter, r *http.Request)

GetDAGSpec operation middleware

func (*ServerInterfaceWrapper) GetDAGWebhook added in v1.29.0

func (siw *ServerInterfaceWrapper) GetDAGWebhook(w http.ResponseWriter, r *http.Request)

GetDAGWebhook operation middleware

func (*ServerInterfaceWrapper) GetHealthStatus

func (siw *ServerInterfaceWrapper) GetHealthStatus(w http.ResponseWriter, r *http.Request)

GetHealthStatus operation middleware

func (*ServerInterfaceWrapper) GetMetrics

func (siw *ServerInterfaceWrapper) GetMetrics(w http.ResponseWriter, r *http.Request)

GetMetrics operation middleware

func (*ServerInterfaceWrapper) GetResourceHistory added in v1.26.0

func (siw *ServerInterfaceWrapper) GetResourceHistory(w http.ResponseWriter, r *http.Request)

GetResourceHistory operation middleware

func (*ServerInterfaceWrapper) GetSchedulerStatus added in v1.20.0

func (siw *ServerInterfaceWrapper) GetSchedulerStatus(w http.ResponseWriter, r *http.Request)

GetSchedulerStatus operation middleware

func (*ServerInterfaceWrapper) GetSubDAGRunDetails added in v1.24.0

func (siw *ServerInterfaceWrapper) GetSubDAGRunDetails(w http.ResponseWriter, r *http.Request)

GetSubDAGRunDetails operation middleware

func (*ServerInterfaceWrapper) GetSubDAGRunLog added in v1.24.0

func (siw *ServerInterfaceWrapper) GetSubDAGRunLog(w http.ResponseWriter, r *http.Request)

GetSubDAGRunLog operation middleware

func (*ServerInterfaceWrapper) GetSubDAGRunStepLog added in v1.24.0

func (siw *ServerInterfaceWrapper) GetSubDAGRunStepLog(w http.ResponseWriter, r *http.Request)

GetSubDAGRunStepLog operation middleware

func (*ServerInterfaceWrapper) GetSubDAGRuns added in v1.24.0

func (siw *ServerInterfaceWrapper) GetSubDAGRuns(w http.ResponseWriter, r *http.Request)

GetSubDAGRuns operation middleware

func (*ServerInterfaceWrapper) GetUser added in v1.26.0

GetUser operation middleware

func (*ServerInterfaceWrapper) GetWorkers added in v1.18.0

func (siw *ServerInterfaceWrapper) GetWorkers(w http.ResponseWriter, r *http.Request)

GetWorkers operation middleware

func (*ServerInterfaceWrapper) ListAPIKeys added in v1.29.0

func (siw *ServerInterfaceWrapper) ListAPIKeys(w http.ResponseWriter, r *http.Request)

ListAPIKeys operation middleware

func (*ServerInterfaceWrapper) ListDAGRuns

func (siw *ServerInterfaceWrapper) ListDAGRuns(w http.ResponseWriter, r *http.Request)

ListDAGRuns operation middleware

func (*ServerInterfaceWrapper) ListDAGRunsByName

func (siw *ServerInterfaceWrapper) ListDAGRunsByName(w http.ResponseWriter, r *http.Request)

ListDAGRunsByName operation middleware

func (*ServerInterfaceWrapper) ListDAGs

func (siw *ServerInterfaceWrapper) ListDAGs(w http.ResponseWriter, r *http.Request)

ListDAGs operation middleware

func (*ServerInterfaceWrapper) ListQueues added in v1.22.0

func (siw *ServerInterfaceWrapper) ListQueues(w http.ResponseWriter, r *http.Request)

ListQueues operation middleware

func (*ServerInterfaceWrapper) ListUsers added in v1.26.0

func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)

ListUsers operation middleware

func (*ServerInterfaceWrapper) ListWebhooks added in v1.29.0

func (siw *ServerInterfaceWrapper) ListWebhooks(w http.ResponseWriter, r *http.Request)

ListWebhooks operation middleware

func (*ServerInterfaceWrapper) Login added in v1.26.0

Login operation middleware

func (*ServerInterfaceWrapper) RegenerateDAGWebhookToken added in v1.29.0

func (siw *ServerInterfaceWrapper) RegenerateDAGWebhookToken(w http.ResponseWriter, r *http.Request)

RegenerateDAGWebhookToken operation middleware

func (*ServerInterfaceWrapper) RejectDAGRunStep added in v1.30.0

func (siw *ServerInterfaceWrapper) RejectDAGRunStep(w http.ResponseWriter, r *http.Request)

RejectDAGRunStep operation middleware

func (*ServerInterfaceWrapper) RejectSubDAGRunStep added in v1.30.0

func (siw *ServerInterfaceWrapper) RejectSubDAGRunStep(w http.ResponseWriter, r *http.Request)

RejectSubDAGRunStep operation middleware

func (*ServerInterfaceWrapper) RenameDAG

func (siw *ServerInterfaceWrapper) RenameDAG(w http.ResponseWriter, r *http.Request)

RenameDAG operation middleware

func (*ServerInterfaceWrapper) RescheduleDAGRun added in v1.24.0

func (siw *ServerInterfaceWrapper) RescheduleDAGRun(w http.ResponseWriter, r *http.Request)

RescheduleDAGRun operation middleware

func (*ServerInterfaceWrapper) ResetUserPassword added in v1.26.0

func (siw *ServerInterfaceWrapper) ResetUserPassword(w http.ResponseWriter, r *http.Request)

ResetUserPassword operation middleware

func (*ServerInterfaceWrapper) RetryDAGRun

func (siw *ServerInterfaceWrapper) RetryDAGRun(w http.ResponseWriter, r *http.Request)

RetryDAGRun operation middleware

func (*ServerInterfaceWrapper) SearchDAGs

func (siw *ServerInterfaceWrapper) SearchDAGs(w http.ResponseWriter, r *http.Request)

SearchDAGs operation middleware

func (*ServerInterfaceWrapper) StopAllDAGRuns added in v1.22.2

func (siw *ServerInterfaceWrapper) StopAllDAGRuns(w http.ResponseWriter, r *http.Request)

StopAllDAGRuns operation middleware

func (*ServerInterfaceWrapper) TerminateDAGRun

func (siw *ServerInterfaceWrapper) TerminateDAGRun(w http.ResponseWriter, r *http.Request)

TerminateDAGRun operation middleware

func (*ServerInterfaceWrapper) ToggleDAGWebhook added in v1.29.0

func (siw *ServerInterfaceWrapper) ToggleDAGWebhook(w http.ResponseWriter, r *http.Request)

ToggleDAGWebhook operation middleware

func (*ServerInterfaceWrapper) TriggerWebhook added in v1.29.0

func (siw *ServerInterfaceWrapper) TriggerWebhook(w http.ResponseWriter, r *http.Request)

TriggerWebhook operation middleware

func (*ServerInterfaceWrapper) UpdateAPIKey added in v1.29.0

func (siw *ServerInterfaceWrapper) UpdateAPIKey(w http.ResponseWriter, r *http.Request)

UpdateAPIKey operation middleware

func (*ServerInterfaceWrapper) UpdateDAGRunStepStatus

func (siw *ServerInterfaceWrapper) UpdateDAGRunStepStatus(w http.ResponseWriter, r *http.Request)

UpdateDAGRunStepStatus operation middleware

func (*ServerInterfaceWrapper) UpdateDAGSpec

func (siw *ServerInterfaceWrapper) UpdateDAGSpec(w http.ResponseWriter, r *http.Request)

UpdateDAGSpec operation middleware

func (*ServerInterfaceWrapper) UpdateDAGSuspensionState

func (siw *ServerInterfaceWrapper) UpdateDAGSuspensionState(w http.ResponseWriter, r *http.Request)

UpdateDAGSuspensionState operation middleware

func (*ServerInterfaceWrapper) UpdateSubDAGRunStepStatus added in v1.24.0

func (siw *ServerInterfaceWrapper) UpdateSubDAGRunStepStatus(w http.ResponseWriter, r *http.Request)

UpdateSubDAGRunStepStatus operation middleware

func (*ServerInterfaceWrapper) UpdateUser added in v1.26.0

func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser operation middleware

func (*ServerInterfaceWrapper) ValidateDAGSpec added in v1.23.0

func (siw *ServerInterfaceWrapper) ValidateDAGSpec(w http.ResponseWriter, r *http.Request)

ValidateDAGSpec operation middleware

type Status

type Status int

Status Numeric status code indicating current DAG-run state: 0: "Not started" 1: "Running" 2: "Failed" 3: "Aborted" 4: "Success" 5: "Queued" 6: "Partial Success" 7: "Waiting for approval" 8: "Rejected"

const (
	StatusAborted        Status = 3
	StatusFailed         Status = 2
	StatusNotStarted     Status = 0
	StatusPartialSuccess Status = 6
	StatusQueued         Status = 5
	StatusRejected       Status = 8
	StatusRunning        Status = 1
	StatusSuccess        Status = 4
	StatusWaiting        Status = 7
)

Defines values for Status.

type StatusLabel

type StatusLabel string

StatusLabel Human-readable status description for the DAG-run

const (
	StatusLabelAborted            StatusLabel = "aborted"
	StatusLabelFailed             StatusLabel = "failed"
	StatusLabelNotStarted         StatusLabel = "not_started"
	StatusLabelPartiallySucceeded StatusLabel = "partially_succeeded"
	StatusLabelQueued             StatusLabel = "queued"
	StatusLabelRejected           StatusLabel = "rejected"
	StatusLabelRunning            StatusLabel = "running"
	StatusLabelSucceeded          StatusLabel = "succeeded"
	StatusLabelWaiting            StatusLabel = "waiting"
)

Defines values for StatusLabel.

type Step

type Step struct {
	// Call The name of the DAG to execute as a sub DAG-run
	Call *string `json:"call,omitempty"`

	// Commands List of commands to execute sequentially
	Commands *[]CommandEntry `json:"commands,omitempty"`

	// Depends List of step names that must complete before this step can start
	Depends *[]string `json:"depends,omitempty"`

	// Description Human-readable description of what the step does
	Description *string `json:"description,omitempty"`

	// Dir Working directory for executing the step's command
	Dir *string `json:"dir,omitempty"`

	// ExecutorConfig Executor configuration for this step
	ExecutorConfig *struct {
		// Config Executor-specific configuration
		Config *map[string]interface{} `json:"config,omitempty"`

		// Type Type of executor (e.g., 'wait', 'http', 'docker', 'command')
		Type *string `json:"type,omitempty"`
	} `json:"executorConfig,omitempty"`

	// Id Optional short identifier for the step. Can be used in variable references like ${id.stdout} to access step properties. Must be unique within the DAG if specified
	Id *string `json:"id,omitempty"`

	// MailOnError Whether to send email notifications on step failure
	MailOnError *bool `json:"mailOnError,omitempty"`

	// Name Unique identifier for the step within the DAG-run
	Name string `json:"name"`

	// Output Variable name to store the step's output
	Output *string `json:"output,omitempty"`

	// Parallel Configuration for parallel execution of the step
	Parallel *struct {
		// Items Array of items to process in parallel. Can be a static array or a reference to a variable containing an array
		Items *Step_Parallel_Items `json:"items,omitempty"`

		// MaxConcurrent Maximum number of parallel executions. Default is 10 if not specified
		MaxConcurrent *int `json:"maxConcurrent,omitempty"`
	} `json:"parallel,omitempty"`

	// Params Parameters to pass to the sub DAG-run in JSON format
	Params *string `json:"params,omitempty"`

	// Preconditions Conditions that must be met before the step can start
	Preconditions *[]Condition `json:"preconditions,omitempty"`

	// RepeatPolicy Configuration for step repeat behavior
	RepeatPolicy *RepeatPolicy `json:"repeatPolicy,omitempty"`

	// Script Script content if the step executes a script file
	Script *string `json:"script,omitempty"`

	// Stderr File path for capturing standard error
	Stderr *string `json:"stderr,omitempty"`

	// Stdout File path for capturing standard output
	Stdout *string `json:"stdout,omitempty"`

	// TimeoutSec Maximum execution time for the step in seconds. If set, this timeout takes precedence over the DAG-level timeout for this step.
	TimeoutSec *int `json:"timeoutSec,omitempty"`
}

Step Individual task definition that performs a specific operation in a DAG-run

type StepName

type StepName = string

StepName defines model for StepName.

type StepParallelItems0 added in v1.18.0

type StepParallelItems0 = []string

StepParallelItems0 defines model for .

type StepParallelItems1 added in v1.18.0

type StepParallelItems1 = string

StepParallelItems1 defines model for .

type Step_Parallel_Items added in v1.18.0

type Step_Parallel_Items struct {
	// contains filtered or unexported fields
}

Step_Parallel_Items Array of items to process in parallel. Can be a static array or a reference to a variable containing an array

func (Step_Parallel_Items) AsStepParallelItems0 added in v1.18.0

func (t Step_Parallel_Items) AsStepParallelItems0() (StepParallelItems0, error)

AsStepParallelItems0 returns the union data inside the Step_Parallel_Items as a StepParallelItems0

func (Step_Parallel_Items) AsStepParallelItems1 added in v1.18.0

func (t Step_Parallel_Items) AsStepParallelItems1() (StepParallelItems1, error)

AsStepParallelItems1 returns the union data inside the Step_Parallel_Items as a StepParallelItems1

func (*Step_Parallel_Items) FromStepParallelItems0 added in v1.18.0

func (t *Step_Parallel_Items) FromStepParallelItems0(v StepParallelItems0) error

FromStepParallelItems0 overwrites any union data inside the Step_Parallel_Items as the provided StepParallelItems0

func (*Step_Parallel_Items) FromStepParallelItems1 added in v1.18.0

func (t *Step_Parallel_Items) FromStepParallelItems1(v StepParallelItems1) error

FromStepParallelItems1 overwrites any union data inside the Step_Parallel_Items as the provided StepParallelItems1

func (Step_Parallel_Items) MarshalJSON added in v1.18.0

func (t Step_Parallel_Items) MarshalJSON() ([]byte, error)

func (*Step_Parallel_Items) MergeStepParallelItems0 added in v1.18.0

func (t *Step_Parallel_Items) MergeStepParallelItems0(v StepParallelItems0) error

MergeStepParallelItems0 performs a merge with any union data inside the Step_Parallel_Items, using the provided StepParallelItems0

func (*Step_Parallel_Items) MergeStepParallelItems1 added in v1.18.0

func (t *Step_Parallel_Items) MergeStepParallelItems1(v StepParallelItems1) error

MergeStepParallelItems1 performs a merge with any union data inside the Step_Parallel_Items, using the provided StepParallelItems1

func (*Step_Parallel_Items) UnmarshalJSON added in v1.18.0

func (t *Step_Parallel_Items) UnmarshalJSON(b []byte) error

type StopAllDAGRuns200JSONResponse added in v1.22.2

type StopAllDAGRuns200JSONResponse struct {
	// Errors Errors encountered
	Errors []string `json:"errors"`
}

func (StopAllDAGRuns200JSONResponse) VisitStopAllDAGRunsResponse added in v1.22.2

func (response StopAllDAGRuns200JSONResponse) VisitStopAllDAGRunsResponse(w http.ResponseWriter) error

type StopAllDAGRuns404JSONResponse added in v1.22.2

type StopAllDAGRuns404JSONResponse Error

func (StopAllDAGRuns404JSONResponse) VisitStopAllDAGRunsResponse added in v1.22.2

func (response StopAllDAGRuns404JSONResponse) VisitStopAllDAGRunsResponse(w http.ResponseWriter) error

type StopAllDAGRunsParams added in v1.22.2

type StopAllDAGRunsParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

StopAllDAGRunsParams defines parameters for StopAllDAGRuns.

type StopAllDAGRunsRequestObject added in v1.22.2

type StopAllDAGRunsRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   StopAllDAGRunsParams
}

type StopAllDAGRunsResponseObject added in v1.22.2

type StopAllDAGRunsResponseObject interface {
	VisitStopAllDAGRunsResponse(w http.ResponseWriter) error
}

type StopAllDAGRunsdefaultJSONResponse added in v1.22.2

type StopAllDAGRunsdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (StopAllDAGRunsdefaultJSONResponse) VisitStopAllDAGRunsResponse added in v1.22.2

func (response StopAllDAGRunsdefaultJSONResponse) VisitStopAllDAGRunsResponse(w http.ResponseWriter) error

type Stream

type Stream string

Stream defines model for Stream.

const (
	StreamStderr Stream = "stderr"
	StreamStdout Stream = "stdout"
)

Defines values for Stream.

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {
	// List all API keys
	// (GET /api-keys)
	ListAPIKeys(ctx context.Context, request ListAPIKeysRequestObject) (ListAPIKeysResponseObject, error)
	// Create API key
	// (POST /api-keys)
	CreateAPIKey(ctx context.Context, request CreateAPIKeyRequestObject) (CreateAPIKeyResponseObject, error)
	// Delete API key
	// (DELETE /api-keys/{keyId})
	DeleteAPIKey(ctx context.Context, request DeleteAPIKeyRequestObject) (DeleteAPIKeyResponseObject, error)
	// Get API key
	// (GET /api-keys/{keyId})
	GetAPIKey(ctx context.Context, request GetAPIKeyRequestObject) (GetAPIKeyResponseObject, error)
	// Update API key
	// (PATCH /api-keys/{keyId})
	UpdateAPIKey(ctx context.Context, request UpdateAPIKeyRequestObject) (UpdateAPIKeyResponseObject, error)
	// Change current user's password
	// (POST /auth/change-password)
	ChangePassword(ctx context.Context, request ChangePasswordRequestObject) (ChangePasswordResponseObject, error)
	// Authenticate user and obtain JWT token
	// (POST /auth/login)
	Login(ctx context.Context, request LoginRequestObject) (LoginResponseObject, error)
	// Get current authenticated user
	// (GET /auth/me)
	GetCurrentUser(ctx context.Context, request GetCurrentUserRequestObject) (GetCurrentUserResponseObject, error)
	// List all DAG-runs
	// (GET /dag-runs)
	ListDAGRuns(ctx context.Context, request ListDAGRunsRequestObject) (ListDAGRunsResponseObject, error)
	// Create and execute a DAG-run from inline spec
	// (POST /dag-runs)
	ExecuteDAGRunFromSpec(ctx context.Context, request ExecuteDAGRunFromSpecRequestObject) (ExecuteDAGRunFromSpecResponseObject, error)
	// Enqueue a DAG-run from inline spec
	// (POST /dag-runs/enqueue)
	EnqueueDAGRunFromSpec(ctx context.Context, request EnqueueDAGRunFromSpecRequestObject) (EnqueueDAGRunFromSpecResponseObject, error)
	// List all DAG-runs with a specific name
	// (GET /dag-runs/{name})
	ListDAGRunsByName(ctx context.Context, request ListDAGRunsByNameRequestObject) (ListDAGRunsByNameResponseObject, error)
	// Retrieve detailed status of a DAG-run
	// (GET /dag-runs/{name}/{dagRunId})
	GetDAGRunDetails(ctx context.Context, request GetDAGRunDetailsRequestObject) (GetDAGRunDetailsResponseObject, error)
	// Dequeue a queued DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/dequeue)
	DequeueDAGRun(ctx context.Context, request DequeueDAGRunRequestObject) (DequeueDAGRunResponseObject, error)
	// Retrieve full execution log of a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/log)
	GetDAGRunLog(ctx context.Context, request GetDAGRunLogRequestObject) (GetDAGRunLogResponseObject, error)
	// Retrieve collected outputs from a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/outputs)
	GetDAGRunOutputs(ctx context.Context, request GetDAGRunOutputsRequestObject) (GetDAGRunOutputsResponseObject, error)
	// Reschedule DAG-run with a new run ID
	// (POST /dag-runs/{name}/{dagRunId}/reschedule)
	RescheduleDAGRun(ctx context.Context, request RescheduleDAGRunRequestObject) (RescheduleDAGRunResponseObject, error)
	// Retry DAG-run execution
	// (POST /dag-runs/{name}/{dagRunId}/retry)
	RetryDAGRun(ctx context.Context, request RetryDAGRunRequestObject) (RetryDAGRunResponseObject, error)
	// Retrieve DAG specification for a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/spec)
	GetDAGRunSpec(ctx context.Context, request GetDAGRunSpecRequestObject) (GetDAGRunSpecResponseObject, error)
	// Approve a waiting step for HITL
	// (POST /dag-runs/{name}/{dagRunId}/steps/{stepName}/approve)
	ApproveDAGRunStep(ctx context.Context, request ApproveDAGRunStepRequestObject) (ApproveDAGRunStepResponseObject, error)
	// Retrieve log for a specific step in a DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/steps/{stepName}/log)
	GetDAGRunStepLog(ctx context.Context, request GetDAGRunStepLogRequestObject) (GetDAGRunStepLogResponseObject, error)
	// Reject a waiting step for HITL
	// (POST /dag-runs/{name}/{dagRunId}/steps/{stepName}/reject)
	RejectDAGRunStep(ctx context.Context, request RejectDAGRunStepRequestObject) (RejectDAGRunStepResponseObject, error)
	// Manually update a step's execution status
	// (PATCH /dag-runs/{name}/{dagRunId}/steps/{stepName}/status)
	UpdateDAGRunStepStatus(ctx context.Context, request UpdateDAGRunStepStatusRequestObject) (UpdateDAGRunStepStatusResponseObject, error)
	// Terminate a running DAG-run
	// (POST /dag-runs/{name}/{dagRunId}/stop)
	TerminateDAGRun(ctx context.Context, request TerminateDAGRunRequestObject) (TerminateDAGRunResponseObject, error)
	// Get sub DAG runs with timing info
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs)
	GetSubDAGRuns(ctx context.Context, request GetSubDAGRunsRequestObject) (GetSubDAGRunsResponseObject, error)
	// Retrieve detailed status of a sub DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId})
	GetSubDAGRunDetails(ctx context.Context, request GetSubDAGRunDetailsRequestObject) (GetSubDAGRunDetailsResponseObject, error)
	// Retrieve log for a specific sub DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/log)
	GetSubDAGRunLog(ctx context.Context, request GetSubDAGRunLogRequestObject) (GetSubDAGRunLogResponseObject, error)
	// Approve a waiting step in a sub DAG-run for HITL
	// (POST /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/approve)
	ApproveSubDAGRunStep(ctx context.Context, request ApproveSubDAGRunStepRequestObject) (ApproveSubDAGRunStepResponseObject, error)
	// Retrieve log for a specific step in a sub DAG-run
	// (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/log)
	GetSubDAGRunStepLog(ctx context.Context, request GetSubDAGRunStepLogRequestObject) (GetSubDAGRunStepLogResponseObject, error)
	// Reject a waiting step in a sub DAG-run for HITL
	// (POST /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/reject)
	RejectSubDAGRunStep(ctx context.Context, request RejectSubDAGRunStepRequestObject) (RejectSubDAGRunStepResponseObject, error)
	// Manually update a step's execution status in a sub DAG-run
	// (PATCH /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/status)
	UpdateSubDAGRunStepStatus(ctx context.Context, request UpdateSubDAGRunStepStatusRequestObject) (UpdateSubDAGRunStepStatusResponseObject, error)
	// List all available DAGs
	// (GET /dags)
	ListDAGs(ctx context.Context, request ListDAGsRequestObject) (ListDAGsResponseObject, error)
	// Create a new DAG definition
	// (POST /dags)
	CreateNewDAG(ctx context.Context, request CreateNewDAGRequestObject) (CreateNewDAGResponseObject, error)
	// Search DAGs
	// (GET /dags/search)
	SearchDAGs(ctx context.Context, request SearchDAGsRequestObject) (SearchDAGsResponseObject, error)
	// List all available DAG tags
	// (GET /dags/tags)
	GetAllDAGTags(ctx context.Context, request GetAllDAGTagsRequestObject) (GetAllDAGTagsResponseObject, error)
	// Validate a DAG specification
	// (POST /dags/validate)
	ValidateDAGSpec(ctx context.Context, request ValidateDAGSpecRequestObject) (ValidateDAGSpecResponseObject, error)
	// Delete an existing DAG
	// (DELETE /dags/{fileName})
	DeleteDAG(ctx context.Context, request DeleteDAGRequestObject) (DeleteDAGResponseObject, error)
	// Retrieve comprehensive DAG information
	// (GET /dags/{fileName})
	GetDAGDetails(ctx context.Context, request GetDAGDetailsRequestObject) (GetDAGDetailsResponseObject, error)
	// Retrieve execution history of a DAG
	// (GET /dags/{fileName}/dag-runs)
	GetDAGDAGRunHistory(ctx context.Context, request GetDAGDAGRunHistoryRequestObject) (GetDAGDAGRunHistoryResponseObject, error)
	// Get detailed status of a specific DAG-run
	// (GET /dags/{fileName}/dag-runs/{dagRunId})
	GetDAGDAGRunDetails(ctx context.Context, request GetDAGDAGRunDetailsRequestObject) (GetDAGDAGRunDetailsResponseObject, error)
	// Enqueue a DAG-run from DAG
	// (POST /dags/{fileName}/enqueue)
	EnqueueDAGDAGRun(ctx context.Context, request EnqueueDAGDAGRunRequestObject) (EnqueueDAGDAGRunResponseObject, error)
	// Change DAG file ID
	// (POST /dags/{fileName}/rename)
	RenameDAG(ctx context.Context, request RenameDAGRequestObject) (RenameDAGResponseObject, error)
	// Retrieve DAG specification
	// (GET /dags/{fileName}/spec)
	GetDAGSpec(ctx context.Context, request GetDAGSpecRequestObject) (GetDAGSpecResponseObject, error)
	// Update DAG spec
	// (PUT /dags/{fileName}/spec)
	UpdateDAGSpec(ctx context.Context, request UpdateDAGSpecRequestObject) (UpdateDAGSpecResponseObject, error)
	// Create and execute a DAG-run from DAG
	// (POST /dags/{fileName}/start)
	ExecuteDAG(ctx context.Context, request ExecuteDAGRequestObject) (ExecuteDAGResponseObject, error)
	// Stop all running instances of a DAG
	// (POST /dags/{fileName}/stop-all)
	StopAllDAGRuns(ctx context.Context, request StopAllDAGRunsRequestObject) (StopAllDAGRunsResponseObject, error)
	// Toggle DAG suspension state
	// (POST /dags/{fileName}/suspend)
	UpdateDAGSuspensionState(ctx context.Context, request UpdateDAGSuspensionStateRequestObject) (UpdateDAGSuspensionStateResponseObject, error)
	// Delete webhook for DAG
	// (DELETE /dags/{fileName}/webhook)
	DeleteDAGWebhook(ctx context.Context, request DeleteDAGWebhookRequestObject) (DeleteDAGWebhookResponseObject, error)
	// Get webhook for DAG
	// (GET /dags/{fileName}/webhook)
	GetDAGWebhook(ctx context.Context, request GetDAGWebhookRequestObject) (GetDAGWebhookResponseObject, error)
	// Create webhook for DAG
	// (POST /dags/{fileName}/webhook)
	CreateDAGWebhook(ctx context.Context, request CreateDAGWebhookRequestObject) (CreateDAGWebhookResponseObject, error)
	// Regenerate webhook token
	// (POST /dags/{fileName}/webhook/regenerate)
	RegenerateDAGWebhookToken(ctx context.Context, request RegenerateDAGWebhookTokenRequestObject) (RegenerateDAGWebhookTokenResponseObject, error)
	// Toggle webhook enabled state
	// (POST /dags/{fileName}/webhook/toggle)
	ToggleDAGWebhook(ctx context.Context, request ToggleDAGWebhookRequestObject) (ToggleDAGWebhookResponseObject, error)
	// Check server health status
	// (GET /health)
	GetHealthStatus(ctx context.Context, request GetHealthStatusRequestObject) (GetHealthStatusResponseObject, error)
	// Get Prometheus metrics
	// (GET /metrics)
	GetMetrics(ctx context.Context, request GetMetricsRequestObject) (GetMetricsResponseObject, error)
	// List all execution queues with active DAG-runs
	// (GET /queues)
	ListQueues(ctx context.Context, request ListQueuesRequestObject) (ListQueuesResponseObject, error)
	// Get coordinator service status
	// (GET /services/coordinator)
	GetCoordinatorStatus(ctx context.Context, request GetCoordinatorStatusRequestObject) (GetCoordinatorStatusResponseObject, error)
	// Get resource usage history
	// (GET /services/resources/history)
	GetResourceHistory(ctx context.Context, request GetResourceHistoryRequestObject) (GetResourceHistoryResponseObject, error)
	// Get scheduler service status
	// (GET /services/scheduler)
	GetSchedulerStatus(ctx context.Context, request GetSchedulerStatusRequestObject) (GetSchedulerStatusResponseObject, error)
	// List all users
	// (GET /users)
	ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
	// Create a new user
	// (POST /users)
	CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)
	// Delete user
	// (DELETE /users/{userId})
	DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)
	// Get user by ID
	// (GET /users/{userId})
	GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)
	// Update user
	// (PATCH /users/{userId})
	UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)
	// Reset user's password
	// (POST /users/{userId}/reset-password)
	ResetUserPassword(ctx context.Context, request ResetUserPasswordRequestObject) (ResetUserPasswordResponseObject, error)
	// List all webhooks
	// (GET /webhooks)
	ListWebhooks(ctx context.Context, request ListWebhooksRequestObject) (ListWebhooksResponseObject, error)
	// Trigger DAG execution via webhook
	// (POST /webhooks/{fileName})
	TriggerWebhook(ctx context.Context, request TriggerWebhookRequestObject) (TriggerWebhookResponseObject, error)
	// List distributed workers
	// (GET /workers)
	GetWorkers(ctx context.Context, request GetWorkersRequestObject) (GetWorkersResponseObject, error)
}

StrictServerInterface represents all server handlers.

type SubDAGRun added in v1.24.0

type SubDAGRun struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`

	// Params Parameters passed to the sub DAG-run in JSON format
	Params *string `json:"params,omitempty"`
}

SubDAGRun Metadata for a sub DAG-run

type SubDAGRunDetail added in v1.24.0

type SubDAGRunDetail struct {
	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`

	// FinishedAt RFC 3339 timestamp when the sub DAG-run finished
	FinishedAt *string `json:"finishedAt,omitempty"`

	// Params Parameters passed to the sub DAG-run in JSON format
	Params *string `json:"params,omitempty"`

	// StartedAt RFC 3339 timestamp when the sub DAG-run started
	StartedAt string `json:"startedAt"`

	// Status Numeric status code indicating current DAG-run state:
	// 0: "Not started"
	// 1: "Running"
	// 2: "Failed"
	// 3: "Aborted"
	// 4: "Success"
	// 5: "Queued"
	// 6: "Partial Success"
	// 7: "Waiting for approval"
	// 8: "Rejected"
	Status Status `json:"status"`

	// StatusLabel Human-readable status description for the DAG-run
	StatusLabel StatusLabel `json:"statusLabel"`
}

SubDAGRunDetail Detailed information for a sub DAG-run including timing and status

type SuccessResponse added in v1.26.0

type SuccessResponse struct {
	// Message Success message
	Message string `json:"message"`
}

SuccessResponse Generic success response

type Tail

type Tail = int

Tail defines model for Tail.

type TerminateDAGRun200Response

type TerminateDAGRun200Response struct {
}

func (TerminateDAGRun200Response) VisitTerminateDAGRunResponse

func (response TerminateDAGRun200Response) VisitTerminateDAGRunResponse(w http.ResponseWriter) error

type TerminateDAGRunParams

type TerminateDAGRunParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

TerminateDAGRunParams defines parameters for TerminateDAGRun.

type TerminateDAGRunRequestObject

type TerminateDAGRunRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	Params   TerminateDAGRunParams
}

type TerminateDAGRunResponseObject

type TerminateDAGRunResponseObject interface {
	VisitTerminateDAGRunResponse(w http.ResponseWriter) error
}

type TerminateDAGRundefaultJSONResponse

type TerminateDAGRundefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (TerminateDAGRundefaultJSONResponse) VisitTerminateDAGRunResponse

func (response TerminateDAGRundefaultJSONResponse) VisitTerminateDAGRunResponse(w http.ResponseWriter) error

type ToggleDAGWebhook200JSONResponse added in v1.29.0

type ToggleDAGWebhook200JSONResponse WebhookDetails

func (ToggleDAGWebhook200JSONResponse) VisitToggleDAGWebhookResponse added in v1.29.0

func (response ToggleDAGWebhook200JSONResponse) VisitToggleDAGWebhookResponse(w http.ResponseWriter) error

type ToggleDAGWebhook404JSONResponse added in v1.29.0

type ToggleDAGWebhook404JSONResponse Error

func (ToggleDAGWebhook404JSONResponse) VisitToggleDAGWebhookResponse added in v1.29.0

func (response ToggleDAGWebhook404JSONResponse) VisitToggleDAGWebhookResponse(w http.ResponseWriter) error

type ToggleDAGWebhookJSONRequestBody added in v1.29.0

type ToggleDAGWebhookJSONRequestBody = WebhookToggleRequest

ToggleDAGWebhookJSONRequestBody defines body for ToggleDAGWebhook for application/json ContentType.

type ToggleDAGWebhookParams added in v1.29.0

type ToggleDAGWebhookParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ToggleDAGWebhookParams defines parameters for ToggleDAGWebhook.

type ToggleDAGWebhookRequestObject added in v1.29.0

type ToggleDAGWebhookRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   ToggleDAGWebhookParams
	Body     *ToggleDAGWebhookJSONRequestBody
}

type ToggleDAGWebhookResponseObject added in v1.29.0

type ToggleDAGWebhookResponseObject interface {
	VisitToggleDAGWebhookResponse(w http.ResponseWriter) error
}

type ToggleDAGWebhookdefaultJSONResponse added in v1.29.0

type ToggleDAGWebhookdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ToggleDAGWebhookdefaultJSONResponse) VisitToggleDAGWebhookResponse added in v1.29.0

func (response ToggleDAGWebhookdefaultJSONResponse) VisitToggleDAGWebhookResponse(w http.ResponseWriter) error

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type TriggerWebhook200JSONResponse added in v1.29.0

type TriggerWebhook200JSONResponse WebhookResponse

func (TriggerWebhook200JSONResponse) VisitTriggerWebhookResponse added in v1.29.0

func (response TriggerWebhook200JSONResponse) VisitTriggerWebhookResponse(w http.ResponseWriter) error

type TriggerWebhook400JSONResponse added in v1.29.0

type TriggerWebhook400JSONResponse Error

func (TriggerWebhook400JSONResponse) VisitTriggerWebhookResponse added in v1.29.0

func (response TriggerWebhook400JSONResponse) VisitTriggerWebhookResponse(w http.ResponseWriter) error

type TriggerWebhook401JSONResponse added in v1.29.0

type TriggerWebhook401JSONResponse Error

func (TriggerWebhook401JSONResponse) VisitTriggerWebhookResponse added in v1.29.0

func (response TriggerWebhook401JSONResponse) VisitTriggerWebhookResponse(w http.ResponseWriter) error

type TriggerWebhook403JSONResponse added in v1.29.0

type TriggerWebhook403JSONResponse Error

func (TriggerWebhook403JSONResponse) VisitTriggerWebhookResponse added in v1.29.0

func (response TriggerWebhook403JSONResponse) VisitTriggerWebhookResponse(w http.ResponseWriter) error

type TriggerWebhook404JSONResponse added in v1.29.0

type TriggerWebhook404JSONResponse Error

func (TriggerWebhook404JSONResponse) VisitTriggerWebhookResponse added in v1.29.0

func (response TriggerWebhook404JSONResponse) VisitTriggerWebhookResponse(w http.ResponseWriter) error

type TriggerWebhook409JSONResponse added in v1.29.0

type TriggerWebhook409JSONResponse Error

func (TriggerWebhook409JSONResponse) VisitTriggerWebhookResponse added in v1.29.0

func (response TriggerWebhook409JSONResponse) VisitTriggerWebhookResponse(w http.ResponseWriter) error

type TriggerWebhookJSONRequestBody added in v1.29.0

type TriggerWebhookJSONRequestBody = WebhookRequest

TriggerWebhookJSONRequestBody defines body for TriggerWebhook for application/json ContentType.

type TriggerWebhookParams added in v1.29.0

type TriggerWebhookParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`

	// Authorization Bearer token for webhook authentication (e.g., 'Bearer dagu_wh_...'). Required for authentication but marked optional in schema so the handler can return proper 401 responses.
	Authorization *string `json:"Authorization,omitempty"`
}

TriggerWebhookParams defines parameters for TriggerWebhook.

type TriggerWebhookRequestObject added in v1.29.0

type TriggerWebhookRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   TriggerWebhookParams
	Body     *TriggerWebhookJSONRequestBody
}

type TriggerWebhookResponseObject added in v1.29.0

type TriggerWebhookResponseObject interface {
	VisitTriggerWebhookResponse(w http.ResponseWriter) error
}

type TriggerWebhookdefaultJSONResponse added in v1.29.0

type TriggerWebhookdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (TriggerWebhookdefaultJSONResponse) VisitTriggerWebhookResponse added in v1.29.0

func (response TriggerWebhookdefaultJSONResponse) VisitTriggerWebhookResponse(w http.ResponseWriter) error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) ApproveDAGRunStep added in v1.30.0

func (_ Unimplemented) ApproveDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params ApproveDAGRunStepParams)

Approve a waiting step for HITL (POST /dag-runs/{name}/{dagRunId}/steps/{stepName}/approve)

func (Unimplemented) ApproveSubDAGRunStep added in v1.30.0

func (_ Unimplemented) ApproveSubDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params ApproveSubDAGRunStepParams)

Approve a waiting step in a sub DAG-run for HITL (POST /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/approve)

func (Unimplemented) ChangePassword added in v1.26.0

func (_ Unimplemented) ChangePassword(w http.ResponseWriter, r *http.Request)

Change current user's password (POST /auth/change-password)

func (Unimplemented) CreateAPIKey added in v1.29.0

func (_ Unimplemented) CreateAPIKey(w http.ResponseWriter, r *http.Request)

Create API key (POST /api-keys)

func (Unimplemented) CreateDAGWebhook added in v1.29.0

func (_ Unimplemented) CreateDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params CreateDAGWebhookParams)

Create webhook for DAG (POST /dags/{fileName}/webhook)

func (Unimplemented) CreateNewDAG

func (_ Unimplemented) CreateNewDAG(w http.ResponseWriter, r *http.Request, params CreateNewDAGParams)

Create a new DAG definition (POST /dags)

func (Unimplemented) CreateUser added in v1.26.0

func (_ Unimplemented) CreateUser(w http.ResponseWriter, r *http.Request)

Create a new user (POST /users)

func (Unimplemented) DeleteAPIKey added in v1.29.0

func (_ Unimplemented) DeleteAPIKey(w http.ResponseWriter, r *http.Request, keyId APIKeyId)

Delete API key (DELETE /api-keys/{keyId})

func (Unimplemented) DeleteDAG

func (_ Unimplemented) DeleteDAG(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params DeleteDAGParams)

Delete an existing DAG (DELETE /dags/{fileName})

func (Unimplemented) DeleteDAGWebhook added in v1.29.0

func (_ Unimplemented) DeleteDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params DeleteDAGWebhookParams)

Delete webhook for DAG (DELETE /dags/{fileName}/webhook)

func (Unimplemented) DeleteUser added in v1.26.0

func (_ Unimplemented) DeleteUser(w http.ResponseWriter, r *http.Request, userId UserId)

Delete user (DELETE /users/{userId})

func (Unimplemented) DequeueDAGRun

func (_ Unimplemented) DequeueDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params DequeueDAGRunParams)

Dequeue a queued DAG-run (GET /dag-runs/{name}/{dagRunId}/dequeue)

func (Unimplemented) EnqueueDAGDAGRun

func (_ Unimplemented) EnqueueDAGDAGRun(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params EnqueueDAGDAGRunParams)

Enqueue a DAG-run from DAG (POST /dags/{fileName}/enqueue)

func (Unimplemented) EnqueueDAGRunFromSpec added in v1.24.0

func (_ Unimplemented) EnqueueDAGRunFromSpec(w http.ResponseWriter, r *http.Request, params EnqueueDAGRunFromSpecParams)

Enqueue a DAG-run from inline spec (POST /dag-runs/enqueue)

func (Unimplemented) ExecuteDAG

func (_ Unimplemented) ExecuteDAG(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params ExecuteDAGParams)

Create and execute a DAG-run from DAG (POST /dags/{fileName}/start)

func (Unimplemented) ExecuteDAGRunFromSpec added in v1.23.0

func (_ Unimplemented) ExecuteDAGRunFromSpec(w http.ResponseWriter, r *http.Request, params ExecuteDAGRunFromSpecParams)

Create and execute a DAG-run from inline spec (POST /dag-runs)

func (Unimplemented) GetAPIKey added in v1.29.0

func (_ Unimplemented) GetAPIKey(w http.ResponseWriter, r *http.Request, keyId APIKeyId)

Get API key (GET /api-keys/{keyId})

func (Unimplemented) GetAllDAGTags

func (_ Unimplemented) GetAllDAGTags(w http.ResponseWriter, r *http.Request, params GetAllDAGTagsParams)

List all available DAG tags (GET /dags/tags)

func (Unimplemented) GetCoordinatorStatus added in v1.20.0

func (_ Unimplemented) GetCoordinatorStatus(w http.ResponseWriter, r *http.Request, params GetCoordinatorStatusParams)

Get coordinator service status (GET /services/coordinator)

func (Unimplemented) GetCurrentUser added in v1.26.0

func (_ Unimplemented) GetCurrentUser(w http.ResponseWriter, r *http.Request)

Get current authenticated user (GET /auth/me)

func (Unimplemented) GetDAGDAGRunDetails

func (_ Unimplemented) GetDAGDAGRunDetails(w http.ResponseWriter, r *http.Request, fileName DAGFileName, dagRunId DAGRunId, params GetDAGDAGRunDetailsParams)

Get detailed status of a specific DAG-run (GET /dags/{fileName}/dag-runs/{dagRunId})

func (Unimplemented) GetDAGDAGRunHistory

func (_ Unimplemented) GetDAGDAGRunHistory(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGDAGRunHistoryParams)

Retrieve execution history of a DAG (GET /dags/{fileName}/dag-runs)

func (Unimplemented) GetDAGDetails

func (_ Unimplemented) GetDAGDetails(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGDetailsParams)

Retrieve comprehensive DAG information (GET /dags/{fileName})

func (Unimplemented) GetDAGRunDetails

func (_ Unimplemented) GetDAGRunDetails(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunDetailsParams)

Retrieve detailed status of a DAG-run (GET /dag-runs/{name}/{dagRunId})

func (Unimplemented) GetDAGRunLog

func (_ Unimplemented) GetDAGRunLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunLogParams)

Retrieve full execution log of a DAG-run (GET /dag-runs/{name}/{dagRunId}/log)

func (Unimplemented) GetDAGRunOutputs added in v1.29.0

func (_ Unimplemented) GetDAGRunOutputs(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunOutputsParams)

Retrieve collected outputs from a DAG-run (GET /dag-runs/{name}/{dagRunId}/outputs)

func (Unimplemented) GetDAGRunSpec added in v1.30.0

func (_ Unimplemented) GetDAGRunSpec(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetDAGRunSpecParams)

Retrieve DAG specification for a DAG-run (GET /dag-runs/{name}/{dagRunId}/spec)

func (Unimplemented) GetDAGRunStepLog

func (_ Unimplemented) GetDAGRunStepLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params GetDAGRunStepLogParams)

Retrieve log for a specific step in a DAG-run (GET /dag-runs/{name}/{dagRunId}/steps/{stepName}/log)

func (Unimplemented) GetDAGSpec

func (_ Unimplemented) GetDAGSpec(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGSpecParams)

Retrieve DAG specification (GET /dags/{fileName}/spec)

func (Unimplemented) GetDAGWebhook added in v1.29.0

func (_ Unimplemented) GetDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params GetDAGWebhookParams)

Get webhook for DAG (GET /dags/{fileName}/webhook)

func (Unimplemented) GetHealthStatus

func (_ Unimplemented) GetHealthStatus(w http.ResponseWriter, r *http.Request)

Check server health status (GET /health)

func (Unimplemented) GetMetrics

func (_ Unimplemented) GetMetrics(w http.ResponseWriter, r *http.Request)

Get Prometheus metrics (GET /metrics)

func (Unimplemented) GetResourceHistory added in v1.26.0

func (_ Unimplemented) GetResourceHistory(w http.ResponseWriter, r *http.Request, params GetResourceHistoryParams)

Get resource usage history (GET /services/resources/history)

func (Unimplemented) GetSchedulerStatus added in v1.20.0

func (_ Unimplemented) GetSchedulerStatus(w http.ResponseWriter, r *http.Request, params GetSchedulerStatusParams)

Get scheduler service status (GET /services/scheduler)

func (Unimplemented) GetSubDAGRunDetails added in v1.24.0

func (_ Unimplemented) GetSubDAGRunDetails(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, params GetSubDAGRunDetailsParams)

Retrieve detailed status of a sub DAG-run (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId})

func (Unimplemented) GetSubDAGRunLog added in v1.24.0

func (_ Unimplemented) GetSubDAGRunLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, params GetSubDAGRunLogParams)

Retrieve log for a specific sub DAG-run (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/log)

func (Unimplemented) GetSubDAGRunStepLog added in v1.24.0

func (_ Unimplemented) GetSubDAGRunStepLog(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params GetSubDAGRunStepLogParams)

Retrieve log for a specific step in a sub DAG-run (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/log)

func (Unimplemented) GetSubDAGRuns added in v1.24.0

func (_ Unimplemented) GetSubDAGRuns(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params GetSubDAGRunsParams)

Get sub DAG runs with timing info (GET /dag-runs/{name}/{dagRunId}/sub-dag-runs)

func (Unimplemented) GetUser added in v1.26.0

func (_ Unimplemented) GetUser(w http.ResponseWriter, r *http.Request, userId UserId)

Get user by ID (GET /users/{userId})

func (Unimplemented) GetWorkers added in v1.18.0

func (_ Unimplemented) GetWorkers(w http.ResponseWriter, r *http.Request, params GetWorkersParams)

List distributed workers (GET /workers)

func (Unimplemented) ListAPIKeys added in v1.29.0

func (_ Unimplemented) ListAPIKeys(w http.ResponseWriter, r *http.Request)

List all API keys (GET /api-keys)

func (Unimplemented) ListDAGRuns

func (_ Unimplemented) ListDAGRuns(w http.ResponseWriter, r *http.Request, params ListDAGRunsParams)

List all DAG-runs (GET /dag-runs)

func (Unimplemented) ListDAGRunsByName

func (_ Unimplemented) ListDAGRunsByName(w http.ResponseWriter, r *http.Request, name DAGRunName, params ListDAGRunsByNameParams)

List all DAG-runs with a specific name (GET /dag-runs/{name})

func (Unimplemented) ListDAGs

func (_ Unimplemented) ListDAGs(w http.ResponseWriter, r *http.Request, params ListDAGsParams)

List all available DAGs (GET /dags)

func (Unimplemented) ListQueues added in v1.22.0

func (_ Unimplemented) ListQueues(w http.ResponseWriter, r *http.Request, params ListQueuesParams)

List all execution queues with active DAG-runs (GET /queues)

func (Unimplemented) ListUsers added in v1.26.0

func (_ Unimplemented) ListUsers(w http.ResponseWriter, r *http.Request)

List all users (GET /users)

func (Unimplemented) ListWebhooks added in v1.29.0

func (_ Unimplemented) ListWebhooks(w http.ResponseWriter, r *http.Request, params ListWebhooksParams)

List all webhooks (GET /webhooks)

func (Unimplemented) Login added in v1.26.0

func (_ Unimplemented) Login(w http.ResponseWriter, r *http.Request)

Authenticate user and obtain JWT token (POST /auth/login)

func (Unimplemented) RegenerateDAGWebhookToken added in v1.29.0

func (_ Unimplemented) RegenerateDAGWebhookToken(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params RegenerateDAGWebhookTokenParams)

Regenerate webhook token (POST /dags/{fileName}/webhook/regenerate)

func (Unimplemented) RejectDAGRunStep added in v1.30.0

func (_ Unimplemented) RejectDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params RejectDAGRunStepParams)

Reject a waiting step for HITL (POST /dag-runs/{name}/{dagRunId}/steps/{stepName}/reject)

func (Unimplemented) RejectSubDAGRunStep added in v1.30.0

func (_ Unimplemented) RejectSubDAGRunStep(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params RejectSubDAGRunStepParams)

Reject a waiting step in a sub DAG-run for HITL (POST /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/reject)

func (Unimplemented) RenameDAG

func (_ Unimplemented) RenameDAG(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params RenameDAGParams)

Change DAG file ID (POST /dags/{fileName}/rename)

func (Unimplemented) RescheduleDAGRun added in v1.24.0

func (_ Unimplemented) RescheduleDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params RescheduleDAGRunParams)

Reschedule DAG-run with a new run ID (POST /dag-runs/{name}/{dagRunId}/reschedule)

func (Unimplemented) ResetUserPassword added in v1.26.0

func (_ Unimplemented) ResetUserPassword(w http.ResponseWriter, r *http.Request, userId UserId)

Reset user's password (POST /users/{userId}/reset-password)

func (Unimplemented) RetryDAGRun

func (_ Unimplemented) RetryDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params RetryDAGRunParams)

Retry DAG-run execution (POST /dag-runs/{name}/{dagRunId}/retry)

func (Unimplemented) SearchDAGs

func (_ Unimplemented) SearchDAGs(w http.ResponseWriter, r *http.Request, params SearchDAGsParams)

Search DAGs (GET /dags/search)

func (Unimplemented) StopAllDAGRuns added in v1.22.2

func (_ Unimplemented) StopAllDAGRuns(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params StopAllDAGRunsParams)

Stop all running instances of a DAG (POST /dags/{fileName}/stop-all)

func (Unimplemented) TerminateDAGRun

func (_ Unimplemented) TerminateDAGRun(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, params TerminateDAGRunParams)

Terminate a running DAG-run (POST /dag-runs/{name}/{dagRunId}/stop)

func (Unimplemented) ToggleDAGWebhook added in v1.29.0

func (_ Unimplemented) ToggleDAGWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params ToggleDAGWebhookParams)

Toggle webhook enabled state (POST /dags/{fileName}/webhook/toggle)

func (Unimplemented) TriggerWebhook added in v1.29.0

func (_ Unimplemented) TriggerWebhook(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params TriggerWebhookParams)

Trigger DAG execution via webhook (POST /webhooks/{fileName})

func (Unimplemented) UpdateAPIKey added in v1.29.0

func (_ Unimplemented) UpdateAPIKey(w http.ResponseWriter, r *http.Request, keyId APIKeyId)

Update API key (PATCH /api-keys/{keyId})

func (Unimplemented) UpdateDAGRunStepStatus

func (_ Unimplemented) UpdateDAGRunStepStatus(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, stepName StepName, params UpdateDAGRunStepStatusParams)

Manually update a step's execution status (PATCH /dag-runs/{name}/{dagRunId}/steps/{stepName}/status)

func (Unimplemented) UpdateDAGSpec

func (_ Unimplemented) UpdateDAGSpec(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params UpdateDAGSpecParams)

Update DAG spec (PUT /dags/{fileName}/spec)

func (Unimplemented) UpdateDAGSuspensionState

func (_ Unimplemented) UpdateDAGSuspensionState(w http.ResponseWriter, r *http.Request, fileName DAGFileName, params UpdateDAGSuspensionStateParams)

Toggle DAG suspension state (POST /dags/{fileName}/suspend)

func (Unimplemented) UpdateSubDAGRunStepStatus added in v1.24.0

func (_ Unimplemented) UpdateSubDAGRunStepStatus(w http.ResponseWriter, r *http.Request, name DAGName, dagRunId DAGRunId, subDAGRunId string, stepName StepName, params UpdateSubDAGRunStepStatusParams)

Manually update a step's execution status in a sub DAG-run (PATCH /dag-runs/{name}/{dagRunId}/sub-dag-runs/{subDAGRunId}/steps/{stepName}/status)

func (Unimplemented) UpdateUser added in v1.26.0

func (_ Unimplemented) UpdateUser(w http.ResponseWriter, r *http.Request, userId UserId)

Update user (PATCH /users/{userId})

func (Unimplemented) ValidateDAGSpec added in v1.23.0

func (_ Unimplemented) ValidateDAGSpec(w http.ResponseWriter, r *http.Request, params ValidateDAGSpecParams)

Validate a DAG specification (POST /dags/validate)

type UnixTimestamp

type UnixTimestamp = int64

UnixTimestamp Unix timestamp in seconds

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateAPIKey200JSONResponse added in v1.29.0

type UpdateAPIKey200JSONResponse APIKeyResponse

func (UpdateAPIKey200JSONResponse) VisitUpdateAPIKeyResponse added in v1.29.0

func (response UpdateAPIKey200JSONResponse) VisitUpdateAPIKeyResponse(w http.ResponseWriter) error

type UpdateAPIKey400JSONResponse added in v1.29.0

type UpdateAPIKey400JSONResponse Error

func (UpdateAPIKey400JSONResponse) VisitUpdateAPIKeyResponse added in v1.29.0

func (response UpdateAPIKey400JSONResponse) VisitUpdateAPIKeyResponse(w http.ResponseWriter) error

type UpdateAPIKey401JSONResponse added in v1.29.0

type UpdateAPIKey401JSONResponse Error

func (UpdateAPIKey401JSONResponse) VisitUpdateAPIKeyResponse added in v1.29.0

func (response UpdateAPIKey401JSONResponse) VisitUpdateAPIKeyResponse(w http.ResponseWriter) error

type UpdateAPIKey403JSONResponse added in v1.29.0

type UpdateAPIKey403JSONResponse Error

func (UpdateAPIKey403JSONResponse) VisitUpdateAPIKeyResponse added in v1.29.0

func (response UpdateAPIKey403JSONResponse) VisitUpdateAPIKeyResponse(w http.ResponseWriter) error

type UpdateAPIKey404JSONResponse added in v1.29.0

type UpdateAPIKey404JSONResponse Error

func (UpdateAPIKey404JSONResponse) VisitUpdateAPIKeyResponse added in v1.29.0

func (response UpdateAPIKey404JSONResponse) VisitUpdateAPIKeyResponse(w http.ResponseWriter) error

type UpdateAPIKey409JSONResponse added in v1.29.0

type UpdateAPIKey409JSONResponse Error

func (UpdateAPIKey409JSONResponse) VisitUpdateAPIKeyResponse added in v1.29.0

func (response UpdateAPIKey409JSONResponse) VisitUpdateAPIKeyResponse(w http.ResponseWriter) error

type UpdateAPIKeyJSONRequestBody added in v1.29.0

type UpdateAPIKeyJSONRequestBody = UpdateAPIKeyRequest

UpdateAPIKeyJSONRequestBody defines body for UpdateAPIKey for application/json ContentType.

type UpdateAPIKeyRequest added in v1.29.0

type UpdateAPIKeyRequest struct {
	// Description New description
	Description *string `json:"description,omitempty"`

	// Name New name
	Name *string `json:"name,omitempty"`

	// Role User role determining access permissions. admin: full access including user management, manager: DAG CRUD and execution, operator: DAG execution only, viewer: read-only
	Role *UserRole `json:"role,omitempty"`
}

UpdateAPIKeyRequest Update API key request

type UpdateAPIKeyRequestObject added in v1.29.0

type UpdateAPIKeyRequestObject struct {
	KeyId APIKeyId `json:"keyId"`
	Body  *UpdateAPIKeyJSONRequestBody
}

type UpdateAPIKeyResponseObject added in v1.29.0

type UpdateAPIKeyResponseObject interface {
	VisitUpdateAPIKeyResponse(w http.ResponseWriter) error
}

type UpdateAPIKeydefaultJSONResponse added in v1.29.0

type UpdateAPIKeydefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateAPIKeydefaultJSONResponse) VisitUpdateAPIKeyResponse added in v1.29.0

func (response UpdateAPIKeydefaultJSONResponse) VisitUpdateAPIKeyResponse(w http.ResponseWriter) error

type UpdateDAGRunStepStatus200Response

type UpdateDAGRunStepStatus200Response struct {
}

func (UpdateDAGRunStepStatus200Response) VisitUpdateDAGRunStepStatusResponse

func (response UpdateDAGRunStepStatus200Response) VisitUpdateDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateDAGRunStepStatus400JSONResponse

type UpdateDAGRunStepStatus400JSONResponse Error

func (UpdateDAGRunStepStatus400JSONResponse) VisitUpdateDAGRunStepStatusResponse

func (response UpdateDAGRunStepStatus400JSONResponse) VisitUpdateDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateDAGRunStepStatus404JSONResponse

type UpdateDAGRunStepStatus404JSONResponse Error

func (UpdateDAGRunStepStatus404JSONResponse) VisitUpdateDAGRunStepStatusResponse

func (response UpdateDAGRunStepStatus404JSONResponse) VisitUpdateDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateDAGRunStepStatusJSONBody

type UpdateDAGRunStepStatusJSONBody struct {
	// Status Numeric status code indicating current node state:
	// 0: "Not started"
	// 1: "Running"
	// 2: "Failed"
	// 3: "Aborted"
	// 4: "Success"
	// 5: "Skipped"
	// 6: "Partial Success"
	// 7: "Waiting for approval"
	// 8: "Rejected"
	Status NodeStatus `json:"status"`
}

UpdateDAGRunStepStatusJSONBody defines parameters for UpdateDAGRunStepStatus.

type UpdateDAGRunStepStatusJSONRequestBody

type UpdateDAGRunStepStatusJSONRequestBody UpdateDAGRunStepStatusJSONBody

UpdateDAGRunStepStatusJSONRequestBody defines body for UpdateDAGRunStepStatus for application/json ContentType.

type UpdateDAGRunStepStatusParams

type UpdateDAGRunStepStatusParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

UpdateDAGRunStepStatusParams defines parameters for UpdateDAGRunStepStatus.

type UpdateDAGRunStepStatusRequestObject

type UpdateDAGRunStepStatusRequestObject struct {
	Name     DAGName  `json:"name"`
	DagRunId DAGRunId `json:"dagRunId"`
	StepName StepName `json:"stepName"`
	Params   UpdateDAGRunStepStatusParams
	Body     *UpdateDAGRunStepStatusJSONRequestBody
}

type UpdateDAGRunStepStatusResponseObject

type UpdateDAGRunStepStatusResponseObject interface {
	VisitUpdateDAGRunStepStatusResponse(w http.ResponseWriter) error
}

type UpdateDAGRunStepStatusdefaultJSONResponse

type UpdateDAGRunStepStatusdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateDAGRunStepStatusdefaultJSONResponse) VisitUpdateDAGRunStepStatusResponse

func (response UpdateDAGRunStepStatusdefaultJSONResponse) VisitUpdateDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateDAGSpec200JSONResponse

type UpdateDAGSpec200JSONResponse struct {
	// Errors List of errors in the spec
	Errors []string `json:"errors"`
}

func (UpdateDAGSpec200JSONResponse) VisitUpdateDAGSpecResponse

func (response UpdateDAGSpec200JSONResponse) VisitUpdateDAGSpecResponse(w http.ResponseWriter) error

type UpdateDAGSpecJSONBody

type UpdateDAGSpecJSONBody struct {
	// Spec The new DAG spec in YAML format
	Spec string `json:"spec"`
}

UpdateDAGSpecJSONBody defines parameters for UpdateDAGSpec.

type UpdateDAGSpecJSONRequestBody

type UpdateDAGSpecJSONRequestBody UpdateDAGSpecJSONBody

UpdateDAGSpecJSONRequestBody defines body for UpdateDAGSpec for application/json ContentType.

type UpdateDAGSpecParams

type UpdateDAGSpecParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

UpdateDAGSpecParams defines parameters for UpdateDAGSpec.

type UpdateDAGSpecRequestObject

type UpdateDAGSpecRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   UpdateDAGSpecParams
	Body     *UpdateDAGSpecJSONRequestBody
}

type UpdateDAGSpecResponseObject

type UpdateDAGSpecResponseObject interface {
	VisitUpdateDAGSpecResponse(w http.ResponseWriter) error
}

type UpdateDAGSpecdefaultJSONResponse

type UpdateDAGSpecdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateDAGSpecdefaultJSONResponse) VisitUpdateDAGSpecResponse

func (response UpdateDAGSpecdefaultJSONResponse) VisitUpdateDAGSpecResponse(w http.ResponseWriter) error

type UpdateDAGSuspensionState200Response

type UpdateDAGSuspensionState200Response struct {
}

func (UpdateDAGSuspensionState200Response) VisitUpdateDAGSuspensionStateResponse

func (response UpdateDAGSuspensionState200Response) VisitUpdateDAGSuspensionStateResponse(w http.ResponseWriter) error

type UpdateDAGSuspensionState404JSONResponse

type UpdateDAGSuspensionState404JSONResponse Error

func (UpdateDAGSuspensionState404JSONResponse) VisitUpdateDAGSuspensionStateResponse

func (response UpdateDAGSuspensionState404JSONResponse) VisitUpdateDAGSuspensionStateResponse(w http.ResponseWriter) error

type UpdateDAGSuspensionStateJSONBody

type UpdateDAGSuspensionStateJSONBody struct {
	// Suspend Suspend status to set for the DAG
	Suspend bool `json:"suspend"`
}

UpdateDAGSuspensionStateJSONBody defines parameters for UpdateDAGSuspensionState.

type UpdateDAGSuspensionStateJSONRequestBody

type UpdateDAGSuspensionStateJSONRequestBody UpdateDAGSuspensionStateJSONBody

UpdateDAGSuspensionStateJSONRequestBody defines body for UpdateDAGSuspensionState for application/json ContentType.

type UpdateDAGSuspensionStateParams

type UpdateDAGSuspensionStateParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

UpdateDAGSuspensionStateParams defines parameters for UpdateDAGSuspensionState.

type UpdateDAGSuspensionStateRequestObject

type UpdateDAGSuspensionStateRequestObject struct {
	FileName DAGFileName `json:"fileName"`
	Params   UpdateDAGSuspensionStateParams
	Body     *UpdateDAGSuspensionStateJSONRequestBody
}

type UpdateDAGSuspensionStateResponseObject

type UpdateDAGSuspensionStateResponseObject interface {
	VisitUpdateDAGSuspensionStateResponse(w http.ResponseWriter) error
}

type UpdateDAGSuspensionStatedefaultJSONResponse

type UpdateDAGSuspensionStatedefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateDAGSuspensionStatedefaultJSONResponse) VisitUpdateDAGSuspensionStateResponse

func (response UpdateDAGSuspensionStatedefaultJSONResponse) VisitUpdateDAGSuspensionStateResponse(w http.ResponseWriter) error

type UpdateSubDAGRunStepStatus200Response added in v1.24.0

type UpdateSubDAGRunStepStatus200Response struct {
}

func (UpdateSubDAGRunStepStatus200Response) VisitUpdateSubDAGRunStepStatusResponse added in v1.24.0

func (response UpdateSubDAGRunStepStatus200Response) VisitUpdateSubDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateSubDAGRunStepStatus400JSONResponse added in v1.24.0

type UpdateSubDAGRunStepStatus400JSONResponse Error

func (UpdateSubDAGRunStepStatus400JSONResponse) VisitUpdateSubDAGRunStepStatusResponse added in v1.24.0

func (response UpdateSubDAGRunStepStatus400JSONResponse) VisitUpdateSubDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateSubDAGRunStepStatus404JSONResponse added in v1.24.0

type UpdateSubDAGRunStepStatus404JSONResponse Error

func (UpdateSubDAGRunStepStatus404JSONResponse) VisitUpdateSubDAGRunStepStatusResponse added in v1.24.0

func (response UpdateSubDAGRunStepStatus404JSONResponse) VisitUpdateSubDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateSubDAGRunStepStatusJSONBody added in v1.24.0

type UpdateSubDAGRunStepStatusJSONBody struct {
	// Status Numeric status code indicating current node state:
	// 0: "Not started"
	// 1: "Running"
	// 2: "Failed"
	// 3: "Aborted"
	// 4: "Success"
	// 5: "Skipped"
	// 6: "Partial Success"
	// 7: "Waiting for approval"
	// 8: "Rejected"
	Status NodeStatus `json:"status"`
}

UpdateSubDAGRunStepStatusJSONBody defines parameters for UpdateSubDAGRunStepStatus.

type UpdateSubDAGRunStepStatusJSONRequestBody added in v1.24.0

type UpdateSubDAGRunStepStatusJSONRequestBody UpdateSubDAGRunStepStatusJSONBody

UpdateSubDAGRunStepStatusJSONRequestBody defines body for UpdateSubDAGRunStepStatus for application/json ContentType.

type UpdateSubDAGRunStepStatusParams added in v1.24.0

type UpdateSubDAGRunStepStatusParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

UpdateSubDAGRunStepStatusParams defines parameters for UpdateSubDAGRunStepStatus.

type UpdateSubDAGRunStepStatusRequestObject added in v1.24.0

type UpdateSubDAGRunStepStatusRequestObject struct {
	Name        DAGName  `json:"name"`
	DagRunId    DAGRunId `json:"dagRunId"`
	SubDAGRunId string   `json:"subDAGRunId"`
	StepName    StepName `json:"stepName"`
	Params      UpdateSubDAGRunStepStatusParams
	Body        *UpdateSubDAGRunStepStatusJSONRequestBody
}

type UpdateSubDAGRunStepStatusResponseObject added in v1.24.0

type UpdateSubDAGRunStepStatusResponseObject interface {
	VisitUpdateSubDAGRunStepStatusResponse(w http.ResponseWriter) error
}

type UpdateSubDAGRunStepStatusdefaultJSONResponse added in v1.24.0

type UpdateSubDAGRunStepStatusdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateSubDAGRunStepStatusdefaultJSONResponse) VisitUpdateSubDAGRunStepStatusResponse added in v1.24.0

func (response UpdateSubDAGRunStepStatusdefaultJSONResponse) VisitUpdateSubDAGRunStepStatusResponse(w http.ResponseWriter) error

type UpdateUser200JSONResponse added in v1.26.0

type UpdateUser200JSONResponse UserResponse

func (UpdateUser200JSONResponse) VisitUpdateUserResponse added in v1.26.0

func (response UpdateUser200JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser400JSONResponse added in v1.26.0

type UpdateUser400JSONResponse Error

func (UpdateUser400JSONResponse) VisitUpdateUserResponse added in v1.26.0

func (response UpdateUser400JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser401JSONResponse added in v1.26.0

type UpdateUser401JSONResponse Error

func (UpdateUser401JSONResponse) VisitUpdateUserResponse added in v1.26.0

func (response UpdateUser401JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser403JSONResponse added in v1.26.0

type UpdateUser403JSONResponse Error

func (UpdateUser403JSONResponse) VisitUpdateUserResponse added in v1.26.0

func (response UpdateUser403JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser404JSONResponse added in v1.26.0

type UpdateUser404JSONResponse Error

func (UpdateUser404JSONResponse) VisitUpdateUserResponse added in v1.26.0

func (response UpdateUser404JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUser409JSONResponse added in v1.26.0

type UpdateUser409JSONResponse Error

func (UpdateUser409JSONResponse) VisitUpdateUserResponse added in v1.26.0

func (response UpdateUser409JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUserJSONRequestBody added in v1.26.0

type UpdateUserJSONRequestBody = UpdateUserRequest

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserRequest added in v1.26.0

type UpdateUserRequest struct {
	// Role User role determining access permissions. admin: full access including user management, manager: DAG CRUD and execution, operator: DAG execution only, viewer: read-only
	Role *UserRole `json:"role,omitempty"`

	// Username New username (must be unique)
	Username *string `json:"username,omitempty"`
}

UpdateUserRequest Request body for updating a user

type UpdateUserRequestObject added in v1.26.0

type UpdateUserRequestObject struct {
	UserId UserId `json:"userId"`
	Body   *UpdateUserJSONRequestBody
}

type UpdateUserResponseObject added in v1.26.0

type UpdateUserResponseObject interface {
	VisitUpdateUserResponse(w http.ResponseWriter) error
}

type UpdateUserdefaultJSONResponse added in v1.26.0

type UpdateUserdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (UpdateUserdefaultJSONResponse) VisitUpdateUserResponse added in v1.26.0

func (response UpdateUserdefaultJSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type User added in v1.26.0

type User struct {
	// CreatedAt Account creation timestamp
	CreatedAt time.Time `json:"createdAt"`

	// Id Unique user identifier
	Id string `json:"id"`

	// Role User role determining access permissions. admin: full access including user management, manager: DAG CRUD and execution, operator: DAG execution only, viewer: read-only
	Role UserRole `json:"role"`

	// UpdatedAt Last update timestamp
	UpdatedAt time.Time `json:"updatedAt"`

	// Username User's username
	Username string `json:"username"`
}

User User information

type UserId added in v1.26.0

type UserId = string

UserId defines model for UserId.

type UserResponse added in v1.26.0

type UserResponse struct {
	// User User information
	User User `json:"user"`
}

UserResponse Response containing user information

type UserRole added in v1.26.0

type UserRole string

UserRole User role determining access permissions. admin: full access including user management, manager: DAG CRUD and execution, operator: DAG execution only, viewer: read-only

const (
	UserRoleAdmin    UserRole = "admin"
	UserRoleManager  UserRole = "manager"
	UserRoleOperator UserRole = "operator"
	UserRoleViewer   UserRole = "viewer"
)

Defines values for UserRole.

type UsersListResponse added in v1.26.0

type UsersListResponse struct {
	Users []User `json:"users"`
}

UsersListResponse Response containing list of users

type ValidateDAGSpec200JSONResponse added in v1.23.0

type ValidateDAGSpec200JSONResponse struct {
	// Dag Detailed DAG configuration information
	Dag *DAGDetails `json:"dag,omitempty"`

	// Errors List of validation errors
	Errors []string `json:"errors"`

	// Valid True if the spec is valid (no errors)
	Valid bool `json:"valid"`
}

func (ValidateDAGSpec200JSONResponse) VisitValidateDAGSpecResponse added in v1.23.0

func (response ValidateDAGSpec200JSONResponse) VisitValidateDAGSpecResponse(w http.ResponseWriter) error

type ValidateDAGSpecJSONBody added in v1.23.0

type ValidateDAGSpecJSONBody struct {
	// Name Optional name to use when the spec omits a name
	Name *string `json:"name,omitempty"`

	// Spec DAG specification in YAML format
	Spec string `json:"spec"`
}

ValidateDAGSpecJSONBody defines parameters for ValidateDAGSpec.

type ValidateDAGSpecJSONRequestBody added in v1.23.0

type ValidateDAGSpecJSONRequestBody ValidateDAGSpecJSONBody

ValidateDAGSpecJSONRequestBody defines body for ValidateDAGSpec for application/json ContentType.

type ValidateDAGSpecParams added in v1.23.0

type ValidateDAGSpecParams struct {
	// RemoteNode name of the remote node
	RemoteNode *RemoteNode `form:"remoteNode,omitempty" json:"remoteNode,omitempty"`
}

ValidateDAGSpecParams defines parameters for ValidateDAGSpec.

type ValidateDAGSpecRequestObject added in v1.23.0

type ValidateDAGSpecRequestObject struct {
	Params ValidateDAGSpecParams
	Body   *ValidateDAGSpecJSONRequestBody
}

type ValidateDAGSpecResponseObject added in v1.23.0

type ValidateDAGSpecResponseObject interface {
	VisitValidateDAGSpecResponse(w http.ResponseWriter) error
}

type ValidateDAGSpecdefaultJSONResponse added in v1.23.0

type ValidateDAGSpecdefaultJSONResponse struct {
	Body       Error
	StatusCode int
}

func (ValidateDAGSpecdefaultJSONResponse) VisitValidateDAGSpecResponse added in v1.23.0

func (response ValidateDAGSpecdefaultJSONResponse) VisitValidateDAGSpecResponse(w http.ResponseWriter) error

type WebhookCreateResponse added in v1.29.0

type WebhookCreateResponse struct {
	// Token Full webhook token (only shown once, store securely!)
	Token string `json:"token"`

	// Webhook Webhook configuration details (token not included)
	Webhook WebhookDetails `json:"webhook"`
}

WebhookCreateResponse Response when creating or regenerating a webhook (includes full token)

type WebhookDetails added in v1.29.0

type WebhookDetails struct {
	// CreatedAt When the webhook was created
	CreatedAt time.Time `json:"createdAt"`

	// CreatedBy User ID who created the webhook
	CreatedBy *string `json:"createdBy,omitempty"`

	// DagName Name of the DAG this webhook triggers
	DagName string `json:"dagName"`

	// Enabled Whether the webhook is active
	Enabled bool `json:"enabled"`

	// Id Unique identifier for the webhook
	Id openapi_types.UUID `json:"id"`

	// LastUsedAt When the webhook was last triggered
	LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`

	// TokenPrefix First 8 characters of the token for identification
	TokenPrefix string `json:"tokenPrefix"`

	// UpdatedAt When the webhook was last modified
	UpdatedAt time.Time `json:"updatedAt"`
}

WebhookDetails Webhook configuration details (token not included)

type WebhookListResponse added in v1.29.0

type WebhookListResponse struct {
	Webhooks []WebhookDetails `json:"webhooks"`
}

WebhookListResponse List of all webhooks

type WebhookRequest added in v1.29.0

type WebhookRequest struct {
	DagRunId *string `json:"dagRunId,omitempty"`

	// Payload Arbitrary JSON payload to pass to the DAG as WEBHOOK_PAYLOAD
	Payload *map[string]interface{} `json:"payload,omitempty"`
}

WebhookRequest Request body for webhook trigger endpoint

type WebhookResponse added in v1.29.0

type WebhookResponse struct {
	// DagName Name of the triggered DAG
	DagName string `json:"dagName"`

	// DagRunId Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.
	DagRunId DAGRunId `json:"dagRunId"`
}

WebhookResponse Response from webhook trigger endpoint

type WebhookToggleRequest added in v1.29.0

type WebhookToggleRequest struct {
	// Enabled Whether to enable or disable the webhook
	Enabled bool `json:"enabled"`
}

WebhookToggleRequest Request to toggle webhook enabled state

type Worker added in v1.18.0

type Worker struct {
	// BusyPollers Number of pollers currently executing tasks
	BusyPollers int `json:"busyPollers"`

	// HealthStatus Health status of the worker based on heartbeat recency
	HealthStatus WorkerHealthStatus `json:"healthStatus"`

	// Id Unique identifier for the worker
	Id string `json:"id"`

	// Labels Key-value pairs of labels assigned to the worker
	Labels map[string]string `json:"labels"`

	// LastHeartbeatAt RFC3339 timestamp of the last heartbeat received from this worker
	LastHeartbeatAt string `json:"lastHeartbeatAt"`

	// RunningTasks List of tasks currently being executed by this worker
	RunningTasks []RunningTask `json:"runningTasks"`

	// TotalPollers Total number of pollers configured for this worker
	TotalPollers int `json:"totalPollers"`
}

Worker Information about a distributed worker

type WorkerHealthStatus added in v1.18.0

type WorkerHealthStatus string

WorkerHealthStatus Health status of the worker based on heartbeat recency

const (
	WorkerHealthStatusHealthy   WorkerHealthStatus = "healthy"
	WorkerHealthStatusUnhealthy WorkerHealthStatus = "unhealthy"
	WorkerHealthStatusWarning   WorkerHealthStatus = "warning"
)

Defines values for WorkerHealthStatus.

type WorkersListResponse added in v1.18.0

type WorkersListResponse struct {
	// Errors List of errors encountered during the request
	Errors []string `json:"errors"`

	// Workers List of distributed workers
	Workers []Worker `json:"workers"`
}

WorkersListResponse Response object for listing distributed workers

Jump to

Keyboard shortcuts

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