gen

package
v0.42.13-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

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

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

Index

Constants

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
	CookieAuthScopes = "cookieAuth.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 PathToRawSpec

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

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

func RegisterHandlers

func RegisterHandlers(router EchoRouter, si ServerInterface)

RegisterHandlers adds each server route to the EchoRouter.

func RegisterHandlersWithBaseURL

func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)

Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.

Types

type APIError

type APIError struct {
	// Code a custom Hatchet error code
	Code *uint64 `json:"code,omitempty"`

	// Description a description for this error
	Description string `json:"description"`

	// DocsLink a link to the documentation for this error, if it exists
	DocsLink *string `json:"docs_link,omitempty"`

	// Field the field that this error is associated with, if applicable
	Field *string `json:"field,omitempty"`
}

APIError defines model for APIError.

type APIErrors

type APIErrors struct {
	Errors []APIError `json:"errors"`
}

APIErrors defines model for APIErrors.

type APIMeta

type APIMeta struct {
	// AllowChangePassword whether or not users can change their password
	AllowChangePassword *bool `json:"allowChangePassword,omitempty"`

	// AllowCreateTenant whether or not users can create new tenants
	AllowCreateTenant *bool `json:"allowCreateTenant,omitempty"`

	// AllowInvites whether or not users can invite other users to this instance
	AllowInvites *bool `json:"allowInvites,omitempty"`

	// AllowSignup whether or not users can sign up for this instance
	AllowSignup *bool           `json:"allowSignup,omitempty"`
	Auth        *APIMetaAuth    `json:"auth,omitempty"`
	Posthog     *APIMetaPosthog `json:"posthog,omitempty"`

	// PylonAppId the Pylon app ID for usepylon.com chat support
	PylonAppId *string `json:"pylonAppId,omitempty"`
}

APIMeta defines model for APIMeta.

type APIMetaAuth

type APIMetaAuth struct {
	// Schemes the supported types of authentication
	Schemes *[]string `json:"schemes,omitempty"`
}

APIMetaAuth defines model for APIMetaAuth.

type APIMetaIntegration added in v0.11.0

type APIMetaIntegration struct {
	// Enabled whether this integration is enabled on the instance
	Enabled bool `json:"enabled"`

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

APIMetaIntegration defines model for APIMetaIntegration.

type APIMetaPosthog added in v0.23.0

type APIMetaPosthog struct {
	// ApiHost the PostHog API host
	ApiHost *string `json:"apiHost,omitempty"`

	// ApiKey the PostHog API key
	ApiKey *string `json:"apiKey,omitempty"`
}

APIMetaPosthog defines model for APIMetaPosthog.

type APIResourceMeta

type APIResourceMeta struct {
	// CreatedAt the time that this resource was created
	CreatedAt time.Time `json:"createdAt"`

	// Id the id of this resource, in UUID format
	Id string `json:"id"`

	// UpdatedAt the time that this resource was last updated
	UpdatedAt time.Time `json:"updatedAt"`
}

APIResourceMeta defines model for APIResourceMeta.

type APIToken added in v0.7.0

type APIToken struct {
	// ExpiresAt When the API token expires.
	ExpiresAt time.Time       `json:"expiresAt"`
	Metadata  APIResourceMeta `json:"metadata"`

	// Name The name of the API token.
	Name string `json:"name"`
}

APIToken defines model for APIToken.

type AcceptInviteRequest

type AcceptInviteRequest struct {
	Invite string `json:"invite" validate:"required,uuid"`
}

AcceptInviteRequest defines model for AcceptInviteRequest.

type AlertEmailGroupCreate201JSONResponse added in v0.25.0

type AlertEmailGroupCreate201JSONResponse TenantAlertEmailGroup

func (AlertEmailGroupCreate201JSONResponse) VisitAlertEmailGroupCreateResponse added in v0.25.0

func (response AlertEmailGroupCreate201JSONResponse) VisitAlertEmailGroupCreateResponse(w http.ResponseWriter) error

type AlertEmailGroupCreate400JSONResponse added in v0.25.0

type AlertEmailGroupCreate400JSONResponse APIErrors

func (AlertEmailGroupCreate400JSONResponse) VisitAlertEmailGroupCreateResponse added in v0.25.0

func (response AlertEmailGroupCreate400JSONResponse) VisitAlertEmailGroupCreateResponse(w http.ResponseWriter) error

type AlertEmailGroupCreate403JSONResponse added in v0.25.0

type AlertEmailGroupCreate403JSONResponse APIError

func (AlertEmailGroupCreate403JSONResponse) VisitAlertEmailGroupCreateResponse added in v0.25.0

func (response AlertEmailGroupCreate403JSONResponse) VisitAlertEmailGroupCreateResponse(w http.ResponseWriter) error

type AlertEmailGroupCreateJSONRequestBody added in v0.25.0

type AlertEmailGroupCreateJSONRequestBody = CreateTenantAlertEmailGroupRequest

AlertEmailGroupCreateJSONRequestBody defines body for AlertEmailGroupCreate for application/json ContentType.

type AlertEmailGroupCreateRequestObject added in v0.25.0

type AlertEmailGroupCreateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *AlertEmailGroupCreateJSONRequestBody
}

type AlertEmailGroupCreateResponseObject added in v0.25.0

type AlertEmailGroupCreateResponseObject interface {
	VisitAlertEmailGroupCreateResponse(w http.ResponseWriter) error
}

type AlertEmailGroupDelete204Response added in v0.25.0

type AlertEmailGroupDelete204Response struct {
}

func (AlertEmailGroupDelete204Response) VisitAlertEmailGroupDeleteResponse added in v0.25.0

func (response AlertEmailGroupDelete204Response) VisitAlertEmailGroupDeleteResponse(w http.ResponseWriter) error

type AlertEmailGroupDelete400JSONResponse added in v0.25.0

type AlertEmailGroupDelete400JSONResponse APIErrors

func (AlertEmailGroupDelete400JSONResponse) VisitAlertEmailGroupDeleteResponse added in v0.25.0

func (response AlertEmailGroupDelete400JSONResponse) VisitAlertEmailGroupDeleteResponse(w http.ResponseWriter) error

type AlertEmailGroupDelete403JSONResponse added in v0.25.0

type AlertEmailGroupDelete403JSONResponse APIError

func (AlertEmailGroupDelete403JSONResponse) VisitAlertEmailGroupDeleteResponse added in v0.25.0

func (response AlertEmailGroupDelete403JSONResponse) VisitAlertEmailGroupDeleteResponse(w http.ResponseWriter) error

type AlertEmailGroupDeleteRequestObject added in v0.25.0

type AlertEmailGroupDeleteRequestObject struct {
	AlertEmailGroup openapi_types.UUID `json:"alert-email-group"`
}

type AlertEmailGroupDeleteResponseObject added in v0.25.0

type AlertEmailGroupDeleteResponseObject interface {
	VisitAlertEmailGroupDeleteResponse(w http.ResponseWriter) error
}

type AlertEmailGroupList200JSONResponse added in v0.25.0

type AlertEmailGroupList200JSONResponse TenantAlertEmailGroupList

func (AlertEmailGroupList200JSONResponse) VisitAlertEmailGroupListResponse added in v0.25.0

func (response AlertEmailGroupList200JSONResponse) VisitAlertEmailGroupListResponse(w http.ResponseWriter) error

type AlertEmailGroupList400JSONResponse added in v0.25.0

type AlertEmailGroupList400JSONResponse APIErrors

func (AlertEmailGroupList400JSONResponse) VisitAlertEmailGroupListResponse added in v0.25.0

func (response AlertEmailGroupList400JSONResponse) VisitAlertEmailGroupListResponse(w http.ResponseWriter) error

type AlertEmailGroupList403JSONResponse added in v0.25.0

type AlertEmailGroupList403JSONResponse APIError

func (AlertEmailGroupList403JSONResponse) VisitAlertEmailGroupListResponse added in v0.25.0

func (response AlertEmailGroupList403JSONResponse) VisitAlertEmailGroupListResponse(w http.ResponseWriter) error

type AlertEmailGroupListRequestObject added in v0.25.0

type AlertEmailGroupListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type AlertEmailGroupListResponseObject added in v0.25.0

type AlertEmailGroupListResponseObject interface {
	VisitAlertEmailGroupListResponse(w http.ResponseWriter) error
}

type AlertEmailGroupUpdate200JSONResponse added in v0.25.0

type AlertEmailGroupUpdate200JSONResponse TenantAlertEmailGroup

func (AlertEmailGroupUpdate200JSONResponse) VisitAlertEmailGroupUpdateResponse added in v0.25.0

func (response AlertEmailGroupUpdate200JSONResponse) VisitAlertEmailGroupUpdateResponse(w http.ResponseWriter) error

type AlertEmailGroupUpdate400JSONResponse added in v0.25.0

type AlertEmailGroupUpdate400JSONResponse APIErrors

func (AlertEmailGroupUpdate400JSONResponse) VisitAlertEmailGroupUpdateResponse added in v0.25.0

func (response AlertEmailGroupUpdate400JSONResponse) VisitAlertEmailGroupUpdateResponse(w http.ResponseWriter) error

type AlertEmailGroupUpdate403JSONResponse added in v0.25.0

type AlertEmailGroupUpdate403JSONResponse APIError

func (AlertEmailGroupUpdate403JSONResponse) VisitAlertEmailGroupUpdateResponse added in v0.25.0

func (response AlertEmailGroupUpdate403JSONResponse) VisitAlertEmailGroupUpdateResponse(w http.ResponseWriter) error

type AlertEmailGroupUpdateJSONRequestBody added in v0.25.0

type AlertEmailGroupUpdateJSONRequestBody = UpdateTenantAlertEmailGroupRequest

AlertEmailGroupUpdateJSONRequestBody defines body for AlertEmailGroupUpdate for application/json ContentType.

type AlertEmailGroupUpdateRequestObject added in v0.25.0

type AlertEmailGroupUpdateRequestObject struct {
	AlertEmailGroup openapi_types.UUID `json:"alert-email-group"`
	Body            *AlertEmailGroupUpdateJSONRequestBody
}

type AlertEmailGroupUpdateResponseObject added in v0.25.0

type AlertEmailGroupUpdateResponseObject interface {
	VisitAlertEmailGroupUpdateResponse(w http.ResponseWriter) error
}

type ApiTokenCreate200JSONResponse added in v0.7.0

type ApiTokenCreate200JSONResponse CreateAPITokenResponse

func (ApiTokenCreate200JSONResponse) VisitApiTokenCreateResponse added in v0.7.0

func (response ApiTokenCreate200JSONResponse) VisitApiTokenCreateResponse(w http.ResponseWriter) error

type ApiTokenCreate400JSONResponse added in v0.7.0

type ApiTokenCreate400JSONResponse APIErrors

func (ApiTokenCreate400JSONResponse) VisitApiTokenCreateResponse added in v0.7.0

func (response ApiTokenCreate400JSONResponse) VisitApiTokenCreateResponse(w http.ResponseWriter) error

type ApiTokenCreate403JSONResponse added in v0.7.0

type ApiTokenCreate403JSONResponse APIErrors

func (ApiTokenCreate403JSONResponse) VisitApiTokenCreateResponse added in v0.7.0

func (response ApiTokenCreate403JSONResponse) VisitApiTokenCreateResponse(w http.ResponseWriter) error

type ApiTokenCreateJSONRequestBody added in v0.7.0

type ApiTokenCreateJSONRequestBody = CreateAPITokenRequest

ApiTokenCreateJSONRequestBody defines body for ApiTokenCreate for application/json ContentType.

type ApiTokenCreateRequestObject added in v0.7.0

type ApiTokenCreateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *ApiTokenCreateJSONRequestBody
}

type ApiTokenCreateResponseObject added in v0.7.0

type ApiTokenCreateResponseObject interface {
	VisitApiTokenCreateResponse(w http.ResponseWriter) error
}

type ApiTokenList200JSONResponse added in v0.7.0

type ApiTokenList200JSONResponse ListAPITokensResponse

func (ApiTokenList200JSONResponse) VisitApiTokenListResponse added in v0.7.0

func (response ApiTokenList200JSONResponse) VisitApiTokenListResponse(w http.ResponseWriter) error

type ApiTokenList400JSONResponse added in v0.7.0

type ApiTokenList400JSONResponse APIErrors

func (ApiTokenList400JSONResponse) VisitApiTokenListResponse added in v0.7.0

func (response ApiTokenList400JSONResponse) VisitApiTokenListResponse(w http.ResponseWriter) error

type ApiTokenList403JSONResponse added in v0.7.0

type ApiTokenList403JSONResponse APIErrors

func (ApiTokenList403JSONResponse) VisitApiTokenListResponse added in v0.7.0

func (response ApiTokenList403JSONResponse) VisitApiTokenListResponse(w http.ResponseWriter) error

type ApiTokenListRequestObject added in v0.7.0

type ApiTokenListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type ApiTokenListResponseObject added in v0.7.0

type ApiTokenListResponseObject interface {
	VisitApiTokenListResponse(w http.ResponseWriter) error
}

type ApiTokenUpdateRevoke204Response added in v0.7.0

type ApiTokenUpdateRevoke204Response struct {
}

func (ApiTokenUpdateRevoke204Response) VisitApiTokenUpdateRevokeResponse added in v0.7.0

func (response ApiTokenUpdateRevoke204Response) VisitApiTokenUpdateRevokeResponse(w http.ResponseWriter) error

type ApiTokenUpdateRevoke400JSONResponse added in v0.7.0

type ApiTokenUpdateRevoke400JSONResponse APIErrors

func (ApiTokenUpdateRevoke400JSONResponse) VisitApiTokenUpdateRevokeResponse added in v0.7.0

func (response ApiTokenUpdateRevoke400JSONResponse) VisitApiTokenUpdateRevokeResponse(w http.ResponseWriter) error

type ApiTokenUpdateRevoke403JSONResponse added in v0.7.0

type ApiTokenUpdateRevoke403JSONResponse APIErrors

func (ApiTokenUpdateRevoke403JSONResponse) VisitApiTokenUpdateRevokeResponse added in v0.7.0

func (response ApiTokenUpdateRevoke403JSONResponse) VisitApiTokenUpdateRevokeResponse(w http.ResponseWriter) error

type ApiTokenUpdateRevokeRequestObject added in v0.7.0

type ApiTokenUpdateRevokeRequestObject struct {
	ApiToken openapi_types.UUID `json:"api-token"`
}

type ApiTokenUpdateRevokeResponseObject added in v0.7.0

type ApiTokenUpdateRevokeResponseObject interface {
	VisitApiTokenUpdateRevokeResponse(w http.ResponseWriter) error
}

type CloudMetadataGet200JSONResponse added in v0.34.1

type CloudMetadataGet200JSONResponse APIErrors

func (CloudMetadataGet200JSONResponse) VisitCloudMetadataGetResponse added in v0.34.1

func (response CloudMetadataGet200JSONResponse) VisitCloudMetadataGetResponse(w http.ResponseWriter) error

type CloudMetadataGet400JSONResponse added in v0.34.1

type CloudMetadataGet400JSONResponse APIErrors

func (CloudMetadataGet400JSONResponse) VisitCloudMetadataGetResponse added in v0.34.1

func (response CloudMetadataGet400JSONResponse) VisitCloudMetadataGetResponse(w http.ResponseWriter) error

type CloudMetadataGetRequestObject added in v0.34.1

type CloudMetadataGetRequestObject struct {
}

type CloudMetadataGetResponseObject added in v0.34.1

type CloudMetadataGetResponseObject interface {
	VisitCloudMetadataGetResponse(w http.ResponseWriter) error
}

type CreateAPITokenRequest added in v0.7.0

type CreateAPITokenRequest struct {
	// ExpiresIn The duration for which the token is valid.
	ExpiresIn *string `json:"expiresIn,omitempty" validate:"omitnil,duration"`

	// Name A name for the API token.
	Name string `json:"name"`
}

CreateAPITokenRequest defines model for CreateAPITokenRequest.

type CreateAPITokenResponse added in v0.7.0

type CreateAPITokenResponse struct {
	// Token The API token.
	Token string `json:"token"`
}

CreateAPITokenResponse defines model for CreateAPITokenResponse.

type CreateEventRequest added in v0.33.0

type CreateEventRequest struct {
	// AdditionalMetadata Additional metadata for the event.
	AdditionalMetadata *map[string]interface{} `json:"additionalMetadata,omitempty"`

	// Data The data for the event.
	Data map[string]interface{} `json:"data"`

	// Key The key for the event.
	Key string `json:"key"`
}

CreateEventRequest defines model for CreateEventRequest.

type CreateSNSIntegrationRequest added in v0.15.2

type CreateSNSIntegrationRequest struct {
	// TopicArn The Amazon Resource Name (ARN) of the SNS topic.
	TopicArn string `json:"topicArn" validate:"required,min=1,max=256"`
}

CreateSNSIntegrationRequest defines model for CreateSNSIntegrationRequest.

type CreateTenantAlertEmailGroupRequest added in v0.25.0

type CreateTenantAlertEmailGroupRequest struct {
	// Emails A list of emails for users
	Emails []string `json:"emails" validate:"required,dive,email"`
}

CreateTenantAlertEmailGroupRequest defines model for CreateTenantAlertEmailGroupRequest.

type CreateTenantInviteRequest

type CreateTenantInviteRequest struct {
	// Email The email of the user to invite.
	Email string           `json:"email" validate:"required,email"`
	Role  TenantMemberRole `json:"role"`
}

CreateTenantInviteRequest defines model for CreateTenantInviteRequest.

type CreateTenantRequest

type CreateTenantRequest struct {
	// Name The name of the tenant.
	Name string `json:"name" validate:"required"`

	// Slug The slug of the tenant.
	Slug string `json:"slug" validate:"required,hatchetName"`
}

CreateTenantRequest defines model for CreateTenantRequest.

type EchoRouter

type EchoRouter interface {
	CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
	TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route
}

This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration

type Event

type Event struct {
	// AdditionalMetadata Additional metadata for the event.
	AdditionalMetadata *map[string]interface{} `json:"additionalMetadata,omitempty"`

	// Key The key for the event.
	Key      string          `json:"key"`
	Metadata APIResourceMeta `json:"metadata"`
	Tenant   *Tenant         `json:"tenant,omitempty"`

	// TenantId The ID of the tenant associated with this event.
	TenantId           string                   `json:"tenantId"`
	WorkflowRunSummary *EventWorkflowRunSummary `json:"workflowRunSummary,omitempty"`
}

Event defines model for Event.

type EventCreate200JSONResponse added in v0.33.0

type EventCreate200JSONResponse Event

func (EventCreate200JSONResponse) VisitEventCreateResponse added in v0.33.0

func (response EventCreate200JSONResponse) VisitEventCreateResponse(w http.ResponseWriter) error

type EventCreate400JSONResponse added in v0.33.0

type EventCreate400JSONResponse APIErrors

func (EventCreate400JSONResponse) VisitEventCreateResponse added in v0.33.0

func (response EventCreate400JSONResponse) VisitEventCreateResponse(w http.ResponseWriter) error

type EventCreate403JSONResponse added in v0.33.0

type EventCreate403JSONResponse APIErrors

func (EventCreate403JSONResponse) VisitEventCreateResponse added in v0.33.0

func (response EventCreate403JSONResponse) VisitEventCreateResponse(w http.ResponseWriter) error

type EventCreate429JSONResponse added in v0.33.0

type EventCreate429JSONResponse APIErrors

func (EventCreate429JSONResponse) VisitEventCreateResponse added in v0.33.0

func (response EventCreate429JSONResponse) VisitEventCreateResponse(w http.ResponseWriter) error

type EventCreateJSONRequestBody added in v0.33.0

type EventCreateJSONRequestBody = CreateEventRequest

EventCreateJSONRequestBody defines body for EventCreate for application/json ContentType.

type EventCreateRequestObject added in v0.33.0

type EventCreateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *EventCreateJSONRequestBody
}

type EventCreateResponseObject added in v0.33.0

type EventCreateResponseObject interface {
	VisitEventCreateResponse(w http.ResponseWriter) error
}

type EventData

type EventData struct {
	// Data The data for the event (JSON bytes).
	Data string `json:"data"`
}

EventData defines model for EventData.

type EventDataGet200JSONResponse

type EventDataGet200JSONResponse EventData

func (EventDataGet200JSONResponse) VisitEventDataGetResponse

func (response EventDataGet200JSONResponse) VisitEventDataGetResponse(w http.ResponseWriter) error

type EventDataGet400JSONResponse

type EventDataGet400JSONResponse APIErrors

func (EventDataGet400JSONResponse) VisitEventDataGetResponse

func (response EventDataGet400JSONResponse) VisitEventDataGetResponse(w http.ResponseWriter) error

type EventDataGet403JSONResponse

type EventDataGet403JSONResponse APIErrors

func (EventDataGet403JSONResponse) VisitEventDataGetResponse

func (response EventDataGet403JSONResponse) VisitEventDataGetResponse(w http.ResponseWriter) error

type EventDataGetRequestObject

type EventDataGetRequestObject struct {
	Event openapi_types.UUID `json:"event"`
}

type EventDataGetResponseObject

type EventDataGetResponseObject interface {
	VisitEventDataGetResponse(w http.ResponseWriter) error
}

type EventKey

type EventKey = string

EventKey The key for the event.

type EventKeyList

type EventKeyList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]EventKey         `json:"rows,omitempty"`
}

EventKeyList defines model for EventKeyList.

type EventKeyList200JSONResponse

type EventKeyList200JSONResponse EventKeyList

func (EventKeyList200JSONResponse) VisitEventKeyListResponse

func (response EventKeyList200JSONResponse) VisitEventKeyListResponse(w http.ResponseWriter) error

type EventKeyList400JSONResponse

type EventKeyList400JSONResponse APIErrors

func (EventKeyList400JSONResponse) VisitEventKeyListResponse

func (response EventKeyList400JSONResponse) VisitEventKeyListResponse(w http.ResponseWriter) error

type EventKeyList403JSONResponse

type EventKeyList403JSONResponse APIErrors

func (EventKeyList403JSONResponse) VisitEventKeyListResponse

func (response EventKeyList403JSONResponse) VisitEventKeyListResponse(w http.ResponseWriter) error

type EventKeyListRequestObject

type EventKeyListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type EventKeyListResponseObject

type EventKeyListResponseObject interface {
	VisitEventKeyListResponse(w http.ResponseWriter) error
}

type EventList

type EventList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]Event            `json:"rows,omitempty"`
}

EventList defines model for EventList.

type EventList200JSONResponse

type EventList200JSONResponse EventList

func (EventList200JSONResponse) VisitEventListResponse

func (response EventList200JSONResponse) VisitEventListResponse(w http.ResponseWriter) error

type EventList400JSONResponse

type EventList400JSONResponse APIErrors

func (EventList400JSONResponse) VisitEventListResponse

func (response EventList400JSONResponse) VisitEventListResponse(w http.ResponseWriter) error

type EventList403JSONResponse

type EventList403JSONResponse APIErrors

func (EventList403JSONResponse) VisitEventListResponse

func (response EventList403JSONResponse) VisitEventListResponse(w http.ResponseWriter) error

type EventListParams

type EventListParams struct {
	// Offset The number to skip
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit The number to limit by
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// Keys A list of keys to filter by
	Keys *[]EventKey `form:"keys,omitempty" json:"keys,omitempty"`

	// Workflows A list of workflow IDs to filter by
	Workflows *[]WorkflowID `form:"workflows,omitempty" json:"workflows,omitempty"`

	// Statuses A list of workflow run statuses to filter by
	Statuses *WorkflowRunStatusList `form:"statuses,omitempty" json:"statuses,omitempty"`

	// Search The search query to filter for
	Search *EventSearch `form:"search,omitempty" json:"search,omitempty"`

	// OrderByField What to order by
	OrderByField *EventOrderByField `form:"orderByField,omitempty" json:"orderByField,omitempty"`

	// OrderByDirection The order direction
	OrderByDirection *EventOrderByDirection `form:"orderByDirection,omitempty" json:"orderByDirection,omitempty"`

	// AdditionalMetadata A list of metadata key value pairs to filter by
	AdditionalMetadata *[]string `form:"additionalMetadata,omitempty" json:"additionalMetadata,omitempty"`
}

EventListParams defines parameters for EventList.

type EventListRequestObject

type EventListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Params EventListParams
}

type EventListResponseObject

type EventListResponseObject interface {
	VisitEventListResponse(w http.ResponseWriter) error
}

type EventOrderByDirection

type EventOrderByDirection string

EventOrderByDirection defines model for EventOrderByDirection.

const (
	EventOrderByDirectionAsc  EventOrderByDirection = "asc"
	EventOrderByDirectionDesc EventOrderByDirection = "desc"
)

Defines values for EventOrderByDirection.

type EventOrderByField

type EventOrderByField string

EventOrderByField defines model for EventOrderByField.

const (
	EventOrderByFieldCreatedAt EventOrderByField = "createdAt"
)

Defines values for EventOrderByField.

type EventSearch

type EventSearch = string

EventSearch defines model for EventSearch.

type EventUpdateReplay200JSONResponse

type EventUpdateReplay200JSONResponse EventList

