gen

package
v0.21.7 Latest Latest
Warning

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

Go to latest
Published: Apr 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 {
	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 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 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 CreatePullRequestFromStepRun added in v0.11.0

type CreatePullRequestFromStepRun struct {
	BranchName string `json:"branchName"`
}

CreatePullRequestFromStepRun defines model for CreatePullRequestFromStepRun.

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 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 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"`
}

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 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 GetStepRunDiffResponse added in v0.11.0

type GetStepRunDiffResponse struct {
	Diffs []StepRunDiff `json:"diffs"`
}

GetStepRunDiffResponse defines model for GetStepRunDiffResponse.

type GithubAppInstallation added in v0.11.0

type GithubAppInstallation struct {
	AccountAvatarUrl        string          `json:"account_avatar_url"`
	AccountName             string          `json:"account_name"`
	InstallationSettingsUrl string          `json:"installation_settings_url"`
	Metadata                APIResourceMeta `json:"metadata"`
}

GithubAppInstallation defines model for GithubAppInstallation.

type GithubAppListBranches200JSONResponse added in v0.11.0

type GithubAppListBranches200JSONResponse ListGithubBranchesResponse

func (GithubAppListBranches200JSONResponse) VisitGithubAppListBranchesResponse added in v0.11.0

func (response GithubAppListBranches200JSONResponse) VisitGithubAppListBranchesResponse(w http.ResponseWriter) error

type GithubAppListBranches400JSONResponse added in v0.11.0

type GithubAppListBranches400JSONResponse APIErrors

func (GithubAppListBranches400JSONResponse) VisitGithubAppListBranchesResponse added in v0.11.0

func (response GithubAppListBranches400JSONResponse) VisitGithubAppListBranchesResponse(w http.ResponseWriter) error

type GithubAppListBranches401JSONResponse added in v0.11.0

type GithubAppListBranches401JSONResponse APIErrors

func (GithubAppListBranches401JSONResponse) VisitGithubAppListBranchesResponse added in v0.11.0

func (response GithubAppListBranches401JSONResponse) VisitGithubAppListBranchesResponse(w http.ResponseWriter) error

type GithubAppListBranches405JSONResponse added in v0.11.0

type GithubAppListBranches405JSONResponse APIErrors

func (GithubAppListBranches405JSONResponse) VisitGithubAppListBranchesResponse added in v0.11.0

func (response GithubAppListBranches405JSONResponse) VisitGithubAppListBranchesResponse(w http.ResponseWriter) error

type GithubAppListBranchesRequestObject added in v0.11.0

type GithubAppListBranchesRequestObject struct {
	GhInstallation openapi_types.UUID `json:"gh-installation"`
	GhRepoOwner    string             `json:"gh-repo-owner"`
	GhRepoName     string             `json:"gh-repo-name"`
}

type GithubAppListBranchesResponseObject added in v0.11.0

type GithubAppListBranchesResponseObject interface {
	VisitGithubAppListBranchesResponse(w http.ResponseWriter) error
}

type GithubAppListInstallations200JSONResponse added in v0.11.0

type GithubAppListInstallations200JSONResponse ListGithubAppInstallationsResponse

func (GithubAppListInstallations200JSONResponse) VisitGithubAppListInstallationsResponse added in v0.11.0

func (response GithubAppListInstallations200JSONResponse) VisitGithubAppListInstallationsResponse(w http.ResponseWriter) error

type GithubAppListInstallations400JSONResponse added in v0.11.0

type GithubAppListInstallations400JSONResponse APIErrors

func (GithubAppListInstallations400JSONResponse) VisitGithubAppListInstallationsResponse added in v0.11.0

func (response GithubAppListInstallations400JSONResponse) VisitGithubAppListInstallationsResponse(w http.ResponseWriter) error

type GithubAppListInstallations401JSONResponse added in v0.11.0

type GithubAppListInstallations401JSONResponse APIErrors

func (GithubAppListInstallations401JSONResponse) VisitGithubAppListInstallationsResponse added in v0.11.0

