rest

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Overview

Package rest 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 NewApiTokenCreateRequest

func NewApiTokenCreateRequest(server string, tenant openapi_types.UUID, body ApiTokenCreateJSONRequestBody) (*http.Request, error)

NewApiTokenCreateRequest calls the generic ApiTokenCreate builder with application/json body

func NewApiTokenCreateRequestWithBody

func NewApiTokenCreateRequestWithBody(server string, tenant openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewApiTokenCreateRequestWithBody generates requests for ApiTokenCreate with any type of body

func NewApiTokenListRequest

func NewApiTokenListRequest(server string, tenant openapi_types.UUID) (*http.Request, error)

NewApiTokenListRequest generates requests for ApiTokenList

func NewApiTokenUpdateRevokeRequest

func NewApiTokenUpdateRevokeRequest(server string, apiToken openapi_types.UUID) (*http.Request, error)

NewApiTokenUpdateRevokeRequest generates requests for ApiTokenUpdateRevoke

func NewEventDataGetRequest

func NewEventDataGetRequest(server string, event openapi_types.UUID) (*http.Request, error)

NewEventDataGetRequest generates requests for EventDataGet

func NewEventKeyListRequest

func NewEventKeyListRequest(server string, tenant openapi_types.UUID) (*http.Request, error)

NewEventKeyListRequest generates requests for EventKeyList

func NewEventListRequest

func NewEventListRequest(server string, tenant openapi_types.UUID, params *EventListParams) (*http.Request, error)

NewEventListRequest generates requests for EventList

func NewEventUpdateReplayRequest

func NewEventUpdateReplayRequest(server string, tenant openapi_types.UUID, body EventUpdateReplayJSONRequestBody) (*http.Request, error)

NewEventUpdateReplayRequest calls the generic EventUpdateReplay builder with application/json body

func NewEventUpdateReplayRequestWithBody

func NewEventUpdateReplayRequestWithBody(server string, tenant openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewEventUpdateReplayRequestWithBody generates requests for EventUpdateReplay with any type of body

func NewGithubAppListBranchesRequest

func NewGithubAppListBranchesRequest(server string, ghInstallation openapi_types.UUID, ghRepoOwner string, ghRepoName string) (*http.Request, error)

NewGithubAppListBranchesRequest generates requests for GithubAppListBranches

func NewGithubAppListInstallationsRequest

func NewGithubAppListInstallationsRequest(server string) (*http.Request, error)

NewGithubAppListInstallationsRequest generates requests for GithubAppListInstallations

func NewGithubAppListReposRequest

func NewGithubAppListReposRequest(server string, ghInstallation openapi_types.UUID) (*http.Request, error)

NewGithubAppListReposRequest generates requests for GithubAppListRepos

func NewGithubUpdateGlobalWebhookRequest

func NewGithubUpdateGlobalWebhookRequest(server string) (*http.Request, error)

NewGithubUpdateGlobalWebhookRequest generates requests for GithubUpdateGlobalWebhook

func NewGithubUpdateTenantWebhookRequest

func NewGithubUpdateTenantWebhookRequest(server string, webhook openapi_types.UUID) (*http.Request, error)

NewGithubUpdateTenantWebhookRequest generates requests for GithubUpdateTenantWebhook

func NewLivenessGetRequest

func NewLivenessGetRequest(server string) (*http.Request, error)

NewLivenessGetRequest generates requests for LivenessGet

func NewLogLineListRequest

func NewLogLineListRequest(server string, stepRun openapi_types.UUID, params *LogLineListParams) (*http.Request, error)

NewLogLineListRequest generates requests for LogLineList

func NewMetadataGetRequest

func NewMetadataGetRequest(server string) (*http.Request, error)

NewMetadataGetRequest generates requests for MetadataGet

func NewMetadataListIntegrationsRequest

func NewMetadataListIntegrationsRequest(server string) (*http.Request, error)

NewMetadataListIntegrationsRequest generates requests for MetadataListIntegrations

func NewReadinessGetRequest

func NewReadinessGetRequest(server string) (*http.Request, error)

NewReadinessGetRequest generates requests for ReadinessGet

func NewSnsCreateRequest

func NewSnsCreateRequest(server string, tenant openapi_types.UUID, body SnsCreateJSONRequestBody) (*http.Request, error)

NewSnsCreateRequest calls the generic SnsCreate builder with application/json body

func NewSnsCreateRequestWithBody

func NewSnsCreateRequestWithBody(server string, tenant openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewSnsCreateRequestWithBody generates requests for SnsCreate with any type of body

func NewSnsDeleteRequest

func NewSnsDeleteRequest(server string, sns openapi_types.UUID) (*http.Request, error)

NewSnsDeleteRequest generates requests for SnsDelete

func NewSnsListRequest

func NewSnsListRequest(server string, tenant openapi_types.UUID) (*http.Request, error)

NewSnsListRequest generates requests for SnsList

func NewSnsUpdateRequest

func NewSnsUpdateRequest(server string, tenant openapi_types.UUID, event string) (*http.Request, error)

NewSnsUpdateRequest generates requests for SnsUpdate

func NewStepRunGetDiffRequest

func NewStepRunGetDiffRequest(server string, stepRun openapi_types.UUID) (*http.Request, error)

NewStepRunGetDiffRequest generates requests for StepRunGetDiff

func NewStepRunGetRequest

func NewStepRunGetRequest(server string, tenant openapi_types.UUID, stepRun openapi_types.UUID) (*http.Request, error)

NewStepRunGetRequest generates requests for StepRunGet

func NewStepRunGetSchemaRequest

func NewStepRunGetSchemaRequest(server string, tenant openapi_types.UUID, stepRun openapi_types.UUID) (*http.Request, error)

NewStepRunGetSchemaRequest generates requests for StepRunGetSchema

func NewStepRunUpdateCancelRequest added in v0.19.0

func NewStepRunUpdateCancelRequest(server string, tenant openapi_types.UUID, stepRun openapi_types.UUID) (*http.Request, error)

NewStepRunUpdateCancelRequest generates requests for StepRunUpdateCancel

func NewStepRunUpdateCreatePrRequest

func NewStepRunUpdateCreatePrRequest(server string, stepRun openapi_types.UUID, body StepRunUpdateCreatePrJSONRequestBody) (*http.Request, error)

NewStepRunUpdateCreatePrRequest calls the generic StepRunUpdateCreatePr builder with application/json body

func NewStepRunUpdateCreatePrRequestWithBody

func NewStepRunUpdateCreatePrRequestWithBody(server string, stepRun openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewStepRunUpdateCreatePrRequestWithBody generates requests for StepRunUpdateCreatePr with any type of body

func NewStepRunUpdateRerunRequest

func NewStepRunUpdateRerunRequest(server string, tenant openapi_types.UUID, stepRun openapi_types.UUID, body StepRunUpdateRerunJSONRequestBody) (*http.Request, error)

NewStepRunUpdateRerunRequest calls the generic StepRunUpdateRerun builder with application/json body

func NewStepRunUpdateRerunRequestWithBody

func NewStepRunUpdateRerunRequestWithBody(server string, tenant openapi_types.UUID, stepRun openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewStepRunUpdateRerunRequestWithBody generates requests for StepRunUpdateRerun with any type of body

func NewTenantCreateRequest

func NewTenantCreateRequest(server string, body TenantCreateJSONRequestBody) (*http.Request, error)

NewTenantCreateRequest calls the generic TenantCreate builder with application/json body

func NewTenantCreateRequestWithBody

func NewTenantCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTenantCreateRequestWithBody generates requests for TenantCreate with any type of body

func NewTenantInviteAcceptRequest

func NewTenantInviteAcceptRequest(server string, body TenantInviteAcceptJSONRequestBody) (*http.Request, error)

NewTenantInviteAcceptRequest calls the generic TenantInviteAccept builder with application/json body

func NewTenantInviteAcceptRequestWithBody

func NewTenantInviteAcceptRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTenantInviteAcceptRequestWithBody generates requests for TenantInviteAccept with any type of body

func NewTenantInviteCreateRequest

func NewTenantInviteCreateRequest(server string, tenant openapi_types.UUID, body TenantInviteCreateJSONRequestBody) (*http.Request, error)

NewTenantInviteCreateRequest calls the generic TenantInviteCreate builder with application/json body

func NewTenantInviteCreateRequestWithBody

func NewTenantInviteCreateRequestWithBody(server string, tenant openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewTenantInviteCreateRequestWithBody generates requests for TenantInviteCreate with any type of body

func NewTenantInviteDeleteRequest

func NewTenantInviteDeleteRequest(server string, tenant openapi_types.UUID, tenantInvite openapi_types.UUID) (*http.Request, error)

NewTenantInviteDeleteRequest generates requests for TenantInviteDelete

func NewTenantInviteListRequest

func NewTenantInviteListRequest(server string, tenant openapi_types.UUID) (*http.Request, error)

NewTenantInviteListRequest generates requests for TenantInviteList

func NewTenantInviteRejectRequest

func NewTenantInviteRejectRequest(server string, body TenantInviteRejectJSONRequestBody) (*http.Request, error)

NewTenantInviteRejectRequest calls the generic TenantInviteReject builder with application/json body

func NewTenantInviteRejectRequestWithBody

func NewTenantInviteRejectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewTenantInviteRejectRequestWithBody generates requests for TenantInviteReject with any type of body

func NewTenantInviteUpdateRequest

func NewTenantInviteUpdateRequest(server string, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, body TenantInviteUpdateJSONRequestBody) (*http.Request, error)

NewTenantInviteUpdateRequest calls the generic TenantInviteUpdate builder with application/json body

func NewTenantInviteUpdateRequestWithBody

func NewTenantInviteUpdateRequestWithBody(server string, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewTenantInviteUpdateRequestWithBody generates requests for TenantInviteUpdate with any type of body

func NewTenantMemberListRequest

func NewTenantMemberListRequest(server string, tenant openapi_types.UUID) (*http.Request, error)

NewTenantMemberListRequest generates requests for TenantMemberList

func NewTenantMembershipsListRequest

func NewTenantMembershipsListRequest(server string) (*http.Request, error)

NewTenantMembershipsListRequest generates requests for TenantMembershipsList

func NewUserCreateRequest

func NewUserCreateRequest(server string, body UserCreateJSONRequestBody) (*http.Request, error)

NewUserCreateRequest calls the generic UserCreate builder with application/json body

func NewUserCreateRequestWithBody

func NewUserCreateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUserCreateRequestWithBody generates requests for UserCreate with any type of body

func NewUserGetCurrentRequest

func NewUserGetCurrentRequest(server string) (*http.Request, error)

NewUserGetCurrentRequest generates requests for UserGetCurrent

func NewUserListTenantInvitesRequest

func NewUserListTenantInvitesRequest(server string) (*http.Request, error)

NewUserListTenantInvitesRequest generates requests for UserListTenantInvites

func NewUserUpdateGithubAppOauthCallbackRequest added in v0.20.0

func NewUserUpdateGithubAppOauthCallbackRequest(server string) (*http.Request, error)

NewUserUpdateGithubAppOauthCallbackRequest generates requests for UserUpdateGithubAppOauthCallback

func NewUserUpdateGithubAppOauthStartRequest added in v0.20.0

func NewUserUpdateGithubAppOauthStartRequest(server string) (*http.Request, error)

NewUserUpdateGithubAppOauthStartRequest generates requests for UserUpdateGithubAppOauthStart

func NewUserUpdateGithubOauthCallbackRequest

func NewUserUpdateGithubOauthCallbackRequest(server string) (*http.Request, error)

NewUserUpdateGithubOauthCallbackRequest generates requests for UserUpdateGithubOauthCallback

func NewUserUpdateGithubOauthStartRequest

func NewUserUpdateGithubOauthStartRequest(server string) (*http.Request, error)

NewUserUpdateGithubOauthStartRequest generates requests for UserUpdateGithubOauthStart

func NewUserUpdateGoogleOauthCallbackRequest

func NewUserUpdateGoogleOauthCallbackRequest(server string) (*http.Request, error)

NewUserUpdateGoogleOauthCallbackRequest generates requests for UserUpdateGoogleOauthCallback

func NewUserUpdateGoogleOauthStartRequest

func NewUserUpdateGoogleOauthStartRequest(server string) (*http.Request, error)

NewUserUpdateGoogleOauthStartRequest generates requests for UserUpdateGoogleOauthStart

func NewUserUpdateLoginRequest

func NewUserUpdateLoginRequest(server string, body UserUpdateLoginJSONRequestBody) (*http.Request, error)

NewUserUpdateLoginRequest calls the generic UserUpdateLogin builder with application/json body

func NewUserUpdateLoginRequestWithBody

func NewUserUpdateLoginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUserUpdateLoginRequestWithBody generates requests for UserUpdateLogin with any type of body

func NewUserUpdateLogoutRequest

func NewUserUpdateLogoutRequest(server string) (*http.Request, error)

NewUserUpdateLogoutRequest generates requests for UserUpdateLogout

func NewUserUpdatePasswordRequest added in v0.19.0

func NewUserUpdatePasswordRequest(server string, body UserUpdatePasswordJSONRequestBody) (*http.Request, error)

NewUserUpdatePasswordRequest calls the generic UserUpdatePassword builder with application/json body

func NewUserUpdatePasswordRequestWithBody added in v0.19.0

func NewUserUpdatePasswordRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewUserUpdatePasswordRequestWithBody generates requests for UserUpdatePassword with any type of body

func NewWorkerGetRequest

func NewWorkerGetRequest(server string, worker openapi_types.UUID) (*http.Request, error)

NewWorkerGetRequest generates requests for WorkerGet

func NewWorkerListRequest

func NewWorkerListRequest(server string, tenant openapi_types.UUID) (*http.Request, error)

NewWorkerListRequest generates requests for WorkerList

func NewWorkflowDeleteRequest

func NewWorkflowDeleteRequest(server string, workflow openapi_types.UUID) (*http.Request, error)

NewWorkflowDeleteRequest generates requests for WorkflowDelete

func NewWorkflowGetMetricsRequest added in v0.19.3

func NewWorkflowGetMetricsRequest(server string, workflow openapi_types.UUID, params *WorkflowGetMetricsParams) (*http.Request, error)

NewWorkflowGetMetricsRequest generates requests for WorkflowGetMetrics

func NewWorkflowGetRequest

func NewWorkflowGetRequest(server string, workflow openapi_types.UUID) (*http.Request, error)

NewWorkflowGetRequest generates requests for WorkflowGet

func NewWorkflowListRequest

func NewWorkflowListRequest(server string, tenant openapi_types.UUID) (*http.Request, error)

NewWorkflowListRequest generates requests for WorkflowList

func NewWorkflowRunCreateRequest

func NewWorkflowRunCreateRequest(server string, workflow openapi_types.UUID, params *WorkflowRunCreateParams, body WorkflowRunCreateJSONRequestBody) (*http.Request, error)

NewWorkflowRunCreateRequest calls the generic WorkflowRunCreate builder with application/json body

func NewWorkflowRunCreateRequestWithBody

func NewWorkflowRunCreateRequestWithBody(server string, workflow openapi_types.UUID, params *WorkflowRunCreateParams, contentType string, body io.Reader) (*http.Request, error)

NewWorkflowRunCreateRequestWithBody generates requests for WorkflowRunCreate with any type of body

func NewWorkflowRunGetMetricsRequest added in v0.22.0

func NewWorkflowRunGetMetricsRequest(server string, tenant openapi_types.UUID, params *WorkflowRunGetMetricsParams) (*http.Request, error)

NewWorkflowRunGetMetricsRequest generates requests for WorkflowRunGetMetrics

func NewWorkflowRunGetRequest

func NewWorkflowRunGetRequest(server string, tenant openapi_types.UUID, workflowRun openapi_types.UUID) (*http.Request, error)

NewWorkflowRunGetRequest generates requests for WorkflowRunGet

func NewWorkflowRunListPullRequestsRequest

func NewWorkflowRunListPullRequestsRequest(server string, tenant openapi_types.UUID, workflowRun openapi_types.UUID, params *WorkflowRunListPullRequestsParams) (*http.Request, error)

NewWorkflowRunListPullRequestsRequest generates requests for WorkflowRunListPullRequests

func NewWorkflowRunListRequest

func NewWorkflowRunListRequest(server string, tenant openapi_types.UUID, params *WorkflowRunListParams) (*http.Request, error)

NewWorkflowRunListRequest generates requests for WorkflowRunList

func NewWorkflowUpdateLinkGithubRequest

func NewWorkflowUpdateLinkGithubRequest(server string, workflow openapi_types.UUID, body WorkflowUpdateLinkGithubJSONRequestBody) (*http.Request, error)

NewWorkflowUpdateLinkGithubRequest calls the generic WorkflowUpdateLinkGithub builder with application/json body

func NewWorkflowUpdateLinkGithubRequestWithBody

func NewWorkflowUpdateLinkGithubRequestWithBody(server string, workflow openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)

NewWorkflowUpdateLinkGithubRequestWithBody generates requests for WorkflowUpdateLinkGithub with any type of body

func NewWorkflowVersionGetDefinitionRequest

func NewWorkflowVersionGetDefinitionRequest(server string, workflow openapi_types.UUID, params *WorkflowVersionGetDefinitionParams) (*http.Request, error)

NewWorkflowVersionGetDefinitionRequest generates requests for WorkflowVersionGetDefinition

func NewWorkflowVersionGetRequest

func NewWorkflowVersionGetRequest(server string, workflow openapi_types.UUID, params *WorkflowVersionGetParams) (*http.Request, error)

NewWorkflowVersionGetRequest generates requests for WorkflowVersionGet

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

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

APIMeta defines model for APIMeta.

type APIMetaAuth

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

APIMetaAuth defines model for APIMetaAuth.

type APIMetaIntegration

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

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 ApiTokenCreateJSONRequestBody

type ApiTokenCreateJSONRequestBody = CreateAPITokenRequest

ApiTokenCreateJSONRequestBody defines body for ApiTokenCreate for application/json ContentType.

type ApiTokenCreateResponse

type ApiTokenCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreateAPITokenResponse
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseApiTokenCreateResponse

func ParseApiTokenCreateResponse(rsp *http.Response) (*ApiTokenCreateResponse, error)

ParseApiTokenCreateResponse parses an HTTP response from a ApiTokenCreateWithResponse call

func (ApiTokenCreateResponse) Status

func (r ApiTokenCreateResponse) Status() string

Status returns HTTPResponse.Status

func (ApiTokenCreateResponse) StatusCode

func (r ApiTokenCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApiTokenListResponse

type ApiTokenListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListAPITokensResponse
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseApiTokenListResponse

func ParseApiTokenListResponse(rsp *http.Response) (*ApiTokenListResponse, error)

ParseApiTokenListResponse parses an HTTP response from a ApiTokenListWithResponse call

func (ApiTokenListResponse) Status

func (r ApiTokenListResponse) Status() string

Status returns HTTPResponse.Status

func (ApiTokenListResponse) StatusCode

func (r ApiTokenListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApiTokenUpdateRevokeResponse

type ApiTokenUpdateRevokeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseApiTokenUpdateRevokeResponse

func ParseApiTokenUpdateRevokeResponse(rsp *http.Response) (*ApiTokenUpdateRevokeResponse, error)

ParseApiTokenUpdateRevokeResponse parses an HTTP response from a ApiTokenUpdateRevokeWithResponse call

func (ApiTokenUpdateRevokeResponse) Status

Status returns HTTPResponse.Status

func (ApiTokenUpdateRevokeResponse) StatusCode

func (r ApiTokenUpdateRevokeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) ApiTokenCreate

func (c *Client) ApiTokenCreate(ctx context.Context, tenant openapi_types.UUID, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApiTokenCreateWithBody

func (c *Client) ApiTokenCreateWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApiTokenList

func (c *Client) ApiTokenList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ApiTokenUpdateRevoke

func (c *Client) ApiTokenUpdateRevoke(ctx context.Context, apiToken openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EventDataGet

func (c *Client) EventDataGet(ctx context.Context, event openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EventKeyList

func (c *Client) EventKeyList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EventList

func (c *Client) EventList(ctx context.Context, tenant openapi_types.UUID, params *EventListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EventUpdateReplay

func (c *Client) EventUpdateReplay(ctx context.Context, tenant openapi_types.UUID, body EventUpdateReplayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EventUpdateReplayWithBody

func (c *Client) EventUpdateReplayWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GithubAppListBranches

func (c *Client) GithubAppListBranches(ctx context.Context, ghInstallation openapi_types.UUID, ghRepoOwner string, ghRepoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GithubAppListInstallations

func (c *Client) GithubAppListInstallations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GithubAppListRepos

func (c *Client) GithubAppListRepos(ctx context.Context, ghInstallation openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GithubUpdateGlobalWebhook

func (c *Client) GithubUpdateGlobalWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GithubUpdateTenantWebhook

func (c *Client) GithubUpdateTenantWebhook(ctx context.Context, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LivenessGet

func (c *Client) LivenessGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LogLineList

func (c *Client) LogLineList(ctx context.Context, stepRun openapi_types.UUID, params *LogLineListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MetadataGet

func (c *Client) MetadataGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) MetadataListIntegrations

func (c *Client) MetadataListIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReadinessGet

func (c *Client) ReadinessGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SnsCreate

func (c *Client) SnsCreate(ctx context.Context, tenant openapi_types.UUID, body SnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SnsCreateWithBody

func (c *Client) SnsCreateWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SnsDelete

func (c *Client) SnsDelete(ctx context.Context, sns openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SnsList

func (c *Client) SnsList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SnsUpdate

func (c *Client) SnsUpdate(ctx context.Context, tenant openapi_types.UUID, event string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunGet

func (c *Client) StepRunGet(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunGetDiff

func (c *Client) StepRunGetDiff(ctx context.Context, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunGetSchema

func (c *Client) StepRunGetSchema(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunUpdateCancel added in v0.19.0

func (c *Client) StepRunUpdateCancel(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunUpdateCreatePr

func (c *Client) StepRunUpdateCreatePr(ctx context.Context, stepRun openapi_types.UUID, body StepRunUpdateCreatePrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunUpdateCreatePrWithBody

func (c *Client) StepRunUpdateCreatePrWithBody(ctx context.Context, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunUpdateRerun

func (c *Client) StepRunUpdateRerun(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, body StepRunUpdateRerunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StepRunUpdateRerunWithBody

func (c *Client) StepRunUpdateRerunWithBody(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantCreate

func (c *Client) TenantCreate(ctx context.Context, body TenantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantCreateWithBody

func (c *Client) TenantCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteAccept

func (c *Client) TenantInviteAccept(ctx context.Context, body TenantInviteAcceptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteAcceptWithBody

func (c *Client) TenantInviteAcceptWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteCreate

func (c *Client) TenantInviteCreate(ctx context.Context, tenant openapi_types.UUID, body TenantInviteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteCreateWithBody

func (c *Client) TenantInviteCreateWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteDelete

func (c *Client) TenantInviteDelete(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteList

func (c *Client) TenantInviteList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteReject

func (c *Client) TenantInviteReject(ctx context.Context, body TenantInviteRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteRejectWithBody

func (c *Client) TenantInviteRejectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteUpdate

func (c *Client) TenantInviteUpdate(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, body TenantInviteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantInviteUpdateWithBody

func (c *Client) TenantInviteUpdateWithBody(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantMemberList

func (c *Client) TenantMemberList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TenantMembershipsList

func (c *Client) TenantMembershipsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserCreate

func (c *Client) UserCreate(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserCreateWithBody

func (c *Client) UserCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserGetCurrent

func (c *Client) UserGetCurrent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserListTenantInvites

func (c *Client) UserListTenantInvites(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateGithubAppOauthCallback added in v0.20.0

func (c *Client) UserUpdateGithubAppOauthCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateGithubAppOauthStart added in v0.20.0

func (c *Client) UserUpdateGithubAppOauthStart(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateGithubOauthCallback

func (c *Client) UserUpdateGithubOauthCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateGithubOauthStart

func (c *Client) UserUpdateGithubOauthStart(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateGoogleOauthCallback

func (c *Client) UserUpdateGoogleOauthCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateGoogleOauthStart

func (c *Client) UserUpdateGoogleOauthStart(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateLogin

func (c *Client) UserUpdateLogin(ctx context.Context, body UserUpdateLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateLoginWithBody

func (c *Client) UserUpdateLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdateLogout

func (c *Client) UserUpdateLogout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdatePassword added in v0.19.0

func (c *Client) UserUpdatePassword(ctx context.Context, body UserUpdatePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UserUpdatePasswordWithBody added in v0.19.0

func (c *Client) UserUpdatePasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkerGet

func (c *Client) WorkerGet(ctx context.Context, worker openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkerList

func (c *Client) WorkerList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowDelete

func (c *Client) WorkflowDelete(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowGet

func (c *Client) WorkflowGet(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowGetMetrics added in v0.19.3

func (c *Client) WorkflowGetMetrics(ctx context.Context, workflow openapi_types.UUID, params *WorkflowGetMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowList

func (c *Client) WorkflowList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunCreate

func (c *Client) WorkflowRunCreate(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, body WorkflowRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunCreateWithBody

func (c *Client) WorkflowRunCreateWithBody(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunGet

func (c *Client) WorkflowRunGet(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunGetMetrics added in v0.22.0

func (c *Client) WorkflowRunGetMetrics(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunGetMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunList

func (c *Client) WorkflowRunList(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowRunListPullRequests

func (c *Client) WorkflowRunListPullRequests(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, params *WorkflowRunListPullRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowUpdateLinkGithub

func (c *Client) WorkflowUpdateLinkGithub(ctx context.Context, workflow openapi_types.UUID, body WorkflowUpdateLinkGithubJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowUpdateLinkGithubWithBody

func (c *Client) WorkflowUpdateLinkGithubWithBody(ctx context.Context, workflow openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowVersionGet

func (c *Client) WorkflowVersionGet(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) WorkflowVersionGetDefinition

func (c *Client) WorkflowVersionGetDefinition(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// LivenessGet request
	LivenessGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReadinessGet request
	ReadinessGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApiTokenUpdateRevoke request
	ApiTokenUpdateRevoke(ctx context.Context, apiToken openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventDataGet request
	EventDataGet(ctx context.Context, event openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GithubAppListInstallations request
	GithubAppListInstallations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GithubAppListRepos request
	GithubAppListRepos(ctx context.Context, ghInstallation openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GithubAppListBranches request
	GithubAppListBranches(ctx context.Context, ghInstallation openapi_types.UUID, ghRepoOwner string, ghRepoName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GithubUpdateGlobalWebhook request
	GithubUpdateGlobalWebhook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GithubUpdateTenantWebhook request
	GithubUpdateTenantWebhook(ctx context.Context, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MetadataGet request
	MetadataGet(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// MetadataListIntegrations request
	MetadataListIntegrations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SnsDelete request
	SnsDelete(ctx context.Context, sns openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SnsUpdate request
	SnsUpdate(ctx context.Context, tenant openapi_types.UUID, event string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StepRunUpdateCreatePrWithBody request with any body
	StepRunUpdateCreatePrWithBody(ctx context.Context, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StepRunUpdateCreatePr(ctx context.Context, stepRun openapi_types.UUID, body StepRunUpdateCreatePrJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StepRunGetDiff request
	StepRunGetDiff(ctx context.Context, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LogLineList request
	LogLineList(ctx context.Context, stepRun openapi_types.UUID, params *LogLineListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantCreateWithBody request with any body
	TenantCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TenantCreate(ctx context.Context, body TenantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApiTokenList request
	ApiTokenList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ApiTokenCreateWithBody request with any body
	ApiTokenCreateWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ApiTokenCreate(ctx context.Context, tenant openapi_types.UUID, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventList request
	EventList(ctx context.Context, tenant openapi_types.UUID, params *EventListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventKeyList request
	EventKeyList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EventUpdateReplayWithBody request with any body
	EventUpdateReplayWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EventUpdateReplay(ctx context.Context, tenant openapi_types.UUID, body EventUpdateReplayJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantInviteList request
	TenantInviteList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantInviteCreateWithBody request with any body
	TenantInviteCreateWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TenantInviteCreate(ctx context.Context, tenant openapi_types.UUID, body TenantInviteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantInviteDelete request
	TenantInviteDelete(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantInviteUpdateWithBody request with any body
	TenantInviteUpdateWithBody(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TenantInviteUpdate(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, body TenantInviteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantMemberList request
	TenantMemberList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SnsList request
	SnsList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// SnsCreateWithBody request with any body
	SnsCreateWithBody(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	SnsCreate(ctx context.Context, tenant openapi_types.UUID, body SnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StepRunGet request
	StepRunGet(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StepRunUpdateCancel request
	StepRunUpdateCancel(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StepRunUpdateRerunWithBody request with any body
	StepRunUpdateRerunWithBody(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	StepRunUpdateRerun(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, body StepRunUpdateRerunJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StepRunGetSchema request
	StepRunGetSchema(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkerList request
	WorkerList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowRunGet request
	WorkflowRunGet(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowRunListPullRequests request
	WorkflowRunListPullRequests(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, params *WorkflowRunListPullRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowList request
	WorkflowList(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowRunList request
	WorkflowRunList(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunListParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowRunGetMetrics request
	WorkflowRunGetMetrics(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunGetMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserGetCurrent request
	UserGetCurrent(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateGithubAppOauthCallback request
	UserUpdateGithubAppOauthCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateGithubAppOauthStart request
	UserUpdateGithubAppOauthStart(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateGithubOauthCallback request
	UserUpdateGithubOauthCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateGithubOauthStart request
	UserUpdateGithubOauthStart(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateGoogleOauthCallback request
	UserUpdateGoogleOauthCallback(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateGoogleOauthStart request
	UserUpdateGoogleOauthStart(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserListTenantInvites request
	UserListTenantInvites(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantInviteAcceptWithBody request with any body
	TenantInviteAcceptWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TenantInviteAccept(ctx context.Context, body TenantInviteAcceptJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantInviteRejectWithBody request with any body
	TenantInviteRejectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	TenantInviteReject(ctx context.Context, body TenantInviteRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateLoginWithBody request with any body
	UserUpdateLoginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UserUpdateLogin(ctx context.Context, body UserUpdateLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdateLogout request
	UserUpdateLogout(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// TenantMembershipsList request
	TenantMembershipsList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserUpdatePasswordWithBody request with any body
	UserUpdatePasswordWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UserUpdatePassword(ctx context.Context, body UserUpdatePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UserCreateWithBody request with any body
	UserCreateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UserCreate(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkerGet request
	WorkerGet(ctx context.Context, worker openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowDelete request
	WorkflowDelete(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowGet request
	WorkflowGet(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowUpdateLinkGithubWithBody request with any body
	WorkflowUpdateLinkGithubWithBody(ctx context.Context, workflow openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	WorkflowUpdateLinkGithub(ctx context.Context, workflow openapi_types.UUID, body WorkflowUpdateLinkGithubJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowGetMetrics request
	WorkflowGetMetrics(ctx context.Context, workflow openapi_types.UUID, params *WorkflowGetMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowRunCreateWithBody request with any body
	WorkflowRunCreateWithBody(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	WorkflowRunCreate(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, body WorkflowRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowVersionGet request
	WorkflowVersionGet(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// WorkflowVersionGetDefinition request
	WorkflowVersionGetDefinition(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) ApiTokenCreateWithBodyWithResponse

func (c *ClientWithResponses) ApiTokenCreateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)

ApiTokenCreateWithBodyWithResponse request with arbitrary body returning *ApiTokenCreateResponse

func (*ClientWithResponses) ApiTokenCreateWithResponse

func (c *ClientWithResponses) ApiTokenCreateWithResponse(ctx context.Context, tenant openapi_types.UUID, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)

func (*ClientWithResponses) ApiTokenListWithResponse

func (c *ClientWithResponses) ApiTokenListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*ApiTokenListResponse, error)

ApiTokenListWithResponse request returning *ApiTokenListResponse

func (*ClientWithResponses) ApiTokenUpdateRevokeWithResponse

func (c *ClientWithResponses) ApiTokenUpdateRevokeWithResponse(ctx context.Context, apiToken openapi_types.UUID, reqEditors ...RequestEditorFn) (*ApiTokenUpdateRevokeResponse, error)

ApiTokenUpdateRevokeWithResponse request returning *ApiTokenUpdateRevokeResponse

func (*ClientWithResponses) EventDataGetWithResponse

func (c *ClientWithResponses) EventDataGetWithResponse(ctx context.Context, event openapi_types.UUID, reqEditors ...RequestEditorFn) (*EventDataGetResponse, error)

EventDataGetWithResponse request returning *EventDataGetResponse

func (*ClientWithResponses) EventKeyListWithResponse

func (c *ClientWithResponses) EventKeyListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*EventKeyListResponse, error)

EventKeyListWithResponse request returning *EventKeyListResponse

func (*ClientWithResponses) EventListWithResponse

func (c *ClientWithResponses) EventListWithResponse(ctx context.Context, tenant openapi_types.UUID, params *EventListParams, reqEditors ...RequestEditorFn) (*EventListResponse, error)

EventListWithResponse request returning *EventListResponse

func (*ClientWithResponses) EventUpdateReplayWithBodyWithResponse

func (c *ClientWithResponses) EventUpdateReplayWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventUpdateReplayResponse, error)

EventUpdateReplayWithBodyWithResponse request with arbitrary body returning *EventUpdateReplayResponse

func (*ClientWithResponses) EventUpdateReplayWithResponse

func (c *ClientWithResponses) EventUpdateReplayWithResponse(ctx context.Context, tenant openapi_types.UUID, body EventUpdateReplayJSONRequestBody, reqEditors ...RequestEditorFn) (*EventUpdateReplayResponse, error)

func (*ClientWithResponses) GithubAppListBranchesWithResponse

func (c *ClientWithResponses) GithubAppListBranchesWithResponse(ctx context.Context, ghInstallation openapi_types.UUID, ghRepoOwner string, ghRepoName string, reqEditors ...RequestEditorFn) (*GithubAppListBranchesResponse, error)

GithubAppListBranchesWithResponse request returning *GithubAppListBranchesResponse

func (*ClientWithResponses) GithubAppListInstallationsWithResponse

func (c *ClientWithResponses) GithubAppListInstallationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GithubAppListInstallationsResponse, error)

GithubAppListInstallationsWithResponse request returning *GithubAppListInstallationsResponse

func (*ClientWithResponses) GithubAppListReposWithResponse

func (c *ClientWithResponses) GithubAppListReposWithResponse(ctx context.Context, ghInstallation openapi_types.UUID, reqEditors ...RequestEditorFn) (*GithubAppListReposResponse, error)

GithubAppListReposWithResponse request returning *GithubAppListReposResponse

func (*ClientWithResponses) GithubUpdateGlobalWebhookWithResponse

func (c *ClientWithResponses) GithubUpdateGlobalWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GithubUpdateGlobalWebhookResponse, error)

GithubUpdateGlobalWebhookWithResponse request returning *GithubUpdateGlobalWebhookResponse

func (*ClientWithResponses) GithubUpdateTenantWebhookWithResponse

func (c *ClientWithResponses) GithubUpdateTenantWebhookWithResponse(ctx context.Context, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*GithubUpdateTenantWebhookResponse, error)

GithubUpdateTenantWebhookWithResponse request returning *GithubUpdateTenantWebhookResponse

func (*ClientWithResponses) LivenessGetWithResponse

func (c *ClientWithResponses) LivenessGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivenessGetResponse, error)

LivenessGetWithResponse request returning *LivenessGetResponse

func (*ClientWithResponses) LogLineListWithResponse

func (c *ClientWithResponses) LogLineListWithResponse(ctx context.Context, stepRun openapi_types.UUID, params *LogLineListParams, reqEditors ...RequestEditorFn) (*LogLineListResponse, error)

LogLineListWithResponse request returning *LogLineListResponse

func (*ClientWithResponses) MetadataGetWithResponse

func (c *ClientWithResponses) MetadataGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MetadataGetResponse, error)

MetadataGetWithResponse request returning *MetadataGetResponse

func (*ClientWithResponses) MetadataListIntegrationsWithResponse

func (c *ClientWithResponses) MetadataListIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MetadataListIntegrationsResponse, error)

MetadataListIntegrationsWithResponse request returning *MetadataListIntegrationsResponse

func (*ClientWithResponses) ReadinessGetWithResponse

func (c *ClientWithResponses) ReadinessGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadinessGetResponse, error)

ReadinessGetWithResponse request returning *ReadinessGetResponse

func (*ClientWithResponses) SnsCreateWithBodyWithResponse

func (c *ClientWithResponses) SnsCreateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SnsCreateResponse, error)

SnsCreateWithBodyWithResponse request with arbitrary body returning *SnsCreateResponse

func (*ClientWithResponses) SnsCreateWithResponse

func (c *ClientWithResponses) SnsCreateWithResponse(ctx context.Context, tenant openapi_types.UUID, body SnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SnsCreateResponse, error)

func (*ClientWithResponses) SnsDeleteWithResponse

func (c *ClientWithResponses) SnsDeleteWithResponse(ctx context.Context, sns openapi_types.UUID, reqEditors ...RequestEditorFn) (*SnsDeleteResponse, error)

SnsDeleteWithResponse request returning *SnsDeleteResponse

func (*ClientWithResponses) SnsListWithResponse

func (c *ClientWithResponses) SnsListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*SnsListResponse, error)

SnsListWithResponse request returning *SnsListResponse

func (*ClientWithResponses) SnsUpdateWithResponse

func (c *ClientWithResponses) SnsUpdateWithResponse(ctx context.Context, tenant openapi_types.UUID, event string, reqEditors ...RequestEditorFn) (*SnsUpdateResponse, error)

SnsUpdateWithResponse request returning *SnsUpdateResponse

func (*ClientWithResponses) StepRunGetDiffWithResponse

func (c *ClientWithResponses) StepRunGetDiffWithResponse(ctx context.Context, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunGetDiffResponse, error)

StepRunGetDiffWithResponse request returning *StepRunGetDiffResponse

func (*ClientWithResponses) StepRunGetSchemaWithResponse

func (c *ClientWithResponses) StepRunGetSchemaWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunGetSchemaResponse, error)

StepRunGetSchemaWithResponse request returning *StepRunGetSchemaResponse

func (*ClientWithResponses) StepRunGetWithResponse

func (c *ClientWithResponses) StepRunGetWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunGetResponse, error)

StepRunGetWithResponse request returning *StepRunGetResponse

func (*ClientWithResponses) StepRunUpdateCancelWithResponse added in v0.19.0

func (c *ClientWithResponses) StepRunUpdateCancelWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunUpdateCancelResponse, error)

StepRunUpdateCancelWithResponse request returning *StepRunUpdateCancelResponse

func (*ClientWithResponses) StepRunUpdateCreatePrWithBodyWithResponse

func (c *ClientWithResponses) StepRunUpdateCreatePrWithBodyWithResponse(ctx context.Context, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StepRunUpdateCreatePrResponse, error)

StepRunUpdateCreatePrWithBodyWithResponse request with arbitrary body returning *StepRunUpdateCreatePrResponse

func (*ClientWithResponses) StepRunUpdateCreatePrWithResponse

func (c *ClientWithResponses) StepRunUpdateCreatePrWithResponse(ctx context.Context, stepRun openapi_types.UUID, body StepRunUpdateCreatePrJSONRequestBody, reqEditors ...RequestEditorFn) (*StepRunUpdateCreatePrResponse, error)

func (*ClientWithResponses) StepRunUpdateRerunWithBodyWithResponse

func (c *ClientWithResponses) StepRunUpdateRerunWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StepRunUpdateRerunResponse, error)

StepRunUpdateRerunWithBodyWithResponse request with arbitrary body returning *StepRunUpdateRerunResponse

func (*ClientWithResponses) StepRunUpdateRerunWithResponse

func (c *ClientWithResponses) StepRunUpdateRerunWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, body StepRunUpdateRerunJSONRequestBody, reqEditors ...RequestEditorFn) (*StepRunUpdateRerunResponse, error)

func (*ClientWithResponses) TenantCreateWithBodyWithResponse

func (c *ClientWithResponses) TenantCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantCreateResponse, error)

TenantCreateWithBodyWithResponse request with arbitrary body returning *TenantCreateResponse

func (*ClientWithResponses) TenantCreateWithResponse

func (c *ClientWithResponses) TenantCreateWithResponse(ctx context.Context, body TenantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantCreateResponse, error)

func (*ClientWithResponses) TenantInviteAcceptWithBodyWithResponse

func (c *ClientWithResponses) TenantInviteAcceptWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteAcceptResponse, error)

TenantInviteAcceptWithBodyWithResponse request with arbitrary body returning *TenantInviteAcceptResponse

func (*ClientWithResponses) TenantInviteAcceptWithResponse

func (c *ClientWithResponses) TenantInviteAcceptWithResponse(ctx context.Context, body TenantInviteAcceptJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteAcceptResponse, error)

func (*ClientWithResponses) TenantInviteCreateWithBodyWithResponse

func (c *ClientWithResponses) TenantInviteCreateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteCreateResponse, error)

TenantInviteCreateWithBodyWithResponse request with arbitrary body returning *TenantInviteCreateResponse

func (*ClientWithResponses) TenantInviteCreateWithResponse

func (c *ClientWithResponses) TenantInviteCreateWithResponse(ctx context.Context, tenant openapi_types.UUID, body TenantInviteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteCreateResponse, error)

func (*ClientWithResponses) TenantInviteDeleteWithResponse

func (c *ClientWithResponses) TenantInviteDeleteWithResponse(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenantInviteDeleteResponse, error)

TenantInviteDeleteWithResponse request returning *TenantInviteDeleteResponse

func (*ClientWithResponses) TenantInviteListWithResponse

func (c *ClientWithResponses) TenantInviteListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenantInviteListResponse, error)

TenantInviteListWithResponse request returning *TenantInviteListResponse

func (*ClientWithResponses) TenantInviteRejectWithBodyWithResponse

func (c *ClientWithResponses) TenantInviteRejectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteRejectResponse, error)

TenantInviteRejectWithBodyWithResponse request with arbitrary body returning *TenantInviteRejectResponse

func (*ClientWithResponses) TenantInviteRejectWithResponse

func (c *ClientWithResponses) TenantInviteRejectWithResponse(ctx context.Context, body TenantInviteRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteRejectResponse, error)

func (*ClientWithResponses) TenantInviteUpdateWithBodyWithResponse

func (c *ClientWithResponses) TenantInviteUpdateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteUpdateResponse, error)

TenantInviteUpdateWithBodyWithResponse request with arbitrary body returning *TenantInviteUpdateResponse

func (*ClientWithResponses) TenantInviteUpdateWithResponse

func (c *ClientWithResponses) TenantInviteUpdateWithResponse(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, body TenantInviteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteUpdateResponse, error)

func (*ClientWithResponses) TenantMemberListWithResponse

func (c *ClientWithResponses) TenantMemberListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenantMemberListResponse, error)

TenantMemberListWithResponse request returning *TenantMemberListResponse

func (*ClientWithResponses) TenantMembershipsListWithResponse

func (c *ClientWithResponses) TenantMembershipsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenantMembershipsListResponse, error)

TenantMembershipsListWithResponse request returning *TenantMembershipsListResponse

func (*ClientWithResponses) UserCreateWithBodyWithResponse

func (c *ClientWithResponses) UserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)

UserCreateWithBodyWithResponse request with arbitrary body returning *UserCreateResponse

func (*ClientWithResponses) UserCreateWithResponse

func (c *ClientWithResponses) UserCreateWithResponse(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)

func (*ClientWithResponses) UserGetCurrentWithResponse

func (c *ClientWithResponses) UserGetCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserGetCurrentResponse, error)

UserGetCurrentWithResponse request returning *UserGetCurrentResponse

func (*ClientWithResponses) UserListTenantInvitesWithResponse

func (c *ClientWithResponses) UserListTenantInvitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserListTenantInvitesResponse, error)

UserListTenantInvitesWithResponse request returning *UserListTenantInvitesResponse

func (*ClientWithResponses) UserUpdateGithubAppOauthCallbackWithResponse added in v0.20.0

func (c *ClientWithResponses) UserUpdateGithubAppOauthCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubAppOauthCallbackResponse, error)

UserUpdateGithubAppOauthCallbackWithResponse request returning *UserUpdateGithubAppOauthCallbackResponse

func (*ClientWithResponses) UserUpdateGithubAppOauthStartWithResponse added in v0.20.0

func (c *ClientWithResponses) UserUpdateGithubAppOauthStartWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubAppOauthStartResponse, error)

UserUpdateGithubAppOauthStartWithResponse request returning *UserUpdateGithubAppOauthStartResponse

func (*ClientWithResponses) UserUpdateGithubOauthCallbackWithResponse

func (c *ClientWithResponses) UserUpdateGithubOauthCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubOauthCallbackResponse, error)

UserUpdateGithubOauthCallbackWithResponse request returning *UserUpdateGithubOauthCallbackResponse

func (*ClientWithResponses) UserUpdateGithubOauthStartWithResponse

func (c *ClientWithResponses) UserUpdateGithubOauthStartWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubOauthStartResponse, error)

UserUpdateGithubOauthStartWithResponse request returning *UserUpdateGithubOauthStartResponse

func (*ClientWithResponses) UserUpdateGoogleOauthCallbackWithResponse

func (c *ClientWithResponses) UserUpdateGoogleOauthCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGoogleOauthCallbackResponse, error)

UserUpdateGoogleOauthCallbackWithResponse request returning *UserUpdateGoogleOauthCallbackResponse

func (*ClientWithResponses) UserUpdateGoogleOauthStartWithResponse

func (c *ClientWithResponses) UserUpdateGoogleOauthStartWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGoogleOauthStartResponse, error)

UserUpdateGoogleOauthStartWithResponse request returning *UserUpdateGoogleOauthStartResponse

func (*ClientWithResponses) UserUpdateLoginWithBodyWithResponse

func (c *ClientWithResponses) UserUpdateLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateLoginResponse, error)

UserUpdateLoginWithBodyWithResponse request with arbitrary body returning *UserUpdateLoginResponse

func (*ClientWithResponses) UserUpdateLoginWithResponse

func (c *ClientWithResponses) UserUpdateLoginWithResponse(ctx context.Context, body UserUpdateLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateLoginResponse, error)

func (*ClientWithResponses) UserUpdateLogoutWithResponse

func (c *ClientWithResponses) UserUpdateLogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateLogoutResponse, error)

UserUpdateLogoutWithResponse request returning *UserUpdateLogoutResponse

func (*ClientWithResponses) UserUpdatePasswordWithBodyWithResponse added in v0.19.0

func (c *ClientWithResponses) UserUpdatePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdatePasswordResponse, error)

UserUpdatePasswordWithBodyWithResponse request with arbitrary body returning *UserUpdatePasswordResponse

func (*ClientWithResponses) UserUpdatePasswordWithResponse added in v0.19.0

func (c *ClientWithResponses) UserUpdatePasswordWithResponse(ctx context.Context, body UserUpdatePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdatePasswordResponse, error)

func (*ClientWithResponses) WorkerGetWithResponse

func (c *ClientWithResponses) WorkerGetWithResponse(ctx context.Context, worker openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkerGetResponse, error)

WorkerGetWithResponse request returning *WorkerGetResponse

func (*ClientWithResponses) WorkerListWithResponse

func (c *ClientWithResponses) WorkerListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkerListResponse, error)

WorkerListWithResponse request returning *WorkerListResponse

func (*ClientWithResponses) WorkflowDeleteWithResponse

func (c *ClientWithResponses) WorkflowDeleteWithResponse(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowDeleteResponse, error)

WorkflowDeleteWithResponse request returning *WorkflowDeleteResponse

func (*ClientWithResponses) WorkflowGetMetricsWithResponse added in v0.19.3

func (c *ClientWithResponses) WorkflowGetMetricsWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowGetMetricsParams, reqEditors ...RequestEditorFn) (*WorkflowGetMetricsResponse, error)

WorkflowGetMetricsWithResponse request returning *WorkflowGetMetricsResponse

func (*ClientWithResponses) WorkflowGetWithResponse

func (c *ClientWithResponses) WorkflowGetWithResponse(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowGetResponse, error)

WorkflowGetWithResponse request returning *WorkflowGetResponse

func (*ClientWithResponses) WorkflowListWithResponse

func (c *ClientWithResponses) WorkflowListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowListResponse, error)

WorkflowListWithResponse request returning *WorkflowListResponse

func (*ClientWithResponses) WorkflowRunCreateWithBodyWithResponse

func (c *ClientWithResponses) WorkflowRunCreateWithBodyWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowRunCreateResponse, error)

WorkflowRunCreateWithBodyWithResponse request with arbitrary body returning *WorkflowRunCreateResponse

func (*ClientWithResponses) WorkflowRunCreateWithResponse

func (c *ClientWithResponses) WorkflowRunCreateWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, body WorkflowRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowRunCreateResponse, error)

func (*ClientWithResponses) WorkflowRunGetMetricsWithResponse added in v0.22.0

func (c *ClientWithResponses) WorkflowRunGetMetricsWithResponse(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunGetMetricsParams, reqEditors ...RequestEditorFn) (*WorkflowRunGetMetricsResponse, error)

WorkflowRunGetMetricsWithResponse request returning *WorkflowRunGetMetricsResponse

func (*ClientWithResponses) WorkflowRunGetWithResponse

func (c *ClientWithResponses) WorkflowRunGetWithResponse(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowRunGetResponse, error)

WorkflowRunGetWithResponse request returning *WorkflowRunGetResponse

func (*ClientWithResponses) WorkflowRunListPullRequestsWithResponse

func (c *ClientWithResponses) WorkflowRunListPullRequestsWithResponse(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, params *WorkflowRunListPullRequestsParams, reqEditors ...RequestEditorFn) (*WorkflowRunListPullRequestsResponse, error)

WorkflowRunListPullRequestsWithResponse request returning *WorkflowRunListPullRequestsResponse

func (*ClientWithResponses) WorkflowRunListWithResponse

func (c *ClientWithResponses) WorkflowRunListWithResponse(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunListParams, reqEditors ...RequestEditorFn) (*WorkflowRunListResponse, error)

WorkflowRunListWithResponse request returning *WorkflowRunListResponse

func (*ClientWithResponses) WorkflowUpdateLinkGithubWithBodyWithResponse

func (c *ClientWithResponses) WorkflowUpdateLinkGithubWithBodyWithResponse(ctx context.Context, workflow openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowUpdateLinkGithubResponse, error)

WorkflowUpdateLinkGithubWithBodyWithResponse request with arbitrary body returning *WorkflowUpdateLinkGithubResponse

func (*ClientWithResponses) WorkflowUpdateLinkGithubWithResponse

func (c *ClientWithResponses) WorkflowUpdateLinkGithubWithResponse(ctx context.Context, workflow openapi_types.UUID, body WorkflowUpdateLinkGithubJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowUpdateLinkGithubResponse, error)

func (*ClientWithResponses) WorkflowVersionGetDefinitionWithResponse

func (c *ClientWithResponses) WorkflowVersionGetDefinitionWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetDefinitionParams, reqEditors ...RequestEditorFn) (*WorkflowVersionGetDefinitionResponse, error)

WorkflowVersionGetDefinitionWithResponse request returning *WorkflowVersionGetDefinitionResponse

func (*ClientWithResponses) WorkflowVersionGetWithResponse

func (c *ClientWithResponses) WorkflowVersionGetWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetParams, reqEditors ...RequestEditorFn) (*WorkflowVersionGetResponse, error)

WorkflowVersionGetWithResponse request returning *WorkflowVersionGetResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// LivenessGetWithResponse request
	LivenessGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*LivenessGetResponse, error)

	// ReadinessGetWithResponse request
	ReadinessGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadinessGetResponse, error)

	// ApiTokenUpdateRevokeWithResponse request
	ApiTokenUpdateRevokeWithResponse(ctx context.Context, apiToken openapi_types.UUID, reqEditors ...RequestEditorFn) (*ApiTokenUpdateRevokeResponse, error)

	// EventDataGetWithResponse request
	EventDataGetWithResponse(ctx context.Context, event openapi_types.UUID, reqEditors ...RequestEditorFn) (*EventDataGetResponse, error)

	// GithubAppListInstallationsWithResponse request
	GithubAppListInstallationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GithubAppListInstallationsResponse, error)

	// GithubAppListReposWithResponse request
	GithubAppListReposWithResponse(ctx context.Context, ghInstallation openapi_types.UUID, reqEditors ...RequestEditorFn) (*GithubAppListReposResponse, error)

	// GithubAppListBranchesWithResponse request
	GithubAppListBranchesWithResponse(ctx context.Context, ghInstallation openapi_types.UUID, ghRepoOwner string, ghRepoName string, reqEditors ...RequestEditorFn) (*GithubAppListBranchesResponse, error)

	// GithubUpdateGlobalWebhookWithResponse request
	GithubUpdateGlobalWebhookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GithubUpdateGlobalWebhookResponse, error)

	// GithubUpdateTenantWebhookWithResponse request
	GithubUpdateTenantWebhookWithResponse(ctx context.Context, webhook openapi_types.UUID, reqEditors ...RequestEditorFn) (*GithubUpdateTenantWebhookResponse, error)

	// MetadataGetWithResponse request
	MetadataGetWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MetadataGetResponse, error)

	// MetadataListIntegrationsWithResponse request
	MetadataListIntegrationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MetadataListIntegrationsResponse, error)

	// SnsDeleteWithResponse request
	SnsDeleteWithResponse(ctx context.Context, sns openapi_types.UUID, reqEditors ...RequestEditorFn) (*SnsDeleteResponse, error)

	// SnsUpdateWithResponse request
	SnsUpdateWithResponse(ctx context.Context, tenant openapi_types.UUID, event string, reqEditors ...RequestEditorFn) (*SnsUpdateResponse, error)

	// StepRunUpdateCreatePrWithBodyWithResponse request with any body
	StepRunUpdateCreatePrWithBodyWithResponse(ctx context.Context, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StepRunUpdateCreatePrResponse, error)

	StepRunUpdateCreatePrWithResponse(ctx context.Context, stepRun openapi_types.UUID, body StepRunUpdateCreatePrJSONRequestBody, reqEditors ...RequestEditorFn) (*StepRunUpdateCreatePrResponse, error)

	// StepRunGetDiffWithResponse request
	StepRunGetDiffWithResponse(ctx context.Context, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunGetDiffResponse, error)

	// LogLineListWithResponse request
	LogLineListWithResponse(ctx context.Context, stepRun openapi_types.UUID, params *LogLineListParams, reqEditors ...RequestEditorFn) (*LogLineListResponse, error)

	// TenantCreateWithBodyWithResponse request with any body
	TenantCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantCreateResponse, error)

	TenantCreateWithResponse(ctx context.Context, body TenantCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantCreateResponse, error)

	// ApiTokenListWithResponse request
	ApiTokenListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*ApiTokenListResponse, error)

	// ApiTokenCreateWithBodyWithResponse request with any body
	ApiTokenCreateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)

	ApiTokenCreateWithResponse(ctx context.Context, tenant openapi_types.UUID, body ApiTokenCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*ApiTokenCreateResponse, error)

	// EventListWithResponse request
	EventListWithResponse(ctx context.Context, tenant openapi_types.UUID, params *EventListParams, reqEditors ...RequestEditorFn) (*EventListResponse, error)

	// EventKeyListWithResponse request
	EventKeyListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*EventKeyListResponse, error)

	// EventUpdateReplayWithBodyWithResponse request with any body
	EventUpdateReplayWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EventUpdateReplayResponse, error)

	EventUpdateReplayWithResponse(ctx context.Context, tenant openapi_types.UUID, body EventUpdateReplayJSONRequestBody, reqEditors ...RequestEditorFn) (*EventUpdateReplayResponse, error)

	// TenantInviteListWithResponse request
	TenantInviteListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenantInviteListResponse, error)

	// TenantInviteCreateWithBodyWithResponse request with any body
	TenantInviteCreateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteCreateResponse, error)

	TenantInviteCreateWithResponse(ctx context.Context, tenant openapi_types.UUID, body TenantInviteCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteCreateResponse, error)

	// TenantInviteDeleteWithResponse request
	TenantInviteDeleteWithResponse(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenantInviteDeleteResponse, error)

	// TenantInviteUpdateWithBodyWithResponse request with any body
	TenantInviteUpdateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteUpdateResponse, error)

	TenantInviteUpdateWithResponse(ctx context.Context, tenant openapi_types.UUID, tenantInvite openapi_types.UUID, body TenantInviteUpdateJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteUpdateResponse, error)

	// TenantMemberListWithResponse request
	TenantMemberListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*TenantMemberListResponse, error)

	// SnsListWithResponse request
	SnsListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*SnsListResponse, error)

	// SnsCreateWithBodyWithResponse request with any body
	SnsCreateWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SnsCreateResponse, error)

	SnsCreateWithResponse(ctx context.Context, tenant openapi_types.UUID, body SnsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*SnsCreateResponse, error)

	// StepRunGetWithResponse request
	StepRunGetWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunGetResponse, error)

	// StepRunUpdateCancelWithResponse request
	StepRunUpdateCancelWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunUpdateCancelResponse, error)

	// StepRunUpdateRerunWithBodyWithResponse request with any body
	StepRunUpdateRerunWithBodyWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*StepRunUpdateRerunResponse, error)

	StepRunUpdateRerunWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, body StepRunUpdateRerunJSONRequestBody, reqEditors ...RequestEditorFn) (*StepRunUpdateRerunResponse, error)

	// StepRunGetSchemaWithResponse request
	StepRunGetSchemaWithResponse(ctx context.Context, tenant openapi_types.UUID, stepRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*StepRunGetSchemaResponse, error)

	// WorkerListWithResponse request
	WorkerListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkerListResponse, error)

	// WorkflowRunGetWithResponse request
	WorkflowRunGetWithResponse(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowRunGetResponse, error)

	// WorkflowRunListPullRequestsWithResponse request
	WorkflowRunListPullRequestsWithResponse(ctx context.Context, tenant openapi_types.UUID, workflowRun openapi_types.UUID, params *WorkflowRunListPullRequestsParams, reqEditors ...RequestEditorFn) (*WorkflowRunListPullRequestsResponse, error)

	// WorkflowListWithResponse request
	WorkflowListWithResponse(ctx context.Context, tenant openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowListResponse, error)

	// WorkflowRunListWithResponse request
	WorkflowRunListWithResponse(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunListParams, reqEditors ...RequestEditorFn) (*WorkflowRunListResponse, error)

	// WorkflowRunGetMetricsWithResponse request
	WorkflowRunGetMetricsWithResponse(ctx context.Context, tenant openapi_types.UUID, params *WorkflowRunGetMetricsParams, reqEditors ...RequestEditorFn) (*WorkflowRunGetMetricsResponse, error)

	// UserGetCurrentWithResponse request
	UserGetCurrentWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserGetCurrentResponse, error)

	// UserUpdateGithubAppOauthCallbackWithResponse request
	UserUpdateGithubAppOauthCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubAppOauthCallbackResponse, error)

	// UserUpdateGithubAppOauthStartWithResponse request
	UserUpdateGithubAppOauthStartWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubAppOauthStartResponse, error)

	// UserUpdateGithubOauthCallbackWithResponse request
	UserUpdateGithubOauthCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubOauthCallbackResponse, error)

	// UserUpdateGithubOauthStartWithResponse request
	UserUpdateGithubOauthStartWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGithubOauthStartResponse, error)

	// UserUpdateGoogleOauthCallbackWithResponse request
	UserUpdateGoogleOauthCallbackWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGoogleOauthCallbackResponse, error)

	// UserUpdateGoogleOauthStartWithResponse request
	UserUpdateGoogleOauthStartWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateGoogleOauthStartResponse, error)

	// UserListTenantInvitesWithResponse request
	UserListTenantInvitesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserListTenantInvitesResponse, error)

	// TenantInviteAcceptWithBodyWithResponse request with any body
	TenantInviteAcceptWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteAcceptResponse, error)

	TenantInviteAcceptWithResponse(ctx context.Context, body TenantInviteAcceptJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteAcceptResponse, error)

	// TenantInviteRejectWithBodyWithResponse request with any body
	TenantInviteRejectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TenantInviteRejectResponse, error)

	TenantInviteRejectWithResponse(ctx context.Context, body TenantInviteRejectJSONRequestBody, reqEditors ...RequestEditorFn) (*TenantInviteRejectResponse, error)

	// UserUpdateLoginWithBodyWithResponse request with any body
	UserUpdateLoginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdateLoginResponse, error)

	UserUpdateLoginWithResponse(ctx context.Context, body UserUpdateLoginJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdateLoginResponse, error)

	// UserUpdateLogoutWithResponse request
	UserUpdateLogoutWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UserUpdateLogoutResponse, error)

	// TenantMembershipsListWithResponse request
	TenantMembershipsListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*TenantMembershipsListResponse, error)

	// UserUpdatePasswordWithBodyWithResponse request with any body
	UserUpdatePasswordWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserUpdatePasswordResponse, error)

	UserUpdatePasswordWithResponse(ctx context.Context, body UserUpdatePasswordJSONRequestBody, reqEditors ...RequestEditorFn) (*UserUpdatePasswordResponse, error)

	// UserCreateWithBodyWithResponse request with any body
	UserCreateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)

	UserCreateWithResponse(ctx context.Context, body UserCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*UserCreateResponse, error)

	// WorkerGetWithResponse request
	WorkerGetWithResponse(ctx context.Context, worker openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkerGetResponse, error)

	// WorkflowDeleteWithResponse request
	WorkflowDeleteWithResponse(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowDeleteResponse, error)

	// WorkflowGetWithResponse request
	WorkflowGetWithResponse(ctx context.Context, workflow openapi_types.UUID, reqEditors ...RequestEditorFn) (*WorkflowGetResponse, error)

	// WorkflowUpdateLinkGithubWithBodyWithResponse request with any body
	WorkflowUpdateLinkGithubWithBodyWithResponse(ctx context.Context, workflow openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowUpdateLinkGithubResponse, error)

	WorkflowUpdateLinkGithubWithResponse(ctx context.Context, workflow openapi_types.UUID, body WorkflowUpdateLinkGithubJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowUpdateLinkGithubResponse, error)

	// WorkflowGetMetricsWithResponse request
	WorkflowGetMetricsWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowGetMetricsParams, reqEditors ...RequestEditorFn) (*WorkflowGetMetricsResponse, error)

	// WorkflowRunCreateWithBodyWithResponse request with any body
	WorkflowRunCreateWithBodyWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WorkflowRunCreateResponse, error)

	WorkflowRunCreateWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowRunCreateParams, body WorkflowRunCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*WorkflowRunCreateResponse, error)

	// WorkflowVersionGetWithResponse request
	WorkflowVersionGetWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetParams, reqEditors ...RequestEditorFn) (*WorkflowVersionGetResponse, error)

	// WorkflowVersionGetDefinitionWithResponse request
	WorkflowVersionGetDefinitionWithResponse(ctx context.Context, workflow openapi_types.UUID, params *WorkflowVersionGetDefinitionParams, reqEditors ...RequestEditorFn) (*WorkflowVersionGetDefinitionResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateAPITokenRequest

type CreateAPITokenRequest struct {
	// Name A name for the API token.
	Name string `json:"name"`
}

CreateAPITokenRequest defines model for CreateAPITokenRequest.

type CreateAPITokenResponse

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

CreateAPITokenResponse defines model for CreateAPITokenResponse.

type CreatePullRequestFromStepRun

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

CreatePullRequestFromStepRun defines model for CreatePullRequestFromStepRun.

type CreateSNSIntegrationRequest

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

type EventDataGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EventData
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseEventDataGetResponse

func ParseEventDataGetResponse(rsp *http.Response) (*EventDataGetResponse, error)

ParseEventDataGetResponse parses an HTTP response from a EventDataGetWithResponse call

func (EventDataGetResponse) Status

func (r EventDataGetResponse) Status() string

Status returns HTTPResponse.Status

func (EventDataGetResponse) StatusCode

func (r EventDataGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 EventKeyListResponse

type EventKeyListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EventKeyList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseEventKeyListResponse

func ParseEventKeyListResponse(rsp *http.Response) (*EventKeyListResponse, error)

ParseEventKeyListResponse parses an HTTP response from a EventKeyListWithResponse call

func (EventKeyListResponse) Status

func (r EventKeyListResponse) Status() string

Status returns HTTPResponse.Status

func (EventKeyListResponse) StatusCode

func (r EventKeyListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EventList

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

EventList defines model for EventList.

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 EventListResponse

type EventListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EventList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseEventListResponse

func ParseEventListResponse(rsp *http.Response) (*EventListResponse, error)

ParseEventListResponse parses an HTTP response from a EventListWithResponse call

func (EventListResponse) Status

func (r EventListResponse) Status() string

Status returns HTTPResponse.Status

func (EventListResponse) StatusCode

func (r EventListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 EventUpdateReplayJSONRequestBody

type EventUpdateReplayJSONRequestBody = ReplayEventRequest

EventUpdateReplayJSONRequestBody defines body for EventUpdateReplay for application/json ContentType.

type EventUpdateReplayResponse

type EventUpdateReplayResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *EventList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseEventUpdateReplayResponse

func ParseEventUpdateReplayResponse(rsp *http.Response) (*EventUpdateReplayResponse, error)

ParseEventUpdateReplayResponse parses an HTTP response from a EventUpdateReplayWithResponse call

func (EventUpdateReplayResponse) Status

func (r EventUpdateReplayResponse) Status() string

Status returns HTTPResponse.Status

func (EventUpdateReplayResponse) StatusCode

func (r EventUpdateReplayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

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

GetStepRunDiffResponse defines model for GetStepRunDiffResponse.

type GithubAppInstallation

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 GithubAppListBranchesResponse

type GithubAppListBranchesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListGithubBranchesResponse
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseGithubAppListBranchesResponse

func ParseGithubAppListBranchesResponse(rsp *http.Response) (*GithubAppListBranchesResponse, error)

ParseGithubAppListBranchesResponse parses an HTTP response from a GithubAppListBranchesWithResponse call

func (GithubAppListBranchesResponse) Status

Status returns HTTPResponse.Status

func (GithubAppListBranchesResponse) StatusCode

func (r GithubAppListBranchesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GithubAppListInstallationsResponse

type GithubAppListInstallationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListGithubAppInstallationsResponse
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseGithubAppListInstallationsResponse

func ParseGithubAppListInstallationsResponse(rsp *http.Response) (*GithubAppListInstallationsResponse, error)

ParseGithubAppListInstallationsResponse parses an HTTP response from a GithubAppListInstallationsWithResponse call

func (GithubAppListInstallationsResponse) Status

Status returns HTTPResponse.Status

func (GithubAppListInstallationsResponse) StatusCode

func (r GithubAppListInstallationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GithubAppListReposResponse

type GithubAppListReposResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListGithubReposResponse
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseGithubAppListReposResponse

func ParseGithubAppListReposResponse(rsp *http.Response) (*GithubAppListReposResponse, error)

ParseGithubAppListReposResponse parses an HTTP response from a GithubAppListReposWithResponse call

func (GithubAppListReposResponse) Status

Status returns HTTPResponse.Status

func (GithubAppListReposResponse) StatusCode

func (r GithubAppListReposResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GithubBranch

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

GithubBranch defines model for GithubBranch.

type GithubRepo

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

GithubRepo defines model for GithubRepo.

type GithubUpdateGlobalWebhookResponse

type GithubUpdateGlobalWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseGithubUpdateGlobalWebhookResponse

func ParseGithubUpdateGlobalWebhookResponse(rsp *http.Response) (*GithubUpdateGlobalWebhookResponse, error)

ParseGithubUpdateGlobalWebhookResponse parses an HTTP response from a GithubUpdateGlobalWebhookWithResponse call

func (GithubUpdateGlobalWebhookResponse) Status

Status returns HTTPResponse.Status

func (GithubUpdateGlobalWebhookResponse) StatusCode

func (r GithubUpdateGlobalWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GithubUpdateTenantWebhookResponse

type GithubUpdateTenantWebhookResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseGithubUpdateTenantWebhookResponse

func ParseGithubUpdateTenantWebhookResponse(rsp *http.Response) (*GithubUpdateTenantWebhookResponse, error)

ParseGithubUpdateTenantWebhookResponse parses an HTTP response from a GithubUpdateTenantWebhookWithResponse call

func (GithubUpdateTenantWebhookResponse) Status

Status returns HTTPResponse.Status

func (GithubUpdateTenantWebhookResponse) StatusCode

func (r GithubUpdateTenantWebhookResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

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

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

type ListAPIMetaIntegration = []APIMetaIntegration

ListAPIMetaIntegration defines model for ListAPIMetaIntegration.

type ListAPITokensResponse

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

ListAPITokensResponse defines model for ListAPITokensResponse.

type ListGithubAppInstallationsResponse

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

ListGithubAppInstallationsResponse defines model for ListGithubAppInstallationsResponse.

type ListGithubBranchesResponse

type ListGithubBranchesResponse = []GithubBranch

ListGithubBranchesResponse defines model for ListGithubBranchesResponse.

type ListGithubReposResponse

type ListGithubReposResponse = []GithubRepo

ListGithubReposResponse defines model for ListGithubReposResponse.

type ListPullRequestsResponse

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

ListPullRequestsResponse defines model for ListPullRequestsResponse.

type ListSNSIntegrations

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

ListSNSIntegrations defines model for ListSNSIntegrations.

type LivenessGetResponse

type LivenessGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseLivenessGetResponse

func ParseLivenessGetResponse(rsp *http.Response) (*LivenessGetResponse, error)

ParseLivenessGetResponse parses an HTTP response from a LivenessGetWithResponse call

func (LivenessGetResponse) Status

func (r LivenessGetResponse) Status() string

Status returns HTTPResponse.Status

func (LivenessGetResponse) StatusCode

func (r LivenessGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LogLine

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

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

type LogLineLevelField = []LogLineLevel

LogLineLevelField defines model for LogLineLevelField.

type LogLineList

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

LogLineList defines model for LogLineList.

type LogLineListParams

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 LogLineListResponse

type LogLineListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LogLineList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseLogLineListResponse

func ParseLogLineListResponse(rsp *http.Response) (*LogLineListResponse, error)

ParseLogLineListResponse parses an HTTP response from a LogLineListWithResponse call

func (LogLineListResponse) Status

func (r LogLineListResponse) Status() string

Status returns HTTPResponse.Status

func (LogLineListResponse) StatusCode

func (r LogLineListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LogLineOrderByDirection

type LogLineOrderByDirection string

LogLineOrderByDirection defines model for LogLineOrderByDirection.

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

Defines values for LogLineOrderByDirection.

type LogLineOrderByField

type LogLineOrderByField string

LogLineOrderByField defines model for LogLineOrderByField.

const (
	LogLineOrderByFieldCreatedAt LogLineOrderByField = "createdAt"
)

Defines values for LogLineOrderByField.

type LogLineSearch

type LogLineSearch = string

LogLineSearch defines model for LogLineSearch.

type MetadataGetResponse

type MetadataGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *APIMeta
	JSON400      *APIErrors
}

func ParseMetadataGetResponse

func ParseMetadataGetResponse(rsp *http.Response) (*MetadataGetResponse, error)

ParseMetadataGetResponse parses an HTTP response from a MetadataGetWithResponse call

func (MetadataGetResponse) Status

func (r MetadataGetResponse) Status() string

Status returns HTTPResponse.Status

func (MetadataGetResponse) StatusCode

func (r MetadataGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type MetadataListIntegrationsResponse

type MetadataListIntegrationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListAPIMetaIntegration
	JSON400      *APIErrors
}

func ParseMetadataListIntegrationsResponse

func ParseMetadataListIntegrationsResponse(rsp *http.Response) (*MetadataListIntegrationsResponse, error)

ParseMetadataListIntegrationsResponse parses an HTTP response from a MetadataListIntegrationsWithResponse call

func (MetadataListIntegrationsResponse) Status

Status returns HTTPResponse.Status

func (MetadataListIntegrationsResponse) StatusCode

func (r MetadataListIntegrationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

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

type PullRequestState string

PullRequestState defines model for PullRequestState.

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

Defines values for PullRequestState.

type ReadinessGetResponse

type ReadinessGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseReadinessGetResponse

func ParseReadinessGetResponse(rsp *http.Response) (*ReadinessGetResponse, error)

ParseReadinessGetResponse parses an HTTP response from a ReadinessGetWithResponse call

func (ReadinessGetResponse) Status

func (r ReadinessGetResponse) Status() string

Status returns HTTPResponse.Status

func (ReadinessGetResponse) StatusCode

func (r ReadinessGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RerunStepRunRequest

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

RerunStepRunRequest defines model for RerunStepRunRequest.

type SNSIntegration

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 SnsCreateJSONRequestBody

type SnsCreateJSONRequestBody = CreateSNSIntegrationRequest

SnsCreateJSONRequestBody defines body for SnsCreate for application/json ContentType.

type SnsCreateResponse

type SnsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *SNSIntegration
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseSnsCreateResponse

func ParseSnsCreateResponse(rsp *http.Response) (*SnsCreateResponse, error)

ParseSnsCreateResponse parses an HTTP response from a SnsCreateWithResponse call

func (SnsCreateResponse) Status

func (r SnsCreateResponse) Status() string

Status returns HTTPResponse.Status

func (SnsCreateResponse) StatusCode

func (r SnsCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SnsDeleteResponse

type SnsDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseSnsDeleteResponse

func ParseSnsDeleteResponse(rsp *http.Response) (*SnsDeleteResponse, error)

ParseSnsDeleteResponse parses an HTTP response from a SnsDeleteWithResponse call

func (SnsDeleteResponse) Status

func (r SnsDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (SnsDeleteResponse) StatusCode

func (r SnsDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SnsListResponse

type SnsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListSNSIntegrations
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseSnsListResponse

func ParseSnsListResponse(rsp *http.Response) (*SnsListResponse, error)

ParseSnsListResponse parses an HTTP response from a SnsListWithResponse call

func (SnsListResponse) Status

func (r SnsListResponse) Status() string

Status returns HTTPResponse.Status

func (SnsListResponse) StatusCode

func (r SnsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SnsUpdateResponse

type SnsUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseSnsUpdateResponse

func ParseSnsUpdateResponse(rsp *http.Response) (*SnsUpdateResponse, error)

ParseSnsUpdateResponse parses an HTTP response from a SnsUpdateWithResponse call

func (SnsUpdateResponse) Status

func (r SnsUpdateResponse) Status() string

Status returns HTTPResponse.Status

func (SnsUpdateResponse) StatusCode

func (r SnsUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

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

StepRunDiff defines model for StepRunDiff.

type StepRunGetDiffResponse

type StepRunGetDiffResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *GetStepRunDiffResponse
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseStepRunGetDiffResponse

func ParseStepRunGetDiffResponse(rsp *http.Response) (*StepRunGetDiffResponse, error)

ParseStepRunGetDiffResponse parses an HTTP response from a StepRunGetDiffWithResponse call

func (StepRunGetDiffResponse) Status

func (r StepRunGetDiffResponse) Status() string

Status returns HTTPResponse.Status

func (StepRunGetDiffResponse) StatusCode

func (r StepRunGetDiffResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StepRunGetResponse

type StepRunGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StepRun
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseStepRunGetResponse

func ParseStepRunGetResponse(rsp *http.Response) (*StepRunGetResponse, error)

ParseStepRunGetResponse parses an HTTP response from a StepRunGetWithResponse call

func (StepRunGetResponse) Status

func (r StepRunGetResponse) Status() string

Status returns HTTPResponse.Status

func (StepRunGetResponse) StatusCode

func (r StepRunGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StepRunGetSchemaResponse

type StepRunGetSchemaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseStepRunGetSchemaResponse

func ParseStepRunGetSchemaResponse(rsp *http.Response) (*StepRunGetSchemaResponse, error)

ParseStepRunGetSchemaResponse parses an HTTP response from a StepRunGetSchemaWithResponse call

func (StepRunGetSchemaResponse) Status

func (r StepRunGetSchemaResponse) Status() string

Status returns HTTPResponse.Status

func (StepRunGetSchemaResponse) StatusCode

func (r StepRunGetSchemaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 StepRunUpdateCancelResponse added in v0.19.0

type StepRunUpdateCancelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StepRun
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseStepRunUpdateCancelResponse added in v0.19.0

func ParseStepRunUpdateCancelResponse(rsp *http.Response) (*StepRunUpdateCancelResponse, error)

ParseStepRunUpdateCancelResponse parses an HTTP response from a StepRunUpdateCancelWithResponse call

func (StepRunUpdateCancelResponse) Status added in v0.19.0

Status returns HTTPResponse.Status

func (StepRunUpdateCancelResponse) StatusCode added in v0.19.0

func (r StepRunUpdateCancelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StepRunUpdateCreatePrJSONRequestBody

type StepRunUpdateCreatePrJSONRequestBody = CreatePullRequestFromStepRun

StepRunUpdateCreatePrJSONRequestBody defines body for StepRunUpdateCreatePr for application/json ContentType.

type StepRunUpdateCreatePrResponse

type StepRunUpdateCreatePrResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CreatePullRequestFromStepRun
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseStepRunUpdateCreatePrResponse

func ParseStepRunUpdateCreatePrResponse(rsp *http.Response) (*StepRunUpdateCreatePrResponse, error)

ParseStepRunUpdateCreatePrResponse parses an HTTP response from a StepRunUpdateCreatePrWithResponse call

func (StepRunUpdateCreatePrResponse) Status

Status returns HTTPResponse.Status

func (StepRunUpdateCreatePrResponse) StatusCode

func (r StepRunUpdateCreatePrResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StepRunUpdateRerunJSONRequestBody

type StepRunUpdateRerunJSONRequestBody = RerunStepRunRequest

StepRunUpdateRerunJSONRequestBody defines body for StepRunUpdateRerun for application/json ContentType.

type StepRunUpdateRerunResponse

type StepRunUpdateRerunResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StepRun
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseStepRunUpdateRerunResponse

func ParseStepRunUpdateRerunResponse(rsp *http.Response) (*StepRunUpdateRerunResponse, error)

ParseStepRunUpdateRerunResponse parses an HTTP response from a StepRunUpdateRerunWithResponse call

func (StepRunUpdateRerunResponse) Status

Status returns HTTPResponse.Status

func (StepRunUpdateRerunResponse) StatusCode

func (r StepRunUpdateRerunResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 TenantCreateJSONRequestBody

type TenantCreateJSONRequestBody = CreateTenantRequest

TenantCreateJSONRequestBody defines body for TenantCreate for application/json ContentType.

type TenantCreateResponse

type TenantCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Tenant
	JSON400      *APIErrors
	JSON403      *APIError
}

func ParseTenantCreateResponse

func ParseTenantCreateResponse(rsp *http.Response) (*TenantCreateResponse, error)

ParseTenantCreateResponse parses an HTTP response from a TenantCreateWithResponse call

func (TenantCreateResponse) Status

func (r TenantCreateResponse) Status() string

Status returns HTTPResponse.Status

func (TenantCreateResponse) StatusCode

func (r TenantCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 TenantInviteAcceptJSONRequestBody

type TenantInviteAcceptJSONRequestBody = AcceptInviteRequest

TenantInviteAcceptJSONRequestBody defines body for TenantInviteAccept for application/json ContentType.

type TenantInviteAcceptResponse

type TenantInviteAcceptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON403      *APIError
}

func ParseTenantInviteAcceptResponse

func ParseTenantInviteAcceptResponse(rsp *http.Response) (*TenantInviteAcceptResponse, error)

ParseTenantInviteAcceptResponse parses an HTTP response from a TenantInviteAcceptWithResponse call

func (TenantInviteAcceptResponse) Status

Status returns HTTPResponse.Status

func (TenantInviteAcceptResponse) StatusCode

func (r TenantInviteAcceptResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TenantInviteCreateJSONRequestBody

type TenantInviteCreateJSONRequestBody = CreateTenantInviteRequest

TenantInviteCreateJSONRequestBody defines body for TenantInviteCreate for application/json ContentType.

type TenantInviteCreateResponse

type TenantInviteCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *TenantInvite
	JSON400      *APIErrors
	JSON403      *APIError
}

func ParseTenantInviteCreateResponse

func ParseTenantInviteCreateResponse(rsp *http.Response) (*TenantInviteCreateResponse, error)

ParseTenantInviteCreateResponse parses an HTTP response from a TenantInviteCreateWithResponse call

func (TenantInviteCreateResponse) Status

Status returns HTTPResponse.Status

func (TenantInviteCreateResponse) StatusCode

func (r TenantInviteCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TenantInviteDeleteResponse

type TenantInviteDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantInvite
	JSON400      *APIErrors
}

func ParseTenantInviteDeleteResponse

func ParseTenantInviteDeleteResponse(rsp *http.Response) (*TenantInviteDeleteResponse, error)

ParseTenantInviteDeleteResponse parses an HTTP response from a TenantInviteDeleteWithResponse call

func (TenantInviteDeleteResponse) Status

Status returns HTTPResponse.Status

func (TenantInviteDeleteResponse) StatusCode

func (r TenantInviteDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TenantInviteList

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

TenantInviteList defines model for TenantInviteList.

type TenantInviteListResponse

type TenantInviteListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantInviteList
	JSON400      *APIErrors
	JSON403      *APIError
}

func ParseTenantInviteListResponse

func ParseTenantInviteListResponse(rsp *http.Response) (*TenantInviteListResponse, error)

ParseTenantInviteListResponse parses an HTTP response from a TenantInviteListWithResponse call

func (TenantInviteListResponse) Status

func (r TenantInviteListResponse) Status() string

Status returns HTTPResponse.Status

func (TenantInviteListResponse) StatusCode

func (r TenantInviteListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TenantInviteRejectJSONRequestBody

type TenantInviteRejectJSONRequestBody = RejectInviteRequest

TenantInviteRejectJSONRequestBody defines body for TenantInviteReject for application/json ContentType.

type TenantInviteRejectResponse

type TenantInviteRejectResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON403      *APIError
}

func ParseTenantInviteRejectResponse

func ParseTenantInviteRejectResponse(rsp *http.Response) (*TenantInviteRejectResponse, error)

ParseTenantInviteRejectResponse parses an HTTP response from a TenantInviteRejectWithResponse call

func (TenantInviteRejectResponse) Status

Status returns HTTPResponse.Status

func (TenantInviteRejectResponse) StatusCode

func (r TenantInviteRejectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TenantInviteUpdateJSONRequestBody

type TenantInviteUpdateJSONRequestBody = UpdateTenantInviteRequest

TenantInviteUpdateJSONRequestBody defines body for TenantInviteUpdate for application/json ContentType.

type TenantInviteUpdateResponse

type TenantInviteUpdateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantInvite
	JSON400      *APIErrors
}

func ParseTenantInviteUpdateResponse

func ParseTenantInviteUpdateResponse(rsp *http.Response) (*TenantInviteUpdateResponse, error)

ParseTenantInviteUpdateResponse parses an HTTP response from a TenantInviteUpdateWithResponse call

func (TenantInviteUpdateResponse) Status

Status returns HTTPResponse.Status

func (TenantInviteUpdateResponse) StatusCode

func (r TenantInviteUpdateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 TenantMemberListResponse

type TenantMemberListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantMemberList
	JSON400      *APIErrors
	JSON403      *APIError
}

func ParseTenantMemberListResponse

func ParseTenantMemberListResponse(rsp *http.Response) (*TenantMemberListResponse, error)

ParseTenantMemberListResponse parses an HTTP response from a TenantMemberListWithResponse call

func (TenantMemberListResponse) Status

func (r TenantMemberListResponse) Status() string

Status returns HTTPResponse.Status

func (TenantMemberListResponse) StatusCode

func (r TenantMemberListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 TenantMembershipsListResponse

type TenantMembershipsListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *UserTenantMembershipsList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseTenantMembershipsListResponse

func ParseTenantMembershipsListResponse(rsp *http.Response) (*TenantMembershipsListResponse, error)

ParseTenantMembershipsListResponse parses an HTTP response from a TenantMembershipsListWithResponse call

func (TenantMembershipsListResponse) Status

Status returns HTTPResponse.Status

func (TenantMembershipsListResponse) StatusCode

func (r TenantMembershipsListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type TriggerWorkflowRunRequest

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

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

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

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

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

User defines model for User.

type UserChangePasswordRequest added in v0.19.0

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

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

UserChangePasswordRequest defines model for UserChangePasswordRequest.

type UserCreateJSONRequestBody

type UserCreateJSONRequestBody = UserRegisterRequest

UserCreateJSONRequestBody defines body for UserCreate for application/json ContentType.

type UserCreateResponse

type UserCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseUserCreateResponse

func ParseUserCreateResponse(rsp *http.Response) (*UserCreateResponse, error)

ParseUserCreateResponse parses an HTTP response from a UserCreateWithResponse call

func (UserCreateResponse) Status

func (r UserCreateResponse) Status() string

Status returns HTTPResponse.Status

func (UserCreateResponse) StatusCode

func (r UserCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserGetCurrentResponse

type UserGetCurrentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseUserGetCurrentResponse

func ParseUserGetCurrentResponse(rsp *http.Response) (*UserGetCurrentResponse, error)

ParseUserGetCurrentResponse parses an HTTP response from a UserGetCurrentWithResponse call

func (UserGetCurrentResponse) Status

func (r UserGetCurrentResponse) Status() string

Status returns HTTPResponse.Status

func (UserGetCurrentResponse) StatusCode

func (r UserGetCurrentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserListTenantInvitesResponse

type UserListTenantInvitesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TenantInviteList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseUserListTenantInvitesResponse

func ParseUserListTenantInvitesResponse(rsp *http.Response) (*UserListTenantInvitesResponse, error)

ParseUserListTenantInvitesResponse parses an HTTP response from a UserListTenantInvitesWithResponse call

func (UserListTenantInvitesResponse) Status

Status returns HTTPResponse.Status

func (UserListTenantInvitesResponse) StatusCode

func (r UserListTenantInvitesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

type UserUpdateGithubAppOauthCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUserUpdateGithubAppOauthCallbackResponse added in v0.20.0

func ParseUserUpdateGithubAppOauthCallbackResponse(rsp *http.Response) (*UserUpdateGithubAppOauthCallbackResponse, error)

ParseUserUpdateGithubAppOauthCallbackResponse parses an HTTP response from a UserUpdateGithubAppOauthCallbackWithResponse call

func (UserUpdateGithubAppOauthCallbackResponse) Status added in v0.20.0

Status returns HTTPResponse.Status

func (UserUpdateGithubAppOauthCallbackResponse) StatusCode added in v0.20.0

StatusCode returns HTTPResponse.StatusCode

type UserUpdateGithubAppOauthStartResponse added in v0.20.0

type UserUpdateGithubAppOauthStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUserUpdateGithubAppOauthStartResponse added in v0.20.0

func ParseUserUpdateGithubAppOauthStartResponse(rsp *http.Response) (*UserUpdateGithubAppOauthStartResponse, error)

ParseUserUpdateGithubAppOauthStartResponse parses an HTTP response from a UserUpdateGithubAppOauthStartWithResponse call

func (UserUpdateGithubAppOauthStartResponse) Status added in v0.20.0

Status returns HTTPResponse.Status

func (UserUpdateGithubAppOauthStartResponse) StatusCode added in v0.20.0

StatusCode returns HTTPResponse.StatusCode

type UserUpdateGithubOauthCallbackResponse

type UserUpdateGithubOauthCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUserUpdateGithubOauthCallbackResponse

func ParseUserUpdateGithubOauthCallbackResponse(rsp *http.Response) (*UserUpdateGithubOauthCallbackResponse, error)

ParseUserUpdateGithubOauthCallbackResponse parses an HTTP response from a UserUpdateGithubOauthCallbackWithResponse call

func (UserUpdateGithubOauthCallbackResponse) Status

Status returns HTTPResponse.Status

func (UserUpdateGithubOauthCallbackResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserUpdateGithubOauthStartResponse

type UserUpdateGithubOauthStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUserUpdateGithubOauthStartResponse

func ParseUserUpdateGithubOauthStartResponse(rsp *http.Response) (*UserUpdateGithubOauthStartResponse, error)

ParseUserUpdateGithubOauthStartResponse parses an HTTP response from a UserUpdateGithubOauthStartWithResponse call

func (UserUpdateGithubOauthStartResponse) Status

Status returns HTTPResponse.Status

func (UserUpdateGithubOauthStartResponse) StatusCode

func (r UserUpdateGithubOauthStartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserUpdateGoogleOauthCallbackResponse

type UserUpdateGoogleOauthCallbackResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUserUpdateGoogleOauthCallbackResponse

func ParseUserUpdateGoogleOauthCallbackResponse(rsp *http.Response) (*UserUpdateGoogleOauthCallbackResponse, error)

ParseUserUpdateGoogleOauthCallbackResponse parses an HTTP response from a UserUpdateGoogleOauthCallbackWithResponse call

func (UserUpdateGoogleOauthCallbackResponse) Status

Status returns HTTPResponse.Status

func (UserUpdateGoogleOauthCallbackResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UserUpdateGoogleOauthStartResponse

type UserUpdateGoogleOauthStartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseUserUpdateGoogleOauthStartResponse

func ParseUserUpdateGoogleOauthStartResponse(rsp *http.Response) (*UserUpdateGoogleOauthStartResponse, error)

ParseUserUpdateGoogleOauthStartResponse parses an HTTP response from a UserUpdateGoogleOauthStartWithResponse call

func (UserUpdateGoogleOauthStartResponse) Status

Status returns HTTPResponse.Status

func (UserUpdateGoogleOauthStartResponse) StatusCode

func (r UserUpdateGoogleOauthStartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserUpdateLoginJSONRequestBody

type UserUpdateLoginJSONRequestBody = UserLoginRequest

UserUpdateLoginJSONRequestBody defines body for UserUpdateLogin for application/json ContentType.

type UserUpdateLoginResponse

type UserUpdateLoginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseUserUpdateLoginResponse

func ParseUserUpdateLoginResponse(rsp *http.Response) (*UserUpdateLoginResponse, error)

ParseUserUpdateLoginResponse parses an HTTP response from a UserUpdateLoginWithResponse call

func (UserUpdateLoginResponse) Status

func (r UserUpdateLoginResponse) Status() string

Status returns HTTPResponse.Status

func (UserUpdateLoginResponse) StatusCode

func (r UserUpdateLoginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserUpdateLogoutResponse

type UserUpdateLogoutResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseUserUpdateLogoutResponse

func ParseUserUpdateLogoutResponse(rsp *http.Response) (*UserUpdateLogoutResponse, error)

ParseUserUpdateLogoutResponse parses an HTTP response from a UserUpdateLogoutWithResponse call

func (UserUpdateLogoutResponse) Status

func (r UserUpdateLogoutResponse) Status() string

Status returns HTTPResponse.Status

func (UserUpdateLogoutResponse) StatusCode

func (r UserUpdateLogoutResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UserUpdatePasswordJSONRequestBody added in v0.19.0

type UserUpdatePasswordJSONRequestBody = UserChangePasswordRequest

UserUpdatePasswordJSONRequestBody defines body for UserUpdatePassword for application/json ContentType.

type UserUpdatePasswordResponse added in v0.19.0

type UserUpdatePasswordResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON400      *APIErrors
	JSON401      *APIErrors
	JSON405      *APIErrors
}

func ParseUserUpdatePasswordResponse added in v0.19.0

func ParseUserUpdatePasswordResponse(rsp *http.Response) (*UserUpdatePasswordResponse, error)

ParseUserUpdatePasswordResponse parses an HTTP response from a UserUpdatePasswordWithResponse call

func (UserUpdatePasswordResponse) Status added in v0.19.0

Status returns HTTPResponse.Status

func (UserUpdatePasswordResponse) StatusCode added in v0.19.0

func (r UserUpdatePasswordResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Worker

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

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

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

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

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

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

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

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

Worker defines model for Worker.

type WorkerGetResponse

type WorkerGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Worker
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkerGetResponse

func ParseWorkerGetResponse(rsp *http.Response) (*WorkerGetResponse, error)

ParseWorkerGetResponse parses an HTTP response from a WorkerGetWithResponse call

func (WorkerGetResponse) Status

func (r WorkerGetResponse) Status() string

Status returns HTTPResponse.Status

func (WorkerGetResponse) StatusCode

func (r WorkerGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkerList

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

WorkerList defines model for WorkerList.

type WorkerListResponse

type WorkerListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkerList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkerListResponse

func ParseWorkerListResponse(rsp *http.Response) (*WorkerListResponse, error)

ParseWorkerListResponse parses an HTTP response from a WorkerListWithResponse call

func (WorkerListResponse) Status

func (r WorkerListResponse) Status() string

Status returns HTTPResponse.Status

func (WorkerListResponse) StatusCode

func (r WorkerListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkerStatus added in v0.22.0

type WorkerStatus string

WorkerStatus The status of the worker.

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

Defines values for WorkerStatus.

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

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

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 WorkflowDeleteResponse

type WorkflowDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseWorkflowDeleteResponse

func ParseWorkflowDeleteResponse(rsp *http.Response) (*WorkflowDeleteResponse, error)

ParseWorkflowDeleteResponse parses an HTTP response from a WorkflowDeleteWithResponse call

func (WorkflowDeleteResponse) Status

func (r WorkflowDeleteResponse) Status() string

Status returns HTTPResponse.Status

func (WorkflowDeleteResponse) StatusCode

func (r WorkflowDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowDeploymentConfig

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 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 WorkflowGetMetricsResponse added in v0.19.3

type WorkflowGetMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowMetrics
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseWorkflowGetMetricsResponse added in v0.19.3

func ParseWorkflowGetMetricsResponse(rsp *http.Response) (*WorkflowGetMetricsResponse, error)

ParseWorkflowGetMetricsResponse parses an HTTP response from a WorkflowGetMetricsWithResponse call

func (WorkflowGetMetricsResponse) Status added in v0.19.3

Status returns HTTPResponse.Status

func (WorkflowGetMetricsResponse) StatusCode added in v0.19.3

func (r WorkflowGetMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowGetResponse

type WorkflowGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workflow
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkflowGetResponse

func ParseWorkflowGetResponse(rsp *http.Response) (*WorkflowGetResponse, error)

ParseWorkflowGetResponse parses an HTTP response from a WorkflowGetWithResponse call

func (WorkflowGetResponse) Status

func (r WorkflowGetResponse) Status() string

Status returns HTTPResponse.Status

func (WorkflowGetResponse) StatusCode

func (r WorkflowGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 WorkflowListResponse

type WorkflowListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkflowListResponse

func ParseWorkflowListResponse(rsp *http.Response) (*WorkflowListResponse, error)

ParseWorkflowListResponse parses an HTTP response from a WorkflowListWithResponse call

func (WorkflowListResponse) Status

func (r WorkflowListResponse) Status() string

Status returns HTTPResponse.Status

func (WorkflowListResponse) StatusCode

func (r WorkflowListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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 WorkflowRunCreateJSONRequestBody

type WorkflowRunCreateJSONRequestBody = TriggerWorkflowRunRequest

WorkflowRunCreateJSONRequestBody defines body for WorkflowRunCreate for application/json ContentType.

type WorkflowRunCreateParams

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 WorkflowRunCreateResponse

type WorkflowRunCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowRun
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseWorkflowRunCreateResponse

func ParseWorkflowRunCreateResponse(rsp *http.Response) (*WorkflowRunCreateResponse, error)

ParseWorkflowRunCreateResponse parses an HTTP response from a WorkflowRunCreateWithResponse call

func (WorkflowRunCreateResponse) Status

func (r WorkflowRunCreateResponse) Status() string

Status returns HTTPResponse.Status

func (WorkflowRunCreateResponse) StatusCode

func (r WorkflowRunCreateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowRunGetMetricsParams added in v0.22.0

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

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

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

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

WorkflowRunGetMetricsParams defines parameters for WorkflowRunGetMetrics.

type WorkflowRunGetMetricsResponse added in v0.22.0

type WorkflowRunGetMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowRunsMetrics
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkflowRunGetMetricsResponse added in v0.22.0

func ParseWorkflowRunGetMetricsResponse(rsp *http.Response) (*WorkflowRunGetMetricsResponse, error)

ParseWorkflowRunGetMetricsResponse parses an HTTP response from a WorkflowRunGetMetricsWithResponse call

func (WorkflowRunGetMetricsResponse) Status added in v0.22.0

Status returns HTTPResponse.Status

func (WorkflowRunGetMetricsResponse) StatusCode added in v0.22.0

func (r WorkflowRunGetMetricsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowRunGetResponse

type WorkflowRunGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowRun
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkflowRunGetResponse

func ParseWorkflowRunGetResponse(rsp *http.Response) (*WorkflowRunGetResponse, error)

ParseWorkflowRunGetResponse parses an HTTP response from a WorkflowRunGetWithResponse call

func (WorkflowRunGetResponse) Status

func (r WorkflowRunGetResponse) Status() string

Status returns HTTPResponse.Status

func (WorkflowRunGetResponse) StatusCode

func (r WorkflowRunGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type WorkflowRunList

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

WorkflowRunList defines model for WorkflowRunList.

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 WorkflowRunListPullRequestsParams

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

WorkflowRunListPullRequestsParams defines parameters for WorkflowRunListPullRequests.

type WorkflowRunListPullRequestsResponse

type WorkflowRunListPullRequestsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListPullRequestsResponse
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkflowRunListPullRequestsResponse

func ParseWorkflowRunListPullRequestsResponse(rsp *http.Response) (*WorkflowRunListPullRequestsResponse, error)

ParseWorkflowRunListPullRequestsResponse parses an HTTP response from a WorkflowRunListPullRequestsWithResponse call

func (WorkflowRunListPullRequestsResponse) Status

Status returns HTTPResponse.Status

func (WorkflowRunListPullRequestsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type WorkflowRunListResponse

type WorkflowRunListResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowRunList
	JSON400      *APIErrors
	JSON403      *APIErrors
}

func ParseWorkflowRunListResponse

func ParseWorkflowRunListResponse(rsp *http.Response) (*WorkflowRunListResponse, error)

ParseWorkflowRunListResponse parses an HTTP response from a WorkflowRunListWithResponse call

func (WorkflowRunListResponse) Status

func (r WorkflowRunListResponse) Status() string

Status returns HTTPResponse.Status

func (WorkflowRunListResponse) StatusCode

func (r WorkflowRunListResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

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 WorkflowRunsMetrics added in v0.22.0

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

WorkflowRunsMetrics defines model for WorkflowRunsMetrics.

type WorkflowRunsMetricsCounts added in v0.22.0

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

WorkflowRunsMetricsCounts defines model for WorkflowRunsMetricsCounts.

type WorkflowTag

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

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

WorkflowTag defines model for WorkflowTag.

type WorkflowTriggerCronRef

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

WorkflowTriggerCronRef defines model for WorkflowTriggerCronRef.

type WorkflowTriggerEventRef

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

WorkflowTriggerEventRef defines model for WorkflowTriggerEventRef.

type WorkflowTriggers

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

WorkflowTriggers defines model for WorkflowTriggers.

type WorkflowUpdateLinkGithubJSONRequestBody

type WorkflowUpdateLinkGithubJSONRequestBody = LinkGithubRepositoryRequest

WorkflowUpdateLinkGithubJSONRequestBody defines body for WorkflowUpdateLinkGithub for application/json ContentType.

type WorkflowUpdateLinkGithubResponse

type WorkflowUpdateLinkGithubResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workflow
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseWorkflowUpdateLinkGithubResponse

func ParseWorkflowUpdateLinkGithubResponse(rsp *http.Response) (*WorkflowUpdateLinkGithubResponse, error)

ParseWorkflowUpdateLinkGithubResponse parses an HTTP response from a WorkflowUpdateLinkGithubWithResponse call

func (WorkflowUpdateLinkGithubResponse) Status

Status returns HTTPResponse.Status

func (WorkflowUpdateLinkGithubResponse) StatusCode

func (r WorkflowUpdateLinkGithubResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

type WorkflowVersionGetDefinitionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowVersionDefinition
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseWorkflowVersionGetDefinitionResponse

func ParseWorkflowVersionGetDefinitionResponse(rsp *http.Response) (*WorkflowVersionGetDefinitionResponse, error)

ParseWorkflowVersionGetDefinitionResponse parses an HTTP response from a WorkflowVersionGetDefinitionWithResponse call

func (WorkflowVersionGetDefinitionResponse) Status

Status returns HTTPResponse.Status

func (WorkflowVersionGetDefinitionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

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 WorkflowVersionGetResponse

type WorkflowVersionGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkflowVersion
	JSON400      *APIErrors
	JSON403      *APIErrors
	JSON404      *APIErrors
}

func ParseWorkflowVersionGetResponse

func ParseWorkflowVersionGetResponse(rsp *http.Response) (*WorkflowVersionGetResponse, error)

ParseWorkflowVersionGetResponse parses an HTTP response from a WorkflowVersionGetWithResponse call

func (WorkflowVersionGetResponse) Status

Status returns HTTPResponse.Status

func (WorkflowVersionGetResponse) StatusCode

func (r WorkflowVersionGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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