func (EventUpdateReplay200JSONResponse) VisitEventUpdateReplayResponse

func (response EventUpdateReplay200JSONResponse) VisitEventUpdateReplayResponse(w http.ResponseWriter) error

type EventUpdateReplay400JSONResponse

type EventUpdateReplay400JSONResponse APIErrors

func (EventUpdateReplay400JSONResponse) VisitEventUpdateReplayResponse

func (response EventUpdateReplay400JSONResponse) VisitEventUpdateReplayResponse(w http.ResponseWriter) error

type EventUpdateReplay403JSONResponse

type EventUpdateReplay403JSONResponse APIErrors

func (EventUpdateReplay403JSONResponse) VisitEventUpdateReplayResponse

func (response EventUpdateReplay403JSONResponse) VisitEventUpdateReplayResponse(w http.ResponseWriter) error

type EventUpdateReplay429JSONResponse added in v0.31.0

type EventUpdateReplay429JSONResponse APIErrors

func (EventUpdateReplay429JSONResponse) VisitEventUpdateReplayResponse added in v0.31.0

func (response EventUpdateReplay429JSONResponse) VisitEventUpdateReplayResponse(w http.ResponseWriter) error

type EventUpdateReplayJSONRequestBody

type EventUpdateReplayJSONRequestBody = ReplayEventRequest

EventUpdateReplayJSONRequestBody defines body for EventUpdateReplay for application/json ContentType.

type EventUpdateReplayRequestObject

type EventUpdateReplayRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *EventUpdateReplayJSONRequestBody
}

type EventUpdateReplayResponseObject

type EventUpdateReplayResponseObject interface {
	VisitEventUpdateReplayResponse(w http.ResponseWriter) error
}

type EventWorkflowRunSummary

type EventWorkflowRunSummary struct {
	// Failed The number of failed runs.
	Failed *int64 `json:"failed,omitempty"`

	// Pending The number of pending runs.
	Pending *int64 `json:"pending,omitempty"`

	// Queued The number of queued runs.
	Queued *int64 `json:"queued,omitempty"`

	// Running The number of running runs.
	Running *int64 `json:"running,omitempty"`

	// Succeeded The number of succeeded runs.
	Succeeded *int64 `json:"succeeded,omitempty"`
}

EventWorkflowRunSummary defines model for EventWorkflowRunSummary.

type Job

type Job struct {
	// Description The description of the job.
	Description *string         `json:"description,omitempty"`
	Metadata    APIResourceMeta `json:"metadata"`
	Name        string          `json:"name"`
	Steps       []Step          `json:"steps"`
	TenantId    string          `json:"tenantId"`

	// Timeout The timeout of the job.
	Timeout   *string `json:"timeout,omitempty"`
	VersionId string  `json:"versionId"`
}

Job defines model for Job.

type JobRun

type JobRun struct {
	CancelledAt     *time.Time              `json:"cancelledAt,omitempty"`
	CancelledError  *string                 `json:"cancelledError,omitempty"`
	CancelledReason *string                 `json:"cancelledReason,omitempty"`
	FinishedAt      *time.Time              `json:"finishedAt,omitempty"`
	Job             *Job                    `json:"job,omitempty"`
	JobId           string                  `json:"jobId"`
	Metadata        APIResourceMeta         `json:"metadata"`
	Result          *map[string]interface{} `json:"result,omitempty"`
	StartedAt       *time.Time              `json:"startedAt,omitempty"`
	Status          JobRunStatus            `json:"status"`
	StepRuns        *[]StepRun              `json:"stepRuns,omitempty"`
	TenantId        string                  `json:"tenantId"`
	TickerId        *string                 `json:"tickerId,omitempty"`
	TimeoutAt       *time.Time              `json:"timeoutAt,omitempty"`
	WorkflowRun     *WorkflowRun            `json:"workflowRun,omitempty"`
	WorkflowRunId   string                  `json:"workflowRunId"`
}

JobRun defines model for JobRun.

type JobRunStatus

type JobRunStatus string

JobRunStatus defines model for JobRunStatus.

const (
	JobRunStatusCANCELLED JobRunStatus = "CANCELLED"
	JobRunStatusFAILED    JobRunStatus = "FAILED"
	JobRunStatusPENDING   JobRunStatus = "PENDING"
	JobRunStatusRUNNING   JobRunStatus = "RUNNING"
	JobRunStatusSUCCEEDED JobRunStatus = "SUCCEEDED"
)

Defines values for JobRunStatus.

type ListAPIMetaIntegration added in v0.11.0

type ListAPIMetaIntegration = []APIMetaIntegration

ListAPIMetaIntegration defines model for ListAPIMetaIntegration.

type ListAPITokensResponse added in v0.7.0

type ListAPITokensResponse struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]APIToken         `json:"rows,omitempty"`
}

ListAPITokensResponse defines model for ListAPITokensResponse.

type ListSNSIntegrations added in v0.15.2

type ListSNSIntegrations struct {
	Pagination PaginationResponse `json:"pagination"`
	Rows       []SNSIntegration   `json:"rows"`
}

ListSNSIntegrations defines model for ListSNSIntegrations.

type ListSlackWebhooks added in v0.25.0

type ListSlackWebhooks struct {
	Pagination PaginationResponse `json:"pagination"`
	Rows       []SlackWebhook     `json:"rows"`
}

ListSlackWebhooks defines model for ListSlackWebhooks.

type LivenessGet200Response added in v0.14.0

type LivenessGet200Response struct {
}

func (LivenessGet200Response) VisitLivenessGetResponse added in v0.14.0

func (response LivenessGet200Response) VisitLivenessGetResponse(w http.ResponseWriter) error

type LivenessGet500Response added in v0.14.0

type LivenessGet500Response struct {
}

func (LivenessGet500Response) VisitLivenessGetResponse added in v0.14.0

func (response LivenessGet500Response) VisitLivenessGetResponse(w http.ResponseWriter) error

type LivenessGetRequestObject added in v0.14.0

type LivenessGetRequestObject struct {
}

type LivenessGetResponseObject added in v0.14.0

type LivenessGetResponseObject interface {
	VisitLivenessGetResponse(w http.ResponseWriter) error
}

type LogLine added in v0.14.0

type LogLine struct {
	// CreatedAt The creation date of the log line.
	CreatedAt time.Time `json:"createdAt"`

	// Message The log message.
	Message string `json:"message"`

	// Metadata The log metadata.
	Metadata map[string]interface{} `json:"metadata"`
}

LogLine defines model for LogLine.

type LogLineLevel added in v0.14.0

type LogLineLevel string

LogLineLevel defines model for LogLineLevel.

const (
	LogLineLevelDEBUG LogLineLevel = "DEBUG"
	LogLineLevelERROR LogLineLevel = "ERROR"
	LogLineLevelINFO  LogLineLevel = "INFO"
	LogLineLevelWARN  LogLineLevel = "WARN"
)

Defines values for LogLineLevel.

type LogLineLevelField added in v0.14.0

type LogLineLevelField = []LogLineLevel

LogLineLevelField defines model for LogLineLevelField.

type LogLineList added in v0.14.0

type LogLineList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]LogLine          `json:"rows,omitempty"`
}

LogLineList defines model for LogLineList.

type LogLineList200JSONResponse added in v0.14.0

type LogLineList200JSONResponse LogLineList

func (LogLineList200JSONResponse) VisitLogLineListResponse added in v0.14.0

func (response LogLineList200JSONResponse) VisitLogLineListResponse(w http.ResponseWriter) error

type LogLineList400JSONResponse added in v0.14.0

type LogLineList400JSONResponse APIErrors

func (LogLineList400JSONResponse) VisitLogLineListResponse added in v0.14.0

func (response LogLineList400JSONResponse) VisitLogLineListResponse(w http.ResponseWriter) error

type LogLineList403JSONResponse added in v0.14.0

type LogLineList403JSONResponse APIErrors

func (LogLineList403JSONResponse) VisitLogLineListResponse added in v0.14.0

func (response LogLineList403JSONResponse) VisitLogLineListResponse(w http.ResponseWriter) error

type LogLineListParams added in v0.14.0

type LogLineListParams struct {
	// Offset The number to skip
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit The number to limit by
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// Levels A list of levels to filter by
	Levels *LogLineLevelField `form:"levels,omitempty" json:"levels,omitempty"`

	// Search The search query to filter for
	Search *LogLineSearch `form:"search,omitempty" json:"search,omitempty"`

	// OrderByField What to order by
	OrderByField *LogLineOrderByField `form:"orderByField,omitempty" json:"orderByField,omitempty"`

	// OrderByDirection The order direction
	OrderByDirection *LogLineOrderByDirection `form:"orderByDirection,omitempty" json:"orderByDirection,omitempty"`
}

LogLineListParams defines parameters for LogLineList.

type LogLineListRequestObject added in v0.14.0

type LogLineListRequestObject struct {
	StepRun openapi_types.UUID `json:"step-run"`
	Params  LogLineListParams
}

type LogLineListResponseObject added in v0.14.0

type LogLineListResponseObject interface {
	VisitLogLineListResponse(w http.ResponseWriter) error
}

type LogLineOrderByDirection added in v0.14.0

type LogLineOrderByDirection string

LogLineOrderByDirection defines model for LogLineOrderByDirection.

const (
	LogLineOrderByDirectionAsc  LogLineOrderByDirection = "asc"
	LogLineOrderByDirectionDesc LogLineOrderByDirection = "desc"
)

Defines values for LogLineOrderByDirection.

type LogLineOrderByField added in v0.14.0

type LogLineOrderByField string

LogLineOrderByField defines model for LogLineOrderByField.

const (
	LogLineOrderByFieldCreatedAt LogLineOrderByField = "createdAt"
)

Defines values for LogLineOrderByField.

type LogLineSearch added in v0.14.0

type LogLineSearch = string

LogLineSearch defines model for LogLineSearch.

type MetadataGet200JSONResponse

type MetadataGet200JSONResponse APIMeta

func (MetadataGet200JSONResponse) VisitMetadataGetResponse

func (response MetadataGet200JSONResponse) VisitMetadataGetResponse(w http.ResponseWriter) error

type MetadataGet400JSONResponse

type MetadataGet400JSONResponse APIErrors

func (MetadataGet400JSONResponse) VisitMetadataGetResponse

func (response MetadataGet400JSONResponse) VisitMetadataGetResponse(w http.ResponseWriter) error

type MetadataGetRequestObject

type MetadataGetRequestObject struct {
}

type MetadataGetResponseObject

type MetadataGetResponseObject interface {
	VisitMetadataGetResponse(w http.ResponseWriter) error
}

type MetadataListIntegrations200JSONResponse added in v0.11.0

type MetadataListIntegrations200JSONResponse ListAPIMetaIntegration

func (MetadataListIntegrations200JSONResponse) VisitMetadataListIntegrationsResponse added in v0.11.0

func (response MetadataListIntegrations200JSONResponse) VisitMetadataListIntegrationsResponse(w http.ResponseWriter) error

type MetadataListIntegrations400JSONResponse added in v0.11.0

type MetadataListIntegrations400JSONResponse APIErrors

func (MetadataListIntegrations400JSONResponse) VisitMetadataListIntegrationsResponse added in v0.11.0

func (response MetadataListIntegrations400JSONResponse) VisitMetadataListIntegrationsResponse(w http.ResponseWriter) error

type MetadataListIntegrationsRequestObject added in v0.11.0

type MetadataListIntegrationsRequestObject struct {
}

type MetadataListIntegrationsResponseObject added in v0.11.0

type MetadataListIntegrationsResponseObject interface {
	VisitMetadataListIntegrationsResponse(w http.ResponseWriter) error
}

type PaginationResponse

type PaginationResponse struct {
	// CurrentPage the current page
	CurrentPage *int64 `json:"current_page,omitempty"`

	// NextPage the next page
	NextPage *int64 `json:"next_page,omitempty"`

	// NumPages the total number of pages for listing
	NumPages *int64 `json:"num_pages,omitempty"`
}

PaginationResponse defines model for PaginationResponse.

type QueueMetrics added in v0.33.0

type QueueMetrics struct {
	// NumPending The number of items pending.
	NumPending int `json:"numPending"`

	// NumQueued The number of items in the queue.
	NumQueued int `json:"numQueued"`

	// NumRunning The number of items running.
	NumRunning int `json:"numRunning"`
}

QueueMetrics defines model for QueueMetrics.

type ReadinessGet200Response added in v0.14.0

type ReadinessGet200Response struct {
}

func (ReadinessGet200Response) VisitReadinessGetResponse added in v0.14.0

func (response ReadinessGet200Response) VisitReadinessGetResponse(w http.ResponseWriter) error

type ReadinessGet500Response added in v0.14.0

type ReadinessGet500Response struct {
}

func (ReadinessGet500Response) VisitReadinessGetResponse added in v0.14.0

func (response ReadinessGet500Response) VisitReadinessGetResponse(w http.ResponseWriter) error

type ReadinessGetRequestObject added in v0.14.0

type ReadinessGetRequestObject struct {
}

type ReadinessGetResponseObject added in v0.14.0

type ReadinessGetResponseObject interface {
	VisitReadinessGetResponse(w http.ResponseWriter) error
}

type RecentStepRuns added in v0.42.0

type RecentStepRuns struct {
	// ActionId The action id.
	ActionId      string             `json:"actionId"`
	CancelledAt   *time.Time         `json:"cancelledAt,omitempty"`
	FinishedAt    *time.Time         `json:"finishedAt,omitempty"`
	Metadata      APIResourceMeta    `json:"metadata"`
	StartedAt     *time.Time         `json:"startedAt,omitempty"`
	Status        StepRunStatus      `json:"status"`
	WorkflowRunId openapi_types.UUID `json:"workflowRunId"`
}

RecentStepRuns defines model for RecentStepRuns.

type RejectInviteRequest

type RejectInviteRequest struct {
	Invite string `json:"invite" validate:"required,uuid"`
}

RejectInviteRequest defines model for RejectInviteRequest.

type ReplayEventRequest

type ReplayEventRequest struct {
	EventIds []openapi_types.UUID `json:"eventIds"`
}

ReplayEventRequest defines model for ReplayEventRequest.

type ReplayWorkflowRunsRequest added in v0.39.0

type ReplayWorkflowRunsRequest struct {
	WorkflowRunIds []openapi_types.UUID `json:"workflowRunIds"`
}

ReplayWorkflowRunsRequest defines model for ReplayWorkflowRunsRequest.

type ReplayWorkflowRunsResponse added in v0.39.0

type ReplayWorkflowRunsResponse struct {
	WorkflowRuns []WorkflowRun `json:"workflowRuns"`
}

ReplayWorkflowRunsResponse defines model for ReplayWorkflowRunsResponse.

type RerunStepRunRequest added in v0.9.1

type RerunStepRunRequest struct {
	Input map[string]interface{} `json:"input"`
}

RerunStepRunRequest defines model for RerunStepRunRequest.

type SNSIntegration added in v0.15.2

type SNSIntegration struct {
	// IngestUrl The URL to send SNS messages to.
	IngestUrl *string         `json:"ingestUrl,omitempty"`
	Metadata  APIResourceMeta `json:"metadata"`

	// TenantId The unique identifier for the tenant that the SNS integration belongs to.
	TenantId openapi_types.UUID `json:"tenantId"`

	// TopicArn The Amazon Resource Name (ARN) of the SNS topic.
	TopicArn string `json:"topicArn"`
}

SNSIntegration defines model for SNSIntegration.

type SemaphoreSlots added in v0.42.0

type SemaphoreSlots struct {
	// ActionId The action id.
	ActionId *string `json:"actionId,omitempty"`

	// Slot The slot name.
	Slot openapi_types.UUID `json:"slot"`

	// StartedAt The time this slot was started.
	StartedAt *time.Time     `json:"startedAt,omitempty"`
	Status    *StepRunStatus `json:"status,omitempty"`

	// StepRunId The step run id.
	StepRunId *openapi_types.UUID `json:"stepRunId,omitempty"`

	// TimeoutAt The time this slot will timeout.
	TimeoutAt *time.Time `json:"timeoutAt,omitempty"`

	// WorkflowRunId The workflow run id.
	WorkflowRunId *openapi_types.UUID `json:"workflowRunId,omitempty"`
}

SemaphoreSlots defines model for SemaphoreSlots.

type ServerInterface

type ServerInterface interface {
	// Get liveness
	// (GET /api/live)
	LivenessGet(ctx echo.Context) error
	// Get readiness
	// (GET /api/ready)
	ReadinessGet(ctx echo.Context) error
	// Delete tenant alert email group
	// (DELETE /api/v1/alerting-email-groups/{alert-email-group})
	AlertEmailGroupDelete(ctx echo.Context, alertEmailGroup openapi_types.UUID) error
	// Update tenant alert email group
	// (PATCH /api/v1/alerting-email-groups/{alert-email-group})
	AlertEmailGroupUpdate(ctx echo.Context, alertEmailGroup openapi_types.UUID) error
	// Revoke API Token
	// (POST /api/v1/api-tokens/{api-token})
	ApiTokenUpdateRevoke(ctx echo.Context, apiToken openapi_types.UUID) error
	// Get cloud metadata
	// (GET /api/v1/cloud/metadata)
	CloudMetadataGet(ctx echo.Context) error
	// Get event data
	// (GET /api/v1/events/{event}/data)
	EventDataGet(ctx echo.Context, event openapi_types.UUID) error
	// Get metadata
	// (GET /api/v1/meta)
	MetadataGet(ctx echo.Context) error
	// List integrations
	// (GET /api/v1/meta/integrations)
	MetadataListIntegrations(ctx echo.Context) error
	// Delete Slack webhook
	// (DELETE /api/v1/slack/{slack})
	SlackWebhookDelete(ctx echo.Context, slack openapi_types.UUID) error
	// Delete SNS integration
	// (DELETE /api/v1/sns/{sns})
	SnsDelete(ctx echo.Context, sns openapi_types.UUID) error
	// Github app tenant webhook
	// (POST /api/v1/sns/{tenant}/{event})
	SnsUpdate(ctx echo.Context, tenant openapi_types.UUID, event string) error
	// List archives for step run
	// (GET /api/v1/step-runs/{step-run}/archives)
	StepRunListArchives(ctx echo.Context, stepRun openapi_types.UUID, params StepRunListArchivesParams) error
	// List events for step run
	// (GET /api/v1/step-runs/{step-run}/events)
	StepRunListEvents(ctx echo.Context, stepRun openapi_types.UUID, params StepRunListEventsParams) error
	// List log lines
	// (GET /api/v1/step-runs/{step-run}/logs)
	LogLineList(ctx echo.Context, stepRun openapi_types.UUID, params LogLineListParams) error
	// Create tenant
	// (POST /api/v1/tenants)
	TenantCreate(ctx echo.Context) error
	// Update tenant
	// (PATCH /api/v1/tenants/{tenant})
	TenantUpdate(ctx echo.Context, tenant openapi_types.UUID) error
	// List tenant alert email groups
	// (GET /api/v1/tenants/{tenant}/alerting-email-groups)
	AlertEmailGroupList(ctx echo.Context, tenant openapi_types.UUID) error
	// Create tenant alert email group
	// (POST /api/v1/tenants/{tenant}/alerting-email-groups)
	AlertEmailGroupCreate(ctx echo.Context, tenant openapi_types.UUID) error
	// Get tenant alerting settings
	// (GET /api/v1/tenants/{tenant}/alerting/settings)
	TenantAlertingSettingsGet(ctx echo.Context, tenant openapi_types.UUID) error
	// List API Tokens
	// (GET /api/v1/tenants/{tenant}/api-tokens)
	ApiTokenList(ctx echo.Context, tenant openapi_types.UUID) error
	// Create API Token
	// (POST /api/v1/tenants/{tenant}/api-tokens)
	ApiTokenCreate(ctx echo.Context, tenant openapi_types.UUID) error
	// List events
	// (GET /api/v1/tenants/{tenant}/events)
	EventList(ctx echo.Context, tenant openapi_types.UUID, params EventListParams) error
	// Create event
	// (POST /api/v1/tenants/{tenant}/events)
	EventCreate(ctx echo.Context, tenant openapi_types.UUID) error
	// List event keys
	// (GET /api/v1/tenants/{tenant}/events/keys)
	EventKeyList(ctx echo.Context, tenant openapi_types.UUID) error
	// Replay events
	// (POST /api/v1/tenants/{tenant}/events/replay)
	EventUpdateReplay(ctx echo.Context, tenant openapi_types.UUID) error
	// List tenant invites
	// (GET /api/v1/tenants/{tenant}/invites)
	TenantInviteList(ctx echo.Context, tenant openapi_types.UUID) error
	// Create tenant invite
	// (POST /api/v1/tenants/{tenant}/invites)
	TenantInviteCreate(ctx echo.Context, tenant openapi_types.UUID) error
	// Delete invite
	// (DELETE /api/v1/tenants/{tenant}/invites/{tenant-invite})
	TenantInviteDelete(ctx echo.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID) error
	// Update invite
	// (PATCH /api/v1/tenants/{tenant}/invites/{tenant-invite})
	TenantInviteUpdate(ctx echo.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID) error
	// List tenant members
	// (GET /api/v1/tenants/{tenant}/members)
	TenantMemberList(ctx echo.Context, tenant openapi_types.UUID) error
	// Delete a tenant member
	// (DELETE /api/v1/tenants/{tenant}/members/{member})
	TenantMemberDelete(ctx echo.Context, tenant openapi_types.UUID, member openapi_types.UUID) error
	// Get workflow metrics
	// (GET /api/v1/tenants/{tenant}/queue-metrics)
	TenantGetQueueMetrics(ctx echo.Context, tenant openapi_types.UUID, params TenantGetQueueMetricsParams) error
	// Create tenant alert email group
	// (GET /api/v1/tenants/{tenant}/resource-policy)
	TenantResourcePolicyGet(ctx echo.Context, tenant openapi_types.UUID) error
	// List Slack integrations
	// (GET /api/v1/tenants/{tenant}/slack)
	SlackWebhookList(ctx echo.Context, tenant openapi_types.UUID) error
	// Start OAuth flow
	// (GET /api/v1/tenants/{tenant}/slack/start)
	UserUpdateSlackOauthStart(ctx echo.Context, tenant openapi_types.UUID) error
	// List SNS integrations
	// (GET /api/v1/tenants/{tenant}/sns)
	SnsList(ctx echo.Context, tenant openapi_types.UUID) error
	// Create SNS integration
	// (POST /api/v1/tenants/{tenant}/sns)
	SnsCreate(ctx echo.Context, tenant openapi_types.UUID) error
	// Get step run
	// (GET /api/v1/tenants/{tenant}/step-runs/{step-run})
	StepRunGet(ctx echo.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID) error
	// Attempts to cancel a step run
	// (POST /api/v1/tenants/{tenant}/step-runs/{step-run}/cancel)
	StepRunUpdateCancel(ctx echo.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID) error
	// Rerun step run
	// (POST /api/v1/tenants/{tenant}/step-runs/{step-run}/rerun)
	StepRunUpdateRerun(ctx echo.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID) error
	// Get step run schema
	// (GET /api/v1/tenants/{tenant}/step-runs/{step-run}/schema)
	StepRunGetSchema(ctx echo.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID) error
	// List webhooks
	// (GET /api/v1/tenants/{tenant}/webhook-workers)
	WebhookList(ctx echo.Context, tenant openapi_types.UUID) error
	// Create a webhook
	// (POST /api/v1/tenants/{tenant}/webhook-workers)
	WebhookCreate(ctx echo.Context, tenant openapi_types.UUID) error
	// Get workers
	// (GET /api/v1/tenants/{tenant}/worker)
	WorkerList(ctx echo.Context, tenant openapi_types.UUID) error
	// Replay workflow runs
	// (POST /api/v1/tenants/{tenant}/workflow-runs/replay)
	WorkflowRunUpdateReplay(ctx echo.Context, tenant openapi_types.UUID) error
	// Get workflow run
	// (GET /api/v1/tenants/{tenant}/workflow-runs/{workflow-run})
	WorkflowRunGet(ctx echo.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID) error
	// Get workflows
	// (GET /api/v1/tenants/{tenant}/workflows)
	WorkflowList(ctx echo.Context, tenant openapi_types.UUID) error
	// Cancel workflow runs
	// (POST /api/v1/tenants/{tenant}/workflows/cancel)
	WorkflowRunCancel(ctx echo.Context, tenant openapi_types.UUID) error
	// Get workflow runs
	// (GET /api/v1/tenants/{tenant}/workflows/runs)
	WorkflowRunList(ctx echo.Context, tenant openapi_types.UUID, params WorkflowRunListParams) error
	// Get workflow runs
	// (GET /api/v1/tenants/{tenant}/workflows/runs/metrics)
	WorkflowRunGetMetrics(ctx echo.Context, tenant openapi_types.UUID, params WorkflowRunGetMetricsParams) error
	// Get current user
	// (GET /api/v1/users/current)
	UserGetCurrent(ctx echo.Context) error
	// Complete OAuth flow
	// (GET /api/v1/users/github/callback)
	UserUpdateGithubOauthCallback(ctx echo.Context) error
	// Start OAuth flow
	// (GET /api/v1/users/github/start)
	UserUpdateGithubOauthStart(ctx echo.Context) error
	// Complete OAuth flow
	// (GET /api/v1/users/google/callback)
	UserUpdateGoogleOauthCallback(ctx echo.Context) error
	// Start OAuth flow
	// (GET /api/v1/users/google/start)
	UserUpdateGoogleOauthStart(ctx echo.Context) error
	// List tenant invites
	// (GET /api/v1/users/invites)
	UserListTenantInvites(ctx echo.Context) error
	// Accept tenant invite
	// (POST /api/v1/users/invites/accept)
	TenantInviteAccept(ctx echo.Context) error
	// Reject tenant invite
	// (POST /api/v1/users/invites/reject)
	TenantInviteReject(ctx echo.Context) error
	// Login user
	// (POST /api/v1/users/login)
	UserUpdateLogin(ctx echo.Context) error
	// Logout user
	// (POST /api/v1/users/logout)
	UserUpdateLogout(ctx echo.Context) error
	// List tenant memberships
	// (GET /api/v1/users/memberships)
	TenantMembershipsList(ctx echo.Context) error
	// Change user password
	// (POST /api/v1/users/password)
	UserUpdatePassword(ctx echo.Context) error
	// Register user
	// (POST /api/v1/users/register)
	UserCreate(ctx echo.Context) error
	// Complete OAuth flow
	// (GET /api/v1/users/slack/callback)
	UserUpdateSlackOauthCallback(ctx echo.Context) error
	// Delete a webhook
	// (DELETE /api/v1/webhook-workers/{webhook})
	WebhookDelete(ctx echo.Context, webhook openapi_types.UUID) error
	// Get worker
	// (GET /api/v1/workers/{worker})
	WorkerGet(ctx echo.Context, worker openapi_types.UUID, params WorkerGetParams) error
	// Update worker
	// (PATCH /api/v1/workers/{worker})
	WorkerUpdate(ctx echo.Context, worker openapi_types.UUID) error
	// Get workflow run input
	// (GET /api/v1/workflow-runs/{workflow-run}/input)
	WorkflowRunGetInput(ctx echo.Context, workflowRun openapi_types.UUID) error
	// Delete workflow
	// (DELETE /api/v1/workflows/{workflow})
	WorkflowDelete(ctx echo.Context, workflow openapi_types.UUID) error
	// Get workflow
	// (GET /api/v1/workflows/{workflow})
	WorkflowGet(ctx echo.Context, workflow openapi_types.UUID) error
	// Get workflow metrics
	// (GET /api/v1/workflows/{workflow}/metrics)
	WorkflowGetMetrics(ctx echo.Context, workflow openapi_types.UUID, params WorkflowGetMetricsParams) error
	// Trigger workflow run
	// (POST /api/v1/workflows/{workflow}/trigger)
	WorkflowRunCreate(ctx echo.Context, workflow openapi_types.UUID, params WorkflowRunCreateParams) error
	// Get workflow version
	// (GET /api/v1/workflows/{workflow}/versions)
	WorkflowVersionGet(ctx echo.Context, workflow openapi_types.UUID, params WorkflowVersionGetParams) error
	// Get workflow version definition
	// (GET /api/v1/workflows/{workflow}/versions/definition)
	WorkflowVersionGetDefinition(ctx echo.Context, workflow openapi_types.UUID, params WorkflowVersionGetDefinitionParams) error
}