func (response GithubAppListInstallations401JSONResponse) VisitGithubAppListInstallationsResponse(w http.ResponseWriter) error

type GithubAppListInstallations405JSONResponse added in v0.11.0

type GithubAppListInstallations405JSONResponse APIErrors

func (GithubAppListInstallations405JSONResponse) VisitGithubAppListInstallationsResponse added in v0.11.0

func (response GithubAppListInstallations405JSONResponse) VisitGithubAppListInstallationsResponse(w http.ResponseWriter) error

type GithubAppListInstallationsRequestObject added in v0.11.0

type GithubAppListInstallationsRequestObject struct {
}

type GithubAppListInstallationsResponseObject added in v0.11.0

type GithubAppListInstallationsResponseObject interface {
	VisitGithubAppListInstallationsResponse(w http.ResponseWriter) error
}

type GithubAppListRepos200JSONResponse added in v0.11.0

type GithubAppListRepos200JSONResponse ListGithubReposResponse

func (GithubAppListRepos200JSONResponse) VisitGithubAppListReposResponse added in v0.11.0

func (response GithubAppListRepos200JSONResponse) VisitGithubAppListReposResponse(w http.ResponseWriter) error

type GithubAppListRepos400JSONResponse added in v0.11.0

type GithubAppListRepos400JSONResponse APIErrors

func (GithubAppListRepos400JSONResponse) VisitGithubAppListReposResponse added in v0.11.0

func (response GithubAppListRepos400JSONResponse) VisitGithubAppListReposResponse(w http.ResponseWriter) error

type GithubAppListRepos401JSONResponse added in v0.11.0

type GithubAppListRepos401JSONResponse APIErrors

func (GithubAppListRepos401JSONResponse) VisitGithubAppListReposResponse added in v0.11.0

func (response GithubAppListRepos401JSONResponse) VisitGithubAppListReposResponse(w http.ResponseWriter) error

type GithubAppListRepos405JSONResponse added in v0.11.0

type GithubAppListRepos405JSONResponse APIErrors

func (GithubAppListRepos405JSONResponse) VisitGithubAppListReposResponse added in v0.11.0

func (response GithubAppListRepos405JSONResponse) VisitGithubAppListReposResponse(w http.ResponseWriter) error

type GithubAppListReposRequestObject added in v0.11.0

type GithubAppListReposRequestObject struct {
	GhInstallation openapi_types.UUID `json:"gh-installation"`
}

type GithubAppListReposResponseObject added in v0.11.0

type GithubAppListReposResponseObject interface {
	VisitGithubAppListReposResponse(w http.ResponseWriter) error
}

type GithubBranch added in v0.11.0

type GithubBranch struct {
	BranchName string `json:"branch_name"`
	IsDefault  bool   `json:"is_default"`
}

GithubBranch defines model for GithubBranch.

type GithubRepo added in v0.11.0

type GithubRepo struct {
	RepoName  string `json:"repo_name"`
	RepoOwner string `json:"repo_owner"`
}

GithubRepo defines model for GithubRepo.

type GithubUpdateGlobalWebhook200Response added in v0.11.0

type GithubUpdateGlobalWebhook200Response struct {
}

func (GithubUpdateGlobalWebhook200Response) VisitGithubUpdateGlobalWebhookResponse added in v0.11.0

func (response GithubUpdateGlobalWebhook200Response) VisitGithubUpdateGlobalWebhookResponse(w http.ResponseWriter) error

type GithubUpdateGlobalWebhook400JSONResponse added in v0.11.0

type GithubUpdateGlobalWebhook400JSONResponse APIErrors

func (GithubUpdateGlobalWebhook400JSONResponse) VisitGithubUpdateGlobalWebhookResponse added in v0.11.0

func (response GithubUpdateGlobalWebhook400JSONResponse) VisitGithubUpdateGlobalWebhookResponse(w http.ResponseWriter) error

type GithubUpdateGlobalWebhook401JSONResponse added in v0.11.0

type GithubUpdateGlobalWebhook401JSONResponse APIErrors

func (GithubUpdateGlobalWebhook401JSONResponse) VisitGithubUpdateGlobalWebhookResponse added in v0.11.0

