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
- func GetSwagger() (swagger *openapi3.T, err error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type APIError
- type APIErrors
- type APIMeta
- type APIMetaAuth
- type APIResourceMeta
- type APIToken
- type AcceptInviteRequest
- type ApiTokenCreate200JSONResponse
- type ApiTokenCreate400JSONResponse
- type ApiTokenCreate403JSONResponse
- type ApiTokenCreateJSONRequestBody
- type ApiTokenCreateRequestObject
- type ApiTokenCreateResponseObject
- type ApiTokenList200JSONResponse
- type ApiTokenList400JSONResponse
- type ApiTokenList403JSONResponse
- type ApiTokenListRequestObject
- type ApiTokenListResponseObject
- type ApiTokenUpdateRevoke204Response
- type ApiTokenUpdateRevoke400JSONResponse
- type ApiTokenUpdateRevoke403JSONResponse
- type ApiTokenUpdateRevokeRequestObject
- type ApiTokenUpdateRevokeResponseObject
- type CreateAPITokenRequest
- type CreateAPITokenResponse
- type CreateTenantInviteRequest
- type CreateTenantRequest
- type EchoRouter
- type Event
- type EventData
- type EventDataGet200JSONResponse
- type EventDataGet400JSONResponse
- type EventDataGet403JSONResponse
- type EventDataGetRequestObject
- type EventDataGetResponseObject
- type EventKey
- type EventKeyList
- type EventKeyList200JSONResponse
- type EventKeyList400JSONResponse
- type EventKeyList403JSONResponse
- type EventKeyListRequestObject
- type EventKeyListResponseObject
- type EventList
- type EventList200JSONResponse
- type EventList400JSONResponse
- type EventList403JSONResponse
- type EventListParams
- type EventListRequestObject
- type EventListResponseObject
- type EventOrderByDirection
- type EventOrderByField
- type EventSearch
- type EventUpdateReplay200JSONResponse
- type EventUpdateReplay400JSONResponse
- type EventUpdateReplay403JSONResponse
- type EventUpdateReplayJSONRequestBody
- type EventUpdateReplayRequestObject
- type EventUpdateReplayResponseObject
- type EventWorkflowRunSummary
- type Job
- type JobRun
- type JobRunStatus
- type ListAPITokensResponse
- type MetadataGet200JSONResponse
- type MetadataGet400JSONResponse
- type MetadataGetRequestObject
- type MetadataGetResponseObject
- type PaginationResponse
- type RejectInviteRequest
- type ReplayEventRequest
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) ApiTokenCreate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ApiTokenList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ApiTokenUpdateRevoke(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EventDataGet(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EventKeyList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EventList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EventUpdateReplay(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) MetadataGet(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantCreate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantInviteAccept(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantInviteCreate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantInviteDelete(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantInviteList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantInviteReject(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantInviteUpdate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantMemberList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TenantMembershipsList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserCreate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserGetCurrent(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserListTenantInvites(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserUpdateLogin(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserUpdateLogout(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserUpdateOauthCallback(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserUpdateOauthStart(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkerGet(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkerList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkflowGet(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkflowList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkflowRunGet(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkflowRunList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkflowVersionGet(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) WorkflowVersionGetDefinition(ctx echo.Context) error
- type Step
- type StepRun
- type StepRunStatus
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type Tenant
- type TenantCreate200JSONResponse
- type TenantCreate400JSONResponse
- type TenantCreate403JSONResponse
- type TenantCreateJSONRequestBody
- type TenantCreateRequestObject
- type TenantCreateResponseObject
- type TenantInvite
- type TenantInviteAccept200Response
- type TenantInviteAccept400JSONResponse
- type TenantInviteAccept403JSONResponse
- type TenantInviteAcceptJSONRequestBody
- type TenantInviteAcceptRequestObject
- type TenantInviteAcceptResponseObject
- type TenantInviteCreate201JSONResponse
- type TenantInviteCreate400JSONResponse
- type TenantInviteCreate403JSONResponse
- type TenantInviteCreateJSONRequestBody
- type TenantInviteCreateRequestObject
- type TenantInviteCreateResponseObject
- type TenantInviteDelete200JSONResponse
- type TenantInviteDelete400JSONResponse
- type TenantInviteDeleteRequestObject
- type TenantInviteDeleteResponseObject
- type TenantInviteList
- type TenantInviteList200JSONResponse
- type TenantInviteList400JSONResponse
- type TenantInviteList403JSONResponse
- type TenantInviteListRequestObject
- type TenantInviteListResponseObject
- type TenantInviteReject200Response
- type TenantInviteReject400JSONResponse
- type TenantInviteReject403JSONResponse
- type TenantInviteRejectJSONRequestBody
- type TenantInviteRejectRequestObject
- type TenantInviteRejectResponseObject
- type TenantInviteUpdate200JSONResponse
- type TenantInviteUpdate400JSONResponse
- type TenantInviteUpdateJSONRequestBody
- type TenantInviteUpdateRequestObject
- type TenantInviteUpdateResponseObject
- type TenantMember
- type TenantMemberList
- type TenantMemberList200JSONResponse
- type TenantMemberList400JSONResponse
- type TenantMemberList403JSONResponse
- type TenantMemberListRequestObject
- type TenantMemberListResponseObject
- type TenantMemberRole
- type TenantMembershipsList200JSONResponse
- type TenantMembershipsList400JSONResponse
- type TenantMembershipsList403JSONResponse
- type TenantMembershipsListRequestObject
- type TenantMembershipsListResponseObject
- type UpdateTenantInviteRequest
- type User
- type UserCreate200JSONResponse
- type UserCreate400JSONResponse
- type UserCreate401JSONResponse
- type UserCreate405JSONResponse
- type UserCreateJSONRequestBody
- type UserCreateRequestObject
- type UserCreateResponseObject
- type UserGetCurrent200JSONResponse
- type UserGetCurrent400JSONResponse
- type UserGetCurrent401JSONResponse
- type UserGetCurrent405JSONResponse
- type UserGetCurrentRequestObject
- type UserGetCurrentResponseObject
- type UserListTenantInvites200JSONResponse
- type UserListTenantInvites400JSONResponse
- type UserListTenantInvites403JSONResponse
- type UserListTenantInvitesRequestObject
- type UserListTenantInvitesResponseObject
- type UserLoginRequest
- type UserRegisterRequest
- type UserTenantMembershipsList
- type UserTenantPublic
- type UserUpdateLogin200JSONResponse
- type UserUpdateLogin400JSONResponse
- type UserUpdateLogin401JSONResponse
- type UserUpdateLogin405JSONResponse
- type UserUpdateLoginJSONRequestBody
- type UserUpdateLoginRequestObject
- type UserUpdateLoginResponseObject
- type UserUpdateLogout200JSONResponse
- type UserUpdateLogout400JSONResponse
- type UserUpdateLogout401JSONResponse
- type UserUpdateLogout405JSONResponse
- type UserUpdateLogoutRequestObject
- type UserUpdateLogoutResponseObject
- type UserUpdateOauthCallback302Response
- type UserUpdateOauthCallback302ResponseHeaders
- type UserUpdateOauthCallbackRequestObject
- type UserUpdateOauthCallbackResponseObject
- type UserUpdateOauthStart302Response
- type UserUpdateOauthStart302ResponseHeaders
- type UserUpdateOauthStartRequestObject
- type UserUpdateOauthStartResponseObject
- type Worker
- type WorkerGet200JSONResponse
- type WorkerGet400JSONResponse
- type WorkerGet403JSONResponse
- type WorkerGetRequestObject
- type WorkerGetResponseObject
- type WorkerList
- type WorkerList200JSONResponse
- type WorkerList400JSONResponse
- type WorkerList403JSONResponse
- type WorkerListRequestObject
- type WorkerListResponseObject
- type Workflow
- type WorkflowGet200JSONResponse
- type WorkflowGet400JSONResponse
- type WorkflowGet403JSONResponse
- type WorkflowGetRequestObject
- type WorkflowGetResponseObject
- type WorkflowID
- type WorkflowList
- type WorkflowList200JSONResponse
- type WorkflowList400JSONResponse
- type WorkflowList403JSONResponse
- type WorkflowListRequestObject
- type WorkflowListResponseObject
- type WorkflowRun
- type WorkflowRunGet200JSONResponse
- type WorkflowRunGet400JSONResponse
- type WorkflowRunGet403JSONResponse
- type WorkflowRunGetRequestObject
- type WorkflowRunGetResponseObject
- type WorkflowRunList
- type WorkflowRunList200JSONResponse
- type WorkflowRunList400JSONResponse
- type WorkflowRunList403JSONResponse
- type WorkflowRunListParams
- type WorkflowRunListRequestObject
- type WorkflowRunListResponseObject
- type WorkflowRunStatus
- type WorkflowRunTriggeredBy
- type WorkflowTag
- type WorkflowTriggerCronRef
- type WorkflowTriggerEventRef
- type WorkflowTriggers
- type WorkflowVersion
- type WorkflowVersionDefinition
- type WorkflowVersionGet200JSONResponse
- type WorkflowVersionGet400JSONResponse
- type WorkflowVersionGet403JSONResponse
- type WorkflowVersionGet404JSONResponse
- type WorkflowVersionGetDefinition200JSONResponse
- type WorkflowVersionGetDefinition400JSONResponse
- type WorkflowVersionGetDefinition403JSONResponse
- type WorkflowVersionGetDefinition404JSONResponse
- type WorkflowVersionGetDefinitionParams
- type WorkflowVersionGetDefinitionRequestObject
- type WorkflowVersionGetDefinitionResponseObject
- type WorkflowVersionGetParams
- type WorkflowVersionGetRequestObject
- type WorkflowVersionGetResponseObject
- type WorkflowVersionMeta
Constants ¶
const ( BearerAuthScopes = "bearerAuth.Scopes" CookieAuthScopes = "cookieAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func GetSwagger ¶
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 ¶
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 {
Auth *APIMetaAuth `json:"auth,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 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 openapi_types.UUID `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 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 CreateAPITokenRequest ¶ added in v0.7.0
type CreateAPITokenRequest struct { // 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 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 { // 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 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 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"` // 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"` }
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 ( Asc EventOrderByDirection = "asc" Desc EventOrderByDirection = "desc" )
Defines values for EventOrderByDirection.
type EventOrderByField ¶
type EventOrderByField string
EventOrderByField defines model for EventOrderByField.
const (
CreatedAt EventOrderByField = "createdAt"
)
Defines values for EventOrderByField.
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 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"` // 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 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 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 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 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 ServerInterface ¶
type ServerInterface interface { // Revoke API Token // (POST /api/v1/api-tokens/{api-token}) ApiTokenUpdateRevoke(ctx echo.Context, apiToken openapi_types.UUID) 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 // Create tenant // (POST /api/v1/tenants) TenantCreate(ctx echo.Context) 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 // 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 // Get workers // (GET /api/v1/tenants/{tenant}/worker) WorkerList(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 // Get workflow runs // (GET /api/v1/tenants/{tenant}/workflows/runs) WorkflowRunList(ctx echo.Context, tenant openapi_types.UUID, params WorkflowRunListParams) error // Get current user // (GET /api/v1/users/current) UserGetCurrent(ctx echo.Context) error // Complete OAuth flow // (GET /api/v1/users/google/callback) UserUpdateOauthCallback(ctx echo.Context) error // Start OAuth flow // (GET /api/v1/users/google/start) UserUpdateOauthStart(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 // Register user // (POST /api/v1/users/register) UserCreate(ctx echo.Context) error // Get worker // (GET /api/v1/workers/{worker}) WorkerGet(ctx echo.Context, worker openapi_types.UUID) error // Get workflow // (GET /api/v1/workflows/{workflow}) WorkflowGet(ctx echo.Context, workflow openapi_types.UUID) 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) 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) 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) MetadataGet ¶
func (w *ServerInterfaceWrapper) MetadataGet(ctx echo.Context) error
MetadataGet converts echo context to params.
func (*ServerInterfaceWrapper) TenantCreate ¶
func (w *ServerInterfaceWrapper) TenantCreate(ctx echo.Context) error
TenantCreate 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) 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) 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) 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) UserUpdateOauthCallback ¶
func (w *ServerInterfaceWrapper) UserUpdateOauthCallback(ctx echo.Context) error
UserUpdateOauthCallback converts echo context to params.
func (*ServerInterfaceWrapper) UserUpdateOauthStart ¶
func (w *ServerInterfaceWrapper) UserUpdateOauthStart(ctx echo.Context) error
UserUpdateOauthStart 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) WorkflowGet ¶
func (w *ServerInterfaceWrapper) WorkflowGet(ctx echo.Context) error
WorkflowGet converts echo context to params.
func (*ServerInterfaceWrapper) WorkflowList ¶
func (w *ServerInterfaceWrapper) WorkflowList(ctx echo.Context) error
WorkflowList converts echo context to params.
func (*ServerInterfaceWrapper) WorkflowRunGet ¶
func (w *ServerInterfaceWrapper) WorkflowRunGet(ctx echo.Context) error
WorkflowRunGet converts echo context to params.
func (*ServerInterfaceWrapper) WorkflowRunList ¶
func (w *ServerInterfaceWrapper) WorkflowRunList(ctx echo.Context) error
WorkflowRunList 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 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"` CancelledError *string `json:"cancelledError,omitempty"` CancelledReason *string `json:"cancelledReason,omitempty"` Children *[]string `json:"children,omitempty"` Error *string `json:"error,omitempty"` FinishedAt *time.Time `json:"finishedAt,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"` Status StepRunStatus `json:"status"` Step *Step `json:"step,omitempty"` StepId string `json:"stepId"` TenantId string `json:"tenantId"` TimeoutAt *time.Time `json:"timeoutAt,omitempty"` WorkerId *string `json:"workerId,omitempty"` }
StepRun defines model for StepRun.
type StepRunStatus ¶
type StepRunStatus string
StepRunStatus defines model for StepRunStatus.
const ( StepRunStatusASSIGNED StepRunStatus = "ASSIGNED" StepRunStatusCANCELLED StepRunStatus = "CANCELLED" StepRunStatusFAILED StepRunStatus = "FAILED" StepRunStatusPENDING StepRunStatus = "PENDING" StepRunStatusPENDINGASSIGNMENT StepRunStatus = "PENDING_ASSIGNMENT" StepRunStatusRUNNING StepRunStatus = "RUNNING" StepRunStatusSUCCEEDED StepRunStatus = "SUCCEEDED" )
Defines values for StepRunStatus.
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 { ApiTokenUpdateRevoke(ctx echo.Context, request ApiTokenUpdateRevokeRequestObject) (ApiTokenUpdateRevokeResponseObject, error) EventDataGet(ctx echo.Context, request EventDataGetRequestObject) (EventDataGetResponseObject, error) MetadataGet(ctx echo.Context, request MetadataGetRequestObject) (MetadataGetResponseObject, error) TenantCreate(ctx echo.Context, request TenantCreateRequestObject) (TenantCreateResponseObject, 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) 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) WorkerList(ctx echo.Context, request WorkerListRequestObject) (WorkerListResponseObject, error) WorkflowRunGet(ctx echo.Context, request WorkflowRunGetRequestObject) (WorkflowRunGetResponseObject, error) WorkflowList(ctx echo.Context, request WorkflowListRequestObject) (WorkflowListResponseObject, error) WorkflowRunList(ctx echo.Context, request WorkflowRunListRequestObject) (WorkflowRunListResponseObject, error) UserGetCurrent(ctx echo.Context, request UserGetCurrentRequestObject) (UserGetCurrentResponseObject, error) UserUpdateOauthCallback(ctx echo.Context, request UserUpdateOauthCallbackRequestObject) (UserUpdateOauthCallbackResponseObject, error) UserUpdateOauthStart(ctx echo.Context, request UserUpdateOauthStartRequestObject) (UserUpdateOauthStartResponseObject, 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) UserCreate(ctx echo.Context, request UserCreateRequestObject) (UserCreateResponseObject, error) WorkerGet(ctx echo.Context, request WorkerGetRequestObject) (WorkerGetResponseObject, error) WorkflowGet(ctx echo.Context, request WorkflowGetRequestObject) (WorkflowGetResponseObject, error) WorkflowVersionGet(ctx echo.Context, request WorkflowVersionGetRequestObject) (WorkflowVersionGetResponseObject, error) WorkflowVersionGetDefinition(ctx echo.Context, request WorkflowVersionGetDefinitionRequestObject) (WorkflowVersionGetDefinitionResponseObject, error) }
type Tenant ¶
type Tenant struct { 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 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 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 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 UpdateTenantInviteRequest ¶
type UpdateTenantInviteRequest struct {
Role TenantMemberRole `json:"role"`
}
UpdateTenantInviteRequest defines model for UpdateTenantInviteRequest.
type User ¶
type User struct { // Email The email address of the user. Email openapi_types.Email `json:"email"` // EmailVerified Whether the user has verified their email address. EmailVerified bool `json:"emailVerified"` Metadata APIResourceMeta `json:"metadata"` // Name The display name of the user. Name *string `json:"name,omitempty"` }
User defines model for User.
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 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 UserUpdateOauthCallback302Response ¶
type UserUpdateOauthCallback302Response struct {
Headers UserUpdateOauthCallback302ResponseHeaders
}
func (UserUpdateOauthCallback302Response) VisitUserUpdateOauthCallbackResponse ¶
func (response UserUpdateOauthCallback302Response) VisitUserUpdateOauthCallbackResponse(w http.ResponseWriter) error
type UserUpdateOauthCallback302ResponseHeaders ¶
type UserUpdateOauthCallback302ResponseHeaders struct {
Location string
}
type UserUpdateOauthCallbackRequestObject ¶
type UserUpdateOauthCallbackRequestObject struct { }
type UserUpdateOauthCallbackResponseObject ¶
type UserUpdateOauthCallbackResponseObject interface {
VisitUserUpdateOauthCallbackResponse(w http.ResponseWriter) error
}
type UserUpdateOauthStart302Response ¶
type UserUpdateOauthStart302Response struct {
Headers UserUpdateOauthStart302ResponseHeaders
}
func (UserUpdateOauthStart302Response) VisitUserUpdateOauthStartResponse ¶
func (response UserUpdateOauthStart302Response) VisitUserUpdateOauthStartResponse(w http.ResponseWriter) error
type UserUpdateOauthStart302ResponseHeaders ¶
type UserUpdateOauthStart302ResponseHeaders struct {
Location string
}
type UserUpdateOauthStartRequestObject ¶
type UserUpdateOauthStartRequestObject struct { }
type UserUpdateOauthStartResponseObject ¶
type UserUpdateOauthStartResponseObject interface {
VisitUserUpdateOauthStartResponse(w http.ResponseWriter) error
}
type Worker ¶
type Worker struct { // Actions The actions this worker can perform. Actions *[]string `json:"actions,omitempty"` // LastHeartbeatAt The time this worker last sent a heartbeat. LastHeartbeatAt *time.Time `json:"lastHeartbeatAt,omitempty"` Metadata APIResourceMeta `json:"metadata"` // Name The name of the worker. Name string `json:"name"` // RecentStepRuns The recent step runs for this worker. RecentStepRuns *[]StepRun `json:"recentStepRuns,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 WorkerGetRequestObject ¶
type WorkerGetRequestObject struct {
Worker openapi_types.UUID `json:"worker"`
}
type WorkerGetResponseObject ¶
type WorkerGetResponseObject interface {
VisitWorkerGetResponse(w http.ResponseWriter) error
}
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 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"` LastRun *WorkflowRun `json:"lastRun,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 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 WorkflowGetRequestObject ¶
type WorkflowGetRequestObject struct {
Workflow openapi_types.UUID `json:"workflow"`
}
type WorkflowGetResponseObject ¶
type WorkflowGetResponseObject interface {
VisitWorkflowGetResponse(w http.ResponseWriter) error
}
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 WorkflowRun ¶
type WorkflowRun struct { 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"` 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 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 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"` }
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 WorkflowRunStatus ¶
type WorkflowRunStatus string
WorkflowRunStatus defines model for WorkflowRunStatus.
const ( CANCELLED WorkflowRunStatus = "CANCELLED" FAILED WorkflowRunStatus = "FAILED" PENDING WorkflowRunStatus = "PENDING" RUNNING WorkflowRunStatus = "RUNNING" SUCCEEDED WorkflowRunStatus = "SUCCEEDED" )
Defines values for WorkflowRunStatus.
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 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 { Jobs *[]Job `json:"jobs,omitempty"` Metadata APIResourceMeta `json:"metadata"` Order int32 `json:"order"` 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.