ServerInterface represents all server handlers.

func NewStrictHandler

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

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

ServerInterfaceWrapper converts echo contexts to parameters.

func (*ServerInterfaceWrapper) AlertEmailGroupCreate added in v0.25.0

func (w *ServerInterfaceWrapper) AlertEmailGroupCreate(ctx echo.Context) error

AlertEmailGroupCreate converts echo context to params.

func (*ServerInterfaceWrapper) AlertEmailGroupDelete added in v0.25.0

func (w *ServerInterfaceWrapper) AlertEmailGroupDelete(ctx echo.Context) error

AlertEmailGroupDelete converts echo context to params.

func (*ServerInterfaceWrapper) AlertEmailGroupList added in v0.25.0

func (w *ServerInterfaceWrapper) AlertEmailGroupList(ctx echo.Context) error

AlertEmailGroupList converts echo context to params.

func (*ServerInterfaceWrapper) AlertEmailGroupUpdate added in v0.25.0

func (w *ServerInterfaceWrapper) AlertEmailGroupUpdate(ctx echo.Context) error

AlertEmailGroupUpdate converts echo context to params.

func (*ServerInterfaceWrapper) ApiTokenCreate added in v0.7.0

func (w *ServerInterfaceWrapper) ApiTokenCreate(ctx echo.Context) error

ApiTokenCreate converts echo context to params.

func (*ServerInterfaceWrapper) ApiTokenList added in v0.7.0

func (w *ServerInterfaceWrapper) ApiTokenList(ctx echo.Context) error

ApiTokenList converts echo context to params.

func (*ServerInterfaceWrapper) ApiTokenUpdateRevoke added in v0.7.0

func (w *ServerInterfaceWrapper) ApiTokenUpdateRevoke(ctx echo.Context) error

ApiTokenUpdateRevoke converts echo context to params.

func (*ServerInterfaceWrapper) CloudMetadataGet added in v0.34.1

func (w *ServerInterfaceWrapper) CloudMetadataGet(ctx echo.Context) error

CloudMetadataGet converts echo context to params.

func (*ServerInterfaceWrapper) EventCreate added in v0.33.0

func (w *ServerInterfaceWrapper) EventCreate(ctx echo.Context) error

EventCreate converts echo context to params.

func (*ServerInterfaceWrapper) EventDataGet

func (w *ServerInterfaceWrapper) EventDataGet(ctx echo.Context) error

EventDataGet converts echo context to params.

func (*ServerInterfaceWrapper) EventKeyList

func (w *ServerInterfaceWrapper) EventKeyList(ctx echo.Context) error

EventKeyList converts echo context to params.

func (*ServerInterfaceWrapper) EventList

func (w *ServerInterfaceWrapper) EventList(ctx echo.Context) error

EventList converts echo context to params.

func (*ServerInterfaceWrapper) EventUpdateReplay

func (w *ServerInterfaceWrapper) EventUpdateReplay(ctx echo.Context) error

EventUpdateReplay converts echo context to params.

func (*ServerInterfaceWrapper) LivenessGet added in v0.14.0

func (w *ServerInterfaceWrapper) LivenessGet(ctx echo.Context) error

LivenessGet converts echo context to params.

func (*ServerInterfaceWrapper) LogLineList added in v0.14.0

func (w *ServerInterfaceWrapper) LogLineList(ctx echo.Context) error

LogLineList converts echo context to params.

func (*ServerInterfaceWrapper) MetadataGet

func (w *ServerInterfaceWrapper) MetadataGet(ctx echo.Context) error

MetadataGet converts echo context to params.

func (*ServerInterfaceWrapper) MetadataListIntegrations added in v0.11.0

func (w *ServerInterfaceWrapper) MetadataListIntegrations(ctx echo.Context) error

MetadataListIntegrations converts echo context to params.

func (*ServerInterfaceWrapper) ReadinessGet added in v0.14.0

func (w *ServerInterfaceWrapper) ReadinessGet(ctx echo.Context) error

ReadinessGet converts echo context to params.

func (*ServerInterfaceWrapper) SlackWebhookDelete added in v0.25.0

func (w *ServerInterfaceWrapper) SlackWebhookDelete(ctx echo.Context) error

SlackWebhookDelete converts echo context to params.

func (*ServerInterfaceWrapper) SlackWebhookList added in v0.25.0

func (w *ServerInterfaceWrapper) SlackWebhookList(ctx echo.Context) error

SlackWebhookList converts echo context to params.

func (*ServerInterfaceWrapper) SnsCreate added in v0.15.2

func (w *ServerInterfaceWrapper) SnsCreate(ctx echo.Context) error

SnsCreate converts echo context to params.

func (*ServerInterfaceWrapper) SnsDelete added in v0.15.2

func (w *ServerInterfaceWrapper) SnsDelete(ctx echo.Context) error

SnsDelete converts echo context to params.

func (*ServerInterfaceWrapper) SnsList added in v0.15.2

func (w *ServerInterfaceWrapper) SnsList(ctx echo.Context) error

SnsList converts echo context to params.

func (*ServerInterfaceWrapper) SnsUpdate added in v0.15.0

func (w *ServerInterfaceWrapper) SnsUpdate(ctx echo.Context) error

SnsUpdate converts echo context to params.

func (*ServerInterfaceWrapper) StepRunGet added in v0.9.1

func (w *ServerInterfaceWrapper) StepRunGet(ctx echo.Context) error

StepRunGet converts echo context to params.

func (*ServerInterfaceWrapper) StepRunGetSchema added in v0.15.0

func (w *ServerInterfaceWrapper) StepRunGetSchema(ctx echo.Context) error

StepRunGetSchema converts echo context to params.

func (*ServerInterfaceWrapper) StepRunListArchives added in v0.34.2

func (w *ServerInterfaceWrapper) StepRunListArchives(ctx echo.Context) error

StepRunListArchives converts echo context to params.

func (*ServerInterfaceWrapper) StepRunListEvents added in v0.26.0

func (w *ServerInterfaceWrapper) StepRunListEvents(ctx echo.Context) error

StepRunListEvents converts echo context to params.

func (*ServerInterfaceWrapper) StepRunUpdateCancel added in v0.19.0

func (w *ServerInterfaceWrapper) StepRunUpdateCancel(ctx echo.Context) error

StepRunUpdateCancel converts echo context to params.

func (*ServerInterfaceWrapper) StepRunUpdateRerun added in v0.9.1

func (w *ServerInterfaceWrapper) StepRunUpdateRerun(ctx echo.Context) error

StepRunUpdateRerun converts echo context to params.

func (*ServerInterfaceWrapper) TenantAlertingSettingsGet added in v0.25.0

func (w *ServerInterfaceWrapper) TenantAlertingSettingsGet(ctx echo.Context) error

TenantAlertingSettingsGet converts echo context to params.

func (*ServerInterfaceWrapper) TenantCreate

func (w *ServerInterfaceWrapper) TenantCreate(ctx echo.Context) error

TenantCreate converts echo context to params.

func (*ServerInterfaceWrapper) TenantGetQueueMetrics added in v0.33.0

func (w *ServerInterfaceWrapper) TenantGetQueueMetrics(ctx echo.Context) error

TenantGetQueueMetrics converts echo context to params.

func (*ServerInterfaceWrapper) TenantInviteAccept

func (w *ServerInterfaceWrapper) TenantInviteAccept(ctx echo.Context) error

TenantInviteAccept converts echo context to params.

func (*ServerInterfaceWrapper) TenantInviteCreate

func (w *ServerInterfaceWrapper) TenantInviteCreate(ctx echo.Context) error

TenantInviteCreate converts echo context to params.

func (*ServerInterfaceWrapper) TenantInviteDelete

func (w *ServerInterfaceWrapper) TenantInviteDelete(ctx echo.Context) error

TenantInviteDelete converts echo context to params.

func (*ServerInterfaceWrapper) TenantInviteList

func (w *ServerInterfaceWrapper) TenantInviteList(ctx echo.Context) error

TenantInviteList converts echo context to params.

func (*ServerInterfaceWrapper) TenantInviteReject

func (w *ServerInterfaceWrapper) TenantInviteReject(ctx echo.Context) error

TenantInviteReject converts echo context to params.

func (*ServerInterfaceWrapper) TenantInviteUpdate

func (w *ServerInterfaceWrapper) TenantInviteUpdate(ctx echo.Context) error

TenantInviteUpdate converts echo context to params.

func (*ServerInterfaceWrapper) TenantMemberDelete added in v0.28.4

func (w *ServerInterfaceWrapper) TenantMemberDelete(ctx echo.Context) error

TenantMemberDelete converts echo context to params.

func (*ServerInterfaceWrapper) TenantMemberList

func (w *ServerInterfaceWrapper) TenantMemberList(ctx echo.Context) error

TenantMemberList converts echo context to params.

func (*ServerInterfaceWrapper) TenantMembershipsList

func (w *ServerInterfaceWrapper) TenantMembershipsList(ctx echo.Context) error

TenantMembershipsList converts echo context to params.

func (*ServerInterfaceWrapper) TenantResourcePolicyGet added in v0.31.0

func (w *ServerInterfaceWrapper) TenantResourcePolicyGet(ctx echo.Context) error

TenantResourcePolicyGet converts echo context to params.

func (*ServerInterfaceWrapper) TenantUpdate added in v0.23.0

func (w *ServerInterfaceWrapper) TenantUpdate(ctx echo.Context) error

TenantUpdate converts echo context to params.

func (*ServerInterfaceWrapper) UserCreate

func (w *ServerInterfaceWrapper) UserCreate(ctx echo.Context) error

UserCreate converts echo context to params.

func (*ServerInterfaceWrapper) UserGetCurrent

func (w *ServerInterfaceWrapper) UserGetCurrent(ctx echo.Context) error

UserGetCurrent converts echo context to params.

func (*ServerInterfaceWrapper) UserListTenantInvites

func (w *ServerInterfaceWrapper) UserListTenantInvites(ctx echo.Context) error

UserListTenantInvites converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateGithubOauthCallback added in v0.11.0

func (w *ServerInterfaceWrapper) UserUpdateGithubOauthCallback(ctx echo.Context) error

UserUpdateGithubOauthCallback converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateGithubOauthStart added in v0.11.0

func (w *ServerInterfaceWrapper) UserUpdateGithubOauthStart(ctx echo.Context) error

UserUpdateGithubOauthStart converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateGoogleOauthCallback added in v0.11.0

func (w *ServerInterfaceWrapper) UserUpdateGoogleOauthCallback(ctx echo.Context) error

UserUpdateGoogleOauthCallback converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateGoogleOauthStart added in v0.11.0

func (w *ServerInterfaceWrapper) UserUpdateGoogleOauthStart(ctx echo.Context) error

UserUpdateGoogleOauthStart converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateLogin

func (w *ServerInterfaceWrapper) UserUpdateLogin(ctx echo.Context) error

UserUpdateLogin converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateLogout

func (w *ServerInterfaceWrapper) UserUpdateLogout(ctx echo.Context) error

UserUpdateLogout converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdatePassword added in v0.19.0

func (w *ServerInterfaceWrapper) UserUpdatePassword(ctx echo.Context) error

UserUpdatePassword converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateSlackOauthCallback added in v0.25.0

func (w *ServerInterfaceWrapper) UserUpdateSlackOauthCallback(ctx echo.Context) error

UserUpdateSlackOauthCallback converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateSlackOauthStart added in v0.25.0

func (w *ServerInterfaceWrapper) UserUpdateSlackOauthStart(ctx echo.Context) error

UserUpdateSlackOauthStart converts echo context to params.

func (*ServerInterfaceWrapper) WebhookCreate added in v0.34.0

func (w *ServerInterfaceWrapper) WebhookCreate(ctx echo.Context) error

WebhookCreate converts echo context to params.

func (*ServerInterfaceWrapper) WebhookDelete added in v0.34.0

func (w *ServerInterfaceWrapper) WebhookDelete(ctx echo.Context) error

WebhookDelete converts echo context to params.

func (*ServerInterfaceWrapper) WebhookList added in v0.34.0

func (w *ServerInterfaceWrapper) WebhookList(ctx echo.Context) error

WebhookList converts echo context to params.

func (*ServerInterfaceWrapper) WorkerGet

func (w *ServerInterfaceWrapper) WorkerGet(ctx echo.Context) error

WorkerGet converts echo context to params.

func (*ServerInterfaceWrapper) WorkerList

func (w *ServerInterfaceWrapper) WorkerList(ctx echo.Context) error

WorkerList converts echo context to params.

func (*ServerInterfaceWrapper) WorkerUpdate added in v0.35.0

func (w *ServerInterfaceWrapper) WorkerUpdate(ctx echo.Context) error

WorkerUpdate converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowDelete added in v0.15.0

func (w *ServerInterfaceWrapper) WorkflowDelete(ctx echo.Context) error

WorkflowDelete converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowGet

func (w *ServerInterfaceWrapper) WorkflowGet(ctx echo.Context) error

WorkflowGet converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowGetMetrics added in v0.19.3

func (w *ServerInterfaceWrapper) WorkflowGetMetrics(ctx echo.Context) error

WorkflowGetMetrics converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowList

func (w *ServerInterfaceWrapper) WorkflowList(ctx echo.Context) error

WorkflowList converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunCancel added in v0.27.0

func (w *ServerInterfaceWrapper) WorkflowRunCancel(ctx echo.Context) error

WorkflowRunCancel converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunCreate added in v0.10.0

func (w *ServerInterfaceWrapper) WorkflowRunCreate(ctx echo.Context) error

WorkflowRunCreate converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunGet

func (w *ServerInterfaceWrapper) WorkflowRunGet(ctx echo.Context) error

WorkflowRunGet converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunGetInput added in v0.40.0

func (w *ServerInterfaceWrapper) WorkflowRunGetInput(ctx echo.Context) error

WorkflowRunGetInput converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunGetMetrics added in v0.22.0

func (w *ServerInterfaceWrapper) WorkflowRunGetMetrics(ctx echo.Context) error

WorkflowRunGetMetrics converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunList

func (w *ServerInterfaceWrapper) WorkflowRunList(ctx echo.Context) error

WorkflowRunList converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunUpdateReplay added in v0.39.0

func (w *ServerInterfaceWrapper) WorkflowRunUpdateReplay(ctx echo.Context) error

WorkflowRunUpdateReplay converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowVersionGet

func (w *ServerInterfaceWrapper) WorkflowVersionGet(ctx echo.Context) error

WorkflowVersionGet converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowVersionGetDefinition

func (w *ServerInterfaceWrapper) WorkflowVersionGetDefinition(ctx echo.Context) error

WorkflowVersionGetDefinition converts echo context to params.

type SlackWebhook added in v0.25.0

type SlackWebhook struct {
	// ChannelId The channel id associated with this slack webhook.
	ChannelId string `json:"channelId"`

	// ChannelName The channel name associated with this slack webhook.
	ChannelName string          `json:"channelName"`
	Metadata    APIResourceMeta `json:"metadata"`

	// TeamId The team id associated with this slack webhook.
	TeamId string `json:"teamId"`

	// TeamName The team name associated with this slack webhook.
	TeamName string `json:"teamName"`

	// TenantId The unique identifier for the tenant that the SNS integration belongs to.
	TenantId openapi_types.UUID `json:"tenantId"`
}

SlackWebhook defines model for SlackWebhook.

type SlackWebhookDelete204Response added in v0.25.0

type SlackWebhookDelete204Response struct {
}

func (SlackWebhookDelete204Response) VisitSlackWebhookDeleteResponse added in v0.25.0

func (response SlackWebhookDelete204Response) VisitSlackWebhookDeleteResponse(w http.ResponseWriter) error

type SlackWebhookDelete400JSONResponse added in v0.25.0

type SlackWebhookDelete400JSONResponse APIErrors

func (SlackWebhookDelete400JSONResponse) VisitSlackWebhookDeleteResponse added in v0.25.0

func (response SlackWebhookDelete400JSONResponse) VisitSlackWebhookDeleteResponse(w http.ResponseWriter) error

type SlackWebhookDelete401JSONResponse added in v0.25.0

type SlackWebhookDelete401JSONResponse APIErrors

func (SlackWebhookDelete401JSONResponse) VisitSlackWebhookDeleteResponse added in v0.25.0

func (response SlackWebhookDelete401JSONResponse) VisitSlackWebhookDeleteResponse(w http.ResponseWriter) error

type SlackWebhookDelete405JSONResponse added in v0.25.0

type SlackWebhookDelete405JSONResponse APIErrors

func (SlackWebhookDelete405JSONResponse) VisitSlackWebhookDeleteResponse added in v0.25.0

func (response SlackWebhookDelete405JSONResponse) VisitSlackWebhookDeleteResponse(w http.ResponseWriter) error

type SlackWebhookDeleteRequestObject added in v0.25.0

type SlackWebhookDeleteRequestObject struct {
	Slack openapi_types.UUID `json:"slack"`
}

type SlackWebhookDeleteResponseObject added in v0.25.0

type SlackWebhookDeleteResponseObject interface {
	VisitSlackWebhookDeleteResponse(w http.ResponseWriter) error
}

type SlackWebhookList200JSONResponse added in v0.25.0

type SlackWebhookList200JSONResponse ListSlackWebhooks

func (SlackWebhookList200JSONResponse) VisitSlackWebhookListResponse added in v0.25.0

func (response SlackWebhookList200JSONResponse) VisitSlackWebhookListResponse(w http.ResponseWriter) error

type SlackWebhookList400JSONResponse added in v0.25.0

type SlackWebhookList400JSONResponse APIErrors

func (SlackWebhookList400JSONResponse) VisitSlackWebhookListResponse added in v0.25.0

func (response SlackWebhookList400JSONResponse) VisitSlackWebhookListResponse(w http.ResponseWriter) error

type SlackWebhookList401JSONResponse added in v0.25.0

type SlackWebhookList401JSONResponse APIErrors

func (SlackWebhookList401JSONResponse) VisitSlackWebhookListResponse added in v0.25.0

func (response SlackWebhookList401JSONResponse) VisitSlackWebhookListResponse(w http.ResponseWriter) error

type SlackWebhookList405JSONResponse added in v0.25.0

type SlackWebhookList405JSONResponse APIErrors

func (SlackWebhookList405JSONResponse) VisitSlackWebhookListResponse added in v0.25.0

func (response SlackWebhookList405JSONResponse) VisitSlackWebhookListResponse(w http.ResponseWriter) error

type SlackWebhookListRequestObject added in v0.25.0

type SlackWebhookListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type SlackWebhookListResponseObject added in v0.25.0

type SlackWebhookListResponseObject interface {
	VisitSlackWebhookListResponse(w http.ResponseWriter) error
}

type SnsCreate201JSONResponse added in v0.15.2

type SnsCreate201JSONResponse SNSIntegration

func (SnsCreate201JSONResponse) VisitSnsCreateResponse added in v0.15.2

func (response SnsCreate201JSONResponse) VisitSnsCreateResponse(w http.ResponseWriter) error

type SnsCreate400JSONResponse added in v0.15.2

type SnsCreate400JSONResponse APIErrors

func (SnsCreate400JSONResponse) VisitSnsCreateResponse added in v0.15.2

func (response SnsCreate400JSONResponse) VisitSnsCreateResponse(w http.ResponseWriter) error

type SnsCreate401JSONResponse added in v0.15.2

type SnsCreate401JSONResponse APIErrors

func (SnsCreate401JSONResponse) VisitSnsCreateResponse added in v0.15.2

func (response SnsCreate401JSONResponse) VisitSnsCreateResponse(w http.ResponseWriter) error

type SnsCreate405JSONResponse added in v0.15.2

type SnsCreate405JSONResponse APIErrors

func (SnsCreate405JSONResponse) VisitSnsCreateResponse added in v0.15.2

func (response SnsCreate405JSONResponse) VisitSnsCreateResponse(w http.ResponseWriter) error

type SnsCreateJSONRequestBody added in v0.15.2

type SnsCreateJSONRequestBody = CreateSNSIntegrationRequest

SnsCreateJSONRequestBody defines body for SnsCreate for application/json ContentType.

type SnsCreateRequestObject added in v0.15.2

type SnsCreateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *SnsCreateJSONRequestBody
}

type SnsCreateResponseObject added in v0.15.2

type SnsCreateResponseObject interface {
	VisitSnsCreateResponse(w http.ResponseWriter) error
}

type SnsDelete204Response added in v0.15.2

type SnsDelete204Response struct {
}

func (SnsDelete204Response) VisitSnsDeleteResponse added in v0.15.2

func (response SnsDelete204Response) VisitSnsDeleteResponse(w http.ResponseWriter) error

type SnsDelete400JSONResponse added in v0.15.2

type SnsDelete400JSONResponse APIErrors

func (SnsDelete400JSONResponse) VisitSnsDeleteResponse added in v0.15.2

func (response SnsDelete400JSONResponse) VisitSnsDeleteResponse(w http.ResponseWriter) error

type SnsDelete401JSONResponse added in v0.15.2

type SnsDelete401JSONResponse APIErrors

func (SnsDelete401JSONResponse) VisitSnsDeleteResponse added in v0.15.2

func (response SnsDelete401JSONResponse) VisitSnsDeleteResponse(w http.ResponseWriter) error

type SnsDelete405JSONResponse added in v0.15.2

type SnsDelete405JSONResponse APIErrors

func (SnsDelete405JSONResponse) VisitSnsDeleteResponse added in v0.15.2

func (response SnsDelete405JSONResponse) VisitSnsDeleteResponse(w http.ResponseWriter) error

type SnsDeleteRequestObject added in v0.15.2

type SnsDeleteRequestObject struct {
	Sns openapi_types.UUID `json:"sns"`
}

type SnsDeleteResponseObject added in v0.15.2

type SnsDeleteResponseObject interface {
	VisitSnsDeleteResponse(w http.ResponseWriter) error
}

type SnsList200JSONResponse added in v0.15.2