func (response GithubUpdateGlobalWebhook401JSONResponse) VisitGithubUpdateGlobalWebhookResponse(w http.ResponseWriter) error

type GithubUpdateGlobalWebhook405JSONResponse added in v0.11.0

type GithubUpdateGlobalWebhook405JSONResponse APIErrors

func (GithubUpdateGlobalWebhook405JSONResponse) VisitGithubUpdateGlobalWebhookResponse added in v0.11.0

func (response GithubUpdateGlobalWebhook405JSONResponse) VisitGithubUpdateGlobalWebhookResponse(w http.ResponseWriter) error

type GithubUpdateGlobalWebhookRequestObject added in v0.11.0

type GithubUpdateGlobalWebhookRequestObject struct {
}

type GithubUpdateGlobalWebhookResponseObject added in v0.11.0

type GithubUpdateGlobalWebhookResponseObject interface {
	VisitGithubUpdateGlobalWebhookResponse(w http.ResponseWriter) error
}

type GithubUpdateTenantWebhook200Response added in v0.11.0

type GithubUpdateTenantWebhook200Response struct {
}

func (GithubUpdateTenantWebhook200Response) VisitGithubUpdateTenantWebhookResponse added in v0.11.0

func (response GithubUpdateTenantWebhook200Response) VisitGithubUpdateTenantWebhookResponse(w http.ResponseWriter) error

type GithubUpdateTenantWebhook400JSONResponse added in v0.11.0

type GithubUpdateTenantWebhook400JSONResponse APIErrors

func (GithubUpdateTenantWebhook400JSONResponse) VisitGithubUpdateTenantWebhookResponse added in v0.11.0

func (response GithubUpdateTenantWebhook400JSONResponse) VisitGithubUpdateTenantWebhookResponse(w http.ResponseWriter) error

type GithubUpdateTenantWebhook401JSONResponse added in v0.11.0

type GithubUpdateTenantWebhook401JSONResponse APIErrors

func (GithubUpdateTenantWebhook401JSONResponse) VisitGithubUpdateTenantWebhookResponse added in v0.11.0

func (response GithubUpdateTenantWebhook401JSONResponse) VisitGithubUpdateTenantWebhookResponse(w http.ResponseWriter) error

type GithubUpdateTenantWebhook405JSONResponse added in v0.11.0

type GithubUpdateTenantWebhook405JSONResponse APIErrors

func (GithubUpdateTenantWebhook405JSONResponse) VisitGithubUpdateTenantWebhookResponse added in v0.11.0

func (response GithubUpdateTenantWebhook405JSONResponse) VisitGithubUpdateTenantWebhookResponse(w http.ResponseWriter) error

type GithubUpdateTenantWebhookRequestObject added in v0.11.0

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

type GithubUpdateTenantWebhookResponseObject added in v0.11.0

type GithubUpdateTenantWebhookResponseObject interface {
	VisitGithubUpdateTenantWebhookResponse(w http.ResponseWriter) error
}

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 LinkGithubRepositoryRequest added in v0.11.0

type LinkGithubRepositoryRequest struct {
	// GitRepoBranch The repository branch.
	GitRepoBranch string `json:"gitRepoBranch"`

	// GitRepoName The repository name.
	GitRepoName string `json:"gitRepoName"`

	// GitRepoOwner The repository owner.
	GitRepoOwner string `json:"gitRepoOwner"`

	// InstallationId The repository name.
	InstallationId string `json:"installationId"`
}

LinkGithubRepositoryRequest defines model for LinkGithubRepositoryRequest.

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 ListGithubAppInstallationsResponse added in v0.11.0

type ListGithubAppInstallationsResponse struct {
	Pagination PaginationResponse      `json:"pagination"`
	Rows       []GithubAppInstallation `json:"rows"`
}

ListGithubAppInstallationsResponse defines model for ListGithubAppInstallationsResponse.

type ListGithubBranchesResponse added in v0.11.0

type ListGithubBranchesResponse = []GithubBranch

ListGithubBranchesResponse defines model for ListGithubBranchesResponse.

