api

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwagger

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

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

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

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

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

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

HandlerWithOptions creates http.Handler with additional options

func NewDeleteJobsIdRequest

func NewDeleteJobsIdRequest(server string, id string) (*http.Request, error)

NewDeleteJobsIdRequest generates requests for DeleteJobsId

func NewDeleteJobsIdTagsRequest

func NewDeleteJobsIdTagsRequest(server string, id string, params *DeleteJobsIdTagsParams, body DeleteJobsIdTagsJSONRequestBody) (*http.Request, error)

NewDeleteJobsIdTagsRequest calls the generic DeleteJobsIdTags builder with application/json body

func NewDeleteJobsIdTagsRequestWithBody

func NewDeleteJobsIdTagsRequestWithBody(server string, id string, params *DeleteJobsIdTagsParams, contentType string, body io.Reader) (*http.Request, error)

NewDeleteJobsIdTagsRequestWithBody generates requests for DeleteJobsIdTags with any type of body

func NewDeleteWorkflowsNameRequest

func NewDeleteWorkflowsNameRequest(server string, name string) (*http.Request, error)

NewDeleteWorkflowsNameRequest generates requests for DeleteWorkflowsName

func NewGetHealthRequest

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

NewGetHealthRequest generates requests for GetHealth

func NewGetJobsEventsRequest

func NewGetJobsEventsRequest(server string, params *GetJobsEventsParams) (*http.Request, error)

NewGetJobsEventsRequest generates requests for GetJobsEvents

func NewGetJobsIdDefinitionRequest

func NewGetJobsIdDefinitionRequest(server string, id string, params *GetJobsIdDefinitionParams) (*http.Request, error)

NewGetJobsIdDefinitionRequest generates requests for GetJobsIdDefinition

func NewGetJobsIdRequest

func NewGetJobsIdRequest(server string, id string, params *GetJobsIdParams) (*http.Request, error)

NewGetJobsIdRequest generates requests for GetJobsId

func NewGetJobsIdStatusRequest

func NewGetJobsIdStatusRequest(server string, id string, params *GetJobsIdStatusParams) (*http.Request, error)

NewGetJobsIdStatusRequest generates requests for GetJobsIdStatus

func NewGetJobsIdTagsRequest

func NewGetJobsIdTagsRequest(server string, id string, params *GetJobsIdTagsParams) (*http.Request, error)

NewGetJobsIdTagsRequest generates requests for GetJobsIdTags

func NewGetJobsRequest

func NewGetJobsRequest(server string, params *GetJobsParams) (*http.Request, error)

NewGetJobsRequest generates requests for GetJobs

func NewGetVersionRequest

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

NewGetVersionRequest generates requests for GetVersion

func NewGetWorkflowsNameRequest

func NewGetWorkflowsNameRequest(server string, name string, params *GetWorkflowsNameParams) (*http.Request, error)

NewGetWorkflowsNameRequest generates requests for GetWorkflowsName

func NewGetWorkflowsRequest

func NewGetWorkflowsRequest(server string, params *GetWorkflowsParams) (*http.Request, error)

NewGetWorkflowsRequest generates requests for GetWorkflows

func NewPostJobsIdTagsRequest

func NewPostJobsIdTagsRequest(server string, id string, params *PostJobsIdTagsParams, body PostJobsIdTagsJSONRequestBody) (*http.Request, error)

NewPostJobsIdTagsRequest calls the generic PostJobsIdTags builder with application/json body

func NewPostJobsIdTagsRequestWithBody