type SnsList200JSONResponse ListSNSIntegrations

func (SnsList200JSONResponse) VisitSnsListResponse added in v0.15.2

func (response SnsList200JSONResponse) VisitSnsListResponse(w http.ResponseWriter) error

type SnsList400JSONResponse added in v0.15.2

type SnsList400JSONResponse APIErrors

func (SnsList400JSONResponse) VisitSnsListResponse added in v0.15.2

func (response SnsList400JSONResponse) VisitSnsListResponse(w http.ResponseWriter) error

type SnsList401JSONResponse added in v0.15.2

type SnsList401JSONResponse APIErrors

func (SnsList401JSONResponse) VisitSnsListResponse added in v0.15.2

func (response SnsList401JSONResponse) VisitSnsListResponse(w http.ResponseWriter) error

type SnsList405JSONResponse added in v0.15.2

type SnsList405JSONResponse APIErrors

func (SnsList405JSONResponse) VisitSnsListResponse added in v0.15.2

func (response SnsList405JSONResponse) VisitSnsListResponse(w http.ResponseWriter) error

type SnsListRequestObject added in v0.15.2

type SnsListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type SnsListResponseObject added in v0.15.2

type SnsListResponseObject interface {
	VisitSnsListResponse(w http.ResponseWriter) error
}

type SnsUpdate200Response added in v0.15.0

type SnsUpdate200Response struct {
}

func (SnsUpdate200Response) VisitSnsUpdateResponse added in v0.15.0

func (response SnsUpdate200Response) VisitSnsUpdateResponse(w http.ResponseWriter) error

type SnsUpdate400JSONResponse added in v0.15.0

type SnsUpdate400JSONResponse APIErrors

func (SnsUpdate400JSONResponse) VisitSnsUpdateResponse added in v0.15.0

func (response SnsUpdate400JSONResponse) VisitSnsUpdateResponse(w http.ResponseWriter) error

type SnsUpdate401JSONResponse added in v0.15.0

type SnsUpdate401JSONResponse APIErrors

func (SnsUpdate401JSONResponse) VisitSnsUpdateResponse added in v0.15.0

func (response SnsUpdate401JSONResponse) VisitSnsUpdateResponse(w http.ResponseWriter) error

type SnsUpdate405JSONResponse added in v0.15.0

type SnsUpdate405JSONResponse APIErrors

func (SnsUpdate405JSONResponse) VisitSnsUpdateResponse added in v0.15.0

func (response SnsUpdate405JSONResponse) VisitSnsUpdateResponse(w http.ResponseWriter) error

type SnsUpdateRequestObject added in v0.15.0

type SnsUpdateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Event  string             `json:"event"`
}

type SnsUpdateResponseObject added in v0.15.0

type SnsUpdateResponseObject interface {
	VisitSnsUpdateResponse(w http.ResponseWriter) error
}

type Step

type Step struct {
	Action   string          `json:"action"`
	Children *[]string       `json:"children,omitempty"`
	JobId    string          `json:"jobId"`
	Metadata APIResourceMeta `json:"metadata"`
	Parents  *[]string       `json:"parents,omitempty"`

	// ReadableId The readable id of the step.
	ReadableId string `json:"readableId"`
	TenantId   string `json:"tenantId"`

	// Timeout The timeout of the step.
	Timeout *string `json:"timeout,omitempty"`
}

Step defines model for Step.

type StepRun

type StepRun struct {
	CancelledAt       *time.Time              `json:"cancelledAt,omitempty"`
	CancelledAtEpoch  *int                    `json:"cancelledAtEpoch,omitempty"`
	CancelledError    *string                 `json:"cancelledError,omitempty"`
	CancelledReason   *string                 `json:"cancelledReason,omitempty"`
	ChildWorkflowRuns *[]string               `json:"childWorkflowRuns,omitempty"`
	Children          *[]string               `json:"children,omitempty"`
	Error             *string                 `json:"error,omitempty"`
	FinishedAt        *time.Time              `json:"finishedAt,omitempty"`
	FinishedAtEpoch   *int                    `json:"finishedAtEpoch,omitempty"`
	Input             *string                 `json:"input,omitempty"`
	JobRun            *JobRun                 `json:"jobRun,omitempty"`
	JobRunId          string                  `json:"jobRunId"`
	Metadata          APIResourceMeta         `json:"metadata"`
	Output            *string                 `json:"output,omitempty"`
	Parents           *[]string               `json:"parents,omitempty"`
	RequeueAfter      *time.Time              `json:"requeueAfter,omitempty"`
	Result            *map[string]interface{} `json:"result,omitempty"`
	StartedAt         *time.Time              `json:"startedAt,omitempty"`
	StartedAtEpoch    *int                    `json:"startedAtEpoch,omitempty"`
	Status            StepRunStatus           `json:"status"`
	Step              *Step                   `json:"step,omitempty"`
	StepId            string                  `json:"stepId"`
	TenantId          string                  `json:"tenantId"`
	TimeoutAt         *time.Time              `json:"timeoutAt,omitempty"`
	TimeoutAtEpoch    *int                    `json:"timeoutAtEpoch,omitempty"`
	WorkerId          *string                 `json:"workerId,omitempty"`
}

StepRun defines model for StepRun.

type StepRunArchive added in v0.34.2

type StepRunArchive struct {
	CancelledAt      *time.Time `json:"cancelledAt,omitempty"`
	CancelledAtEpoch *int       `json:"cancelledAtEpoch,omitempty"`
	CancelledError   *string    `json:"cancelledError,omitempty"`
	CancelledReason  *string    `json:"cancelledReason,omitempty"`
	CreatedAt        time.Time  `json:"createdAt"`
	Error            *string    `json:"error,omitempty"`
	FinishedAt       *time.Time `json:"finishedAt,omitempty"`
	FinishedAtEpoch  *int       `json:"finishedAtEpoch,omitempty"`
	Input            *string    `json:"input,omitempty"`
	Order            int        `json:"order"`
	Output           *string    `json:"output,omitempty"`
	StartedAt        *time.Time `json:"startedAt,omitempty"`
	StartedAtEpoch   *int       `json:"startedAtEpoch,omitempty"`
	StepRunId        string     `json:"stepRunId"`
	TimeoutAt        *time.Time `json:"timeoutAt,omitempty"`
	TimeoutAtEpoch   *int       `json:"timeoutAtEpoch,omitempty"`
}

StepRunArchive defines model for StepRunArchive.

type StepRunArchiveList added in v0.34.2

type StepRunArchiveList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]StepRunArchive   `json:"rows,omitempty"`
}

StepRunArchiveList defines model for StepRunArchiveList.

type StepRunEvent added in v0.26.0

type StepRunEvent struct {
	Count         int                     `json:"count"`
	Data          *map[string]interface{} `json:"data,omitempty"`
	Id            int                     `json:"id"`
	Message       string                  `json:"message"`
	Reason        StepRunEventReason      `json:"reason"`
	Severity      StepRunEventSeverity    `json:"severity"`
	StepRunId     string                  `json:"stepRunId"`
	TimeFirstSeen time.Time               `json:"timeFirstSeen"`
	TimeLastSeen  time.Time               `json:"timeLastSeen"`
}

StepRunEvent defines model for StepRunEvent.

type StepRunEventList added in v0.26.0

type StepRunEventList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]StepRunEvent     `json:"rows,omitempty"`
}

StepRunEventList defines model for StepRunEventList.

type StepRunEventReason added in v0.26.0

type StepRunEventReason string

StepRunEventReason defines model for StepRunEventReason.

const (
	StepRunEventReasonASSIGNED           StepRunEventReason = "ASSIGNED"
	StepRunEventReasonCANCELLED          StepRunEventReason = "CANCELLED"
	StepRunEventReasonFAILED             StepRunEventReason = "FAILED"
	StepRunEventReasonFINISHED           StepRunEventReason = "FINISHED"
	StepRunEventReasonREASSIGNED         StepRunEventReason = "REASSIGNED"
	StepRunEventReasonREQUEUEDNOWORKER   StepRunEventReason = "REQUEUED_NO_WORKER"
	StepRunEventReasonREQUEUEDRATELIMIT  StepRunEventReason = "REQUEUED_RATE_LIMIT"
	StepRunEventReasonRETRIEDBYUSER      StepRunEventReason = "RETRIED_BY_USER"
	StepRunEventReasonRETRYING           StepRunEventReason = "RETRYING"
	StepRunEventReasonSCHEDULINGTIMEDOUT StepRunEventReason = "SCHEDULING_TIMED_OUT"
	StepRunEventReasonSLOTRELEASED       StepRunEventReason = "SLOT_RELEASED"
	StepRunEventReasonSTARTED            StepRunEventReason = "STARTED"
	StepRunEventReasonTIMEDOUT           StepRunEventReason = "TIMED_OUT"
	StepRunEventReasonTIMEOUTREFRESHED   StepRunEventReason = "TIMEOUT_REFRESHED"
)

Defines values for StepRunEventReason.

type StepRunEventSeverity added in v0.26.0

type StepRunEventSeverity string

StepRunEventSeverity defines model for StepRunEventSeverity.

const (
	StepRunEventSeverityCRITICAL StepRunEventSeverity = "CRITICAL"
	StepRunEventSeverityINFO     StepRunEventSeverity = "INFO"
	StepRunEventSeverityWARNING  StepRunEventSeverity = "WARNING"
)

Defines values for StepRunEventSeverity.

type StepRunGet200JSONResponse added in v0.9.1

type StepRunGet200JSONResponse StepRun

func (StepRunGet200JSONResponse) VisitStepRunGetResponse added in v0.9.1

func (response StepRunGet200JSONResponse) VisitStepRunGetResponse(w http.ResponseWriter) error

type StepRunGet400JSONResponse added in v0.9.1

type StepRunGet400JSONResponse APIErrors

func (StepRunGet400JSONResponse) VisitStepRunGetResponse added in v0.9.1

func (response StepRunGet400JSONResponse) VisitStepRunGetResponse(w http.ResponseWriter) error

type StepRunGet403JSONResponse added in v0.9.1

type StepRunGet403JSONResponse APIErrors

func (StepRunGet403JSONResponse) VisitStepRunGetResponse added in v0.9.1

func (response StepRunGet403JSONResponse) VisitStepRunGetResponse(w http.ResponseWriter) error

type StepRunGet404JSONResponse added in v0.9.1

type StepRunGet404JSONResponse APIErrors

func (StepRunGet404JSONResponse) VisitStepRunGetResponse added in v0.9.1

func (response StepRunGet404JSONResponse) VisitStepRunGetResponse(w http.ResponseWriter) error

type StepRunGetRequestObject added in v0.9.1

type StepRunGetRequestObject struct {
	Tenant  openapi_types.UUID `json:"tenant"`
	StepRun openapi_types.UUID `json:"step-run"`
}

type StepRunGetResponseObject added in v0.9.1

type StepRunGetResponseObject interface {
	VisitStepRunGetResponse(w http.ResponseWriter) error
}

type StepRunGetSchema200JSONResponse added in v0.15.0

type StepRunGetSchema200JSONResponse map[string]interface{}

func (StepRunGetSchema200JSONResponse) VisitStepRunGetSchemaResponse added in v0.15.0

func (response StepRunGetSchema200JSONResponse) VisitStepRunGetSchemaResponse(w http.ResponseWriter) error

type StepRunGetSchema400JSONResponse added in v0.15.0

type StepRunGetSchema400JSONResponse APIErrors

func (StepRunGetSchema400JSONResponse) VisitStepRunGetSchemaResponse added in v0.15.0

func (response StepRunGetSchema400JSONResponse) VisitStepRunGetSchemaResponse(w http.ResponseWriter) error

type StepRunGetSchema403JSONResponse added in v0.15.0

type StepRunGetSchema403JSONResponse APIErrors

func (StepRunGetSchema403JSONResponse) VisitStepRunGetSchemaResponse added in v0.15.0

func (response StepRunGetSchema403JSONResponse) VisitStepRunGetSchemaResponse(w http.ResponseWriter) error

type StepRunGetSchema404JSONResponse added in v0.15.0

type StepRunGetSchema404JSONResponse APIErrors

func (StepRunGetSchema404JSONResponse) VisitStepRunGetSchemaResponse added in v0.15.0

func (response StepRunGetSchema404JSONResponse) VisitStepRunGetSchemaResponse(w http.ResponseWriter) error

type StepRunGetSchemaRequestObject added in v0.15.0

type StepRunGetSchemaRequestObject struct {
	Tenant  openapi_types.UUID `json:"tenant"`
	StepRun openapi_types.UUID `json:"step-run"`
}

type StepRunGetSchemaResponseObject added in v0.15.0

type StepRunGetSchemaResponseObject interface {
	VisitStepRunGetSchemaResponse(w http.ResponseWriter) error
}

type StepRunListArchives200JSONResponse added in v0.34.2

type StepRunListArchives200JSONResponse StepRunArchiveList

func (StepRunListArchives200JSONResponse) VisitStepRunListArchivesResponse added in v0.34.2

func (response StepRunListArchives200JSONResponse) VisitStepRunListArchivesResponse(w http.ResponseWriter) error

type StepRunListArchives400JSONResponse added in v0.34.2

type StepRunListArchives400JSONResponse APIErrors

func (StepRunListArchives400JSONResponse) VisitStepRunListArchivesResponse added in v0.34.2

func (response StepRunListArchives400JSONResponse) VisitStepRunListArchivesResponse(w http.ResponseWriter) error

type StepRunListArchives403JSONResponse added in v0.34.2

type StepRunListArchives403JSONResponse APIErrors

func (StepRunListArchives403JSONResponse) VisitStepRunListArchivesResponse added in v0.34.2

func (response StepRunListArchives403JSONResponse) VisitStepRunListArchivesResponse(w http.ResponseWriter) error

type StepRunListArchives404JSONResponse added in v0.34.2

type StepRunListArchives404JSONResponse APIErrors

func (StepRunListArchives404JSONResponse) VisitStepRunListArchivesResponse added in v0.34.2

func (response StepRunListArchives404JSONResponse) VisitStepRunListArchivesResponse(w http.ResponseWriter) error

type StepRunListArchivesParams added in v0.34.2

type StepRunListArchivesParams struct {
	// Offset The number to skip
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit The number to limit by
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
}

StepRunListArchivesParams defines parameters for StepRunListArchives.

type StepRunListArchivesRequestObject added in v0.34.2

type StepRunListArchivesRequestObject struct {
	StepRun openapi_types.UUID `json:"step-run"`
	Params  StepRunListArchivesParams
}

type StepRunListArchivesResponseObject added in v0.34.2

type StepRunListArchivesResponseObject interface {
	VisitStepRunListArchivesResponse(w http.ResponseWriter) error
}

type StepRunListEvents200JSONResponse added in v0.26.0

type StepRunListEvents200JSONResponse StepRunEventList

func (StepRunListEvents200JSONResponse) VisitStepRunListEventsResponse added in v0.26.0

func (response StepRunListEvents200JSONResponse) VisitStepRunListEventsResponse(w http.ResponseWriter) error

type StepRunListEvents400JSONResponse added in v0.26.0

type StepRunListEvents400JSONResponse APIErrors

func (StepRunListEvents400JSONResponse) VisitStepRunListEventsResponse added in v0.26.0

func (response StepRunListEvents400JSONResponse) VisitStepRunListEventsResponse(w http.ResponseWriter) error

type StepRunListEvents403JSONResponse added in v0.26.0

type StepRunListEvents403JSONResponse APIErrors

func (StepRunListEvents403JSONResponse) VisitStepRunListEventsResponse added in v0.26.0

func (response StepRunListEvents403JSONResponse) VisitStepRunListEventsResponse(w http.ResponseWriter) error

type StepRunListEvents404JSONResponse added in v0.26.0

type StepRunListEvents404JSONResponse APIErrors

func (StepRunListEvents404JSONResponse) VisitStepRunListEventsResponse added in v0.26.0

func (response StepRunListEvents404JSONResponse) VisitStepRunListEventsResponse(w http.ResponseWriter) error

type StepRunListEventsParams added in v0.26.0

type StepRunListEventsParams struct {
	// Offset The number to skip
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit The number to limit by
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
}

StepRunListEventsParams defines parameters for StepRunListEvents.

type StepRunListEventsRequestObject added in v0.26.0

type StepRunListEventsRequestObject struct {
	StepRun openapi_types.UUID `json:"step-run"`
	Params  StepRunListEventsParams
}

type StepRunListEventsResponseObject added in v0.26.0

type StepRunListEventsResponseObject interface {
	VisitStepRunListEventsResponse(w http.ResponseWriter) error
}

type StepRunStatus

type StepRunStatus string

StepRunStatus defines model for StepRunStatus.

const (
	StepRunStatusASSIGNED          StepRunStatus = "ASSIGNED"
	StepRunStatusCANCELLED         StepRunStatus = "CANCELLED"
	StepRunStatusCANCELLING        StepRunStatus = "CANCELLING"
	StepRunStatusFAILED            StepRunStatus = "FAILED"
	StepRunStatusPENDING           StepRunStatus = "PENDING"
	StepRunStatusPENDINGASSIGNMENT StepRunStatus = "PENDING_ASSIGNMENT"
	StepRunStatusRUNNING           StepRunStatus = "RUNNING"
	StepRunStatusSUCCEEDED         StepRunStatus = "SUCCEEDED"
)

Defines values for StepRunStatus.

type StepRunUpdateCancel200JSONResponse added in v0.19.0

type StepRunUpdateCancel200JSONResponse StepRun

func (StepRunUpdateCancel200JSONResponse) VisitStepRunUpdateCancelResponse added in v0.19.0

func (response StepRunUpdateCancel200JSONResponse) VisitStepRunUpdateCancelResponse(w http.ResponseWriter) error

type StepRunUpdateCancel400JSONResponse added in v0.19.0

type StepRunUpdateCancel400JSONResponse APIErrors

func (StepRunUpdateCancel400JSONResponse) VisitStepRunUpdateCancelResponse added in v0.19.0

func (response StepRunUpdateCancel400JSONResponse) VisitStepRunUpdateCancelResponse(w http.ResponseWriter) error

type StepRunUpdateCancel403JSONResponse added in v0.19.0

type StepRunUpdateCancel403JSONResponse APIErrors

func (StepRunUpdateCancel403JSONResponse) VisitStepRunUpdateCancelResponse added in v0.19.0

func (response StepRunUpdateCancel403JSONResponse) VisitStepRunUpdateCancelResponse(w http.ResponseWriter) error

type StepRunUpdateCancelRequestObject added in v0.19.0

type StepRunUpdateCancelRequestObject struct {
	Tenant  openapi_types.UUID `json:"tenant"`
	StepRun openapi_types.UUID `json:"step-run"`
}

type StepRunUpdateCancelResponseObject added in v0.19.0

type StepRunUpdateCancelResponseObject interface {
	VisitStepRunUpdateCancelResponse(w http.ResponseWriter) error
}

type StepRunUpdateRerun200JSONResponse added in v0.9.1

type StepRunUpdateRerun200JSONResponse StepRun

func (StepRunUpdateRerun200JSONResponse) VisitStepRunUpdateRerunResponse added in v0.9.1

func (response StepRunUpdateRerun200JSONResponse) VisitStepRunUpdateRerunResponse(w http.ResponseWriter) error

type StepRunUpdateRerun400JSONResponse added in v0.9.1

type StepRunUpdateRerun400JSONResponse APIErrors

func (StepRunUpdateRerun400JSONResponse) VisitStepRunUpdateRerunResponse added in v0.9.1

func (response StepRunUpdateRerun400JSONResponse) VisitStepRunUpdateRerunResponse(w http.ResponseWriter) error

type StepRunUpdateRerun403JSONResponse added in v0.9.1

type StepRunUpdateRerun403JSONResponse APIErrors

func (StepRunUpdateRerun403JSONResponse) VisitStepRunUpdateRerunResponse added in v0.9.1

func (response StepRunUpdateRerun403JSONResponse) VisitStepRunUpdateRerunResponse(w http.ResponseWriter) error

type StepRunUpdateRerunJSONRequestBody added in v0.9.1

type StepRunUpdateRerunJSONRequestBody = RerunStepRunRequest

StepRunUpdateRerunJSONRequestBody defines body for StepRunUpdateRerun for application/json ContentType.

type StepRunUpdateRerunRequestObject added in v0.9.1

type StepRunUpdateRerunRequestObject struct {
	Tenant  openapi_types.UUID `json:"tenant"`
	StepRun openapi_types.UUID `json:"step-run"`
	Body    *StepRunUpdateRerunJSONRequestBody
}

type StepRunUpdateRerunResponseObject added in v0.9.1

type StepRunUpdateRerunResponseObject interface {
	VisitStepRunUpdateRerunResponse(w http.ResponseWriter) error
}

type StrictHandlerFunc

type StrictHandlerFunc func(ctx echo.Context, args interface{}) (interface{}, error)

type StrictMiddlewareFunc

type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc

type StrictServerInterface