type ListGithubReposResponse added in v0.11.0

type ListGithubReposResponse = []GithubRepo

ListGithubReposResponse defines model for ListGithubReposResponse.

type ListPullRequestsResponse added in v0.11.0

type ListPullRequestsResponse struct {
	PullRequests []PullRequest `json:"pullRequests"`
}

ListPullRequestsResponse defines model for ListPullRequestsResponse.

type ListSNSIntegrations added in v0.15.2

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

ListSNSIntegrations defines model for ListSNSIntegrations.

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 (
	DEBUG LogLineLevel = "DEBUG"
	ERROR LogLineLevel = "ERROR"
	INFO  LogLineLevel = "INFO"
	WARN  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 PullRequest added in v0.11.0

type PullRequest struct {
	PullRequestBaseBranch string           `json:"pullRequestBaseBranch"`
	PullRequestHeadBranch string           `json:"pullRequestHeadBranch"`
	PullRequestID         int              `json:"pullRequestID"`
	PullRequestNumber     int              `json:"pullRequestNumber"`
	PullRequestState      PullRequestState `json:"pullRequestState"`
	PullRequestTitle      string           `json:"pullRequestTitle"`
	RepositoryName        string           `json:"repositoryName"`
	RepositoryOwner       string           `json:"repositoryOwner"`
}

PullRequest defines model for PullRequest.

type PullRequestState added in v0.11.0

type PullRequestState string

PullRequestState defines model for PullRequestState.

const (
	Closed PullRequestState = "closed"
	Open   PullRequestState = "open"
)

Defines values for PullRequestState.

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 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 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 ServerInterface

type ServerInterface interface {
	// Get liveness
	// (GET /api/live)
	LivenessGet(ctx echo.Context) error
	// Get readiness
	// (GET /api/ready)
	ReadinessGet(ctx echo.Context) error
	// 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
	// List Github App installations
	// (GET /api/v1/github-app/installations)
	GithubAppListInstallations(ctx echo.Context) error
	// List Github App repositories
	// (GET /api/v1/github-app/installations/{gh-installation}/repos)
	GithubAppListRepos(ctx echo.Context, ghInstallation openapi_types.UUID) error
	// List Github App branches
	// (GET /api/v1/github-app/installations/{gh-installation}/repos/{gh-repo-owner}/{gh-repo-name}/branches)
	GithubAppListBranches(ctx echo.Context, ghInstallation openapi_types.UUID, ghRepoOwner string, ghRepoName string) error
	// Github app global webhook
	// (POST /api/v1/github/webhook)
	GithubUpdateGlobalWebhook(ctx echo.Context) error
	// Github app tenant webhook
	// (POST /api/v1/github/webhook/{webhook})
	GithubUpdateTenantWebhook(ctx echo.Context, webhook 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 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
	// Create pull request
	// (POST /api/v1/step-runs/{step-run}/create-pr)
	StepRunUpdateCreatePr(ctx echo.Context, stepRun openapi_types.UUID) error
	// Get diff
	// (GET /api/v1/step-runs/{step-run}/diff)
	StepRunGetDiff(ctx echo.Context, stepRun openapi_types.UUID) 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
	// 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
	// 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
	// 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
	// List pull requests
	// (GET /api/v1/tenants/{tenant}/workflow-runs/{workflow-run}/prs)
	WorkflowRunListPullRequests(ctx echo.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, params WorkflowRunListPullRequestsParams) 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/github-app/callback)
	UserUpdateGithubAppOauthCallback(ctx echo.Context) error
	// Start OAuth flow
	// (GET /api/v1/users/github-app/start)
	UserUpdateGithubAppOauthStart(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
	// Get worker
	// (GET /api/v1/workers/{worker})
	WorkerGet(ctx echo.Context, worker 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
	// Link github repository
	// (POST /api/v1/workflows/{workflow}/link-github)
	WorkflowUpdateLinkGithub(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) 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) GithubAppListBranches added in v0.11.0

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

GithubAppListBranches converts echo context to params.

func (*ServerInterfaceWrapper) GithubAppListInstallations added in v0.11.0

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

GithubAppListInstallations converts echo context to params.

func (*ServerInterfaceWrapper) GithubAppListRepos added in v0.11.0

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

GithubAppListRepos converts echo context to params.

func (*ServerInterfaceWrapper) GithubUpdateGlobalWebhook added in v0.11.0

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

GithubUpdateGlobalWebhook converts echo context to params.

func (*ServerInterfaceWrapper) GithubUpdateTenantWebhook added in v0.11.0

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

GithubUpdateTenantWebhook 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) 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) StepRunGetDiff added in v0.11.0

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

StepRunGetDiff 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) StepRunUpdateCancel added in v0.19.0

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