func NewPostJobsIdTagsRequestWithBody(server string, id string, params *PostJobsIdTagsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostJobsIdTagsRequestWithBody generates requests for PostJobsIdTags with any type of body

func NewPostJobsRequest

func NewPostJobsRequest(server string, params *PostJobsParams, body PostJobsJSONRequestBody) (*http.Request, error)

NewPostJobsRequest calls the generic PostJobs builder with application/json body

func NewPostJobsRequestWithBody

func NewPostJobsRequestWithBody(server string, params *PostJobsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostJobsRequestWithBody generates requests for PostJobs with any type of body

func NewPostWorkflowsRequest

func NewPostWorkflowsRequest(server string, params *PostWorkflowsParams, body PostWorkflowsJSONRequestBody) (*http.Request, error)

NewPostWorkflowsRequest calls the generic PostWorkflows builder with application/json body

func NewPostWorkflowsRequestWithBody

func NewPostWorkflowsRequestWithBody(server string, params *PostWorkflowsParams, contentType string, body io.Reader) (*http.Request, error)

NewPostWorkflowsRequestWithBody generates requests for PostWorkflows with any type of body

func NewPutJobsIdDefinitionRequest

func NewPutJobsIdDefinitionRequest(server string, id string, params *PutJobsIdDefinitionParams, body PutJobsIdDefinitionJSONRequestBody) (*http.Request, error)

NewPutJobsIdDefinitionRequest calls the generic PutJobsIdDefinition builder with application/json body

func NewPutJobsIdDefinitionRequestWithBody

func NewPutJobsIdDefinitionRequestWithBody(server string, id string, params *PutJobsIdDefinitionParams, contentType string, body io.Reader) (*http.Request, error)

NewPutJobsIdDefinitionRequestWithBody generates requests for PutJobsIdDefinition with any type of body

func NewPutJobsIdStatusRequest

func NewPutJobsIdStatusRequest(server string, id string, params *PutJobsIdStatusParams, body PutJobsIdStatusJSONRequestBody) (*http.Request, error)

NewPutJobsIdStatusRequest calls the generic PutJobsIdStatus builder with application/json body

func NewPutJobsIdStatusRequestWithBody

func NewPutJobsIdStatusRequestWithBody(server string, id string, params *PutJobsIdStatusParams, contentType string, body io.Reader) (*http.Request, error)

NewPutJobsIdStatusRequestWithBody generates requests for PutJobsIdStatus with any type of body

func PathToRawSpec

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

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

Types

type ActionEnum

type ActionEnum string

ActionEnum defines model for ActionEnum.

const (
	IMMEDIATE ActionEnum = "IMMEDIATE"
	WAIT      ActionEnum = "WAIT"
)

Defines values for ActionEnum.

type AvailabilityStatus

type AvailabilityStatus string

AvailabilityStatus Enumeration of possible availability statuses.

const (
	Down    AvailabilityStatus = "down"
	Unknown AvailabilityStatus = "unknown"
	Up      AvailabilityStatus = "up"
)

Defines values for AvailabilityStatus.

type CheckResult

type CheckResult struct {
	// Error The check error message, if the check failed.
	Error string `json:"error,omitempty"`

	// Status Enumeration of possible availability statuses.
	Status AvailabilityStatus `json:"status,omitempty"`

	// Timestamp The time when the check was executed.
	Timestamp time.Time `json:"timestamp,omitempty"`
}

CheckResult Health information for a checked component.

type CheckerResult

type CheckerResult struct {
	// Details Details contains health information for all checked components.
	Details *map[string]CheckResult `json:"details,omitempty"`

	// Info Info contains additional information about this health result.
	Info *map[string]interface{} `json:"info,omitempty"`

	// Status Enumeration of possible availability statuses.
	Status AvailabilityStatus `json:"status,omitempty"`
}

CheckerResult defines model for CheckerResult.

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) DeleteJobsId

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

func (*Client) DeleteJobsIdTags

func (c *Client) DeleteJobsIdTags(ctx context.Context, id string, params *DeleteJobsIdTagsParams, body DeleteJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteJobsIdTagsWithBody

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

func (*Client) DeleteWorkflowsName

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

func (*Client) GetHealth

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

func (*Client) GetJobs

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

func (*Client) GetJobsEvents

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

func (*Client) GetJobsId

func (c *Client) GetJobsId(ctx context.Context, id string, params *GetJobsIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJobsIdDefinition

func (c *Client) GetJobsIdDefinition(ctx context.Context, id string, params *GetJobsIdDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJobsIdStatus

func (c *Client) GetJobsIdStatus(ctx context.Context, id string, params *GetJobsIdStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetJobsIdTags

func (c *Client) GetJobsIdTags(ctx context.Context, id string, params *GetJobsIdTagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetVersion

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

func (*Client) GetWorkflows

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

func (*Client) GetWorkflowsName

func (c *Client) GetWorkflowsName(ctx context.Context, name string, params *GetWorkflowsNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostJobs

func (c *Client) PostJobs(ctx context.Context, params *PostJobsParams, body PostJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostJobsIdTags

func (c *Client) PostJobsIdTags(ctx context.Context, id string, params *PostJobsIdTagsParams, body PostJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostJobsIdTagsWithBody

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

func (*Client) PostJobsWithBody

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

func (*Client) PostWorkflows

func (c *Client) PostWorkflows(ctx context.Context, params *PostWorkflowsParams, body PostWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostWorkflowsWithBody

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

func (*Client) PutJobsIdDefinition

func (c *Client) PutJobsIdDefinition(ctx context.Context, id string, params *PutJobsIdDefinitionParams, body PutJobsIdDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutJobsIdDefinitionWithBody

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

func (*Client) PutJobsIdStatus

func (c *Client) PutJobsIdStatus(ctx context.Context, id string, params *PutJobsIdStatusParams, body PutJobsIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutJobsIdStatusWithBody

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

type ClientInterface

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

	// GetJobs request
	GetJobs(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostJobs(ctx context.Context, params *PostJobsParams, body PostJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobsEvents request
	GetJobsEvents(ctx context.Context, params *GetJobsEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteJobsId request
	DeleteJobsId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobsId request
	GetJobsId(ctx context.Context, id string, params *GetJobsIdParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobsIdDefinition request
	GetJobsIdDefinition(ctx context.Context, id string, params *GetJobsIdDefinitionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PutJobsIdDefinition(ctx context.Context, id string, params *PutJobsIdDefinitionParams, body PutJobsIdDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobsIdStatus request
	GetJobsIdStatus(ctx context.Context, id string, params *GetJobsIdStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PutJobsIdStatus(ctx context.Context, id string, params *PutJobsIdStatusParams, body PutJobsIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	DeleteJobsIdTags(ctx context.Context, id string, params *DeleteJobsIdTagsParams, body DeleteJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJobsIdTags request
	GetJobsIdTags(ctx context.Context, id string, params *GetJobsIdTagsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostJobsIdTags(ctx context.Context, id string, params *PostJobsIdTagsParams, body PostJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetWorkflows request
	GetWorkflows(ctx context.Context, params *GetWorkflowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostWorkflows(ctx context.Context, params *PostWorkflowsParams, body PostWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkflowsName request
	DeleteWorkflowsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkflowsName request
	GetWorkflowsName(ctx context.Context, name string, params *GetWorkflowsNameParams, 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) DeleteJobsIdTagsWithBodyWithResponse

func (c *ClientWithResponses) DeleteJobsIdTagsWithBodyWithResponse(ctx context.Context, id string, params *DeleteJobsIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteJobsIdTagsResponse, error)

DeleteJobsIdTagsWithBodyWithResponse request with arbitrary body returning *DeleteJobsIdTagsResponse

func (*ClientWithResponses) DeleteJobsIdTagsWithResponse

func (c *ClientWithResponses) DeleteJobsIdTagsWithResponse(ctx context.Context, id string, params *DeleteJobsIdTagsParams, body DeleteJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteJobsIdTagsResponse, error)

func (*ClientWithResponses) DeleteJobsIdWithResponse

func (c *ClientWithResponses) DeleteJobsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteJobsIdResponse, error)

DeleteJobsIdWithResponse request returning *DeleteJobsIdResponse

func (*ClientWithResponses) DeleteWorkflowsNameWithResponse

func (c *ClientWithResponses) DeleteWorkflowsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteWorkflowsNameResponse, error)

DeleteWorkflowsNameWithResponse request returning *DeleteWorkflowsNameResponse

func (*ClientWithResponses) GetHealthWithResponse

func (c *ClientWithResponses) GetHealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthResponse, error)

GetHealthWithResponse request returning *GetHealthResponse

func (*ClientWithResponses) GetJobsEventsWithResponse

func (c *ClientWithResponses) GetJobsEventsWithResponse(ctx context.Context, params *GetJobsEventsParams, reqEditors ...RequestEditorFn) (*GetJobsEventsResponse, error)

GetJobsEventsWithResponse request returning *GetJobsEventsResponse

func (*ClientWithResponses) GetJobsIdDefinitionWithResponse

func (c *ClientWithResponses) GetJobsIdDefinitionWithResponse(ctx context.Context, id string, params *GetJobsIdDefinitionParams, reqEditors ...RequestEditorFn) (*GetJobsIdDefinitionResponse, error)

GetJobsIdDefinitionWithResponse request returning *GetJobsIdDefinitionResponse

func (*ClientWithResponses) GetJobsIdStatusWithResponse

func (c *ClientWithResponses) GetJobsIdStatusWithResponse(ctx context.Context, id string, params *GetJobsIdStatusParams, reqEditors ...RequestEditorFn) (*GetJobsIdStatusResponse, error)

GetJobsIdStatusWithResponse request returning *GetJobsIdStatusResponse

func (*ClientWithResponses) GetJobsIdTagsWithResponse

func (c *ClientWithResponses) GetJobsIdTagsWithResponse(ctx context.Context, id string, params *GetJobsIdTagsParams, reqEditors ...RequestEditorFn) (*GetJobsIdTagsResponse, error)

GetJobsIdTagsWithResponse request returning *GetJobsIdTagsResponse

func (*ClientWithResponses) GetJobsIdWithResponse

func (c *ClientWithResponses) GetJobsIdWithResponse(ctx context.Context, id string, params *GetJobsIdParams, reqEditors ...RequestEditorFn) (*GetJobsIdResponse, error)

GetJobsIdWithResponse request returning *GetJobsIdResponse

func (*ClientWithResponses) GetJobsWithResponse

func (c *ClientWithResponses) GetJobsWithResponse(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*GetJobsResponse, error)

GetJobsWithResponse request returning *GetJobsResponse

func (*ClientWithResponses) GetVersionWithResponse

func (c *ClientWithResponses) GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)

GetVersionWithResponse request returning *GetVersionResponse

func (*ClientWithResponses) GetWorkflowsNameWithResponse

func (c *ClientWithResponses) GetWorkflowsNameWithResponse(ctx context.Context, name string, params *GetWorkflowsNameParams, reqEditors ...RequestEditorFn) (*GetWorkflowsNameResponse, error)

GetWorkflowsNameWithResponse request returning *GetWorkflowsNameResponse

func (*ClientWithResponses) GetWorkflowsWithResponse

func (c *ClientWithResponses) GetWorkflowsWithResponse(ctx context.Context, params *GetWorkflowsParams, reqEditors ...RequestEditorFn) (*GetWorkflowsResponse, error)

GetWorkflowsWithResponse request returning *GetWorkflowsResponse

func (*ClientWithResponses) PostJobsIdTagsWithBodyWithResponse

func (c *ClientWithResponses) PostJobsIdTagsWithBodyWithResponse(ctx context.Context, id string, params *PostJobsIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostJobsIdTagsResponse, error)

PostJobsIdTagsWithBodyWithResponse request with arbitrary body returning *PostJobsIdTagsResponse

func (*ClientWithResponses) PostJobsIdTagsWithResponse

func (c *ClientWithResponses) PostJobsIdTagsWithResponse(ctx context.Context, id string, params *PostJobsIdTagsParams, body PostJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostJobsIdTagsResponse, error)

func (*ClientWithResponses) PostJobsWithBodyWithResponse

func (c *ClientWithResponses) PostJobsWithBodyWithResponse(ctx context.Context, params *PostJobsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostJobsResponse, error)

PostJobsWithBodyWithResponse request with arbitrary body returning *PostJobsResponse

func (*ClientWithResponses) PostJobsWithResponse

func (c *ClientWithResponses) PostJobsWithResponse(ctx context.Context, params *PostJobsParams, body PostJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostJobsResponse, error)

func (*ClientWithResponses) PostWorkflowsWithBodyWithResponse

func (c *ClientWithResponses) PostWorkflowsWithBodyWithResponse(ctx context.Context, params *PostWorkflowsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostWorkflowsResponse, error)

PostWorkflowsWithBodyWithResponse request with arbitrary body returning *PostWorkflowsResponse

func (*ClientWithResponses) PostWorkflowsWithResponse

func (c *ClientWithResponses) PostWorkflowsWithResponse(ctx context.Context, params *PostWorkflowsParams, body PostWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostWorkflowsResponse, error)

func (*ClientWithResponses) PutJobsIdDefinitionWithBodyWithResponse

func (c *ClientWithResponses) PutJobsIdDefinitionWithBodyWithResponse(ctx context.Context, id string, params *PutJobsIdDefinitionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutJobsIdDefinitionResponse, error)

PutJobsIdDefinitionWithBodyWithResponse request with arbitrary body returning *PutJobsIdDefinitionResponse

func (*ClientWithResponses) PutJobsIdDefinitionWithResponse

func (*ClientWithResponses) PutJobsIdStatusWithBodyWithResponse

func (c *ClientWithResponses) PutJobsIdStatusWithBodyWithResponse(ctx context.Context, id string, params *PutJobsIdStatusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutJobsIdStatusResponse, error)

PutJobsIdStatusWithBodyWithResponse request with arbitrary body returning *PutJobsIdStatusResponse

func (*ClientWithResponses) PutJobsIdStatusWithResponse

func (c *ClientWithResponses) PutJobsIdStatusWithResponse(ctx context.Context, id string, params *PutJobsIdStatusParams, body PutJobsIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutJobsIdStatusResponse, error)

type ClientWithResponsesInterface

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

	// GetJobsWithResponse request
	GetJobsWithResponse(ctx context.Context, params *GetJobsParams, reqEditors ...RequestEditorFn) (*GetJobsResponse, error)

	// PostJobsWithBodyWithResponse request with any body
	PostJobsWithBodyWithResponse(ctx context.Context, params *PostJobsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostJobsResponse, error)

	PostJobsWithResponse(ctx context.Context, params *PostJobsParams, body PostJobsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostJobsResponse, error)

	// GetJobsEventsWithResponse request
	GetJobsEventsWithResponse(ctx context.Context, params *GetJobsEventsParams, reqEditors ...RequestEditorFn) (*GetJobsEventsResponse, error)

	// DeleteJobsIdWithResponse request
	DeleteJobsIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteJobsIdResponse, error)

	// GetJobsIdWithResponse request
	GetJobsIdWithResponse(ctx context.Context, id string, params *GetJobsIdParams, reqEditors ...RequestEditorFn) (*GetJobsIdResponse, error)

	// GetJobsIdDefinitionWithResponse request
	GetJobsIdDefinitionWithResponse(ctx context.Context, id string, params *GetJobsIdDefinitionParams, reqEditors ...RequestEditorFn) (*GetJobsIdDefinitionResponse, error)

	// PutJobsIdDefinitionWithBodyWithResponse request with any body
	PutJobsIdDefinitionWithBodyWithResponse(ctx context.Context, id string, params *PutJobsIdDefinitionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutJobsIdDefinitionResponse, error)

	PutJobsIdDefinitionWithResponse(ctx context.Context, id string, params *PutJobsIdDefinitionParams, body PutJobsIdDefinitionJSONRequestBody, reqEditors ...RequestEditorFn) (*PutJobsIdDefinitionResponse, error)

	// GetJobsIdStatusWithResponse request
	GetJobsIdStatusWithResponse(ctx context.Context, id string, params *GetJobsIdStatusParams, reqEditors ...RequestEditorFn) (*GetJobsIdStatusResponse, error)

	// PutJobsIdStatusWithBodyWithResponse request with any body
	PutJobsIdStatusWithBodyWithResponse(ctx context.Context, id string, params *PutJobsIdStatusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutJobsIdStatusResponse, error)

	PutJobsIdStatusWithResponse(ctx context.Context, id string, params *PutJobsIdStatusParams, body PutJobsIdStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutJobsIdStatusResponse, error)

	// DeleteJobsIdTagsWithBodyWithResponse request with any body
	DeleteJobsIdTagsWithBodyWithResponse(ctx context.Context, id string, params *DeleteJobsIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteJobsIdTagsResponse, error)

	DeleteJobsIdTagsWithResponse(ctx context.Context, id string, params *DeleteJobsIdTagsParams, body DeleteJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteJobsIdTagsResponse, error)

	// GetJobsIdTagsWithResponse request
	GetJobsIdTagsWithResponse(ctx context.Context, id string, params *GetJobsIdTagsParams, reqEditors ...RequestEditorFn) (*GetJobsIdTagsResponse, error)

	// PostJobsIdTagsWithBodyWithResponse request with any body
	PostJobsIdTagsWithBodyWithResponse(ctx context.Context, id string, params *PostJobsIdTagsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostJobsIdTagsResponse, error)

	PostJobsIdTagsWithResponse(ctx context.Context, id string, params *PostJobsIdTagsParams, body PostJobsIdTagsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostJobsIdTagsResponse, error)

	// GetVersionWithResponse request
	GetVersionWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVersionResponse, error)

	// GetWorkflowsWithResponse request
	GetWorkflowsWithResponse(ctx context.Context, params *GetWorkflowsParams, reqEditors ...RequestEditorFn) (*GetWorkflowsResponse, error)

	// PostWorkflowsWithBodyWithResponse request with any body
	PostWorkflowsWithBodyWithResponse(ctx context.Context, params *PostWorkflowsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostWorkflowsResponse, error)

	PostWorkflowsWithResponse(ctx context.Context, params *PostWorkflowsParams, body PostWorkflowsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostWorkflowsResponse, error)

	// DeleteWorkflowsNameWithResponse request
	DeleteWorkflowsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteWorkflowsNameResponse, error)

	// GetWorkflowsNameWithResponse request
	GetWorkflowsNameWithResponse(ctx context.Context, name string, params *GetWorkflowsNameParams, reqEditors ...RequestEditorFn) (*GetWorkflowsNameResponse, error)
}

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

type DeleteJobsId204Response

type DeleteJobsId204Response struct {
}

func (DeleteJobsId204Response) VisitDeleteJobsIdResponse

func (response DeleteJobsId204Response) VisitDeleteJobsIdResponse(w http.ResponseWriter) error

type DeleteJobsId403Response

type DeleteJobsId403Response struct {
}

func (DeleteJobsId403Response) VisitDeleteJobsIdResponse

func (response DeleteJobsId403Response) VisitDeleteJobsIdResponse(w http.ResponseWriter) error

type DeleteJobsId404JSONResponse

type DeleteJobsId404JSONResponse ErrorResponse

func (DeleteJobsId404JSONResponse) VisitDeleteJobsIdResponse

func (response DeleteJobsId404JSONResponse) VisitDeleteJobsIdResponse(w http.ResponseWriter) error

type DeleteJobsIdRequestObject

type DeleteJobsIdRequestObject struct {
	Id string `json:"id"`
}

type DeleteJobsIdResponse

type DeleteJobsIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON404      *ErrorResponse
}

func ParseDeleteJobsIdResponse

func ParseDeleteJobsIdResponse(rsp *http.Response) (*DeleteJobsIdResponse, error)

ParseDeleteJobsIdResponse parses an HTTP response from a DeleteJobsIdWithResponse call

func (DeleteJobsIdResponse) Status

func (r DeleteJobsIdResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteJobsIdResponse) StatusCode

func (r DeleteJobsIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteJobsIdResponseObject

type DeleteJobsIdResponseObject interface {
	VisitDeleteJobsIdResponse(w http.ResponseWriter) error
}

type DeleteJobsIdTags200JSONResponse

type DeleteJobsIdTags200JSONResponse TagList

func (DeleteJobsIdTags200JSONResponse) VisitDeleteJobsIdTagsResponse

func (response DeleteJobsIdTags200JSONResponse) VisitDeleteJobsIdTagsResponse(w http.ResponseWriter) error

type DeleteJobsIdTags400JSONResponse

type DeleteJobsIdTags400JSONResponse ErrorResponse

func (DeleteJobsIdTags400JSONResponse) VisitDeleteJobsIdTagsResponse

func (response DeleteJobsIdTags400JSONResponse) VisitDeleteJobsIdTagsResponse(w http.ResponseWriter) error

type DeleteJobsIdTags403Response

type DeleteJobsIdTags403Response struct {
}

func (DeleteJobsIdTags403Response) VisitDeleteJobsIdTagsResponse

func (response DeleteJobsIdTags403Response) VisitDeleteJobsIdTagsResponse(w http.ResponseWriter) error

type DeleteJobsIdTags404JSONResponse

type DeleteJobsIdTags404JSONResponse ErrorResponse

func (DeleteJobsIdTags404JSONResponse) VisitDeleteJobsIdTagsResponse

func (response DeleteJobsIdTags404JSONResponse) VisitDeleteJobsIdTagsResponse(w http.ResponseWriter) error

type DeleteJobsIdTagsJSONBody

type DeleteJobsIdTagsJSONBody = []string

DeleteJobsIdTagsJSONBody defines parameters for DeleteJobsIdTags.

type DeleteJobsIdTagsJSONRequestBody

type DeleteJobsIdTagsJSONRequestBody = DeleteJobsIdTagsJSONBody

DeleteJobsIdTagsJSONRequestBody defines body for DeleteJobsIdTags for application/json ContentType.

type DeleteJobsIdTagsParams

type DeleteJobsIdTagsParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

DeleteJobsIdTagsParams defines parameters for DeleteJobsIdTags.

type DeleteJobsIdTagsRequestObject

type DeleteJobsIdTagsRequestObject struct {
	Id     string `json:"id"`
	Params DeleteJobsIdTagsParams
	Body   *DeleteJobsIdTagsJSONRequestBody
}

type DeleteJobsIdTagsResponse

type DeleteJobsIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TagList
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseDeleteJobsIdTagsResponse

func ParseDeleteJobsIdTagsResponse(rsp *http.Response) (*DeleteJobsIdTagsResponse, error)

ParseDeleteJobsIdTagsResponse parses an HTTP response from a DeleteJobsIdTagsWithResponse call

func (DeleteJobsIdTagsResponse) Status

func (r DeleteJobsIdTagsResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteJobsIdTagsResponse) StatusCode

func (r DeleteJobsIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteJobsIdTagsResponseObject

type DeleteJobsIdTagsResponseObject interface {
	VisitDeleteJobsIdTagsResponse(w http.ResponseWriter) error
}

type DeleteJobsIdTagsdefaultResponse

type DeleteJobsIdTagsdefaultResponse struct {
	StatusCode int
}

func (DeleteJobsIdTagsdefaultResponse) VisitDeleteJobsIdTagsResponse

func (response DeleteJobsIdTagsdefaultResponse) VisitDeleteJobsIdTagsResponse(w http.ResponseWriter) error

type DeleteJobsIddefaultResponse

type DeleteJobsIddefaultResponse struct {
	StatusCode int
}

func (DeleteJobsIddefaultResponse) VisitDeleteJobsIdResponse

func (response DeleteJobsIddefaultResponse) VisitDeleteJobsIdResponse(w http.ResponseWriter) error

type DeleteWorkflowsName204Response

type DeleteWorkflowsName204Response struct {
}

func (DeleteWorkflowsName204Response) VisitDeleteWorkflowsNameResponse

func (response DeleteWorkflowsName204Response) VisitDeleteWorkflowsNameResponse(w http.ResponseWriter) error

type DeleteWorkflowsName403Response

type DeleteWorkflowsName403Response struct {
}

func (DeleteWorkflowsName403Response) VisitDeleteWorkflowsNameResponse

func (response DeleteWorkflowsName403Response) VisitDeleteWorkflowsNameResponse(w http.ResponseWriter) error

type DeleteWorkflowsName404JSONResponse

type DeleteWorkflowsName404JSONResponse ErrorResponse

func (DeleteWorkflowsName404JSONResponse) VisitDeleteWorkflowsNameResponse

func (response DeleteWorkflowsName404JSONResponse) VisitDeleteWorkflowsNameResponse(w http.ResponseWriter) error

type DeleteWorkflowsNameRequestObject

type DeleteWorkflowsNameRequestObject struct {
	Name string `json:"name"`
}

type DeleteWorkflowsNameResponse

type DeleteWorkflowsNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON404      *ErrorResponse
}

func ParseDeleteWorkflowsNameResponse

func ParseDeleteWorkflowsNameResponse(rsp *http.Response) (*DeleteWorkflowsNameResponse, error)

ParseDeleteWorkflowsNameResponse parses an HTTP response from a DeleteWorkflowsNameWithResponse call

func (DeleteWorkflowsNameResponse) Status

Status returns HTTPResponse.Status

func (DeleteWorkflowsNameResponse) StatusCode

func (r DeleteWorkflowsNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkflowsNameResponseObject

type DeleteWorkflowsNameResponseObject interface {
	VisitDeleteWorkflowsNameResponse(w http.ResponseWriter) error
}

type DeleteWorkflowsNamedefaultResponse

type DeleteWorkflowsNamedefaultResponse struct {
	StatusCode int
}

func (DeleteWorkflowsNamedefaultResponse) VisitDeleteWorkflowsNameResponse

func (response DeleteWorkflowsNamedefaultResponse) VisitDeleteWorkflowsNameResponse(w http.ResponseWriter) error

type EligibleEnum

type EligibleEnum string

EligibleEnum defines model for EligibleEnum.

const (
	CLIENT EligibleEnum = "CLIENT"
	WFX    EligibleEnum = "WFX"
)

Defines values for EligibleEnum.

type Error

type Error struct {
	// Code Identifier code for the reason of the error
	Code string `json:"code"`

	// Logref Log correlation ID
	Logref string `json:"logref"`

	// Message Error message
	Message string `json:"message"`
}

Error defines model for Error.

type ErrorResponse

type ErrorResponse struct {
	Errors *[]Error `json:"errors,omitempty"`
}

ErrorResponse defines model for ErrorResponse.

type GetHealth200JSONResponse

type GetHealth200JSONResponse struct {
	Body    CheckerResult
	Headers GetHealth200ResponseHeaders
}

func (GetHealth200JSONResponse) VisitGetHealthResponse

func (response GetHealth200JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error

type GetHealth200ResponseHeaders

type GetHealth200ResponseHeaders struct {
	CacheControl string
	Expires      string
	Pragma       string
}

type GetHealth503JSONResponse

type GetHealth503JSONResponse struct {
	Body    CheckerResult
	Headers GetHealth503ResponseHeaders
}

func (GetHealth503JSONResponse) VisitGetHealthResponse

func (response GetHealth503JSONResponse) VisitGetHealthResponse(w http.ResponseWriter) error

type GetHealth503ResponseHeaders

type GetHealth503ResponseHeaders struct {
	CacheControl string
	Expires      string
	Pragma       string
}

type GetHealthRequestObject

type GetHealthRequestObject struct {
}

type GetHealthResponse

type GetHealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CheckerResult
	JSON503      *CheckerResult
}

func ParseGetHealthResponse

func ParseGetHealthResponse(rsp *http.Response) (*GetHealthResponse, error)

ParseGetHealthResponse parses an HTTP response from a GetHealthWithResponse call

func (GetHealthResponse) Status

func (r GetHealthResponse) Status() string

Status returns HTTPResponse.Status

func (GetHealthResponse) StatusCode

func (r GetHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHealthResponseObject

type GetHealthResponseObject interface {
	VisitGetHealthResponse(w http.ResponseWriter) error
}

type GetHealthdefaultResponse

type GetHealthdefaultResponse struct {
	StatusCode int
}

func (GetHealthdefaultResponse) VisitGetHealthResponse

func (response GetHealthdefaultResponse) VisitGetHealthResponse(w http.ResponseWriter) error

type GetJobs200JSONResponse

type GetJobs200JSONResponse PaginatedJobList

func (GetJobs200JSONResponse) VisitGetJobsResponse

func (response GetJobs200JSONResponse) VisitGetJobsResponse(w http.ResponseWriter) error

type GetJobs400JSONResponse

type GetJobs400JSONResponse ErrorResponse

func (GetJobs400JSONResponse) VisitGetJobsResponse

func (response GetJobs400JSONResponse) VisitGetJobsResponse(w http.ResponseWriter) error

type GetJobsEvents200TexteventStreamResponse

type GetJobsEvents200TexteventStreamResponse struct {
	Body          io.Reader
	ContentLength int64
}

func (GetJobsEvents200TexteventStreamResponse) VisitGetJobsEventsResponse

func (response GetJobsEvents200TexteventStreamResponse) VisitGetJobsEventsResponse(w http.ResponseWriter) error

type GetJobsEvents400JSONResponse

type GetJobsEvents400JSONResponse ErrorResponse

func (GetJobsEvents400JSONResponse) VisitGetJobsEventsResponse

func (response GetJobsEvents400JSONResponse) VisitGetJobsEventsResponse(w http.ResponseWriter) error

type GetJobsEvents404JSONResponse

type GetJobsEvents404JSONResponse ErrorResponse

func (GetJobsEvents404JSONResponse) VisitGetJobsEventsResponse

func (response GetJobsEvents404JSONResponse) VisitGetJobsEventsResponse(w http.ResponseWriter) error

type GetJobsEventsParams

type GetJobsEventsParams struct {
	// ClientIDs The job's clientId must be one of these clientIds (comma-separated).
	ClientIDs *string `form:"clientIds,omitempty" json:"clientIds,omitempty"`

	// JobIds The job's id must be one of these ids (comma-separated).
	JobIds *string `form:"jobIds,omitempty" json:"jobIds,omitempty"`

	// Workflows The job's workflow must be equal to one of the provided workflow names (comma-separated).
	Workflows *string `form:"workflows,omitempty" json:"workflows,omitempty"`

	// Tags A (comma-separated) list of tags to include into each job event. This can be used to aggregrate events from multiple wfx instances.
	Tags *string `form:"tags,omitempty" json:"tags,omitempty"`
}

GetJobsEventsParams defines parameters for GetJobsEvents.

type GetJobsEventsRequestObject

type GetJobsEventsRequestObject struct {
	Params GetJobsEventsParams
}

type GetJobsEventsResponse

type GetJobsEventsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetJobsEventsResponse

func ParseGetJobsEventsResponse(rsp *http.Response) (*GetJobsEventsResponse, error)

ParseGetJobsEventsResponse parses an HTTP response from a GetJobsEventsWithResponse call

func (GetJobsEventsResponse) Status

func (r GetJobsEventsResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobsEventsResponse) StatusCode

func (r GetJobsEventsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsEventsResponseObject

type GetJobsEventsResponseObject interface {
	VisitGetJobsEventsResponse(w http.ResponseWriter) error
}

type GetJobsEventsdefaultResponse

type GetJobsEventsdefaultResponse struct {
	StatusCode int
}

func (GetJobsEventsdefaultResponse) VisitGetJobsEventsResponse

func (response GetJobsEventsdefaultResponse) VisitGetJobsEventsResponse(w http.ResponseWriter) error

type GetJobsId200JSONResponse

type GetJobsId200JSONResponse Job

func (GetJobsId200JSONResponse) VisitGetJobsIdResponse

func (response GetJobsId200JSONResponse) VisitGetJobsIdResponse(w http.ResponseWriter) error

type GetJobsId400JSONResponse

type GetJobsId400JSONResponse ErrorResponse

func (GetJobsId400JSONResponse) VisitGetJobsIdResponse

func (response GetJobsId400JSONResponse) VisitGetJobsIdResponse(w http.ResponseWriter) error

type GetJobsId404JSONResponse

type GetJobsId404JSONResponse ErrorResponse

func (GetJobsId404JSONResponse) VisitGetJobsIdResponse

func (response GetJobsId404JSONResponse) VisitGetJobsIdResponse(w http.ResponseWriter) error

type GetJobsIdDefinition200JSONResponse

type GetJobsIdDefinition200JSONResponse map[string]interface{}

func (GetJobsIdDefinition200JSONResponse) VisitGetJobsIdDefinitionResponse

func (response GetJobsIdDefinition200JSONResponse) VisitGetJobsIdDefinitionResponse(w http.ResponseWriter) error

type GetJobsIdDefinition404JSONResponse

type GetJobsIdDefinition404JSONResponse ErrorResponse

func (GetJobsIdDefinition404JSONResponse) VisitGetJobsIdDefinitionResponse

func (response GetJobsIdDefinition404JSONResponse) VisitGetJobsIdDefinitionResponse(w http.ResponseWriter) error

type GetJobsIdDefinitionParams

type GetJobsIdDefinitionParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

GetJobsIdDefinitionParams defines parameters for GetJobsIdDefinition.

type GetJobsIdDefinitionRequestObject

type GetJobsIdDefinitionRequestObject struct {
	Id     string `json:"id"`
	Params GetJobsIdDefinitionParams
}

type GetJobsIdDefinitionResponse

type GetJobsIdDefinitionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON404      *ErrorResponse
}

func ParseGetJobsIdDefinitionResponse

func ParseGetJobsIdDefinitionResponse(rsp *http.Response) (*GetJobsIdDefinitionResponse, error)

ParseGetJobsIdDefinitionResponse parses an HTTP response from a GetJobsIdDefinitionWithResponse call

func (GetJobsIdDefinitionResponse) Status

Status returns HTTPResponse.Status

func (GetJobsIdDefinitionResponse) StatusCode

func (r GetJobsIdDefinitionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsIdDefinitionResponseObject

type GetJobsIdDefinitionResponseObject interface {
	VisitGetJobsIdDefinitionResponse(w http.ResponseWriter) error
}

type GetJobsIdDefinitiondefaultResponse

type GetJobsIdDefinitiondefaultResponse struct {
	StatusCode int
}

func (GetJobsIdDefinitiondefaultResponse) VisitGetJobsIdDefinitionResponse

func (response GetJobsIdDefinitiondefaultResponse) VisitGetJobsIdDefinitionResponse(w http.ResponseWriter) error

type GetJobsIdParams

type GetJobsIdParams struct {
	// ParamHistory Boolean flag to include the transition history of the job
	ParamHistory *paramHistory `form:"history,omitempty" json:"history,omitempty"`

	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

GetJobsIdParams defines parameters for GetJobsId.

type GetJobsIdRequestObject

type GetJobsIdRequestObject struct {
	Id     string `json:"id"`
	Params GetJobsIdParams
}

type GetJobsIdResponse

type GetJobsIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Job
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetJobsIdResponse

func ParseGetJobsIdResponse(rsp *http.Response) (*GetJobsIdResponse, error)

ParseGetJobsIdResponse parses an HTTP response from a GetJobsIdWithResponse call

func (GetJobsIdResponse) Status

func (r GetJobsIdResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobsIdResponse) StatusCode

func (r GetJobsIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsIdResponseObject

type GetJobsIdResponseObject interface {
	VisitGetJobsIdResponse(w http.ResponseWriter) error
}

type GetJobsIdStatus200JSONResponse

type GetJobsIdStatus200JSONResponse JobStatus

func (GetJobsIdStatus200JSONResponse) VisitGetJobsIdStatusResponse

func (response GetJobsIdStatus200JSONResponse) VisitGetJobsIdStatusResponse(w http.ResponseWriter) error

type GetJobsIdStatus404JSONResponse

type GetJobsIdStatus404JSONResponse ErrorResponse

func (GetJobsIdStatus404JSONResponse) VisitGetJobsIdStatusResponse

func (response GetJobsIdStatus404JSONResponse) VisitGetJobsIdStatusResponse(w http.ResponseWriter) error

type GetJobsIdStatusParams

type GetJobsIdStatusParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

GetJobsIdStatusParams defines parameters for GetJobsIdStatus.

type GetJobsIdStatusRequestObject

type GetJobsIdStatusRequestObject struct {
	Id     string `json:"id"`
	Params GetJobsIdStatusParams
}

type GetJobsIdStatusResponse

type GetJobsIdStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JobStatus
	JSON404      *ErrorResponse
}

func ParseGetJobsIdStatusResponse

func ParseGetJobsIdStatusResponse(rsp *http.Response) (*GetJobsIdStatusResponse, error)

ParseGetJobsIdStatusResponse parses an HTTP response from a GetJobsIdStatusWithResponse call

func (GetJobsIdStatusResponse) Status

func (r GetJobsIdStatusResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobsIdStatusResponse) StatusCode

func (r GetJobsIdStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsIdStatusResponseObject

type GetJobsIdStatusResponseObject interface {
	VisitGetJobsIdStatusResponse(w http.ResponseWriter) error
}

type GetJobsIdStatusdefaultResponse

type GetJobsIdStatusdefaultResponse struct {
	StatusCode int
}

func (GetJobsIdStatusdefaultResponse) VisitGetJobsIdStatusResponse

func (response GetJobsIdStatusdefaultResponse) VisitGetJobsIdStatusResponse(w http.ResponseWriter) error

type GetJobsIdTags200JSONResponse

type GetJobsIdTags200JSONResponse TagList

func (GetJobsIdTags200JSONResponse) VisitGetJobsIdTagsResponse

func (response GetJobsIdTags200JSONResponse) VisitGetJobsIdTagsResponse(w http.ResponseWriter) error

type GetJobsIdTags404JSONResponse

type GetJobsIdTags404JSONResponse ErrorResponse

func (GetJobsIdTags404JSONResponse) VisitGetJobsIdTagsResponse

func (response GetJobsIdTags404JSONResponse) VisitGetJobsIdTagsResponse(w http.ResponseWriter) error

type GetJobsIdTagsParams

type GetJobsIdTagsParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

GetJobsIdTagsParams defines parameters for GetJobsIdTags.

type GetJobsIdTagsRequestObject

type GetJobsIdTagsRequestObject struct {
	Id     string `json:"id"`
	Params GetJobsIdTagsParams
}

type GetJobsIdTagsResponse

type GetJobsIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TagList
	JSON404      *ErrorResponse
}

func ParseGetJobsIdTagsResponse

func ParseGetJobsIdTagsResponse(rsp *http.Response) (*GetJobsIdTagsResponse, error)

ParseGetJobsIdTagsResponse parses an HTTP response from a GetJobsIdTagsWithResponse call

func (GetJobsIdTagsResponse) Status

func (r GetJobsIdTagsResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobsIdTagsResponse) StatusCode

func (r GetJobsIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsIdTagsResponseObject

type GetJobsIdTagsResponseObject interface {
	VisitGetJobsIdTagsResponse(w http.ResponseWriter) error
}

type GetJobsIdTagsdefaultResponse

type GetJobsIdTagsdefaultResponse struct {
	StatusCode int
}

func (GetJobsIdTagsdefaultResponse) VisitGetJobsIdTagsResponse

func (response GetJobsIdTagsdefaultResponse) VisitGetJobsIdTagsResponse(w http.ResponseWriter) error

type GetJobsIddefaultResponse

type GetJobsIddefaultResponse struct {
	StatusCode int
}

func (GetJobsIddefaultResponse) VisitGetJobsIdResponse

func (response GetJobsIddefaultResponse) VisitGetJobsIdResponse(w http.ResponseWriter) error

type GetJobsParams

type GetJobsParams struct {
	// ParamLimit the maximum number of items to return
	ParamLimit *paramLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// ParamOffset the number of items to skip before starting to return results
	ParamOffset *paramOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// ParamSort the order of returned elements
	ParamSort *paramSort `form:"sort,omitempty" json:"sort,omitempty"`

	// ParamState Filter jobs based on the current state value
	ParamState *paramState `form:"state,omitempty" json:"state,omitempty"`

	// ParamGroup Filter jobs based on the group they are in
	ParamGroup *paramGroup `form:"group,omitempty" json:"group,omitempty"`

	// ParamClientID Filter jobs belonging to a specific client with clientId
	ParamClientID *paramClientID `form:"clientId,omitempty" json:"clientId,omitempty"`

	// ParamTag A list of tags
	ParamTag *paramTag `form:"tag,omitempty" json:"tag,omitempty"`

	// ParamWorkflow Filter jobs matching by workflow
	ParamWorkflow *string `form:"workflow,omitempty" json:"workflow,omitempty"`

	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

GetJobsParams defines parameters for GetJobs.

type GetJobsRequestObject

type GetJobsRequestObject struct {
	Params GetJobsParams
}

type GetJobsResponse

type GetJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedJobList
	JSON400      *ErrorResponse
	JSONDefault  *ErrorResponse
}

func ParseGetJobsResponse

func ParseGetJobsResponse(rsp *http.Response) (*GetJobsResponse, error)

ParseGetJobsResponse parses an HTTP response from a GetJobsWithResponse call

func (GetJobsResponse) Status

func (r GetJobsResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobsResponse) StatusCode

func (r GetJobsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobsResponseObject

type GetJobsResponseObject interface {
	VisitGetJobsResponse(w http.ResponseWriter) error
}

type GetJobsdefaultJSONResponse

type GetJobsdefaultJSONResponse struct {
	Body       ErrorResponse
	StatusCode int
}

func (GetJobsdefaultJSONResponse) VisitGetJobsResponse

func (response GetJobsdefaultJSONResponse) VisitGetJobsResponse(w http.ResponseWriter) error

type GetVersion200JSONResponse

type GetVersion200JSONResponse struct {
	ApiVersion string    `json:"apiVersion,omitempty"`
	BuildDate  time.Time `json:"buildDate,omitempty"`
	Commit     string    `json:"commit,omitempty"`
	Version    string    `json:"version,omitempty"`
}

func (GetVersion200JSONResponse) VisitGetVersionResponse

func (response GetVersion200JSONResponse) VisitGetVersionResponse(w http.ResponseWriter) error

type GetVersionRequestObject

type GetVersionRequestObject struct {
}

type GetVersionResponse

type GetVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		ApiVersion string    `json:"apiVersion,omitempty"`
		BuildDate  time.Time `json:"buildDate,omitempty"`
		Commit     string    `json:"commit,omitempty"`
		Version    string    `json:"version,omitempty"`
	}
}

func ParseGetVersionResponse

func ParseGetVersionResponse(rsp *http.Response) (*GetVersionResponse, error)

ParseGetVersionResponse parses an HTTP response from a GetVersionWithResponse call

func (GetVersionResponse) Status

func (r GetVersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetVersionResponse) StatusCode

func (r GetVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVersionResponseObject

type GetVersionResponseObject interface {
	VisitGetVersionResponse(w http.ResponseWriter) error
}

type GetVersiondefaultResponse

type GetVersiondefaultResponse struct {
	StatusCode int
}

func (GetVersiondefaultResponse) VisitGetVersionResponse

func (response GetVersiondefaultResponse) VisitGetVersionResponse(w http.ResponseWriter) error

type GetWorkflows200JSONResponse

type GetWorkflows200JSONResponse PaginatedWorkflowList

func (GetWorkflows200JSONResponse) VisitGetWorkflowsResponse

func (response GetWorkflows200JSONResponse) VisitGetWorkflowsResponse(w http.ResponseWriter) error

type GetWorkflowsName200JSONResponse

type GetWorkflowsName200JSONResponse Workflow

func (GetWorkflowsName200JSONResponse) VisitGetWorkflowsNameResponse

func (response GetWorkflowsName200JSONResponse) VisitGetWorkflowsNameResponse(w http.ResponseWriter) error

type GetWorkflowsName400JSONResponse

type GetWorkflowsName400JSONResponse ErrorResponse

func (GetWorkflowsName400JSONResponse) VisitGetWorkflowsNameResponse

func (response GetWorkflowsName400JSONResponse) VisitGetWorkflowsNameResponse(w http.ResponseWriter) error

type GetWorkflowsName404JSONResponse

type GetWorkflowsName404JSONResponse ErrorResponse

func (GetWorkflowsName404JSONResponse) VisitGetWorkflowsNameResponse

func (response GetWorkflowsName404JSONResponse) VisitGetWorkflowsNameResponse(w http.ResponseWriter) error

type GetWorkflowsNameParams

type GetWorkflowsNameParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

GetWorkflowsNameParams defines parameters for GetWorkflowsName.

type GetWorkflowsNameRequestObject

type GetWorkflowsNameRequestObject struct {
	Name   string `json:"name"`
	Params GetWorkflowsNameParams
}

type GetWorkflowsNameResponse

type GetWorkflowsNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workflow
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParseGetWorkflowsNameResponse

func ParseGetWorkflowsNameResponse(rsp *http.Response) (*GetWorkflowsNameResponse, error)

ParseGetWorkflowsNameResponse parses an HTTP response from a GetWorkflowsNameWithResponse call

func (GetWorkflowsNameResponse) Status

func (r GetWorkflowsNameResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkflowsNameResponse) StatusCode

func (r GetWorkflowsNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowsNameResponseObject

type GetWorkflowsNameResponseObject interface {
	VisitGetWorkflowsNameResponse(w http.ResponseWriter) error
}

type GetWorkflowsNamedefaultResponse

type GetWorkflowsNamedefaultResponse struct {
	StatusCode int
}

func (GetWorkflowsNamedefaultResponse) VisitGetWorkflowsNameResponse

func (response GetWorkflowsNamedefaultResponse) VisitGetWorkflowsNameResponse(w http.ResponseWriter) error

type GetWorkflowsParams

type GetWorkflowsParams struct {
	// ParamLimit the maximum number of items to return
	ParamLimit *paramLimit `form:"limit,omitempty" json:"limit,omitempty"`

	// ParamOffset the number of items to skip before starting to return results
	ParamOffset *paramOffset `form:"offset,omitempty" json:"offset,omitempty"`

	// ParamSort the order of returned elements
	ParamSort *paramSort `form:"sort,omitempty" json:"sort,omitempty"`

	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

GetWorkflowsParams defines parameters for GetWorkflows.

type GetWorkflowsRequestObject

type GetWorkflowsRequestObject struct {
	Params GetWorkflowsParams
}

type GetWorkflowsResponse

type GetWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PaginatedWorkflowList
}

func ParseGetWorkflowsResponse

func ParseGetWorkflowsResponse(rsp *http.Response) (*GetWorkflowsResponse, error)

ParseGetWorkflowsResponse parses an HTTP response from a GetWorkflowsWithResponse call

func (GetWorkflowsResponse) Status

func (r GetWorkflowsResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkflowsResponse) StatusCode

func (r GetWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkflowsResponseObject

type GetWorkflowsResponseObject interface {
	VisitGetWorkflowsResponse(w http.ResponseWriter) error
}

type GetWorkflowsdefaultResponse

type GetWorkflowsdefaultResponse struct {
	StatusCode int
}

func (GetWorkflowsdefaultResponse) VisitGetWorkflowsResponse

func (response GetWorkflowsdefaultResponse) VisitGetWorkflowsResponse(w http.ResponseWriter) error

type Group

type Group struct {
	Description string `json:"description,omitempty"`
	Name        string `json:"name"`

	// States A list of states belonging to this group
	States []string `json:"states"`
}

Group defines model for Group.

type History

type History struct {
	Definition *map[string]interface{} `json:"definition,omitempty"`

	// Mtime Date and time (ISO8601) when the job was modified (set by wfx)
	Mtime *time.Time `json:"mtime,omitempty"`

	// Status Job status information
	Status *JobStatus `json:"status,omitempty"`
}

History defines model for History.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type Job

type Job struct {
	ClientID   string                 `json:"clientId,omitempty"`
	Definition map[string]interface{} `json:"definition,omitempty"`

	// History The job's history. Last in, first out (LIFO). Array is truncated if its length exceeds the maximum allowed length.
	// By default, the job history is omitted from responses unless explicitly requested by the client (see the `history` URL parameter).
	History *[]History `json:"history,omitempty"`

	// ID Unique job ID (wfx-generated)
	ID string `json:"id,omitempty"`

	// Mtime Date and time (ISO8601) when the job was last modified (set by wfx)
	Mtime *time.Time `json:"mtime"`

	// Status Job status information
	Status *JobStatus `json:"status,omitempty"`

	// Stime Date and time (ISO8601) when the job was created (set by wfx). Although stime conceptually always exists, it's nullable because we don't want to serialize stime in some cases (e.g. for job events).
	Stime    *time.Time `json:"stime"`
	Tags     TagList    `json:"tags,omitempty"`
	Workflow *Workflow  `json:"workflow,omitempty"`
}

Job defines model for Job.

type JobEvent

type JobEvent struct {
	Action *string    `json:"action,omitempty"`
	Ctime  *time.Time `json:"ctime"`
	Job    *Job       `json:"job,omitempty"`
	Tags   *[]string  `json:"tags,omitempty"`
}

JobEvent defines model for JobEvent.

type JobRequest

type JobRequest struct {
	// ClientID Create job for the given client ID
	ClientID string `json:"clientId"`

	// Definition The existing job definition will be replaced with this if this property is not empty.
	Definition map[string]interface{} `json:"definition,omitempty"`
	Tags       TagList                `json:"tags,omitempty"`

	// Workflow Workflow name
	Workflow string `json:"workflow"`
}

JobRequest defines model for JobRequest.

type JobStatus

type JobStatus struct {
	// ClientID Client which sent the status update
	ClientID string `json:"clientId,omitempty"`

	// Context Client-specific JSON object to report additional context information such as error details, stack traces, etc
	Context *map[string]interface{} `json:"context,omitempty"`

	// DefinitionHash Job definition hash
	DefinitionHash string `json:"definitionHash,omitempty"`

	// Message Reason message/info, free text from client
	Message string `json:"message,omitempty"`

	// Progress Current job progress percentage
	Progress *int32 `json:"progress,omitempty"`

	// State Name of the new workflow state
	State string `json:"state"`
}

JobStatus Job status information

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type PaginatedJobList

type PaginatedJobList struct {
	Content    []Job      `json:"content"`
	Pagination Pagination `json:"pagination"`
}

PaginatedJobList Paginated list of jobs

type PaginatedWorkflowList

type PaginatedWorkflowList struct {
	Content    []Workflow `json:"content"`
	Pagination Pagination `json:"pagination"`
}

PaginatedWorkflowList Paginated list of workflows

type Pagination

type Pagination struct {
	// Limit the maximum number of items to return
	Limit int32 `json:"limit"`

	// Offset the number of items to skip before starting to return results
	Offset int64 `json:"offset"`

	// Total the total number of items
	Total int64 `json:"total"`
}

Pagination defines model for Pagination.

type PostJobs201JSONResponse

type PostJobs201JSONResponse Job

func (PostJobs201JSONResponse) VisitPostJobsResponse

func (response PostJobs201JSONResponse) VisitPostJobsResponse(w http.ResponseWriter) error

type PostJobs400JSONResponse

type PostJobs400JSONResponse ErrorResponse

func (PostJobs400JSONResponse) VisitPostJobsResponse

func (response PostJobs400JSONResponse) VisitPostJobsResponse(w http.ResponseWriter) error

type PostJobs403Response

type PostJobs403Response struct {
}

func (PostJobs403Response) VisitPostJobsResponse

func (response PostJobs403Response) VisitPostJobsResponse(w http.ResponseWriter) error

type PostJobsIdTags200JSONResponse

type PostJobsIdTags200JSONResponse TagList

func (PostJobsIdTags200JSONResponse) VisitPostJobsIdTagsResponse

func (response PostJobsIdTags200JSONResponse) VisitPostJobsIdTagsResponse(w http.ResponseWriter) error

type PostJobsIdTags400JSONResponse

type PostJobsIdTags400JSONResponse ErrorResponse

func (PostJobsIdTags400JSONResponse) VisitPostJobsIdTagsResponse

func (response PostJobsIdTags400JSONResponse) VisitPostJobsIdTagsResponse(w http.ResponseWriter) error

type PostJobsIdTags403Response

type PostJobsIdTags403Response struct {
}

func (PostJobsIdTags403Response) VisitPostJobsIdTagsResponse

func (response PostJobsIdTags403Response) VisitPostJobsIdTagsResponse(w http.ResponseWriter) error

type PostJobsIdTags404JSONResponse

type PostJobsIdTags404JSONResponse ErrorResponse

func (PostJobsIdTags404JSONResponse) VisitPostJobsIdTagsResponse

func (response PostJobsIdTags404JSONResponse) VisitPostJobsIdTagsResponse(w http.ResponseWriter) error

type PostJobsIdTagsJSONBody

type PostJobsIdTagsJSONBody = []string

PostJobsIdTagsJSONBody defines parameters for PostJobsIdTags.

type PostJobsIdTagsJSONRequestBody

type PostJobsIdTagsJSONRequestBody = PostJobsIdTagsJSONBody

PostJobsIdTagsJSONRequestBody defines body for PostJobsIdTags for application/json ContentType.

type PostJobsIdTagsParams

type PostJobsIdTagsParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

PostJobsIdTagsParams defines parameters for PostJobsIdTags.

type PostJobsIdTagsRequestObject

type PostJobsIdTagsRequestObject struct {
	Id     string `json:"id"`
	Params PostJobsIdTagsParams
	Body   *PostJobsIdTagsJSONRequestBody
}

type PostJobsIdTagsResponse

type PostJobsIdTagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TagList
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParsePostJobsIdTagsResponse

func ParsePostJobsIdTagsResponse(rsp *http.Response) (*PostJobsIdTagsResponse, error)

ParsePostJobsIdTagsResponse parses an HTTP response from a PostJobsIdTagsWithResponse call

func (PostJobsIdTagsResponse) Status

func (r PostJobsIdTagsResponse) Status() string

Status returns HTTPResponse.Status

func (PostJobsIdTagsResponse) StatusCode

func (r PostJobsIdTagsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostJobsIdTagsResponseObject

type PostJobsIdTagsResponseObject interface {
	VisitPostJobsIdTagsResponse(w http.ResponseWriter) error
}

type PostJobsIdTagsdefaultResponse

type PostJobsIdTagsdefaultResponse struct {
	StatusCode int
}

func (PostJobsIdTagsdefaultResponse) VisitPostJobsIdTagsResponse

func (response PostJobsIdTagsdefaultResponse) VisitPostJobsIdTagsResponse(w http.ResponseWriter) error

type PostJobsJSONRequestBody

type PostJobsJSONRequestBody = JobRequest

PostJobsJSONRequestBody defines body for PostJobs for application/json ContentType.

type PostJobsParams

type PostJobsParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

PostJobsParams defines parameters for PostJobs.

type PostJobsRequestObject

type PostJobsRequestObject struct {
	Params PostJobsParams
	Body   *PostJobsJSONRequestBody
}

type PostJobsResponse

type PostJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Job
	JSON400      *ErrorResponse
}

func ParsePostJobsResponse

func ParsePostJobsResponse(rsp *http.Response) (*PostJobsResponse, error)

ParsePostJobsResponse parses an HTTP response from a PostJobsWithResponse call

func (PostJobsResponse) Status

func (r PostJobsResponse) Status() string

Status returns HTTPResponse.Status

func (PostJobsResponse) StatusCode

func (r PostJobsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostJobsResponseObject

type PostJobsResponseObject interface {
	VisitPostJobsResponse(w http.ResponseWriter) error
}

type PostJobsdefaultResponse

type PostJobsdefaultResponse struct {
	StatusCode int
}

func (PostJobsdefaultResponse) VisitPostJobsResponse

func (response PostJobsdefaultResponse) VisitPostJobsResponse(w http.ResponseWriter) error

type PostWorkflows201JSONResponse

type PostWorkflows201JSONResponse Workflow

func (PostWorkflows201JSONResponse) VisitPostWorkflowsResponse

func (response PostWorkflows201JSONResponse) VisitPostWorkflowsResponse(w http.ResponseWriter) error

type PostWorkflows400JSONResponse

type PostWorkflows400JSONResponse ErrorResponse

func (PostWorkflows400JSONResponse) VisitPostWorkflowsResponse

func (response PostWorkflows400JSONResponse) VisitPostWorkflowsResponse(w http.ResponseWriter) error

type PostWorkflows403Response

type PostWorkflows403Response struct {
}

func (PostWorkflows403Response) VisitPostWorkflowsResponse

func (response PostWorkflows403Response) VisitPostWorkflowsResponse(w http.ResponseWriter) error

type PostWorkflowsJSONRequestBody

type PostWorkflowsJSONRequestBody = Workflow

PostWorkflowsJSONRequestBody defines body for PostWorkflows for application/json ContentType.

type PostWorkflowsParams

type PostWorkflowsParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

PostWorkflowsParams defines parameters for PostWorkflows.

type PostWorkflowsRequestObject

type PostWorkflowsRequestObject struct {
	Params PostWorkflowsParams
	Body   *PostWorkflowsJSONRequestBody
}

type PostWorkflowsResponse

type PostWorkflowsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Workflow
	JSON400      *ErrorResponse
}

func ParsePostWorkflowsResponse

func ParsePostWorkflowsResponse(rsp *http.Response) (*PostWorkflowsResponse, error)

ParsePostWorkflowsResponse parses an HTTP response from a PostWorkflowsWithResponse call

func (PostWorkflowsResponse) Status

func (r PostWorkflowsResponse) Status() string

Status returns HTTPResponse.Status

func (PostWorkflowsResponse) StatusCode

func (r PostWorkflowsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostWorkflowsResponseObject

type PostWorkflowsResponseObject interface {
	VisitPostWorkflowsResponse(w http.ResponseWriter) error
}

type PostWorkflowsdefaultResponse

type PostWorkflowsdefaultResponse struct {
	StatusCode int
}

func (PostWorkflowsdefaultResponse) VisitPostWorkflowsResponse

func (response PostWorkflowsdefaultResponse) VisitPostWorkflowsResponse(w http.ResponseWriter) error

type PutJobsIdDefinition200JSONResponse

type PutJobsIdDefinition200JSONResponse map[string]interface{}

func (PutJobsIdDefinition200JSONResponse) VisitPutJobsIdDefinitionResponse

func (response PutJobsIdDefinition200JSONResponse) VisitPutJobsIdDefinitionResponse(w http.ResponseWriter) error

type PutJobsIdDefinition400JSONResponse

type PutJobsIdDefinition400JSONResponse ErrorResponse

func (PutJobsIdDefinition400JSONResponse) VisitPutJobsIdDefinitionResponse

func (response PutJobsIdDefinition400JSONResponse) VisitPutJobsIdDefinitionResponse(w http.ResponseWriter) error

type PutJobsIdDefinition404JSONResponse

type PutJobsIdDefinition404JSONResponse ErrorResponse

func (PutJobsIdDefinition404JSONResponse) VisitPutJobsIdDefinitionResponse

func (response PutJobsIdDefinition404JSONResponse) VisitPutJobsIdDefinitionResponse(w http.ResponseWriter) error

type PutJobsIdDefinitionJSONBody

type PutJobsIdDefinitionJSONBody = map[string]interface{}

PutJobsIdDefinitionJSONBody defines parameters for PutJobsIdDefinition.

type PutJobsIdDefinitionJSONRequestBody

type PutJobsIdDefinitionJSONRequestBody = PutJobsIdDefinitionJSONBody

PutJobsIdDefinitionJSONRequestBody defines body for PutJobsIdDefinition for application/json ContentType.

type PutJobsIdDefinitionParams

type PutJobsIdDefinitionParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

PutJobsIdDefinitionParams defines parameters for PutJobsIdDefinition.

type PutJobsIdDefinitionRequestObject

type PutJobsIdDefinitionRequestObject struct {
	Id     string `json:"id"`
	Params PutJobsIdDefinitionParams
	Body   *PutJobsIdDefinitionJSONRequestBody
}

type PutJobsIdDefinitionResponse

type PutJobsIdDefinitionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParsePutJobsIdDefinitionResponse

func ParsePutJobsIdDefinitionResponse(rsp *http.Response) (*PutJobsIdDefinitionResponse, error)

ParsePutJobsIdDefinitionResponse parses an HTTP response from a PutJobsIdDefinitionWithResponse call

func (PutJobsIdDefinitionResponse) Status

Status returns HTTPResponse.Status

func (PutJobsIdDefinitionResponse) StatusCode

func (r PutJobsIdDefinitionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutJobsIdDefinitionResponseObject

type PutJobsIdDefinitionResponseObject interface {
	VisitPutJobsIdDefinitionResponse(w http.ResponseWriter) error
}

type PutJobsIdDefinitiondefaultResponse

type PutJobsIdDefinitiondefaultResponse struct {
	StatusCode int
}

func (PutJobsIdDefinitiondefaultResponse) VisitPutJobsIdDefinitionResponse

func (response PutJobsIdDefinitiondefaultResponse) VisitPutJobsIdDefinitionResponse(w http.ResponseWriter) error

type PutJobsIdStatus200JSONResponse

type PutJobsIdStatus200JSONResponse JobStatus

func (PutJobsIdStatus200JSONResponse) VisitPutJobsIdStatusResponse

func (response PutJobsIdStatus200JSONResponse) VisitPutJobsIdStatusResponse(w http.ResponseWriter) error

type PutJobsIdStatus400JSONResponse

type PutJobsIdStatus400JSONResponse ErrorResponse

func (PutJobsIdStatus400JSONResponse) VisitPutJobsIdStatusResponse

func (response PutJobsIdStatus400JSONResponse) VisitPutJobsIdStatusResponse(w http.ResponseWriter) error

type PutJobsIdStatus404JSONResponse

type PutJobsIdStatus404JSONResponse ErrorResponse

func (PutJobsIdStatus404JSONResponse) VisitPutJobsIdStatusResponse

func (response PutJobsIdStatus404JSONResponse) VisitPutJobsIdStatusResponse(w http.ResponseWriter) error

type PutJobsIdStatusJSONRequestBody

type PutJobsIdStatusJSONRequestBody = JobStatus

PutJobsIdStatusJSONRequestBody defines body for PutJobsIdStatus for application/json ContentType.

type PutJobsIdStatusParams

type PutJobsIdStatusParams struct {
	// XResponseFilter Apply a jq-like filter to the response
	XResponseFilter *ResponseFilter `json:"X-Response-Filter,omitempty"`
}

PutJobsIdStatusParams defines parameters for PutJobsIdStatus.

type PutJobsIdStatusRequestObject

type PutJobsIdStatusRequestObject struct {
	Id     string `json:"id"`
	Params PutJobsIdStatusParams
	Body   *PutJobsIdStatusJSONRequestBody
}

type PutJobsIdStatusResponse

type PutJobsIdStatusResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *JobStatus
	JSON400      *ErrorResponse
	JSON404      *ErrorResponse
}

func ParsePutJobsIdStatusResponse

func ParsePutJobsIdStatusResponse(rsp *http.Response) (*PutJobsIdStatusResponse, error)

ParsePutJobsIdStatusResponse parses an HTTP response from a PutJobsIdStatusWithResponse call

func (PutJobsIdStatusResponse) Status

func (r PutJobsIdStatusResponse) Status() string

Status returns HTTPResponse.Status

func (PutJobsIdStatusResponse) StatusCode

func (r PutJobsIdStatusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutJobsIdStatusResponseObject

type PutJobsIdStatusResponseObject interface {
	VisitPutJobsIdStatusResponse(w http.ResponseWriter) error
}

type PutJobsIdStatusdefaultResponse

type PutJobsIdStatusdefaultResponse struct {
	StatusCode int
}

func (PutJobsIdStatusdefaultResponse) VisitPutJobsIdStatusResponse

func (response PutJobsIdStatusdefaultResponse) VisitPutJobsIdStatusResponse(w http.ResponseWriter) error

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResponseFilter

type ResponseFilter = string

ResponseFilter defines model for responseFilter.

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	ServeHTTP(w http.ResponseWriter, r *http.Request)
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

type ServerInterface interface {
	// Query wfx's health status
	// (GET /health)
	GetHealth(w http.ResponseWriter, r *http.Request)
	// List available jobs
	// (GET /jobs)
	GetJobs(w http.ResponseWriter, r *http.Request, params GetJobsParams)
	// Add a new job
	// (POST /jobs)
	PostJobs(w http.ResponseWriter, r *http.Request, params PostJobsParams)
	// Subscribe to job-related events such as status updates
	// (GET /jobs/events)
	GetJobsEvents(w http.ResponseWriter, r *http.Request, params GetJobsEventsParams)
	// Delete a specific job
	// (DELETE /jobs/{id})
	DeleteJobsId(w http.ResponseWriter, r *http.Request, id string)
	// Get specific job's details
	// (GET /jobs/{id})
	GetJobsId(w http.ResponseWriter, r *http.Request, id string, params GetJobsIdParams)
	// Get specific job's definition
	// (GET /jobs/{id}/definition)
	GetJobsIdDefinition(w http.ResponseWriter, r *http.Request, id string, params GetJobsIdDefinitionParams)
	// Modify specific job's definition
	// (PUT /jobs/{id}/definition)
	PutJobsIdDefinition(w http.ResponseWriter, r *http.Request, id string, params PutJobsIdDefinitionParams)
	// Get specific job's status
	// (GET /jobs/{id}/status)
	GetJobsIdStatus(w http.ResponseWriter, r *http.Request, id string, params GetJobsIdStatusParams)
	// Modify specific job's status
	// (PUT /jobs/{id}/status)
	PutJobsIdStatus(w http.ResponseWriter, r *http.Request, id string, params PutJobsIdStatusParams)
	// Delete a tag from a specific job
	// (DELETE /jobs/{id}/tags)
	DeleteJobsIdTags(w http.ResponseWriter, r *http.Request, id string, params DeleteJobsIdTagsParams)
	// Get specific job's tags
	// (GET /jobs/{id}/tags)
	GetJobsIdTags(w http.ResponseWriter, r *http.Request, id string, params GetJobsIdTagsParams)
	// Add a tag to a specific job
	// (POST /jobs/{id}/tags)
	PostJobsIdTags(w http.ResponseWriter, r *http.Request, id string, params PostJobsIdTagsParams)
	// Query wfx's version information
	// (GET /version)
	GetVersion(w http.ResponseWriter, r *http.Request)
	// List available workflows
	// (GET /workflows)
	GetWorkflows(w http.ResponseWriter, r *http.Request, params GetWorkflowsParams)
	// Add a new workflow
	// (POST /workflows)
	PostWorkflows(w http.ResponseWriter, r *http.Request, params PostWorkflowsParams)
	// Delete a specific workflow
	// (DELETE /workflows/{name})
	DeleteWorkflowsName(w http.ResponseWriter, r *http.Request, name string)
	// Get specific workflow's details
	// (GET /workflows/{name})
	GetWorkflowsName(w http.ResponseWriter, r *http.Request, name string, params GetWorkflowsNameParams)
}

ServerInterface represents all server handlers.

func NewStrictHandler

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

func NewStrictHandlerWithOptions

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

type ServerInterfaceWrapper

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

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeleteJobsId

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

DeleteJobsId operation middleware

func (*ServerInterfaceWrapper) DeleteJobsIdTags

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

DeleteJobsIdTags operation middleware

func (*ServerInterfaceWrapper) DeleteWorkflowsName

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

DeleteWorkflowsName operation middleware

func (*ServerInterfaceWrapper) GetHealth

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

GetHealth operation middleware

func (*ServerInterfaceWrapper) GetJobs

GetJobs operation middleware

func (*ServerInterfaceWrapper) GetJobsEvents

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

GetJobsEvents operation middleware

func (*ServerInterfaceWrapper) GetJobsId

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

GetJobsId operation middleware

func (*ServerInterfaceWrapper) GetJobsIdDefinition

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

GetJobsIdDefinition operation middleware

func (*ServerInterfaceWrapper) GetJobsIdStatus

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

GetJobsIdStatus operation middleware

func (*ServerInterfaceWrapper) GetJobsIdTags

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

GetJobsIdTags operation middleware

func (*ServerInterfaceWrapper) GetVersion

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

GetVersion operation middleware

func (*ServerInterfaceWrapper) GetWorkflows

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

GetWorkflows operation middleware

func (*ServerInterfaceWrapper) GetWorkflowsName

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

GetWorkflowsName operation middleware

func (*ServerInterfaceWrapper) PostJobs

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

PostJobs operation middleware

func (*ServerInterfaceWrapper) PostJobsIdTags

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

PostJobsIdTags operation middleware

func (*ServerInterfaceWrapper) PostWorkflows

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

PostWorkflows operation middleware

func (*ServerInterfaceWrapper) PutJobsIdDefinition

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

PutJobsIdDefinition operation middleware

func (*ServerInterfaceWrapper) PutJobsIdStatus

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

PutJobsIdStatus operation middleware

type SortEnum

type SortEnum string

SortEnum defines model for SortEnum.

const (
	Asc  SortEnum = "asc"
	Desc SortEnum = "desc"
)

Defines values for SortEnum.

type State

type State struct {
	Description string `json:"description,omitempty"`
	Name        string `json:"name"`
}

State defines model for State.

type StdHTTPServerOptions

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

type StrictHTTPServerOptions

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

type StrictServerInterface

type StrictServerInterface interface {
	// Query wfx's health status
	// (GET /health)
	GetHealth(ctx context.Context, request GetHealthRequestObject) (GetHealthResponseObject, error)
	// List available jobs
	// (GET /jobs)
	GetJobs(ctx context.Context, request GetJobsRequestObject) (GetJobsResponseObject, error)
	// Add a new job
	// (POST /jobs)
	PostJobs(ctx context.Context, request PostJobsRequestObject) (PostJobsResponseObject, error)
	// Subscribe to job-related events such as status updates
	// (GET /jobs/events)
	GetJobsEvents(ctx context.Context, request GetJobsEventsRequestObject) (GetJobsEventsResponseObject, error)
	// Delete a specific job
	// (DELETE /jobs/{id})
	DeleteJobsId(ctx context.Context, request DeleteJobsIdRequestObject) (DeleteJobsIdResponseObject, error)
	// Get specific job's details
	// (GET /jobs/{id})
	GetJobsId(ctx context.Context, request GetJobsIdRequestObject) (GetJobsIdResponseObject, error)
	// Get specific job's definition
	// (GET /jobs/{id}/definition)
	GetJobsIdDefinition(ctx context.Context, request GetJobsIdDefinitionRequestObject) (GetJobsIdDefinitionResponseObject, error)
	// Modify specific job's definition
	// (PUT /jobs/{id}/definition)
	PutJobsIdDefinition(ctx context.Context, request PutJobsIdDefinitionRequestObject) (PutJobsIdDefinitionResponseObject, error)
	// Get specific job's status
	// (GET /jobs/{id}/status)
	GetJobsIdStatus(ctx context.Context, request GetJobsIdStatusRequestObject) (GetJobsIdStatusResponseObject, error)
	// Modify specific job's status
	// (PUT /jobs/{id}/status)
	PutJobsIdStatus(ctx context.Context, request PutJobsIdStatusRequestObject) (PutJobsIdStatusResponseObject, error)
	// Delete a tag from a specific job
	// (DELETE /jobs/{id}/tags)
	DeleteJobsIdTags(ctx context.Context, request DeleteJobsIdTagsRequestObject) (DeleteJobsIdTagsResponseObject, error)
	// Get specific job's tags
	// (GET /jobs/{id}/tags)
	GetJobsIdTags(ctx context.Context, request GetJobsIdTagsRequestObject) (GetJobsIdTagsResponseObject, error)
	// Add a tag to a specific job
	// (POST /jobs/{id}/tags)
	PostJobsIdTags(ctx context.Context, request PostJobsIdTagsRequestObject) (PostJobsIdTagsResponseObject, error)
	// Query wfx's version information
	// (GET /version)
	GetVersion(ctx context.Context, request GetVersionRequestObject) (GetVersionResponseObject, error)
	// List available workflows
	// (GET /workflows)
	GetWorkflows(ctx context.Context, request GetWorkflowsRequestObject) (GetWorkflowsResponseObject, error)
	// Add a new workflow
	// (POST /workflows)
	PostWorkflows(ctx context.Context, request PostWorkflowsRequestObject) (PostWorkflowsResponseObject, error)
	// Delete a specific workflow
	// (DELETE /workflows/{name})
	DeleteWorkflowsName(ctx context.Context, request DeleteWorkflowsNameRequestObject) (DeleteWorkflowsNameResponseObject, error)
	// Get specific workflow's details
	// (GET /workflows/{name})
	GetWorkflowsName(ctx context.Context, request GetWorkflowsNameRequestObject) (GetWorkflowsNameResponseObject, error)
}

StrictServerInterface represents all server handlers.

type TagList

type TagList = []string

TagList defines model for TagList.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type Transition

type Transition struct {
	Action      *ActionEnum  `json:"action,omitempty"`
	Description string       `json:"description,omitempty"`
	Eligible    EligibleEnum `json:"eligible"`
	From        string       `json:"from"`
	To          string       `json:"to"`
}

Transition defines model for Transition.

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type Workflow

type Workflow struct {
	// Description Description of the workflow
	Description string  `json:"description,omitempty"`
	Groups      []Group `json:"groups,omitempty"`

	// Name User provided unique workflow name
	Name        string       `json:"name"`
	States      []State      `json:"states,omitempty"`
	Transitions []Transition `json:"transitions,omitempty"`
}

Workflow defines model for Workflow.

Jump to

Keyboard shortcuts

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