type StrictServerInterface interface {
	LivenessGet(ctx echo.Context, request LivenessGetRequestObject) (LivenessGetResponseObject, error)

	ReadinessGet(ctx echo.Context, request ReadinessGetRequestObject) (ReadinessGetResponseObject, error)

	AlertEmailGroupDelete(ctx echo.Context, request AlertEmailGroupDeleteRequestObject) (AlertEmailGroupDeleteResponseObject, error)

	AlertEmailGroupUpdate(ctx echo.Context, request AlertEmailGroupUpdateRequestObject) (AlertEmailGroupUpdateResponseObject, error)

	ApiTokenUpdateRevoke(ctx echo.Context, request ApiTokenUpdateRevokeRequestObject) (ApiTokenUpdateRevokeResponseObject, error)

	CloudMetadataGet(ctx echo.Context, request CloudMetadataGetRequestObject) (CloudMetadataGetResponseObject, error)

	EventDataGet(ctx echo.Context, request EventDataGetRequestObject) (EventDataGetResponseObject, error)

	MetadataGet(ctx echo.Context, request MetadataGetRequestObject) (MetadataGetResponseObject, error)

	MetadataListIntegrations(ctx echo.Context, request MetadataListIntegrationsRequestObject) (MetadataListIntegrationsResponseObject, error)

	SlackWebhookDelete(ctx echo.Context, request SlackWebhookDeleteRequestObject) (SlackWebhookDeleteResponseObject, error)

	SnsDelete(ctx echo.Context, request SnsDeleteRequestObject) (SnsDeleteResponseObject, error)

	SnsUpdate(ctx echo.Context, request SnsUpdateRequestObject) (SnsUpdateResponseObject, error)

	StepRunListArchives(ctx echo.Context, request StepRunListArchivesRequestObject) (StepRunListArchivesResponseObject, error)

	StepRunListEvents(ctx echo.Context, request StepRunListEventsRequestObject) (StepRunListEventsResponseObject, error)

	LogLineList(ctx echo.Context, request LogLineListRequestObject) (LogLineListResponseObject, error)

	TenantCreate(ctx echo.Context, request TenantCreateRequestObject) (TenantCreateResponseObject, error)

	TenantUpdate(ctx echo.Context, request TenantUpdateRequestObject) (TenantUpdateResponseObject, error)

	AlertEmailGroupList(ctx echo.Context, request AlertEmailGroupListRequestObject) (AlertEmailGroupListResponseObject, error)

	AlertEmailGroupCreate(ctx echo.Context, request AlertEmailGroupCreateRequestObject) (AlertEmailGroupCreateResponseObject, error)

	TenantAlertingSettingsGet(ctx echo.Context, request TenantAlertingSettingsGetRequestObject) (TenantAlertingSettingsGetResponseObject, error)

	ApiTokenList(ctx echo.Context, request ApiTokenListRequestObject) (ApiTokenListResponseObject, error)

	ApiTokenCreate(ctx echo.Context, request ApiTokenCreateRequestObject) (ApiTokenCreateResponseObject, error)

	EventList(ctx echo.Context, request EventListRequestObject) (EventListResponseObject, error)

	EventCreate(ctx echo.Context, request EventCreateRequestObject) (EventCreateResponseObject, error)

	EventKeyList(ctx echo.Context, request EventKeyListRequestObject) (EventKeyListResponseObject, error)

	EventUpdateReplay(ctx echo.Context, request EventUpdateReplayRequestObject) (EventUpdateReplayResponseObject, error)

	TenantInviteList(ctx echo.Context, request TenantInviteListRequestObject) (TenantInviteListResponseObject, error)

	TenantInviteCreate(ctx echo.Context, request TenantInviteCreateRequestObject) (TenantInviteCreateResponseObject, error)

	TenantInviteDelete(ctx echo.Context, request TenantInviteDeleteRequestObject) (TenantInviteDeleteResponseObject, error)

	TenantInviteUpdate(ctx echo.Context, request TenantInviteUpdateRequestObject) (TenantInviteUpdateResponseObject, error)

	TenantMemberList(ctx echo.Context, request TenantMemberListRequestObject) (TenantMemberListResponseObject, error)

	TenantMemberDelete(ctx echo.Context, request TenantMemberDeleteRequestObject) (TenantMemberDeleteResponseObject, error)

	TenantGetQueueMetrics(ctx echo.Context, request TenantGetQueueMetricsRequestObject) (TenantGetQueueMetricsResponseObject, error)

	TenantResourcePolicyGet(ctx echo.Context, request TenantResourcePolicyGetRequestObject) (TenantResourcePolicyGetResponseObject, error)

	SlackWebhookList(ctx echo.Context, request SlackWebhookListRequestObject) (SlackWebhookListResponseObject, error)

	UserUpdateSlackOauthStart(ctx echo.Context, request UserUpdateSlackOauthStartRequestObject) (UserUpdateSlackOauthStartResponseObject, error)

	SnsList(ctx echo.Context, request SnsListRequestObject) (SnsListResponseObject, error)

	SnsCreate(ctx echo.Context, request SnsCreateRequestObject) (SnsCreateResponseObject, error)

	StepRunGet(ctx echo.Context, request StepRunGetRequestObject) (StepRunGetResponseObject, error)

	StepRunUpdateCancel(ctx echo.Context, request StepRunUpdateCancelRequestObject) (StepRunUpdateCancelResponseObject, error)

	StepRunUpdateRerun(ctx echo.Context, request StepRunUpdateRerunRequestObject) (StepRunUpdateRerunResponseObject, error)

	StepRunGetSchema(ctx echo.Context, request StepRunGetSchemaRequestObject) (StepRunGetSchemaResponseObject, error)

	WebhookList(ctx echo.Context, request WebhookListRequestObject) (WebhookListResponseObject, error)

	WebhookCreate(ctx echo.Context, request WebhookCreateRequestObject) (WebhookCreateResponseObject, error)

	WorkerList(ctx echo.Context, request WorkerListRequestObject) (WorkerListResponseObject, error)

	WorkflowRunUpdateReplay(ctx echo.Context, request WorkflowRunUpdateReplayRequestObject) (WorkflowRunUpdateReplayResponseObject, error)

	WorkflowRunGet(ctx echo.Context, request WorkflowRunGetRequestObject) (WorkflowRunGetResponseObject, error)

	WorkflowList(ctx echo.Context, request WorkflowListRequestObject) (WorkflowListResponseObject, error)

	WorkflowRunCancel(ctx echo.Context, request WorkflowRunCancelRequestObject) (WorkflowRunCancelResponseObject, error)

	WorkflowRunList(ctx echo.Context, request WorkflowRunListRequestObject) (WorkflowRunListResponseObject, error)

	WorkflowRunGetMetrics(ctx echo.Context, request WorkflowRunGetMetricsRequestObject) (WorkflowRunGetMetricsResponseObject, error)

	UserGetCurrent(ctx echo.Context, request UserGetCurrentRequestObject) (UserGetCurrentResponseObject, error)

	UserUpdateGithubOauthCallback(ctx echo.Context, request UserUpdateGithubOauthCallbackRequestObject) (UserUpdateGithubOauthCallbackResponseObject, error)

	UserUpdateGithubOauthStart(ctx echo.Context, request UserUpdateGithubOauthStartRequestObject) (UserUpdateGithubOauthStartResponseObject, error)

	UserUpdateGoogleOauthCallback(ctx echo.Context, request UserUpdateGoogleOauthCallbackRequestObject) (UserUpdateGoogleOauthCallbackResponseObject, error)

	UserUpdateGoogleOauthStart(ctx echo.Context, request UserUpdateGoogleOauthStartRequestObject) (UserUpdateGoogleOauthStartResponseObject, error)

	UserListTenantInvites(ctx echo.Context, request UserListTenantInvitesRequestObject) (UserListTenantInvitesResponseObject, error)

	TenantInviteAccept(ctx echo.Context, request TenantInviteAcceptRequestObject) (TenantInviteAcceptResponseObject, error)

	TenantInviteReject(ctx echo.Context, request TenantInviteRejectRequestObject) (TenantInviteRejectResponseObject, error)

	UserUpdateLogin(ctx echo.Context, request UserUpdateLoginRequestObject) (UserUpdateLoginResponseObject, error)

	UserUpdateLogout(ctx echo.Context, request UserUpdateLogoutRequestObject) (UserUpdateLogoutResponseObject, error)

	TenantMembershipsList(ctx echo.Context, request TenantMembershipsListRequestObject) (TenantMembershipsListResponseObject, error)

	UserUpdatePassword(ctx echo.Context, request UserUpdatePasswordRequestObject) (UserUpdatePasswordResponseObject, error)

	UserCreate(ctx echo.Context, request UserCreateRequestObject) (UserCreateResponseObject, error)

	UserUpdateSlackOauthCallback(ctx echo.Context, request UserUpdateSlackOauthCallbackRequestObject) (UserUpdateSlackOauthCallbackResponseObject, error)

	WebhookDelete(ctx echo.Context, request WebhookDeleteRequestObject) (WebhookDeleteResponseObject, error)

	WorkerGet(ctx echo.Context, request WorkerGetRequestObject) (WorkerGetResponseObject, error)

	WorkerUpdate(ctx echo.Context, request WorkerUpdateRequestObject) (WorkerUpdateResponseObject, error)

	WorkflowRunGetInput(ctx echo.Context, request WorkflowRunGetInputRequestObject) (WorkflowRunGetInputResponseObject, error)

	WorkflowDelete(ctx echo.Context, request WorkflowDeleteRequestObject) (WorkflowDeleteResponseObject, error)

	WorkflowGet(ctx echo.Context, request WorkflowGetRequestObject) (WorkflowGetResponseObject, error)

	WorkflowGetMetrics(ctx echo.Context, request WorkflowGetMetricsRequestObject) (WorkflowGetMetricsResponseObject, error)

	WorkflowRunCreate(ctx echo.Context, request WorkflowRunCreateRequestObject) (WorkflowRunCreateResponseObject, error)

	WorkflowVersionGet(ctx echo.Context, request WorkflowVersionGetRequestObject) (WorkflowVersionGetResponseObject, error)

	WorkflowVersionGetDefinition(ctx echo.Context, request WorkflowVersionGetDefinitionRequestObject) (WorkflowVersionGetDefinitionResponseObject, error)
}

type Tenant

type Tenant struct {
	// AlertMemberEmails Whether to alert tenant members.
	AlertMemberEmails *bool `json:"alertMemberEmails,omitempty"`

	// AnalyticsOptOut Whether the tenant has opted out of analytics.
	AnalyticsOptOut *bool           `json:"analyticsOptOut,omitempty"`
	Metadata        APIResourceMeta `json:"metadata"`

	// Name The name of the tenant.
	Name string `json:"name"`

	// Slug The slug of the tenant.
	Slug string `json:"slug"`
}

Tenant defines model for Tenant.

type TenantAlertEmailGroup added in v0.25.0

type TenantAlertEmailGroup struct {
	// Emails A list of emails for users
	Emails   []string        `json:"emails"`
	Metadata APIResourceMeta `json:"metadata"`
}

TenantAlertEmailGroup defines model for TenantAlertEmailGroup.

type TenantAlertEmailGroupList added in v0.25.0

type TenantAlertEmailGroupList struct {
	Pagination *PaginationResponse      `json:"pagination,omitempty"`
	Rows       *[]TenantAlertEmailGroup `json:"rows,omitempty"`
}

TenantAlertEmailGroupList defines model for TenantAlertEmailGroupList.

type TenantAlertingSettings added in v0.25.0

type TenantAlertingSettings struct {
	// AlertMemberEmails Whether to alert tenant members.
	AlertMemberEmails *bool `json:"alertMemberEmails,omitempty"`

	// EnableExpiringTokenAlerts Whether to enable alerts when tokens are approaching expiration.
	EnableExpiringTokenAlerts *bool `json:"enableExpiringTokenAlerts,omitempty"`

	// EnableTenantResourceLimitAlerts Whether to enable alerts when tenant resources are approaching limits.
	EnableTenantResourceLimitAlerts *bool `json:"enableTenantResourceLimitAlerts,omitempty"`

	// EnableWorkflowRunFailureAlerts Whether to send alerts when workflow runs fail.
	EnableWorkflowRunFailureAlerts *bool `json:"enableWorkflowRunFailureAlerts,omitempty"`

	// LastAlertedAt The last time an alert was sent.
	LastAlertedAt *time.Time `json:"lastAlertedAt,omitempty"`

	// MaxAlertingFrequency The max frequency at which to alert.
	MaxAlertingFrequency string          `json:"maxAlertingFrequency"`
	Metadata             APIResourceMeta `json:"metadata"`
}

TenantAlertingSettings defines model for TenantAlertingSettings.

type TenantAlertingSettingsGet200JSONResponse added in v0.25.0

type TenantAlertingSettingsGet200JSONResponse TenantAlertingSettings

func (TenantAlertingSettingsGet200JSONResponse) VisitTenantAlertingSettingsGetResponse added in v0.25.0

func (response TenantAlertingSettingsGet200JSONResponse) VisitTenantAlertingSettingsGetResponse(w http.ResponseWriter) error

type TenantAlertingSettingsGet400JSONResponse added in v0.25.0

type TenantAlertingSettingsGet400JSONResponse APIErrors

func (TenantAlertingSettingsGet400JSONResponse) VisitTenantAlertingSettingsGetResponse added in v0.25.0

func (response TenantAlertingSettingsGet400JSONResponse) VisitTenantAlertingSettingsGetResponse(w http.ResponseWriter) error

type TenantAlertingSettingsGet403JSONResponse added in v0.25.0

type TenantAlertingSettingsGet403JSONResponse APIError

func (TenantAlertingSettingsGet403JSONResponse) VisitTenantAlertingSettingsGetResponse added in v0.25.0

func (response TenantAlertingSettingsGet403JSONResponse) VisitTenantAlertingSettingsGetResponse(w http.ResponseWriter) error

type TenantAlertingSettingsGetRequestObject added in v0.25.0

type TenantAlertingSettingsGetRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type TenantAlertingSettingsGetResponseObject added in v0.25.0

type TenantAlertingSettingsGetResponseObject interface {
	VisitTenantAlertingSettingsGetResponse(w http.ResponseWriter) error
}

type TenantCreate200JSONResponse

type TenantCreate200JSONResponse Tenant

func (TenantCreate200JSONResponse) VisitTenantCreateResponse

func (response TenantCreate200JSONResponse) VisitTenantCreateResponse(w http.ResponseWriter) error

type TenantCreate400JSONResponse

type TenantCreate400JSONResponse APIErrors

func (TenantCreate400JSONResponse) VisitTenantCreateResponse

func (response TenantCreate400JSONResponse) VisitTenantCreateResponse(w http.ResponseWriter) error

type TenantCreate403JSONResponse

type TenantCreate403JSONResponse APIError

func (TenantCreate403JSONResponse) VisitTenantCreateResponse

func (response TenantCreate403JSONResponse) VisitTenantCreateResponse(w http.ResponseWriter) error

type TenantCreateJSONRequestBody

type TenantCreateJSONRequestBody = CreateTenantRequest

TenantCreateJSONRequestBody defines body for TenantCreate for application/json ContentType.

type TenantCreateRequestObject

type TenantCreateRequestObject struct {
	Body *TenantCreateJSONRequestBody
}

type TenantCreateResponseObject

type TenantCreateResponseObject interface {
	VisitTenantCreateResponse(w http.ResponseWriter) error
}

type TenantGetQueueMetrics200JSONResponse added in v0.33.0

type TenantGetQueueMetrics200JSONResponse TenantQueueMetrics

func (TenantGetQueueMetrics200JSONResponse) VisitTenantGetQueueMetricsResponse added in v0.33.0

func (response TenantGetQueueMetrics200JSONResponse) VisitTenantGetQueueMetricsResponse(w http.ResponseWriter) error

type TenantGetQueueMetrics400JSONResponse added in v0.33.0

type TenantGetQueueMetrics400JSONResponse APIErrors

func (TenantGetQueueMetrics400JSONResponse) VisitTenantGetQueueMetricsResponse added in v0.33.0

func (response TenantGetQueueMetrics400JSONResponse) VisitTenantGetQueueMetricsResponse(w http.ResponseWriter) error

type TenantGetQueueMetrics403JSONResponse added in v0.33.0

type TenantGetQueueMetrics403JSONResponse APIErrors

func (TenantGetQueueMetrics403JSONResponse) VisitTenantGetQueueMetricsResponse added in v0.33.0

func (response TenantGetQueueMetrics403JSONResponse) VisitTenantGetQueueMetricsResponse(w http.ResponseWriter) error

type TenantGetQueueMetrics404JSONResponse added in v0.33.0

type TenantGetQueueMetrics404JSONResponse APIErrors

func (TenantGetQueueMetrics404JSONResponse) VisitTenantGetQueueMetricsResponse added in v0.33.0

func (response TenantGetQueueMetrics404JSONResponse) VisitTenantGetQueueMetricsResponse(w http.ResponseWriter) error

type TenantGetQueueMetricsParams added in v0.33.0

type TenantGetQueueMetricsParams struct {
	// Workflows A list of workflow IDs to filter by
	Workflows *[]WorkflowID `form:"workflows,omitempty" json:"workflows,omitempty"`

	// AdditionalMetadata A list of metadata key value pairs to filter by
	AdditionalMetadata *[]string `form:"additionalMetadata,omitempty" json:"additionalMetadata,omitempty"`
}

TenantGetQueueMetricsParams defines parameters for TenantGetQueueMetrics.

type TenantGetQueueMetricsRequestObject added in v0.33.0

type TenantGetQueueMetricsRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Params TenantGetQueueMetricsParams
}

type TenantGetQueueMetricsResponseObject added in v0.33.0

type TenantGetQueueMetricsResponseObject interface {
	VisitTenantGetQueueMetricsResponse(w http.ResponseWriter) error
}

type TenantInvite

type TenantInvite struct {
	// Email The email of the user to invite.
	Email string `json:"email"`

	// Expires The time that this invite expires.
	Expires  time.Time        `json:"expires"`
	Metadata APIResourceMeta  `json:"metadata"`
	Role     TenantMemberRole `json:"role"`

	// TenantId The tenant id associated with this tenant invite.
	TenantId string `json:"tenantId"`

	// TenantName The tenant name for the tenant.
	TenantName *string `json:"tenantName,omitempty"`
}

TenantInvite defines model for TenantInvite.

type TenantInviteAccept200Response

type TenantInviteAccept200Response struct {
}

func (TenantInviteAccept200Response) VisitTenantInviteAcceptResponse

func (response TenantInviteAccept200Response) VisitTenantInviteAcceptResponse(w http.ResponseWriter) error

type TenantInviteAccept400JSONResponse

type TenantInviteAccept400JSONResponse APIErrors

func (TenantInviteAccept400JSONResponse) VisitTenantInviteAcceptResponse

func (response TenantInviteAccept400JSONResponse) VisitTenantInviteAcceptResponse(w http.ResponseWriter) error

type TenantInviteAccept403JSONResponse

type TenantInviteAccept403JSONResponse APIError

func (TenantInviteAccept403JSONResponse) VisitTenantInviteAcceptResponse

func (response TenantInviteAccept403JSONResponse) VisitTenantInviteAcceptResponse(w http.ResponseWriter) error

type TenantInviteAcceptJSONRequestBody

type TenantInviteAcceptJSONRequestBody = AcceptInviteRequest

TenantInviteAcceptJSONRequestBody defines body for TenantInviteAccept for application/json ContentType.

type TenantInviteAcceptRequestObject

type TenantInviteAcceptRequestObject struct {
	Body *TenantInviteAcceptJSONRequestBody
}

type TenantInviteAcceptResponseObject

type TenantInviteAcceptResponseObject interface {
	VisitTenantInviteAcceptResponse(w http.ResponseWriter) error
}

type TenantInviteCreate201JSONResponse

type TenantInviteCreate201JSONResponse TenantInvite

func (TenantInviteCreate201JSONResponse) VisitTenantInviteCreateResponse

func (response TenantInviteCreate201JSONResponse) VisitTenantInviteCreateResponse(w http.ResponseWriter) error

type TenantInviteCreate400JSONResponse

type TenantInviteCreate400JSONResponse APIErrors

func (TenantInviteCreate400JSONResponse) VisitTenantInviteCreateResponse

func (response TenantInviteCreate400JSONResponse) VisitTenantInviteCreateResponse(w http.ResponseWriter) error

type TenantInviteCreate403JSONResponse

type TenantInviteCreate403JSONResponse APIError

func (TenantInviteCreate403JSONResponse) VisitTenantInviteCreateResponse

func (response TenantInviteCreate403JSONResponse) VisitTenantInviteCreateResponse(w http.ResponseWriter) error

type TenantInviteCreateJSONRequestBody

type TenantInviteCreateJSONRequestBody = CreateTenantInviteRequest

TenantInviteCreateJSONRequestBody defines body for TenantInviteCreate for application/json ContentType.

type TenantInviteCreateRequestObject

type TenantInviteCreateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *TenantInviteCreateJSONRequestBody
}

type TenantInviteCreateResponseObject

type TenantInviteCreateResponseObject interface {
	VisitTenantInviteCreateResponse(w http.ResponseWriter) error
}

type TenantInviteDelete200JSONResponse

type TenantInviteDelete200JSONResponse TenantInvite

func (TenantInviteDelete200JSONResponse) VisitTenantInviteDeleteResponse

func (response TenantInviteDelete200JSONResponse) VisitTenantInviteDeleteResponse(w http.ResponseWriter) error

type TenantInviteDelete400JSONResponse

type TenantInviteDelete400JSONResponse APIErrors

func (TenantInviteDelete400JSONResponse) VisitTenantInviteDeleteResponse

func (response TenantInviteDelete400JSONResponse) VisitTenantInviteDeleteResponse(w http.ResponseWriter) error

type TenantInviteDeleteRequestObject

type TenantInviteDeleteRequestObject struct {
	Tenant       openapi_types.UUID `json:"tenant"`
	TenantInvite openapi_types.UUID `json:"tenant-invite"`
}

type TenantInviteDeleteResponseObject

type TenantInviteDeleteResponseObject interface {
	VisitTenantInviteDeleteResponse(w http.ResponseWriter) error
}

type TenantInviteList

type TenantInviteList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]TenantInvite     `json:"rows,omitempty"`
}

TenantInviteList defines model for TenantInviteList.

type TenantInviteList200JSONResponse

type TenantInviteList200JSONResponse TenantInviteList

func (TenantInviteList200JSONResponse) VisitTenantInviteListResponse

func (response TenantInviteList200JSONResponse) VisitTenantInviteListResponse(w http.ResponseWriter) error

type TenantInviteList400JSONResponse

type TenantInviteList400JSONResponse APIErrors

func (TenantInviteList400JSONResponse) VisitTenantInviteListResponse

func (response TenantInviteList400JSONResponse) VisitTenantInviteListResponse(w http.ResponseWriter) error

type TenantInviteList403JSONResponse

type TenantInviteList403JSONResponse APIError

func (TenantInviteList403JSONResponse) VisitTenantInviteListResponse

func (response TenantInviteList403JSONResponse) VisitTenantInviteListResponse(w http.ResponseWriter) error

type TenantInviteListRequestObject

type TenantInviteListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type TenantInviteListResponseObject

type TenantInviteListResponseObject interface {
	VisitTenantInviteListResponse(w http.ResponseWriter) error
}

type TenantInviteReject200Response

type TenantInviteReject200Response struct {
}

func (TenantInviteReject200Response) VisitTenantInviteRejectResponse

func (response TenantInviteReject200Response) VisitTenantInviteRejectResponse(w http.ResponseWriter) error

type TenantInviteReject400JSONResponse

type TenantInviteReject400JSONResponse APIErrors

func (TenantInviteReject400JSONResponse) VisitTenantInviteRejectResponse

func (response TenantInviteReject400JSONResponse) VisitTenantInviteRejectResponse(w http.ResponseWriter) error

type TenantInviteReject403JSONResponse

type TenantInviteReject403JSONResponse APIError

func (TenantInviteReject403JSONResponse) VisitTenantInviteRejectResponse

func (response TenantInviteReject403JSONResponse) VisitTenantInviteRejectResponse(w http.ResponseWriter) error

type TenantInviteRejectJSONRequestBody

type TenantInviteRejectJSONRequestBody = RejectInviteRequest

TenantInviteRejectJSONRequestBody defines body for TenantInviteReject for application/json ContentType.

type TenantInviteRejectRequestObject

type TenantInviteRejectRequestObject struct {
	Body *TenantInviteRejectJSONRequestBody
}

type TenantInviteRejectResponseObject

type TenantInviteRejectResponseObject interface {
	VisitTenantInviteRejectResponse(w http.ResponseWriter) error
}

type TenantInviteUpdate200JSONResponse

type TenantInviteUpdate200JSONResponse TenantInvite

func (TenantInviteUpdate200JSONResponse) VisitTenantInviteUpdateResponse

func (response TenantInviteUpdate200JSONResponse) VisitTenantInviteUpdateResponse(w http.ResponseWriter) error

type TenantInviteUpdate400JSONResponse

type TenantInviteUpdate400JSONResponse APIErrors

func (TenantInviteUpdate400JSONResponse) VisitTenantInviteUpdateResponse

func (response TenantInviteUpdate400JSONResponse) VisitTenantInviteUpdateResponse(w http.ResponseWriter) error

type TenantInviteUpdateJSONRequestBody

type TenantInviteUpdateJSONRequestBody = UpdateTenantInviteRequest

TenantInviteUpdateJSONRequestBody defines body for TenantInviteUpdate for application/json ContentType.

type TenantInviteUpdateRequestObject

type TenantInviteUpdateRequestObject struct {
	Tenant       openapi_types.UUID `json:"tenant"`
	TenantInvite openapi_types.UUID `json:"tenant-invite"`
	Body         *TenantInviteUpdateJSONRequestBody
}

type TenantInviteUpdateResponseObject

type TenantInviteUpdateResponseObject interface {
	VisitTenantInviteUpdateResponse(w http.ResponseWriter) error
}

type TenantMember

type TenantMember struct {
	Metadata APIResourceMeta  `json:"metadata"`
	Role     TenantMemberRole `json:"role"`
	Tenant   *Tenant          `json:"tenant,omitempty"`
	User     UserTenantPublic `json:"user"`
}

TenantMember defines model for TenantMember.

type TenantMemberDelete204JSONResponse added in v0.28.4

type TenantMemberDelete204JSONResponse TenantMember

func (TenantMemberDelete204JSONResponse) VisitTenantMemberDeleteResponse added in v0.28.4

func (response TenantMemberDelete204JSONResponse) VisitTenantMemberDeleteResponse(w http.ResponseWriter) error

type TenantMemberDelete400JSONResponse added in v0.28.4

type TenantMemberDelete400JSONResponse APIErrors

func (TenantMemberDelete400JSONResponse) VisitTenantMemberDeleteResponse added in v0.28.4

func (response TenantMemberDelete400JSONResponse) VisitTenantMemberDeleteResponse(w http.ResponseWriter) error

type TenantMemberDelete403JSONResponse added in v0.28.4

type TenantMemberDelete403JSONResponse APIErrors

func (TenantMemberDelete403JSONResponse) VisitTenantMemberDeleteResponse added in v0.28.4

func (response TenantMemberDelete403JSONResponse) VisitTenantMemberDeleteResponse(w http.ResponseWriter) error

type TenantMemberDelete404JSONResponse added in v0.28.4

type TenantMemberDelete404JSONResponse APIErrors

func (TenantMemberDelete404JSONResponse) VisitTenantMemberDeleteResponse added in v0.28.4

func (response TenantMemberDelete404JSONResponse) VisitTenantMemberDeleteResponse(w http.ResponseWriter) error

type TenantMemberDeleteRequestObject added in v0.28.4

type TenantMemberDeleteRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Member openapi_types.UUID `json:"member"`
}

type TenantMemberDeleteResponseObject added in v0.28.4

type TenantMemberDeleteResponseObject interface {
	VisitTenantMemberDeleteResponse(w http.ResponseWriter) error
}

type TenantMemberList

type TenantMemberList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]TenantMember     `json:"rows,omitempty"`
}

TenantMemberList defines model for TenantMemberList.

type TenantMemberList200JSONResponse

type TenantMemberList200JSONResponse TenantMemberList

func (TenantMemberList200JSONResponse) VisitTenantMemberListResponse

func (response TenantMemberList200JSONResponse) VisitTenantMemberListResponse(w http.ResponseWriter) error

type TenantMemberList400JSONResponse

type TenantMemberList400JSONResponse APIErrors

func (TenantMemberList400JSONResponse) VisitTenantMemberListResponse

func (response TenantMemberList400JSONResponse) VisitTenantMemberListResponse(w http.ResponseWriter) error

type TenantMemberList403JSONResponse

type TenantMemberList403JSONResponse APIError

func (TenantMemberList403JSONResponse) VisitTenantMemberListResponse

func (response TenantMemberList403JSONResponse) VisitTenantMemberListResponse(w http.ResponseWriter) error

type TenantMemberListRequestObject

type TenantMemberListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type TenantMemberListResponseObject

type TenantMemberListResponseObject interface {
	VisitTenantMemberListResponse(w http.ResponseWriter) error
}

type TenantMemberRole

type TenantMemberRole string

TenantMemberRole defines model for TenantMemberRole.

const (
	ADMIN  TenantMemberRole = "ADMIN"
	MEMBER TenantMemberRole = "MEMBER"
	OWNER  TenantMemberRole = "OWNER"
)