StepRunUpdateCancel converts echo context to params.

func (*ServerInterfaceWrapper) StepRunUpdateCreatePr added in v0.11.0

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

StepRunUpdateCreatePr 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) 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) UserUpdateGithubAppOauthCallback added in v0.20.0

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

UserUpdateGithubAppOauthCallback converts echo context to params.

func (*ServerInterfaceWrapper) UserUpdateGithubAppOauthStart added in v0.20.0

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

UserUpdateGithubAppOauthStart 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) 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) 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) 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) WorkflowRunList

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

WorkflowRunList converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowRunListPullRequests added in v0.11.0

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

WorkflowRunListPullRequests converts echo context to params.

func (*ServerInterfaceWrapper) WorkflowUpdateLinkGithub added in v0.11.0

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

WorkflowUpdateLinkGithub 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 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 StepRunDiff added in v0.11.0

type StepRunDiff struct {
	Key      string `json:"key"`
	Modified string `json:"modified"`
	Original string `json:"original"`
}

StepRunDiff defines model for StepRunDiff.

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 StepRunGetDiff200JSONResponse added in v0.11.0

type StepRunGetDiff200JSONResponse GetStepRunDiffResponse

func (StepRunGetDiff200JSONResponse) VisitStepRunGetDiffResponse added in v0.11.0

func (response StepRunGetDiff200JSONResponse) VisitStepRunGetDiffResponse(w http.ResponseWriter) error

type StepRunGetDiff400JSONResponse added in v0.11.0

type StepRunGetDiff400JSONResponse APIErrors

func (StepRunGetDiff400JSONResponse) VisitStepRunGetDiffResponse added in v0.11.0

func (response StepRunGetDiff400JSONResponse) VisitStepRunGetDiffResponse(w http.ResponseWriter) error

type StepRunGetDiff403JSONResponse added in v0.11.0

type StepRunGetDiff403JSONResponse APIErrors

func (StepRunGetDiff403JSONResponse) VisitStepRunGetDiffResponse added in v0.11.0

func (response StepRunGetDiff403JSONResponse) VisitStepRunGetDiffResponse(w http.ResponseWriter) error

type StepRunGetDiff404JSONResponse added in v0.11.0

type StepRunGetDiff404JSONResponse APIErrors

func (StepRunGetDiff404JSONResponse) VisitStepRunGetDiffResponse added in v0.11.0

func (response StepRunGetDiff404JSONResponse) VisitStepRunGetDiffResponse(w http.ResponseWriter) error

type StepRunGetDiffRequestObject added in v0.11.0

type StepRunGetDiffRequestObject struct {
	StepRun openapi_types.UUID `json:"step-run"`
}

type StepRunGetDiffResponseObject added in v0.11.0