Defines values for TenantMemberRole.

type TenantMembershipsList200JSONResponse

type TenantMembershipsList200JSONResponse UserTenantMembershipsList

func (TenantMembershipsList200JSONResponse) VisitTenantMembershipsListResponse

func (response TenantMembershipsList200JSONResponse) VisitTenantMembershipsListResponse(w http.ResponseWriter) error

type TenantMembershipsList400JSONResponse

type TenantMembershipsList400JSONResponse APIErrors

func (TenantMembershipsList400JSONResponse) VisitTenantMembershipsListResponse

func (response TenantMembershipsList400JSONResponse) VisitTenantMembershipsListResponse(w http.ResponseWriter) error

type TenantMembershipsList403JSONResponse

type TenantMembershipsList403JSONResponse APIErrors

func (TenantMembershipsList403JSONResponse) VisitTenantMembershipsListResponse

func (response TenantMembershipsList403JSONResponse) VisitTenantMembershipsListResponse(w http.ResponseWriter) error

type TenantMembershipsListRequestObject

type TenantMembershipsListRequestObject struct {
}

type TenantMembershipsListResponseObject

type TenantMembershipsListResponseObject interface {
	VisitTenantMembershipsListResponse(w http.ResponseWriter) error
}

type TenantQueueMetrics added in v0.33.0

type TenantQueueMetrics struct {
	Total    *QueueMetrics            `json:"total,omitempty"`
	Workflow *map[string]QueueMetrics `json:"workflow,omitempty"`
}

TenantQueueMetrics defines model for TenantQueueMetrics.

type TenantResource added in v0.31.0

type TenantResource string

TenantResource defines model for TenantResource.

const (
	CRON        TenantResource = "CRON"
	EVENT       TenantResource = "EVENT"
	SCHEDULE    TenantResource = "SCHEDULE"
	WORKER      TenantResource = "WORKER"
	WORKFLOWRUN TenantResource = "WORKFLOW_RUN"
)

Defines values for TenantResource.

type TenantResourceLimit added in v0.31.0

type TenantResourceLimit struct {
	// AlarmValue The alarm value associated with this limit to warn of approaching limit value.
	AlarmValue *int `json:"alarmValue,omitempty"`

	// LastRefill The last time the limit was refilled.
	LastRefill *time.Time `json:"lastRefill,omitempty"`

	// LimitValue The limit associated with this limit.
	LimitValue int             `json:"limitValue"`
	Metadata   APIResourceMeta `json:"metadata"`
	Resource   TenantResource  `json:"resource"`

	// Value The current value associated with this limit.
	Value int `json:"value"`

	// Window The meter window for the limit. (i.e. 1 day, 1 week, 1 month)
	Window *string `json:"window,omitempty"`
}

TenantResourceLimit defines model for TenantResourceLimit.

type TenantResourcePolicy added in v0.31.0

type TenantResourcePolicy struct {
	// Limits A list of resource limits for the tenant.
	Limits []TenantResourceLimit `json:"limits"`
}

TenantResourcePolicy defines model for TenantResourcePolicy.

type TenantResourcePolicyGet200JSONResponse added in v0.31.0

type TenantResourcePolicyGet200JSONResponse TenantResourcePolicy

func (TenantResourcePolicyGet200JSONResponse) VisitTenantResourcePolicyGetResponse added in v0.31.0

func (response TenantResourcePolicyGet200JSONResponse) VisitTenantResourcePolicyGetResponse(w http.ResponseWriter) error

type TenantResourcePolicyGet400JSONResponse added in v0.31.0

type TenantResourcePolicyGet400JSONResponse APIErrors

func (TenantResourcePolicyGet400JSONResponse) VisitTenantResourcePolicyGetResponse added in v0.31.0

func (response TenantResourcePolicyGet400JSONResponse) VisitTenantResourcePolicyGetResponse(w http.ResponseWriter) error

type TenantResourcePolicyGet403JSONResponse added in v0.31.0

type TenantResourcePolicyGet403JSONResponse APIError

func (TenantResourcePolicyGet403JSONResponse) VisitTenantResourcePolicyGetResponse added in v0.31.0

func (response TenantResourcePolicyGet403JSONResponse) VisitTenantResourcePolicyGetResponse(w http.ResponseWriter) error

type TenantResourcePolicyGetRequestObject added in v0.31.0

type TenantResourcePolicyGetRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type TenantResourcePolicyGetResponseObject added in v0.31.0

type TenantResourcePolicyGetResponseObject interface {
	VisitTenantResourcePolicyGetResponse(w http.ResponseWriter) error
}

type TenantUpdate200JSONResponse added in v0.23.0

type TenantUpdate200JSONResponse Tenant

func (TenantUpdate200JSONResponse) VisitTenantUpdateResponse added in v0.23.0

func (response TenantUpdate200JSONResponse) VisitTenantUpdateResponse(w http.ResponseWriter) error

type TenantUpdate400JSONResponse added in v0.23.0

type TenantUpdate400JSONResponse APIErrors

func (TenantUpdate400JSONResponse) VisitTenantUpdateResponse added in v0.23.0

func (response TenantUpdate400JSONResponse) VisitTenantUpdateResponse(w http.ResponseWriter) error

type TenantUpdate403JSONResponse added in v0.23.0

type TenantUpdate403JSONResponse APIError

func (TenantUpdate403JSONResponse) VisitTenantUpdateResponse added in v0.23.0

func (response TenantUpdate403JSONResponse) VisitTenantUpdateResponse(w http.ResponseWriter) error

type TenantUpdateJSONRequestBody added in v0.23.0

type TenantUpdateJSONRequestBody = UpdateTenantRequest

TenantUpdateJSONRequestBody defines body for TenantUpdate for application/json ContentType.

type TenantUpdateRequestObject added in v0.23.0

type TenantUpdateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *TenantUpdateJSONRequestBody
}

type TenantUpdateResponseObject added in v0.23.0

type TenantUpdateResponseObject interface {
	VisitTenantUpdateResponse(w http.ResponseWriter) error
}

type TriggerWorkflowRunRequest added in v0.10.0

type TriggerWorkflowRunRequest struct {
	AdditionalMetadata *map[string]interface{} `json:"additionalMetadata,omitempty"`
	Input              map[string]interface{}  `json:"input"`
}

TriggerWorkflowRunRequest defines model for TriggerWorkflowRunRequest.

type UpdateTenantAlertEmailGroupRequest added in v0.25.0

type UpdateTenantAlertEmailGroupRequest struct {
	// Emails A list of emails for users
	Emails []string `json:"emails" validate:"required,dive,email"`
}

UpdateTenantAlertEmailGroupRequest defines model for UpdateTenantAlertEmailGroupRequest.

type UpdateTenantInviteRequest

type UpdateTenantInviteRequest struct {
	Role TenantMemberRole `json:"role"`
}

UpdateTenantInviteRequest defines model for UpdateTenantInviteRequest.

type UpdateTenantRequest added in v0.23.0

type UpdateTenantRequest struct {
	// AlertMemberEmails Whether to alert tenant members.
	AlertMemberEmails *bool `json:"alertMemberEmails,omitempty"`

	// AnalyticsOptOut Whether the tenant has opted out of analytics.
	AnalyticsOptOut *bool `json:"analyticsOptOut,omitempty"`

	// EnableExpiringTokenAlerts Whether to enable alerts when tokens are approaching expiration.
	EnableExpiringTokenAlerts *bool `json:"enableExpiringTokenAlerts,omitempty"`

	// EnableTenantResourceLimitAlerts Whether to enable alerts when tenant resources are approaching limits.
	EnableTenantResourceLimitAlerts *bool `json:"enableTenantResourceLimitAlerts,omitempty"`

	// EnableWorkflowRunFailureAlerts Whether to send alerts when workflow runs fail.
	EnableWorkflowRunFailureAlerts *bool `json:"enableWorkflowRunFailureAlerts,omitempty"`

	// MaxAlertingFrequency The max frequency at which to alert.
	MaxAlertingFrequency *string `json:"maxAlertingFrequency,omitempty" validate:"omitnil,duration"`

	// Name The name of the tenant.
	Name *string `json:"name,omitempty"`
}

UpdateTenantRequest defines model for UpdateTenantRequest.

type UpdateWorkerRequest added in v0.35.0

type UpdateWorkerRequest struct {
	// IsPaused Whether the worker is paused and cannot accept new runs.
	IsPaused *bool `json:"isPaused,omitempty"`
}

UpdateWorkerRequest defines model for UpdateWorkerRequest.

type User

type User struct {
	// Email The email address of the user.
	Email openapi_types.Email `json:"email"`

	// EmailHash A hash of the user's email address for use with Pylon Support Chat
	EmailHash *string `json:"emailHash,omitempty"`

	// EmailVerified Whether the user has verified their email address.
	EmailVerified bool `json:"emailVerified"`

	// HasPassword Whether the user has a password set.
	HasPassword *bool           `json:"hasPassword,omitempty"`
	Metadata    APIResourceMeta `json:"metadata"`

	// Name The display name of the user.
	Name *string `json:"name,omitempty"`
}

User defines model for User.

type UserChangePasswordRequest added in v0.19.0

type UserChangePasswordRequest struct {
	// NewPassword The new password for the user.
	NewPassword string `json:"newPassword" validate:"required,password"`

	// Password The password of the user.
	Password string `json:"password" validate:"required,password"`
}

UserChangePasswordRequest defines model for UserChangePasswordRequest.

type UserCreate200JSONResponse

type UserCreate200JSONResponse User

func (UserCreate200JSONResponse) VisitUserCreateResponse

func (response UserCreate200JSONResponse) VisitUserCreateResponse(w http.ResponseWriter) error

type UserCreate400JSONResponse

type UserCreate400JSONResponse APIErrors

func (UserCreate400JSONResponse) VisitUserCreateResponse

func (response UserCreate400JSONResponse) VisitUserCreateResponse(w http.ResponseWriter) error

type UserCreate401JSONResponse

type UserCreate401JSONResponse APIErrors

func (UserCreate401JSONResponse) VisitUserCreateResponse

func (response UserCreate401JSONResponse) VisitUserCreateResponse(w http.ResponseWriter) error

type UserCreate405JSONResponse

type UserCreate405JSONResponse APIErrors

func (UserCreate405JSONResponse) VisitUserCreateResponse

func (response UserCreate405JSONResponse) VisitUserCreateResponse(w http.ResponseWriter) error

type UserCreateJSONRequestBody

type UserCreateJSONRequestBody = UserRegisterRequest

UserCreateJSONRequestBody defines body for UserCreate for application/json ContentType.

type UserCreateRequestObject

type UserCreateRequestObject struct {
	Body *UserCreateJSONRequestBody
}

type UserCreateResponseObject

type UserCreateResponseObject interface {
	VisitUserCreateResponse(w http.ResponseWriter) error
}

type UserGetCurrent200JSONResponse

type UserGetCurrent200JSONResponse User

func (UserGetCurrent200JSONResponse) VisitUserGetCurrentResponse

func (response UserGetCurrent200JSONResponse) VisitUserGetCurrentResponse(w http.ResponseWriter) error

type UserGetCurrent400JSONResponse

type UserGetCurrent400JSONResponse APIErrors

func (UserGetCurrent400JSONResponse) VisitUserGetCurrentResponse

func (response UserGetCurrent400JSONResponse) VisitUserGetCurrentResponse(w http.ResponseWriter) error

type UserGetCurrent401JSONResponse

type UserGetCurrent401JSONResponse APIErrors

func (UserGetCurrent401JSONResponse) VisitUserGetCurrentResponse

func (response UserGetCurrent401JSONResponse) VisitUserGetCurrentResponse(w http.ResponseWriter) error

type UserGetCurrent405JSONResponse

type UserGetCurrent405JSONResponse APIErrors

func (UserGetCurrent405JSONResponse) VisitUserGetCurrentResponse

func (response UserGetCurrent405JSONResponse) VisitUserGetCurrentResponse(w http.ResponseWriter) error

type UserGetCurrentRequestObject

type UserGetCurrentRequestObject struct {
}

type UserGetCurrentResponseObject

type UserGetCurrentResponseObject interface {
	VisitUserGetCurrentResponse(w http.ResponseWriter) error
}

type UserListTenantInvites200JSONResponse

type UserListTenantInvites200JSONResponse TenantInviteList

func (UserListTenantInvites200JSONResponse) VisitUserListTenantInvitesResponse

func (response UserListTenantInvites200JSONResponse) VisitUserListTenantInvitesResponse(w http.ResponseWriter) error

type UserListTenantInvites400JSONResponse

type UserListTenantInvites400JSONResponse APIErrors

func (UserListTenantInvites400JSONResponse) VisitUserListTenantInvitesResponse

func (response UserListTenantInvites400JSONResponse) VisitUserListTenantInvitesResponse(w http.ResponseWriter) error

type UserListTenantInvites403JSONResponse

type UserListTenantInvites403JSONResponse APIErrors

func (UserListTenantInvites403JSONResponse) VisitUserListTenantInvitesResponse

func (response UserListTenantInvites403JSONResponse) VisitUserListTenantInvitesResponse(w http.ResponseWriter) error

type UserListTenantInvitesRequestObject

type UserListTenantInvitesRequestObject struct {
}

type UserListTenantInvitesResponseObject

type UserListTenantInvitesResponseObject interface {
	VisitUserListTenantInvitesResponse(w http.ResponseWriter) error
}

type UserLoginRequest

type UserLoginRequest struct {
	// Email The email address of the user.
	Email openapi_types.Email `json:"email" validate:"required,email"`

	// Password The password of the user.
	Password string `json:"password" validate:"required,password"`
}

UserLoginRequest defines model for UserLoginRequest.

type UserRegisterRequest

type UserRegisterRequest struct {
	// Email The email address of the user.
	Email openapi_types.Email `json:"email" validate:"required,email"`

	// Name The name of the user.
	Name string `json:"name"`

	// Password The password of the user.
	Password string `json:"password" validate:"required,password"`
}

UserRegisterRequest defines model for UserRegisterRequest.

type UserTenantMembershipsList

type UserTenantMembershipsList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]TenantMember     `json:"rows,omitempty"`
}

UserTenantMembershipsList defines model for UserTenantMembershipsList.

type UserTenantPublic

type UserTenantPublic struct {
	// Email The email address of the user.
	Email openapi_types.Email `json:"email"`

	// Name The display name of the user.
	Name *string `json:"name,omitempty"`
}

UserTenantPublic defines model for UserTenantPublic.

type UserUpdateGithubOauthCallback302Response added in v0.11.0

type UserUpdateGithubOauthCallback302Response struct {
	Headers UserUpdateGithubOauthCallback302ResponseHeaders
}

func (UserUpdateGithubOauthCallback302Response) VisitUserUpdateGithubOauthCallbackResponse added in v0.11.0

func (response UserUpdateGithubOauthCallback302Response) VisitUserUpdateGithubOauthCallbackResponse(w http.ResponseWriter) error

type UserUpdateGithubOauthCallback302ResponseHeaders added in v0.11.0

type UserUpdateGithubOauthCallback302ResponseHeaders struct {
	Location string
}

type UserUpdateGithubOauthCallbackRequestObject added in v0.11.0

type UserUpdateGithubOauthCallbackRequestObject struct {
}

type UserUpdateGithubOauthCallbackResponseObject added in v0.11.0

type UserUpdateGithubOauthCallbackResponseObject interface {
	VisitUserUpdateGithubOauthCallbackResponse(w http.ResponseWriter) error
}

type UserUpdateGithubOauthStart302Response added in v0.11.0

type UserUpdateGithubOauthStart302Response struct {
	Headers UserUpdateGithubOauthStart302ResponseHeaders
}

func (UserUpdateGithubOauthStart302Response) VisitUserUpdateGithubOauthStartResponse added in v0.11.0

func (response UserUpdateGithubOauthStart302Response) VisitUserUpdateGithubOauthStartResponse(w http.ResponseWriter) error

type UserUpdateGithubOauthStart302ResponseHeaders added in v0.11.0

type UserUpdateGithubOauthStart302ResponseHeaders struct {
	Location string
}

type UserUpdateGithubOauthStartRequestObject added in v0.11.0

type UserUpdateGithubOauthStartRequestObject struct {
}

type UserUpdateGithubOauthStartResponseObject added in v0.11.0

type UserUpdateGithubOauthStartResponseObject interface {
	VisitUserUpdateGithubOauthStartResponse(w http.ResponseWriter) error
}

type UserUpdateGoogleOauthCallback302Response added in v0.11.0

type UserUpdateGoogleOauthCallback302Response struct {
	Headers UserUpdateGoogleOauthCallback302ResponseHeaders
}

func (UserUpdateGoogleOauthCallback302Response) VisitUserUpdateGoogleOauthCallbackResponse added in v0.11.0

func (response UserUpdateGoogleOauthCallback302Response) VisitUserUpdateGoogleOauthCallbackResponse(w http.ResponseWriter) error

type UserUpdateGoogleOauthCallback302ResponseHeaders added in v0.11.0

type UserUpdateGoogleOauthCallback302ResponseHeaders struct {
	Location string
}

type UserUpdateGoogleOauthCallbackRequestObject added in v0.11.0

type UserUpdateGoogleOauthCallbackRequestObject struct {
}

type UserUpdateGoogleOauthCallbackResponseObject added in v0.11.0

type UserUpdateGoogleOauthCallbackResponseObject interface {
	VisitUserUpdateGoogleOauthCallbackResponse(w http.ResponseWriter) error
}

type UserUpdateGoogleOauthStart302Response added in v0.11.0

type UserUpdateGoogleOauthStart302Response struct {
	Headers UserUpdateGoogleOauthStart302ResponseHeaders
}

func (UserUpdateGoogleOauthStart302Response) VisitUserUpdateGoogleOauthStartResponse added in v0.11.0

func (response UserUpdateGoogleOauthStart302Response) VisitUserUpdateGoogleOauthStartResponse(w http.ResponseWriter) error

type UserUpdateGoogleOauthStart302ResponseHeaders added in v0.11.0

type UserUpdateGoogleOauthStart302ResponseHeaders struct {
	Location string
}

type UserUpdateGoogleOauthStartRequestObject added in v0.11.0

type UserUpdateGoogleOauthStartRequestObject struct {
}

type UserUpdateGoogleOauthStartResponseObject added in v0.11.0

type UserUpdateGoogleOauthStartResponseObject interface {
	VisitUserUpdateGoogleOauthStartResponse(w http.ResponseWriter) error
}

type UserUpdateLogin200JSONResponse

type UserUpdateLogin200JSONResponse User

func (UserUpdateLogin200JSONResponse) VisitUserUpdateLoginResponse

func (response UserUpdateLogin200JSONResponse) VisitUserUpdateLoginResponse(w http.ResponseWriter) error

type UserUpdateLogin400JSONResponse

type UserUpdateLogin400JSONResponse APIErrors

func (UserUpdateLogin400JSONResponse) VisitUserUpdateLoginResponse

func (response UserUpdateLogin400JSONResponse) VisitUserUpdateLoginResponse(w http.ResponseWriter) error

type UserUpdateLogin401JSONResponse

type UserUpdateLogin401JSONResponse APIErrors

func (UserUpdateLogin401JSONResponse) VisitUserUpdateLoginResponse

func (response UserUpdateLogin401JSONResponse) VisitUserUpdateLoginResponse(w http.ResponseWriter) error

type UserUpdateLogin405JSONResponse

type UserUpdateLogin405JSONResponse APIErrors

func (UserUpdateLogin405JSONResponse) VisitUserUpdateLoginResponse

func (response UserUpdateLogin405JSONResponse) VisitUserUpdateLoginResponse(w http.ResponseWriter) error

type UserUpdateLoginJSONRequestBody

type UserUpdateLoginJSONRequestBody = UserLoginRequest

UserUpdateLoginJSONRequestBody defines body for UserUpdateLogin for application/json ContentType.

type UserUpdateLoginRequestObject

type UserUpdateLoginRequestObject struct {
	Body *UserUpdateLoginJSONRequestBody
}

type UserUpdateLoginResponseObject

type UserUpdateLoginResponseObject interface {
	VisitUserUpdateLoginResponse(w http.ResponseWriter) error
}

type UserUpdateLogout200JSONResponse

type UserUpdateLogout200JSONResponse User

func (UserUpdateLogout200JSONResponse) VisitUserUpdateLogoutResponse

func (response UserUpdateLogout200JSONResponse) VisitUserUpdateLogoutResponse(w http.ResponseWriter) error

type UserUpdateLogout400JSONResponse

type UserUpdateLogout400JSONResponse APIErrors

func (UserUpdateLogout400JSONResponse) VisitUserUpdateLogoutResponse

func (response UserUpdateLogout400JSONResponse) VisitUserUpdateLogoutResponse(w http.ResponseWriter) error

type UserUpdateLogout401JSONResponse

type UserUpdateLogout401JSONResponse APIErrors

func (UserUpdateLogout401JSONResponse) VisitUserUpdateLogoutResponse

func (response UserUpdateLogout401JSONResponse) VisitUserUpdateLogoutResponse(w http.ResponseWriter) error

type UserUpdateLogout405JSONResponse

type UserUpdateLogout405JSONResponse APIErrors

func (UserUpdateLogout405JSONResponse) VisitUserUpdateLogoutResponse

func (response UserUpdateLogout405JSONResponse) VisitUserUpdateLogoutResponse(w http.ResponseWriter) error

type UserUpdateLogoutRequestObject

type UserUpdateLogoutRequestObject struct {
}

type UserUpdateLogoutResponseObject

type UserUpdateLogoutResponseObject interface {
	VisitUserUpdateLogoutResponse(w http.ResponseWriter) error
}

type UserUpdatePassword200JSONResponse added in v0.19.0

type UserUpdatePassword200JSONResponse User

func (UserUpdatePassword200JSONResponse) VisitUserUpdatePasswordResponse added in v0.19.0

func (response UserUpdatePassword200JSONResponse) VisitUserUpdatePasswordResponse(w http.ResponseWriter) error

type UserUpdatePassword400JSONResponse added in v0.19.0

type UserUpdatePassword400JSONResponse APIErrors

func (UserUpdatePassword400JSONResponse) VisitUserUpdatePasswordResponse added in v0.19.0

func (response UserUpdatePassword400JSONResponse) VisitUserUpdatePasswordResponse(w http.ResponseWriter) error

type UserUpdatePassword401JSONResponse added in v0.19.0

type UserUpdatePassword401JSONResponse APIErrors

func (UserUpdatePassword401JSONResponse) VisitUserUpdatePasswordResponse added in v0.19.0

func (response UserUpdatePassword401JSONResponse) VisitUserUpdatePasswordResponse(w http.ResponseWriter) error

type UserUpdatePassword405JSONResponse added in v0.19.0

type UserUpdatePassword405JSONResponse APIErrors

func (UserUpdatePassword405JSONResponse) VisitUserUpdatePasswordResponse added in v0.19.0

func (response UserUpdatePassword405JSONResponse) VisitUserUpdatePasswordResponse(w http.ResponseWriter) error

type UserUpdatePasswordJSONRequestBody added in v0.19.0

type UserUpdatePasswordJSONRequestBody = UserChangePasswordRequest

UserUpdatePasswordJSONRequestBody defines body for UserUpdatePassword for application/json ContentType.

type UserUpdatePasswordRequestObject added in v0.19.0

type UserUpdatePasswordRequestObject struct {
	Body *UserUpdatePasswordJSONRequestBody
}

type UserUpdatePasswordResponseObject added in v0.19.0

type UserUpdatePasswordResponseObject interface {
	VisitUserUpdatePasswordResponse(w http.ResponseWriter) error
}

type UserUpdateSlackOauthCallback302Response added in v0.25.0

type UserUpdateSlackOauthCallback302Response struct {
	Headers UserUpdateSlackOauthCallback302ResponseHeaders
}

func (UserUpdateSlackOauthCallback302Response) VisitUserUpdateSlackOauthCallbackResponse added in v0.25.0

func (response UserUpdateSlackOauthCallback302Response) VisitUserUpdateSlackOauthCallbackResponse(w http.ResponseWriter) error

type UserUpdateSlackOauthCallback302ResponseHeaders added in v0.25.0

type UserUpdateSlackOauthCallback302ResponseHeaders struct {
	Location string
}

type UserUpdateSlackOauthCallbackRequestObject added in v0.25.0

type UserUpdateSlackOauthCallbackRequestObject struct {
}

type UserUpdateSlackOauthCallbackResponseObject added in v0.25.0

type UserUpdateSlackOauthCallbackResponseObject interface {
	VisitUserUpdateSlackOauthCallbackResponse(w http.ResponseWriter) error
}

type UserUpdateSlackOauthStart302Response added in v0.25.0

type UserUpdateSlackOauthStart302Response struct {
	Headers UserUpdateSlackOauthStart302ResponseHeaders
}

func (UserUpdateSlackOauthStart302Response) VisitUserUpdateSlackOauthStartResponse added in v0.25.0

func (response UserUpdateSlackOauthStart302Response) VisitUserUpdateSlackOauthStartResponse(w http.ResponseWriter) error

type UserUpdateSlackOauthStart302ResponseHeaders added in v0.25.0