type StepRunGetDiffResponseObject interface {
	VisitStepRunGetDiffResponse(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 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 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 StepRunUpdateCreatePr200JSONResponse added in v0.11.0

type StepRunUpdateCreatePr200JSONResponse CreatePullRequestFromStepRun

func (StepRunUpdateCreatePr200JSONResponse) VisitStepRunUpdateCreatePrResponse added in v0.11.0

func (response StepRunUpdateCreatePr200JSONResponse) VisitStepRunUpdateCreatePrResponse(w http.ResponseWriter) error

type StepRunUpdateCreatePr400JSONResponse added in v0.11.0

type StepRunUpdateCreatePr400JSONResponse APIErrors

func (StepRunUpdateCreatePr400JSONResponse) VisitStepRunUpdateCreatePrResponse added in v0.11.0

func (response StepRunUpdateCreatePr400JSONResponse) VisitStepRunUpdateCreatePrResponse(w http.ResponseWriter) error

type StepRunUpdateCreatePr403JSONResponse added in v0.11.0

type StepRunUpdateCreatePr403JSONResponse APIErrors

func (StepRunUpdateCreatePr403JSONResponse) VisitStepRunUpdateCreatePrResponse added in v0.11.0

func (response StepRunUpdateCreatePr403JSONResponse) VisitStepRunUpdateCreatePrResponse(w http.ResponseWriter) error

type StepRunUpdateCreatePr404JSONResponse added in v0.11.0

type StepRunUpdateCreatePr404JSONResponse APIErrors

func (StepRunUpdateCreatePr404JSONResponse) VisitStepRunUpdateCreatePrResponse added in v0.11.0

func (response StepRunUpdateCreatePr404JSONResponse) VisitStepRunUpdateCreatePrResponse(w http.ResponseWriter) error

type StepRunUpdateCreatePrJSONRequestBody added in v0.11.0

type StepRunUpdateCreatePrJSONRequestBody = CreatePullRequestFromStepRun

StepRunUpdateCreatePrJSONRequestBody defines body for StepRunUpdateCreatePr for application/json ContentType.

type StepRunUpdateCreatePrRequestObject added in v0.11.0

type StepRunUpdateCreatePrRequestObject struct {
	StepRun openapi_types.UUID `json:"step-run"`
	Body    *StepRunUpdateCreatePrJSONRequestBody
}

type StepRunUpdateCreatePrResponseObject added in v0.11.0

type StepRunUpdateCreatePrResponseObject interface {
	VisitStepRunUpdateCreatePrResponse(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)

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

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

	GithubAppListInstallations(ctx echo.Context, request GithubAppListInstallationsRequestObject) (GithubAppListInstallationsResponseObject, error)

	GithubAppListRepos(ctx echo.Context, request GithubAppListReposRequestObject) (GithubAppListReposResponseObject, error)

	GithubAppListBranches(ctx echo.Context, request GithubAppListBranchesRequestObject) (GithubAppListBranchesResponseObject, error)

	GithubUpdateGlobalWebhook(ctx echo.Context, request GithubUpdateGlobalWebhookRequestObject) (GithubUpdateGlobalWebhookResponseObject, error)

	GithubUpdateTenantWebhook(ctx echo.Context, request GithubUpdateTenantWebhookRequestObject) (GithubUpdateTenantWebhookResponseObject, error)

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

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

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

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

	StepRunUpdateCreatePr(ctx echo.Context, request StepRunUpdateCreatePrRequestObject) (StepRunUpdateCreatePrResponseObject, error)

	StepRunGetDiff(ctx echo.Context, request StepRunGetDiffRequestObject) (StepRunGetDiffResponseObject, error)

	LogLineList(ctx echo.Context, request LogLineListRequestObject) (LogLineListResponseObject, 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)

	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)

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

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

	WorkflowRunListPullRequests(ctx echo.Context, request WorkflowRunListPullRequestsRequestObject) (WorkflowRunListPullRequestsResponseObject, 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)

	UserUpdateGithubAppOauthCallback(ctx echo.Context, request UserUpdateGithubAppOauthCallbackRequestObject) (UserUpdateGithubAppOauthCallbackResponseObject, error)

	UserUpdateGithubAppOauthStart(ctx echo.Context, request UserUpdateGithubAppOauthStartRequestObject) (UserUpdateGithubAppOauthStartResponseObject, 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)

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

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

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

	WorkflowUpdateLinkGithub(ctx echo.Context, request WorkflowUpdateLinkGithubRequestObject) (WorkflowUpdateLinkGithubResponseObject, 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 {
	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 TriggerWorkflowRunRequest added in v0.10.0

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

TriggerWorkflowRunRequest defines model for TriggerWorkflowRunRequest.

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"`

	// 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 UserUpdateGithubAppOauthCallback302Response added in v0.20.0

type UserUpdateGithubAppOauthCallback302Response struct {
	Headers UserUpdateGithubAppOauthCallback302ResponseHeaders
}

func (UserUpdateGithubAppOauthCallback302Response) VisitUserUpdateGithubAppOauthCallbackResponse added in v0.20.0

func (response UserUpdateGithubAppOauthCallback302Response) VisitUserUpdateGithubAppOauthCallbackResponse(w http.ResponseWriter) error

type UserUpdateGithubAppOauthCallback302ResponseHeaders added in v0.20.0

type UserUpdateGithubAppOauthCallback302ResponseHeaders struct {
	Location string
}

type UserUpdateGithubAppOauthCallbackRequestObject added in v0.20.0

type UserUpdateGithubAppOauthCallbackRequestObject struct {
}

type UserUpdateGithubAppOauthCallbackResponseObject added in v0.20.0

type UserUpdateGithubAppOauthCallbackResponseObject interface {
	VisitUserUpdateGithubAppOauthCallbackResponse(w http.ResponseWriter) error
}

type UserUpdateGithubAppOauthStart302Response added in v0.20.0

type UserUpdateGithubAppOauthStart302Response struct {
	Headers UserUpdateGithubAppOauthStart302ResponseHeaders
}

func (UserUpdateGithubAppOauthStart302Response) VisitUserUpdateGithubAppOauthStartResponse added in v0.20.0

func (response UserUpdateGithubAppOauthStart302Response) VisitUserUpdateGithubAppOauthStartResponse(w http.ResponseWriter) error

type UserUpdateGithubAppOauthStart302ResponseHeaders added in v0.20.0

type UserUpdateGithubAppOauthStart302ResponseHeaders struct {
	Location string
}

type UserUpdateGithubAppOauthStartRequestObject added in v0.20.0

type UserUpdateGithubAppOauthStartRequestObject struct {
}

type UserUpdateGithubAppOauthStartResponseObject added in v0.20.0

type UserUpdateGithubAppOauthStartResponseObject interface {
	VisitUserUpdateGithubAppOauthStartResponse(w http.ResponseWriter) error
}

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 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 {
	Deployment *WorkflowDeploymentConfig `json:"deployment,omitempty"`

	// 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 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 WorkflowDeploymentConfig added in v0.11.0

type WorkflowDeploymentConfig struct {
	// GitRepoBranch The repository branch.
	GitRepoBranch string `json:"gitRepoBranch"`

	// GitRepoName The repository name.
	GitRepoName string `json:"gitRepoName"`

	// GitRepoOwner The repository owner.
	GitRepoOwner          string                 `json:"gitRepoOwner"`
	GithubAppInstallation *GithubAppInstallation `json:"githubAppInstallation,omitempty"`

	// GithubAppInstallationId The id of the Github App installation.
	GithubAppInstallationId openapi_types.UUID `json:"githubAppInstallationId"`
	Metadata                APIResourceMeta    `json:"metadata"`
}

WorkflowDeploymentConfig defines model for WorkflowDeploymentConfig.

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 runs 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 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 {
	DisplayName       *string                 `json:"displayName,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 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 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 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"`
}

WorkflowRunListParams defines parameters for WorkflowRunList.

type WorkflowRunListPullRequests200JSONResponse added in v0.11.0

type WorkflowRunListPullRequests200JSONResponse ListPullRequestsResponse

func (WorkflowRunListPullRequests200JSONResponse) VisitWorkflowRunListPullRequestsResponse added in v0.11.0

func (response WorkflowRunListPullRequests200JSONResponse) VisitWorkflowRunListPullRequestsResponse(w http.ResponseWriter) error

type WorkflowRunListPullRequests400JSONResponse added in v0.11.0

type WorkflowRunListPullRequests400JSONResponse APIErrors

func (WorkflowRunListPullRequests400JSONResponse) VisitWorkflowRunListPullRequestsResponse added in v0.11.0

func (response WorkflowRunListPullRequests400JSONResponse) VisitWorkflowRunListPullRequestsResponse(w http.ResponseWriter) error

type WorkflowRunListPullRequests403JSONResponse added in v0.11.0

type WorkflowRunListPullRequests403JSONResponse APIErrors

func (WorkflowRunListPullRequests403JSONResponse) VisitWorkflowRunListPullRequestsResponse added in v0.11.0

func (response WorkflowRunListPullRequests403JSONResponse) VisitWorkflowRunListPullRequestsResponse(w http.ResponseWriter) error

type WorkflowRunListPullRequestsParams added in v0.11.0

type WorkflowRunListPullRequestsParams struct {
	// State The pull request state
	State *PullRequestState `form:"state,omitempty" json:"state,omitempty"`
}

WorkflowRunListPullRequestsParams defines parameters for WorkflowRunListPullRequests.

type WorkflowRunListPullRequestsRequestObject added in v0.11.0

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

type WorkflowRunListPullRequestsResponseObject added in v0.11.0

type WorkflowRunListPullRequestsResponseObject interface {
	VisitWorkflowRunListPullRequestsResponse(w http.ResponseWriter) error
}

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"
	QUEUED    WorkflowRunStatus = "QUEUED"
	RUNNING   WorkflowRunStatus = "RUNNING"
	SUCCEEDED 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 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 WorkflowUpdateLinkGithub200JSONResponse added in v0.11.0

type WorkflowUpdateLinkGithub200JSONResponse Workflow

func (WorkflowUpdateLinkGithub200JSONResponse) VisitWorkflowUpdateLinkGithubResponse added in v0.11.0

func (response WorkflowUpdateLinkGithub200JSONResponse) VisitWorkflowUpdateLinkGithubResponse(w http.ResponseWriter) error

type WorkflowUpdateLinkGithub400JSONResponse added in v0.11.0

type WorkflowUpdateLinkGithub400JSONResponse APIErrors

func (WorkflowUpdateLinkGithub400JSONResponse) VisitWorkflowUpdateLinkGithubResponse added in v0.11.0

func (response WorkflowUpdateLinkGithub400JSONResponse) VisitWorkflowUpdateLinkGithubResponse(w http.ResponseWriter) error

type WorkflowUpdateLinkGithub403JSONResponse added in v0.11.0

type WorkflowUpdateLinkGithub403JSONResponse APIErrors

func (WorkflowUpdateLinkGithub403JSONResponse) VisitWorkflowUpdateLinkGithubResponse added in v0.11.0

func (response WorkflowUpdateLinkGithub403JSONResponse) VisitWorkflowUpdateLinkGithubResponse(w http.ResponseWriter) error

type WorkflowUpdateLinkGithub404JSONResponse added in v0.11.0

type WorkflowUpdateLinkGithub404JSONResponse APIErrors

func (WorkflowUpdateLinkGithub404JSONResponse) VisitWorkflowUpdateLinkGithubResponse added in v0.11.0

func (response WorkflowUpdateLinkGithub404JSONResponse) VisitWorkflowUpdateLinkGithubResponse(w http.ResponseWriter) error

type WorkflowUpdateLinkGithubJSONRequestBody added in v0.11.0

type WorkflowUpdateLinkGithubJSONRequestBody = LinkGithubRepositoryRequest

WorkflowUpdateLinkGithubJSONRequestBody defines body for WorkflowUpdateLinkGithub for application/json ContentType.

type WorkflowUpdateLinkGithubRequestObject added in v0.11.0

type WorkflowUpdateLinkGithubRequestObject struct {
	Workflow openapi_types.UUID `json:"workflow"`
	Body     *WorkflowUpdateLinkGithubJSONRequestBody
}

type WorkflowUpdateLinkGithubResponseObject added in v0.11.0

type WorkflowUpdateLinkGithubResponseObject interface {
	VisitWorkflowUpdateLinkGithubResponse(w http.ResponseWriter) error
}

type WorkflowVersion

type WorkflowVersion struct {
	Concurrency *WorkflowConcurrency `json:"concurrency,omitempty"`
	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.

Jump to

Keyboard shortcuts

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