type UserUpdateSlackOauthStart302ResponseHeaders struct {
	Location string
}

type UserUpdateSlackOauthStartRequestObject added in v0.25.0

type UserUpdateSlackOauthStartRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type UserUpdateSlackOauthStartResponseObject added in v0.25.0

type UserUpdateSlackOauthStartResponseObject interface {
	VisitUserUpdateSlackOauthStartResponse(w http.ResponseWriter) error
}

type WebhookCreate200JSONResponse added in v0.34.0

type WebhookCreate200JSONResponse WebhookWorkerCreated

func (WebhookCreate200JSONResponse) VisitWebhookCreateResponse added in v0.34.0

func (response WebhookCreate200JSONResponse) VisitWebhookCreateResponse(w http.ResponseWriter) error

type WebhookCreate400JSONResponse added in v0.34.0

type WebhookCreate400JSONResponse APIErrors

func (WebhookCreate400JSONResponse) VisitWebhookCreateResponse added in v0.34.0

func (response WebhookCreate400JSONResponse) VisitWebhookCreateResponse(w http.ResponseWriter) error

type WebhookCreate401JSONResponse added in v0.34.0

type WebhookCreate401JSONResponse APIErrors

func (WebhookCreate401JSONResponse) VisitWebhookCreateResponse added in v0.34.0

func (response WebhookCreate401JSONResponse) VisitWebhookCreateResponse(w http.ResponseWriter) error

type WebhookCreate405JSONResponse added in v0.34.0

type WebhookCreate405JSONResponse APIErrors

func (WebhookCreate405JSONResponse) VisitWebhookCreateResponse added in v0.34.0

func (response WebhookCreate405JSONResponse) VisitWebhookCreateResponse(w http.ResponseWriter) error

type WebhookCreateJSONRequestBody added in v0.34.0

type WebhookCreateJSONRequestBody = WebhookWorkerCreateRequest

WebhookCreateJSONRequestBody defines body for WebhookCreate for application/json ContentType.

type WebhookCreateRequestObject added in v0.34.0

type WebhookCreateRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *WebhookCreateJSONRequestBody
}

type WebhookCreateResponseObject added in v0.34.0

type WebhookCreateResponseObject interface {
	VisitWebhookCreateResponse(w http.ResponseWriter) error
}

type WebhookDelete200Response added in v0.34.0

type WebhookDelete200Response struct {
}

func (WebhookDelete200Response) VisitWebhookDeleteResponse added in v0.34.0

func (response WebhookDelete200Response) VisitWebhookDeleteResponse(w http.ResponseWriter) error

type WebhookDelete400JSONResponse added in v0.34.0

type WebhookDelete400JSONResponse APIErrors

func (WebhookDelete400JSONResponse) VisitWebhookDeleteResponse added in v0.34.0

func (response WebhookDelete400JSONResponse) VisitWebhookDeleteResponse(w http.ResponseWriter) error

type WebhookDelete401JSONResponse added in v0.34.0

type WebhookDelete401JSONResponse APIErrors

func (WebhookDelete401JSONResponse) VisitWebhookDeleteResponse added in v0.34.0

func (response WebhookDelete401JSONResponse) VisitWebhookDeleteResponse(w http.ResponseWriter) error

type WebhookDelete405JSONResponse added in v0.34.0

type WebhookDelete405JSONResponse APIErrors

func (WebhookDelete405JSONResponse) VisitWebhookDeleteResponse added in v0.34.0

func (response WebhookDelete405JSONResponse) VisitWebhookDeleteResponse(w http.ResponseWriter) error

type WebhookDeleteRequestObject added in v0.34.0

type WebhookDeleteRequestObject struct {
	Webhook openapi_types.UUID `json:"webhook"`
}

type WebhookDeleteResponseObject added in v0.34.0

type WebhookDeleteResponseObject interface {
	VisitWebhookDeleteResponse(w http.ResponseWriter) error
}

type WebhookList200JSONResponse added in v0.34.0

type WebhookList200JSONResponse WebhookWorkerListResponse

func (WebhookList200JSONResponse) VisitWebhookListResponse added in v0.34.0

func (response WebhookList200JSONResponse) VisitWebhookListResponse(w http.ResponseWriter) error

type WebhookList400JSONResponse added in v0.34.0

type WebhookList400JSONResponse APIErrors

func (WebhookList400JSONResponse) VisitWebhookListResponse added in v0.34.0

func (response WebhookList400JSONResponse) VisitWebhookListResponse(w http.ResponseWriter) error

type WebhookList401JSONResponse added in v0.34.0

type WebhookList401JSONResponse APIErrors

func (WebhookList401JSONResponse) VisitWebhookListResponse added in v0.34.0

func (response WebhookList401JSONResponse) VisitWebhookListResponse(w http.ResponseWriter) error

type WebhookList405JSONResponse added in v0.34.0

type WebhookList405JSONResponse APIErrors

func (WebhookList405JSONResponse) VisitWebhookListResponse added in v0.34.0

func (response WebhookList405JSONResponse) VisitWebhookListResponse(w http.ResponseWriter) error

type WebhookListRequestObject added in v0.34.0

type WebhookListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type WebhookListResponseObject added in v0.34.0

type WebhookListResponseObject interface {
	VisitWebhookListResponse(w http.ResponseWriter) error
}

type WebhookWorker added in v0.34.0

type WebhookWorker struct {
	Metadata APIResourceMeta `json:"metadata"`

	// Name The name of the webhook worker.
	Name string `json:"name"`

	// Url The webhook url.
	Url string `json:"url"`
}

WebhookWorker defines model for WebhookWorker.

type WebhookWorkerCreateRequest added in v0.34.0

type WebhookWorkerCreateRequest struct {
	// Name The name of the webhook worker.
	Name string `json:"name"`

	// Secret The secret key for validation. If not provided, a random secret will be generated.
	Secret *string `json:"secret,omitempty"`

	// Url The webhook url.
	Url string `json:"url"`
}

WebhookWorkerCreateRequest defines model for WebhookWorkerCreateRequest.

type WebhookWorkerCreated added in v0.34.0

type WebhookWorkerCreated struct {
	Metadata APIResourceMeta `json:"metadata"`

	// Name The name of the webhook worker.
	Name string `json:"name"`

	// Secret The secret key for validation.
	Secret string `json:"secret"`

	// Url The webhook url.
	Url string `json:"url"`
}

WebhookWorkerCreated defines model for WebhookWorkerCreated.

type WebhookWorkerListResponse added in v0.34.0

type WebhookWorkerListResponse struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]WebhookWorker    `json:"rows,omitempty"`
}

WebhookWorkerListResponse defines model for WebhookWorkerListResponse.

type Worker

type Worker struct {
	// Actions The actions this worker can perform.
	Actions *[]string `json:"actions,omitempty"`

	// AvailableRuns The number of runs this worker can execute concurrently.
	AvailableRuns *int `json:"availableRuns,omitempty"`

	// DispatcherId the id of the assigned dispatcher, in UUID format
	DispatcherId *openapi_types.UUID `json:"dispatcherId,omitempty"`

	// Labels The current label state of the worker.
	Labels *[]WorkerLabel `json:"labels,omitempty"`

	// LastHeartbeatAt The time this worker last sent a heartbeat.
	LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"`

	// LastListenerEstablished The time this worker last sent a heartbeat.
	LastListenerEstablished *time.Time `json:"lastListenerEstablished,omitempty"`

	// MaxRuns The maximum number of runs this worker can execute concurrently.
	MaxRuns  *int            `json:"maxRuns,omitempty"`
	Metadata APIResourceMeta `json:"metadata"`

	// Name The name of the worker.
	Name string `json:"name"`

	// RecentStepRuns The recent step runs for the worker.
	RecentStepRuns *[]RecentStepRuns `json:"recentStepRuns,omitempty"`

	// Slots The semaphore slot state for the worker.
	Slots *[]SemaphoreSlots `json:"slots,omitempty"`

	// Status The status of the worker.
	Status *WorkerStatus `json:"status,omitempty"`
	Type   WorkerType    `json:"type"`

	// WebhookUrl The webhook URL for the worker.
	WebhookUrl *string `json:"webhookUrl,omitempty"`
}

Worker defines model for Worker.

type WorkerGet200JSONResponse

type WorkerGet200JSONResponse Worker

func (WorkerGet200JSONResponse) VisitWorkerGetResponse

func (response WorkerGet200JSONResponse) VisitWorkerGetResponse(w http.ResponseWriter) error

type WorkerGet400JSONResponse

type WorkerGet400JSONResponse APIErrors

func (WorkerGet400JSONResponse) VisitWorkerGetResponse

func (response WorkerGet400JSONResponse) VisitWorkerGetResponse(w http.ResponseWriter) error

type WorkerGet403JSONResponse

type WorkerGet403JSONResponse APIErrors

func (WorkerGet403JSONResponse) VisitWorkerGetResponse

func (response WorkerGet403JSONResponse) VisitWorkerGetResponse(w http.ResponseWriter) error

type WorkerGetParams added in v0.42.0

type WorkerGetParams struct {
	// RecentFailed Filter recent by failed
	RecentFailed *bool `form:"recentFailed,omitempty" json:"recentFailed,omitempty"`
}

WorkerGetParams defines parameters for WorkerGet.

type WorkerGetRequestObject

type WorkerGetRequestObject struct {
	Worker openapi_types.UUID `json:"worker"`
	Params WorkerGetParams
}

type WorkerGetResponseObject

type WorkerGetResponseObject interface {
	VisitWorkerGetResponse(w http.ResponseWriter) error
}

type WorkerLabel added in v0.40.0

type WorkerLabel struct {
	// Key The key of the label.
	Key      string          `json:"key"`
	Metadata APIResourceMeta `json:"metadata"`

	// Value The value of the label.
	Value *string `json:"value,omitempty"`
}

WorkerLabel defines model for WorkerLabel.

type WorkerList

type WorkerList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]Worker           `json:"rows,omitempty"`
}

WorkerList defines model for WorkerList.

type WorkerList200JSONResponse

type WorkerList200JSONResponse WorkerList

func (WorkerList200JSONResponse) VisitWorkerListResponse

func (response WorkerList200JSONResponse) VisitWorkerListResponse(w http.ResponseWriter) error

type WorkerList400JSONResponse

type WorkerList400JSONResponse APIErrors

func (WorkerList400JSONResponse) VisitWorkerListResponse

func (response WorkerList400JSONResponse) VisitWorkerListResponse(w http.ResponseWriter) error

type WorkerList403JSONResponse

type WorkerList403JSONResponse APIErrors

func (WorkerList403JSONResponse) VisitWorkerListResponse

func (response WorkerList403JSONResponse) VisitWorkerListResponse(w http.ResponseWriter) error

type WorkerListRequestObject

type WorkerListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type WorkerListResponseObject

type WorkerListResponseObject interface {
	VisitWorkerListResponse(w http.ResponseWriter) error
}

type WorkerStatus added in v0.22.0

type WorkerStatus string

WorkerStatus The status of the worker.

const (
	ACTIVE   WorkerStatus = "ACTIVE"
	INACTIVE WorkerStatus = "INACTIVE"
	PAUSED   WorkerStatus = "PAUSED"
)

Defines values for WorkerStatus.

type WorkerType added in v0.42.10

type WorkerType string

WorkerType defines model for Worker.Type.

const (
	MANAGED    WorkerType = "MANAGED"
	SELFHOSTED WorkerType = "SELFHOSTED"
	WEBHOOK    WorkerType = "WEBHOOK"
)

Defines values for WorkerType.

type WorkerUpdate200JSONResponse added in v0.35.0

type WorkerUpdate200JSONResponse Worker

func (WorkerUpdate200JSONResponse) VisitWorkerUpdateResponse added in v0.35.0

func (response WorkerUpdate200JSONResponse) VisitWorkerUpdateResponse(w http.ResponseWriter) error

type WorkerUpdate400JSONResponse added in v0.35.0

type WorkerUpdate400JSONResponse APIErrors

func (WorkerUpdate400JSONResponse) VisitWorkerUpdateResponse added in v0.35.0

func (response WorkerUpdate400JSONResponse) VisitWorkerUpdateResponse(w http.ResponseWriter) error

type WorkerUpdate403JSONResponse added in v0.35.0

type WorkerUpdate403JSONResponse APIErrors

func (WorkerUpdate403JSONResponse) VisitWorkerUpdateResponse added in v0.35.0

func (response WorkerUpdate403JSONResponse) VisitWorkerUpdateResponse(w http.ResponseWriter) error

type WorkerUpdateJSONRequestBody added in v0.35.0

type WorkerUpdateJSONRequestBody = UpdateWorkerRequest

WorkerUpdateJSONRequestBody defines body for WorkerUpdate for application/json ContentType.

type WorkerUpdateRequestObject added in v0.35.0

type WorkerUpdateRequestObject struct {
	Worker openapi_types.UUID `json:"worker"`
	Body   *WorkerUpdateJSONRequestBody
}

type WorkerUpdateResponseObject added in v0.35.0

type WorkerUpdateResponseObject interface {
	VisitWorkerUpdateResponse(w http.ResponseWriter) error
}

type Workflow

type Workflow struct {
	// Description The description of the workflow.
	Description *string `json:"description,omitempty"`

	// Jobs The jobs of the workflow.
	Jobs     *[]Job          `json:"jobs,omitempty"`
	Metadata APIResourceMeta `json:"metadata"`

	// Name The name of the workflow.
	Name string `json:"name"`

	// Tags The tags of the workflow.
	Tags     *[]WorkflowTag         `json:"tags,omitempty"`
	Versions *[]WorkflowVersionMeta `json:"versions,omitempty"`
}

Workflow defines model for Workflow.

type WorkflowConcurrency added in v0.15.1

type WorkflowConcurrency struct {
	// GetConcurrencyGroup An action which gets the concurrency group for the WorkflowRun.
	GetConcurrencyGroup string `json:"getConcurrencyGroup"`

	// LimitStrategy The strategy to use when the concurrency limit is reached.
	LimitStrategy WorkflowConcurrencyLimitStrategy `json:"limitStrategy"`

	// MaxRuns The maximum number of concurrent workflow runs.
	MaxRuns int32 `json:"maxRuns"`
}

WorkflowConcurrency defines model for WorkflowConcurrency.

type WorkflowConcurrencyLimitStrategy added in v0.15.1

type WorkflowConcurrencyLimitStrategy string

WorkflowConcurrencyLimitStrategy The strategy to use when the concurrency limit is reached.

const (
	CANCELINPROGRESS WorkflowConcurrencyLimitStrategy = "CANCEL_IN_PROGRESS"
	DROPNEWEST       WorkflowConcurrencyLimitStrategy = "DROP_NEWEST"
	GROUPROUNDROBIN  WorkflowConcurrencyLimitStrategy = "GROUP_ROUND_ROBIN"
	QUEUENEWEST      WorkflowConcurrencyLimitStrategy = "QUEUE_NEWEST"
)

Defines values for WorkflowConcurrencyLimitStrategy.

type WorkflowDelete204Response added in v0.15.0

type WorkflowDelete204Response struct {
}

func (WorkflowDelete204Response) VisitWorkflowDeleteResponse added in v0.15.0

func (response WorkflowDelete204Response) VisitWorkflowDeleteResponse(w http.ResponseWriter) error

type WorkflowDelete400JSONResponse added in v0.15.0

type WorkflowDelete400JSONResponse APIErrors

func (WorkflowDelete400JSONResponse) VisitWorkflowDeleteResponse added in v0.15.0

func (response WorkflowDelete400JSONResponse) VisitWorkflowDeleteResponse(w http.ResponseWriter) error

type WorkflowDelete403JSONResponse added in v0.15.0

type WorkflowDelete403JSONResponse APIErrors

func (WorkflowDelete403JSONResponse) VisitWorkflowDeleteResponse added in v0.15.0

func (response WorkflowDelete403JSONResponse) VisitWorkflowDeleteResponse(w http.ResponseWriter) error

type WorkflowDelete404JSONResponse added in v0.15.0

type WorkflowDelete404JSONResponse APIErrors

func (WorkflowDelete404JSONResponse) VisitWorkflowDeleteResponse added in v0.15.0

func (response WorkflowDelete404JSONResponse) VisitWorkflowDeleteResponse(w http.ResponseWriter) error

type WorkflowDeleteRequestObject added in v0.15.0

type WorkflowDeleteRequestObject struct {
	Workflow openapi_types.UUID `json:"workflow"`
}

type WorkflowDeleteResponseObject added in v0.15.0

type WorkflowDeleteResponseObject interface {
	VisitWorkflowDeleteResponse(w http.ResponseWriter) error
}

type WorkflowGet200JSONResponse

type WorkflowGet200JSONResponse Workflow

func (WorkflowGet200JSONResponse) VisitWorkflowGetResponse

func (response WorkflowGet200JSONResponse) VisitWorkflowGetResponse(w http.ResponseWriter) error

type WorkflowGet400JSONResponse

type WorkflowGet400JSONResponse APIErrors

func (WorkflowGet400JSONResponse) VisitWorkflowGetResponse

func (response WorkflowGet400JSONResponse) VisitWorkflowGetResponse(w http.ResponseWriter) error

type WorkflowGet403JSONResponse

type WorkflowGet403JSONResponse APIErrors

func (WorkflowGet403JSONResponse) VisitWorkflowGetResponse

func (response WorkflowGet403JSONResponse) VisitWorkflowGetResponse(w http.ResponseWriter) error

type WorkflowGetMetrics200JSONResponse added in v0.19.3

type WorkflowGetMetrics200JSONResponse WorkflowMetrics

func (WorkflowGetMetrics200JSONResponse) VisitWorkflowGetMetricsResponse added in v0.19.3

func (response WorkflowGetMetrics200JSONResponse) VisitWorkflowGetMetricsResponse(w http.ResponseWriter) error

type WorkflowGetMetrics400JSONResponse added in v0.19.3

type WorkflowGetMetrics400JSONResponse APIErrors

func (WorkflowGetMetrics400JSONResponse) VisitWorkflowGetMetricsResponse added in v0.19.3

func (response WorkflowGetMetrics400JSONResponse) VisitWorkflowGetMetricsResponse(w http.ResponseWriter) error

type WorkflowGetMetrics403JSONResponse added in v0.19.3

type WorkflowGetMetrics403JSONResponse APIErrors

func (WorkflowGetMetrics403JSONResponse) VisitWorkflowGetMetricsResponse added in v0.19.3

func (response WorkflowGetMetrics403JSONResponse) VisitWorkflowGetMetricsResponse(w http.ResponseWriter) error

type WorkflowGetMetrics404JSONResponse added in v0.19.3

type WorkflowGetMetrics404JSONResponse APIErrors

func (WorkflowGetMetrics404JSONResponse) VisitWorkflowGetMetricsResponse added in v0.19.3

func (response WorkflowGetMetrics404JSONResponse) VisitWorkflowGetMetricsResponse(w http.ResponseWriter) error

type WorkflowGetMetricsParams added in v0.19.3

type WorkflowGetMetricsParams struct {
	// Status A status of workflow run statuses to filter by
	Status *WorkflowRunStatus `form:"status,omitempty" json:"status,omitempty"`

	// GroupKey A group key to filter metrics by
	GroupKey *string `form:"groupKey,omitempty" json:"groupKey,omitempty"`
}

WorkflowGetMetricsParams defines parameters for WorkflowGetMetrics.

type WorkflowGetMetricsRequestObject added in v0.19.3

type WorkflowGetMetricsRequestObject struct {
	Workflow openapi_types.UUID `json:"workflow"`
	Params   WorkflowGetMetricsParams
}

type WorkflowGetMetricsResponseObject added in v0.19.3

type WorkflowGetMetricsResponseObject interface {
	VisitWorkflowGetMetricsResponse(w http.ResponseWriter) error
}

type WorkflowGetRequestObject

type WorkflowGetRequestObject struct {
	Workflow openapi_types.UUID `json:"workflow"`
}

type WorkflowGetResponseObject

type WorkflowGetResponseObject interface {
	VisitWorkflowGetResponse(w http.ResponseWriter) error
}

type WorkflowID

type WorkflowID = string

WorkflowID A workflow ID.

type WorkflowKind added in v0.41.0

type WorkflowKind string

WorkflowKind defines model for WorkflowKind.

const (
	DAG      WorkflowKind = "DAG"
	DURABLE  WorkflowKind = "DURABLE"
	FUNCTION WorkflowKind = "FUNCTION"
)

Defines values for WorkflowKind.

type WorkflowKindList added in v0.41.0

type WorkflowKindList = []WorkflowKind

WorkflowKindList defines model for WorkflowKindList.

type WorkflowList

type WorkflowList struct {
	Metadata   *APIResourceMeta    `json:"metadata,omitempty"`
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]Workflow         `json:"rows,omitempty"`
}

WorkflowList defines model for WorkflowList.

type WorkflowList200JSONResponse

type WorkflowList200JSONResponse WorkflowList

func (WorkflowList200JSONResponse) VisitWorkflowListResponse

func (response WorkflowList200JSONResponse) VisitWorkflowListResponse(w http.ResponseWriter) error

type WorkflowList400JSONResponse

type WorkflowList400JSONResponse APIErrors

func (WorkflowList400JSONResponse) VisitWorkflowListResponse

func (response WorkflowList400JSONResponse) VisitWorkflowListResponse(w http.ResponseWriter) error

type WorkflowList403JSONResponse

type WorkflowList403JSONResponse APIErrors

func (WorkflowList403JSONResponse) VisitWorkflowListResponse

func (response WorkflowList403JSONResponse) VisitWorkflowListResponse(w http.ResponseWriter) error

type WorkflowListRequestObject

type WorkflowListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
}

type WorkflowListResponseObject

type WorkflowListResponseObject interface {
	VisitWorkflowListResponse(w http.ResponseWriter) error
}

type WorkflowMetrics added in v0.19.3

type WorkflowMetrics struct {
	// GroupKeyCount The total number of concurrency group keys.
	GroupKeyCount *int `json:"groupKeyCount,omitempty"`

	// GroupKeyRunsCount The number of runs for a specific group key (passed via filter)
	GroupKeyRunsCount *int `json:"groupKeyRunsCount,omitempty"`
}

WorkflowMetrics defines model for WorkflowMetrics.

type WorkflowRun

type WorkflowRun struct {
	AdditionalMetadata *map[string]interface{} `json:"additionalMetadata,omitempty"`
	DisplayName        *string                 `json:"displayName,omitempty"`
	Duration           *int                    `json:"duration,omitempty"`
	Error              *string                 `json:"error,omitempty"`
	FinishedAt         *time.Time              `json:"finishedAt,omitempty"`
	Input              *map[string]interface{} `json:"input,omitempty"`
	JobRuns            *[]JobRun               `json:"jobRuns,omitempty"`
	Metadata           APIResourceMeta         `json:"metadata"`
	ParentId           *openapi_types.UUID     `json:"parentId,omitempty"`
	ParentStepRunId    *openapi_types.UUID     `json:"parentStepRunId,omitempty"`
	StartedAt          *time.Time              `json:"startedAt,omitempty"`
	Status             WorkflowRunStatus       `json:"status"`
	TenantId           string                  `json:"tenantId"`
	TriggeredBy        WorkflowRunTriggeredBy  `json:"triggeredBy"`
	WorkflowVersion    *WorkflowVersion        `json:"workflowVersion,omitempty"`
	WorkflowVersionId  string                  `json:"workflowVersionId"`
}

WorkflowRun defines model for WorkflowRun.

type WorkflowRunCancel200JSONResponse added in v0.27.0

type WorkflowRunCancel200JSONResponse struct {
	WorkflowRunIds *[]openapi_types.UUID `json:"workflowRunIds,omitempty"`
}

func (WorkflowRunCancel200JSONResponse) VisitWorkflowRunCancelResponse added in v0.27.0

func (response WorkflowRunCancel200JSONResponse) VisitWorkflowRunCancelResponse(w http.ResponseWriter) error

type WorkflowRunCancel400JSONResponse added in v0.27.0

type WorkflowRunCancel400JSONResponse APIErrors

func (WorkflowRunCancel400JSONResponse) VisitWorkflowRunCancelResponse added in v0.27.0

func (response WorkflowRunCancel400JSONResponse) VisitWorkflowRunCancelResponse(w http.ResponseWriter) error

type WorkflowRunCancel403JSONResponse added in v0.27.0

type WorkflowRunCancel403JSONResponse APIErrors

func (WorkflowRunCancel403JSONResponse) VisitWorkflowRunCancelResponse added in v0.27.0

func (response WorkflowRunCancel403JSONResponse) VisitWorkflowRunCancelResponse(w http.ResponseWriter) error

type WorkflowRunCancelJSONRequestBody added in v0.27.0

type WorkflowRunCancelJSONRequestBody = WorkflowRunsCancelRequest

WorkflowRunCancelJSONRequestBody defines body for WorkflowRunCancel for application/json ContentType.

type WorkflowRunCancelRequestObject added in v0.27.0

type WorkflowRunCancelRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *WorkflowRunCancelJSONRequestBody
}

type WorkflowRunCancelResponseObject added in v0.27.0

type WorkflowRunCancelResponseObject interface {
	VisitWorkflowRunCancelResponse(w http.ResponseWriter) error
}

type WorkflowRunCreate200JSONResponse added in v0.10.0

type WorkflowRunCreate200JSONResponse WorkflowRun

func (WorkflowRunCreate200JSONResponse) VisitWorkflowRunCreateResponse added in v0.10.0

func (response WorkflowRunCreate200JSONResponse) VisitWorkflowRunCreateResponse(w http.ResponseWriter) error

type WorkflowRunCreate400JSONResponse added in v0.10.0

type WorkflowRunCreate400JSONResponse APIErrors

func (WorkflowRunCreate400JSONResponse) VisitWorkflowRunCreateResponse added in v0.10.0

func (response WorkflowRunCreate400JSONResponse) VisitWorkflowRunCreateResponse(w http.ResponseWriter) error

type WorkflowRunCreate403JSONResponse added in v0.10.0

type WorkflowRunCreate403JSONResponse APIErrors

func (WorkflowRunCreate403JSONResponse) VisitWorkflowRunCreateResponse added in v0.10.0

func (response WorkflowRunCreate403JSONResponse) VisitWorkflowRunCreateResponse(w http.ResponseWriter) error

type WorkflowRunCreate404JSONResponse added in v0.10.0

type WorkflowRunCreate404JSONResponse APIErrors

func (WorkflowRunCreate404JSONResponse) VisitWorkflowRunCreateResponse added in v0.10.0

func (response WorkflowRunCreate404JSONResponse) VisitWorkflowRunCreateResponse(w http.ResponseWriter) error

type WorkflowRunCreate429JSONResponse added in v0.31.0

type WorkflowRunCreate429JSONResponse APIErrors

func (WorkflowRunCreate429JSONResponse) VisitWorkflowRunCreateResponse added in v0.31.0

func (response WorkflowRunCreate429JSONResponse) VisitWorkflowRunCreateResponse(w http.ResponseWriter) error

type WorkflowRunCreateJSONRequestBody added in v0.10.0

type WorkflowRunCreateJSONRequestBody = TriggerWorkflowRunRequest

WorkflowRunCreateJSONRequestBody defines body for WorkflowRunCreate for application/json ContentType.

type WorkflowRunCreateParams added in v0.10.0

type WorkflowRunCreateParams struct {
	// Version The workflow version. If not supplied, the latest version is fetched.
	Version *openapi_types.UUID `form:"version,omitempty" json:"version,omitempty"`
}

WorkflowRunCreateParams defines parameters for WorkflowRunCreate.

type WorkflowRunCreateRequestObject added in v0.10.0

type WorkflowRunCreateRequestObject struct {
	Workflow openapi_types.UUID `json:"workflow"`
	Params   WorkflowRunCreateParams
	Body     *WorkflowRunCreateJSONRequestBody
}

type WorkflowRunCreateResponseObject added in v0.10.0

type WorkflowRunCreateResponseObject interface {
	VisitWorkflowRunCreateResponse(w http.ResponseWriter) error
}

type WorkflowRunGet200JSONResponse

type WorkflowRunGet200JSONResponse WorkflowRun

func (WorkflowRunGet200JSONResponse) VisitWorkflowRunGetResponse

func (response WorkflowRunGet200JSONResponse) VisitWorkflowRunGetResponse(w http.ResponseWriter) error

type WorkflowRunGet400JSONResponse

type WorkflowRunGet400JSONResponse APIErrors

func (WorkflowRunGet400JSONResponse) VisitWorkflowRunGetResponse

func (response WorkflowRunGet400JSONResponse) VisitWorkflowRunGetResponse(w http.ResponseWriter) error

type WorkflowRunGet403JSONResponse

type WorkflowRunGet403JSONResponse APIErrors

func (WorkflowRunGet403JSONResponse) VisitWorkflowRunGetResponse

func (response WorkflowRunGet403JSONResponse) VisitWorkflowRunGetResponse(w http.ResponseWriter) error

type WorkflowRunGetInput200JSONResponse added in v0.40.0

type WorkflowRunGetInput200JSONResponse map[string]interface{}

func (WorkflowRunGetInput200JSONResponse) VisitWorkflowRunGetInputResponse added in v0.40.0

func (response WorkflowRunGetInput200JSONResponse) VisitWorkflowRunGetInputResponse(w http.ResponseWriter) error

type WorkflowRunGetInput400JSONResponse added in v0.40.0

type WorkflowRunGetInput400JSONResponse APIErrors

func (WorkflowRunGetInput400JSONResponse) VisitWorkflowRunGetInputResponse added in v0.40.0

func (response WorkflowRunGetInput400JSONResponse) VisitWorkflowRunGetInputResponse(w http.ResponseWriter) error

type WorkflowRunGetInput403JSONResponse added in v0.40.0

type WorkflowRunGetInput403JSONResponse APIErrors

func (WorkflowRunGetInput403JSONResponse) VisitWorkflowRunGetInputResponse added in v0.40.0

func (response WorkflowRunGetInput403JSONResponse) VisitWorkflowRunGetInputResponse(w http.ResponseWriter) error

type WorkflowRunGetInput404JSONResponse added in v0.40.0

type WorkflowRunGetInput404JSONResponse APIErrors

func (WorkflowRunGetInput404JSONResponse) VisitWorkflowRunGetInputResponse added in v0.40.0

func (response WorkflowRunGetInput404JSONResponse) VisitWorkflowRunGetInputResponse(w http.ResponseWriter) error

type WorkflowRunGetInputRequestObject added in v0.40.0

type WorkflowRunGetInputRequestObject struct {
	WorkflowRun openapi_types.UUID `json:"workflow-run"`
}

type WorkflowRunGetInputResponseObject added in v0.40.0

type WorkflowRunGetInputResponseObject interface {
	VisitWorkflowRunGetInputResponse(w http.ResponseWriter) error
}

type WorkflowRunGetMetrics200JSONResponse added in v0.22.0

type WorkflowRunGetMetrics200JSONResponse WorkflowRunsMetrics

func (WorkflowRunGetMetrics200JSONResponse) VisitWorkflowRunGetMetricsResponse added in v0.22.0

func (response WorkflowRunGetMetrics200JSONResponse) VisitWorkflowRunGetMetricsResponse(w http.ResponseWriter) error

type WorkflowRunGetMetrics400JSONResponse added in v0.22.0

type WorkflowRunGetMetrics400JSONResponse APIErrors

func (WorkflowRunGetMetrics400JSONResponse) VisitWorkflowRunGetMetricsResponse added in v0.22.0

func (response WorkflowRunGetMetrics400JSONResponse) VisitWorkflowRunGetMetricsResponse(w http.ResponseWriter) error

type WorkflowRunGetMetrics403JSONResponse added in v0.22.0

type WorkflowRunGetMetrics403JSONResponse APIErrors

func (WorkflowRunGetMetrics403JSONResponse) VisitWorkflowRunGetMetricsResponse added in v0.22.0

func (response WorkflowRunGetMetrics403JSONResponse) VisitWorkflowRunGetMetricsResponse(w http.ResponseWriter) error

type WorkflowRunGetMetricsParams added in v0.22.0

type WorkflowRunGetMetricsParams struct {
	// EventId The event id to get runs for.
	EventId *openapi_types.UUID `form:"eventId,omitempty" json:"eventId,omitempty"`

	// WorkflowId The workflow id to get runs for.
	WorkflowId *openapi_types.UUID `form:"workflowId,omitempty" json:"workflowId,omitempty"`

	// ParentWorkflowRunId The parent workflow run id
	ParentWorkflowRunId *openapi_types.UUID `form:"parentWorkflowRunId,omitempty" json:"parentWorkflowRunId,omitempty"`

	// ParentStepRunId The parent step run id
	ParentStepRunId *openapi_types.UUID `form:"parentStepRunId,omitempty" json:"parentStepRunId,omitempty"`

	// AdditionalMetadata A list of metadata key value pairs to filter by
	AdditionalMetadata *[]string `form:"additionalMetadata,omitempty" json:"additionalMetadata,omitempty"`

	// CreatedAfter The time after the workflow run was created
	CreatedAfter *time.Time `form:"createdAfter,omitempty" json:"createdAfter,omitempty"`

	// CreatedBefore The time before the workflow run was created
	CreatedBefore *time.Time `form:"createdBefore,omitempty" json:"createdBefore,omitempty"`
}

WorkflowRunGetMetricsParams defines parameters for WorkflowRunGetMetrics.

type WorkflowRunGetMetricsRequestObject added in v0.22.0

type WorkflowRunGetMetricsRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Params WorkflowRunGetMetricsParams
}

type WorkflowRunGetMetricsResponseObject added in v0.22.0

type WorkflowRunGetMetricsResponseObject interface {
	VisitWorkflowRunGetMetricsResponse(w http.ResponseWriter) error
}

type WorkflowRunGetRequestObject

type WorkflowRunGetRequestObject struct {
	Tenant      openapi_types.UUID `json:"tenant"`
	WorkflowRun openapi_types.UUID `json:"workflow-run"`
}

type WorkflowRunGetResponseObject

type WorkflowRunGetResponseObject interface {
	VisitWorkflowRunGetResponse(w http.ResponseWriter) error
}

type WorkflowRunList

type WorkflowRunList struct {
	Pagination *PaginationResponse `json:"pagination,omitempty"`
	Rows       *[]WorkflowRun      `json:"rows,omitempty"`
}

WorkflowRunList defines model for WorkflowRunList.

type WorkflowRunList200JSONResponse

type WorkflowRunList200JSONResponse WorkflowRunList

func (WorkflowRunList200JSONResponse) VisitWorkflowRunListResponse

func (response WorkflowRunList200JSONResponse) VisitWorkflowRunListResponse(w http.ResponseWriter) error

type WorkflowRunList400JSONResponse

type WorkflowRunList400JSONResponse APIErrors

func (WorkflowRunList400JSONResponse) VisitWorkflowRunListResponse

func (response WorkflowRunList400JSONResponse) VisitWorkflowRunListResponse(w http.ResponseWriter) error

type WorkflowRunList403JSONResponse

type WorkflowRunList403JSONResponse APIErrors

func (WorkflowRunList403JSONResponse) VisitWorkflowRunListResponse

func (response WorkflowRunList403JSONResponse) VisitWorkflowRunListResponse(w http.ResponseWriter) error

type WorkflowRunListParams

type WorkflowRunListParams struct {
	// Offset The number to skip
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Limit The number to limit by
	Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`

	// EventId The event id to get runs for.
	EventId *openapi_types.UUID `form:"eventId,omitempty" json:"eventId,omitempty"`

	// WorkflowId The workflow id to get runs for.
	WorkflowId *openapi_types.UUID `form:"workflowId,omitempty" json:"workflowId,omitempty"`

	// ParentWorkflowRunId The parent workflow run id
	ParentWorkflowRunId *openapi_types.UUID `form:"parentWorkflowRunId,omitempty" json:"parentWorkflowRunId,omitempty"`

	// ParentStepRunId The parent step run id
	ParentStepRunId *openapi_types.UUID `form:"parentStepRunId,omitempty" json:"parentStepRunId,omitempty"`

	// Statuses A list of workflow run statuses to filter by
	Statuses *WorkflowRunStatusList `form:"statuses,omitempty" json:"statuses,omitempty"`

	// Kinds A list of workflow kinds to filter by
	Kinds *WorkflowKindList `form:"kinds,omitempty" json:"kinds,omitempty"`

	// AdditionalMetadata A list of metadata key value pairs to filter by
	AdditionalMetadata *[]string `form:"additionalMetadata,omitempty" json:"additionalMetadata,omitempty"`

	// CreatedAfter The time after the workflow run was created
	CreatedAfter *time.Time `form:"createdAfter,omitempty" json:"createdAfter,omitempty"`

	// CreatedBefore The time before the workflow run was created
	CreatedBefore *time.Time `form:"createdBefore,omitempty" json:"createdBefore,omitempty"`

	// OrderByField The order by field
	OrderByField *WorkflowRunOrderByField `form:"orderByField,omitempty" json:"orderByField,omitempty"`

	// OrderByDirection The order by direction
	OrderByDirection *WorkflowRunOrderByDirection `form:"orderByDirection,omitempty" json:"orderByDirection,omitempty"`
}

WorkflowRunListParams defines parameters for WorkflowRunList.

type WorkflowRunListRequestObject

type WorkflowRunListRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Params WorkflowRunListParams
}

type WorkflowRunListResponseObject

type WorkflowRunListResponseObject interface {
	VisitWorkflowRunListResponse(w http.ResponseWriter) error
}

type WorkflowRunOrderByDirection added in v0.37.0

type WorkflowRunOrderByDirection string

WorkflowRunOrderByDirection defines model for WorkflowRunOrderByDirection.

const (
	ASC  WorkflowRunOrderByDirection = "ASC"
	DESC WorkflowRunOrderByDirection = "DESC"
)

Defines values for WorkflowRunOrderByDirection.

type WorkflowRunOrderByField added in v0.37.0

type WorkflowRunOrderByField string

WorkflowRunOrderByField defines model for WorkflowRunOrderByField.

const (
	CreatedAt  WorkflowRunOrderByField = "createdAt"
	Duration   WorkflowRunOrderByField = "duration"
	FinishedAt WorkflowRunOrderByField = "finishedAt"
	StartedAt  WorkflowRunOrderByField = "startedAt"
)

Defines values for WorkflowRunOrderByField.

type WorkflowRunStatus

type WorkflowRunStatus string

WorkflowRunStatus defines model for WorkflowRunStatus.

const (
	WorkflowRunStatusCANCELLED WorkflowRunStatus = "CANCELLED"
	WorkflowRunStatusFAILED    WorkflowRunStatus = "FAILED"
	WorkflowRunStatusPENDING   WorkflowRunStatus = "PENDING"
	WorkflowRunStatusQUEUED    WorkflowRunStatus = "QUEUED"
	WorkflowRunStatusRUNNING   WorkflowRunStatus = "RUNNING"
	WorkflowRunStatusSUCCEEDED WorkflowRunStatus = "SUCCEEDED"
)

Defines values for WorkflowRunStatus.

type WorkflowRunStatusList added in v0.15.0

type WorkflowRunStatusList = []WorkflowRunStatus

WorkflowRunStatusList defines model for WorkflowRunStatusList.

type WorkflowRunTriggeredBy

type WorkflowRunTriggeredBy struct {
	CronParentId *string         `json:"cronParentId,omitempty"`
	CronSchedule *string         `json:"cronSchedule,omitempty"`
	Event        *Event          `json:"event,omitempty"`
	EventId      *string         `json:"eventId,omitempty"`
	Metadata     APIResourceMeta `json:"metadata"`
	ParentId     string          `json:"parentId"`
}

WorkflowRunTriggeredBy defines model for WorkflowRunTriggeredBy.

type WorkflowRunUpdateReplay200JSONResponse added in v0.39.0

type WorkflowRunUpdateReplay200JSONResponse ReplayWorkflowRunsResponse

func (WorkflowRunUpdateReplay200JSONResponse) VisitWorkflowRunUpdateReplayResponse added in v0.39.0

func (response WorkflowRunUpdateReplay200JSONResponse) VisitWorkflowRunUpdateReplayResponse(w http.ResponseWriter) error

type WorkflowRunUpdateReplay400JSONResponse added in v0.39.0

type WorkflowRunUpdateReplay400JSONResponse APIErrors

func (WorkflowRunUpdateReplay400JSONResponse) VisitWorkflowRunUpdateReplayResponse added in v0.39.0

func (response WorkflowRunUpdateReplay400JSONResponse) VisitWorkflowRunUpdateReplayResponse(w http.ResponseWriter) error

type WorkflowRunUpdateReplay403JSONResponse added in v0.39.0

type WorkflowRunUpdateReplay403JSONResponse APIErrors

func (WorkflowRunUpdateReplay403JSONResponse) VisitWorkflowRunUpdateReplayResponse added in v0.39.0

func (response WorkflowRunUpdateReplay403JSONResponse) VisitWorkflowRunUpdateReplayResponse(w http.ResponseWriter) error

type WorkflowRunUpdateReplay429JSONResponse added in v0.39.0

type WorkflowRunUpdateReplay429JSONResponse APIErrors

func (WorkflowRunUpdateReplay429JSONResponse) VisitWorkflowRunUpdateReplayResponse added in v0.39.0

func (response WorkflowRunUpdateReplay429JSONResponse) VisitWorkflowRunUpdateReplayResponse(w http.ResponseWriter) error

type WorkflowRunUpdateReplayJSONRequestBody added in v0.39.0

type WorkflowRunUpdateReplayJSONRequestBody = ReplayWorkflowRunsRequest

WorkflowRunUpdateReplayJSONRequestBody defines body for WorkflowRunUpdateReplay for application/json ContentType.

type WorkflowRunUpdateReplayRequestObject added in v0.39.0

type WorkflowRunUpdateReplayRequestObject struct {
	Tenant openapi_types.UUID `json:"tenant"`
	Body   *WorkflowRunUpdateReplayJSONRequestBody
}

type WorkflowRunUpdateReplayResponseObject added in v0.39.0

type WorkflowRunUpdateReplayResponseObject interface {
	VisitWorkflowRunUpdateReplayResponse(w http.ResponseWriter) error
}

type WorkflowRunsCancelRequest added in v0.27.0

type WorkflowRunsCancelRequest struct {
	WorkflowRunIds []openapi_types.UUID `json:"workflowRunIds"`
}

WorkflowRunsCancelRequest defines model for WorkflowRunsCancelRequest.

type WorkflowRunsMetrics added in v0.22.0

type WorkflowRunsMetrics struct {
	Counts *WorkflowRunsMetricsCounts `json:"counts,omitempty"`
}

WorkflowRunsMetrics defines model for WorkflowRunsMetrics.

type WorkflowRunsMetricsCounts added in v0.22.0

type WorkflowRunsMetricsCounts struct {
	FAILED    *int `json:"FAILED,omitempty"`
	PENDING   *int `json:"PENDING,omitempty"`
	QUEUED    *int `json:"QUEUED,omitempty"`
	RUNNING   *int `json:"RUNNING,omitempty"`
	SUCCEEDED *int `json:"SUCCEEDED,omitempty"`
}

WorkflowRunsMetricsCounts defines model for WorkflowRunsMetricsCounts.

type WorkflowTag

type WorkflowTag struct {
	// Color The description of the workflow.
	Color string `json:"color"`

	// Name The name of the workflow.
	Name string `json:"name"`
}

WorkflowTag defines model for WorkflowTag.

type WorkflowTriggerCronRef

type WorkflowTriggerCronRef struct {
	Cron     *string `json:"cron,omitempty"`
	ParentId *string `json:"parent_id,omitempty"`
}

WorkflowTriggerCronRef defines model for WorkflowTriggerCronRef.

type WorkflowTriggerEventRef

type WorkflowTriggerEventRef struct {
	EventKey *string `json:"event_key,omitempty"`
	ParentId *string `json:"parent_id,omitempty"`
}

WorkflowTriggerEventRef defines model for WorkflowTriggerEventRef.

type WorkflowTriggers

type WorkflowTriggers struct {
	Crons             *[]WorkflowTriggerCronRef  `json:"crons,omitempty"`
	Events            *[]WorkflowTriggerEventRef `json:"events,omitempty"`
	Metadata          *APIResourceMeta           `json:"metadata,omitempty"`
	TenantId          *string                    `json:"tenant_id,omitempty"`
	WorkflowVersionId *string                    `json:"workflow_version_id,omitempty"`
}

WorkflowTriggers defines model for WorkflowTriggers.

type WorkflowVersion

type WorkflowVersion struct {
	Concurrency     *WorkflowConcurrency `json:"concurrency,omitempty"`
	Jobs            *[]Job               `json:"jobs,omitempty"`
	Metadata        APIResourceMeta      `json:"metadata"`
	Order           int32                `json:"order"`
	ScheduleTimeout *string              `json:"scheduleTimeout,omitempty"`
	Triggers        *WorkflowTriggers    `json:"triggers,omitempty"`

	// Version The version of the workflow.
	Version    string    `json:"version"`
	Workflow   *Workflow `json:"workflow,omitempty"`
	WorkflowId string    `json:"workflowId"`
}

WorkflowVersion defines model for WorkflowVersion.

type WorkflowVersionDefinition

type WorkflowVersionDefinition struct {
	// RawDefinition The raw YAML definition of the workflow.
	RawDefinition string `json:"rawDefinition"`
}

WorkflowVersionDefinition defines model for WorkflowVersionDefinition.

type WorkflowVersionGet200JSONResponse

type WorkflowVersionGet200JSONResponse WorkflowVersion

func (WorkflowVersionGet200JSONResponse) VisitWorkflowVersionGetResponse

func (response WorkflowVersionGet200JSONResponse) VisitWorkflowVersionGetResponse(w http.ResponseWriter) error

type WorkflowVersionGet400JSONResponse

type WorkflowVersionGet400JSONResponse APIErrors

func (WorkflowVersionGet400JSONResponse) VisitWorkflowVersionGetResponse

func (response WorkflowVersionGet400JSONResponse) VisitWorkflowVersionGetResponse(w http.ResponseWriter) error

type WorkflowVersionGet403JSONResponse

type WorkflowVersionGet403JSONResponse APIErrors

func (WorkflowVersionGet403JSONResponse) VisitWorkflowVersionGetResponse

func (response WorkflowVersionGet403JSONResponse) VisitWorkflowVersionGetResponse(w http.ResponseWriter) error

type WorkflowVersionGet404JSONResponse

type WorkflowVersionGet404JSONResponse APIErrors

func (WorkflowVersionGet404JSONResponse) VisitWorkflowVersionGetResponse

func (response WorkflowVersionGet404JSONResponse) VisitWorkflowVersionGetResponse(w http.ResponseWriter) error

type WorkflowVersionGetDefinition200JSONResponse

type WorkflowVersionGetDefinition200JSONResponse WorkflowVersionDefinition

func (WorkflowVersionGetDefinition200JSONResponse) VisitWorkflowVersionGetDefinitionResponse

func (response WorkflowVersionGetDefinition200JSONResponse) VisitWorkflowVersionGetDefinitionResponse(w http.ResponseWriter) error

type WorkflowVersionGetDefinition400JSONResponse

type WorkflowVersionGetDefinition400JSONResponse APIErrors

func (WorkflowVersionGetDefinition400JSONResponse) VisitWorkflowVersionGetDefinitionResponse

func (response WorkflowVersionGetDefinition400JSONResponse) VisitWorkflowVersionGetDefinitionResponse(w http.ResponseWriter) error

type WorkflowVersionGetDefinition403JSONResponse

type WorkflowVersionGetDefinition403JSONResponse APIErrors

func (WorkflowVersionGetDefinition403JSONResponse) VisitWorkflowVersionGetDefinitionResponse

func (response WorkflowVersionGetDefinition403JSONResponse) VisitWorkflowVersionGetDefinitionResponse(w http.ResponseWriter) error

type WorkflowVersionGetDefinition404JSONResponse

type WorkflowVersionGetDefinition404JSONResponse APIErrors

func (WorkflowVersionGetDefinition404JSONResponse) VisitWorkflowVersionGetDefinitionResponse

func (response WorkflowVersionGetDefinition404JSONResponse) VisitWorkflowVersionGetDefinitionResponse(w http.ResponseWriter) error

type WorkflowVersionGetDefinitionParams

type WorkflowVersionGetDefinitionParams struct {
	// Version The workflow version. If not supplied, the latest version is fetched.
	Version *openapi_types.UUID `form:"version,omitempty" json:"version,omitempty"`
}

WorkflowVersionGetDefinitionParams defines parameters for WorkflowVersionGetDefinition.

type WorkflowVersionGetDefinitionRequestObject

type WorkflowVersionGetDefinitionRequestObject struct {
	Workflow openapi_types.UUID `json:"workflow"`
	Params   WorkflowVersionGetDefinitionParams
}

type WorkflowVersionGetDefinitionResponseObject

type WorkflowVersionGetDefinitionResponseObject interface {
	VisitWorkflowVersionGetDefinitionResponse(w http.ResponseWriter) error
}

type WorkflowVersionGetParams

type WorkflowVersionGetParams struct {
	// Version The workflow version. If not supplied, the latest version is fetched.
	Version *openapi_types.UUID `form:"version,omitempty" json:"version,omitempty"`
}

WorkflowVersionGetParams defines parameters for WorkflowVersionGet.

type WorkflowVersionGetRequestObject

type WorkflowVersionGetRequestObject struct {
	Workflow openapi_types.UUID `json:"workflow"`
	Params   WorkflowVersionGetParams
}

type WorkflowVersionGetResponseObject

type WorkflowVersionGetResponseObject interface {
	VisitWorkflowVersionGetResponse(w http.ResponseWriter) error
}

type WorkflowVersionMeta

type WorkflowVersionMeta struct {
	Metadata APIResourceMeta `json:"metadata"`
	Order    int32           `json:"order"`

	// Version The version of the workflow.
	Version    string    `json:"version"`
	Workflow   *Workflow `json:"workflow,omitempty"`
	WorkflowId string    `json:"workflowId"`
}

WorkflowVersionMeta defines model for WorkflowVersionMeta.

Jump to

Keyboard shortcuts

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