oas

package
v0.0.0-...-75be81d Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.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 NewPostResourcesAllocateRequest

func NewPostResourcesAllocateRequest(server string, params *PostResourcesAllocateParams) (*http.Request, error)

NewPostResourcesAllocateRequest generates requests for PostResourcesAllocate

func NewPostResourcesDeallocateRequest

func NewPostResourcesDeallocateRequest(server string, body PostResourcesDeallocateJSONRequestBody) (*http.Request, error)

NewPostResourcesDeallocateRequest calls the generic PostResourcesDeallocate builder with application/json body

func NewPostResourcesDeallocateRequestWithBody

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

NewPostResourcesDeallocateRequestWithBody generates requests for PostResourcesDeallocate with any type of body

func NewPostResourcesInitializeRequest

func NewPostResourcesInitializeRequest(server string, body PostResourcesInitializeJSONRequestBody) (*http.Request, error)

NewPostResourcesInitializeRequest calls the generic PostResourcesInitialize builder with application/json body

func NewPostResourcesInitializeRequestWithBody

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

NewPostResourcesInitializeRequestWithBody generates requests for PostResourcesInitialize with any type of body

func NewPostResourcesLoadRequest

func NewPostResourcesLoadRequest(server string, body PostResourcesLoadJSONRequestBody) (*http.Request, error)

NewPostResourcesLoadRequest calls the generic PostResourcesLoad builder with application/json body

func NewPostResourcesLoadRequestWithBody

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

NewPostResourcesLoadRequestWithBody generates requests for PostResourcesLoad with any type of body

func NewPostTasksLoadRequest

func NewPostTasksLoadRequest(server string, body PostTasksLoadJSONRequestBody) (*http.Request, error)

NewPostTasksLoadRequest calls the generic PostTasksLoad builder with application/json body

func NewPostTasksLoadRequestWithBody

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

NewPostTasksLoadRequestWithBody generates requests for PostTasksLoad with any type of body

func NewPostTasksRestartRequest

func NewPostTasksRestartRequest(server string, body PostTasksRestartJSONRequestBody) (*http.Request, error)

NewPostTasksRestartRequest calls the generic PostTasksRestart builder with application/json body

func NewPostTasksRestartRequestWithBody

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

NewPostTasksRestartRequestWithBody generates requests for PostTasksRestart with any type of body

func NewPostTasksSpawnFromSpecRequest

func NewPostTasksSpawnFromSpecRequest(server string, body PostTasksSpawnFromSpecJSONRequestBody) (*http.Request, error)

NewPostTasksSpawnFromSpecRequest calls the generic PostTasksSpawnFromSpec builder with application/json body

func NewPostTasksSpawnFromSpecRequestWithBody

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

NewPostTasksSpawnFromSpecRequestWithBody generates requests for PostTasksSpawnFromSpec with any type of body

func NewPostTasksSpawnRequest

func NewPostTasksSpawnRequest(server string, body PostTasksSpawnJSONRequestBody) (*http.Request, error)

NewPostTasksSpawnRequest calls the generic PostTasksSpawn builder with application/json body

func NewPostTasksSpawnRequestWithBody

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

NewPostTasksSpawnRequestWithBody generates requests for PostTasksSpawn with any type of body

func NewPostTasksSpecificationsCreateRequest

func NewPostTasksSpecificationsCreateRequest(server string, body PostTasksSpecificationsCreateJSONRequestBody) (*http.Request, error)

NewPostTasksSpecificationsCreateRequest calls the generic PostTasksSpecificationsCreate builder with application/json body

func NewPostTasksSpecificationsCreateRequestWithBody

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

NewPostTasksSpecificationsCreateRequestWithBody generates requests for PostTasksSpecificationsCreate with any type of body

func NewPostTasksSpecificationsGetAllRequest

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

NewPostTasksSpecificationsGetAllRequest generates requests for PostTasksSpecificationsGetAll

func NewPostTasksSpecificationsGetRequest

func NewPostTasksSpecificationsGetRequest(server string, body PostTasksSpecificationsGetJSONRequestBody) (*http.Request, error)

NewPostTasksSpecificationsGetRequest calls the generic PostTasksSpecificationsGet builder with application/json body

func NewPostTasksSpecificationsGetRequestWithBody

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

NewPostTasksSpecificationsGetRequestWithBody generates requests for PostTasksSpecificationsGet with any type of body

func NewPostTasksSpecificationsRemoveRequest

func NewPostTasksSpecificationsRemoveRequest(server string, body PostTasksSpecificationsRemoveJSONRequestBody) (*http.Request, error)

NewPostTasksSpecificationsRemoveRequest calls the generic PostTasksSpecificationsRemove builder with application/json body

func NewPostTasksSpecificationsRemoveRequestWithBody

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

NewPostTasksSpecificationsRemoveRequestWithBody generates requests for PostTasksSpecificationsRemove with any type of body

func NewPostTasksSpecificationsTypesCreateRequest

func NewPostTasksSpecificationsTypesCreateRequest(server string, body PostTasksSpecificationsTypesCreateJSONRequestBody) (*http.Request, error)

NewPostTasksSpecificationsTypesCreateRequest calls the generic PostTasksSpecificationsTypesCreate builder with application/json body

func NewPostTasksSpecificationsTypesCreateRequestWithBody

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

NewPostTasksSpecificationsTypesCreateRequestWithBody generates requests for PostTasksSpecificationsTypesCreate with any type of body

func NewPostTasksSpecificationsTypesGetAllRequest

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

NewPostTasksSpecificationsTypesGetAllRequest generates requests for PostTasksSpecificationsTypesGetAll

func NewPostTasksSpecificationsTypesGetRequest

func NewPostTasksSpecificationsTypesGetRequest(server string, body PostTasksSpecificationsTypesGetJSONRequestBody) (*http.Request, error)

NewPostTasksSpecificationsTypesGetRequest calls the generic PostTasksSpecificationsTypesGet builder with application/json body

func NewPostTasksSpecificationsTypesGetRequestWithBody

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

NewPostTasksSpecificationsTypesGetRequestWithBody generates requests for PostTasksSpecificationsTypesGet with any type of body

func NewPostTasksSpecificationsTypesRemoveRequest

func NewPostTasksSpecificationsTypesRemoveRequest(server string, body PostTasksSpecificationsTypesRemoveJSONRequestBody) (*http.Request, error)

NewPostTasksSpecificationsTypesRemoveRequest calls the generic PostTasksSpecificationsTypesRemove builder with application/json body

func NewPostTasksSpecificationsTypesRemoveRequestWithBody

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

NewPostTasksSpecificationsTypesRemoveRequestWithBody generates requests for PostTasksSpecificationsTypesRemove with any type of body

func NewPostTasksStorageDeleteRequest

func NewPostTasksStorageDeleteRequest(server string, body PostTasksStorageDeleteJSONRequestBody) (*http.Request, error)

NewPostTasksStorageDeleteRequest calls the generic PostTasksStorageDelete builder with application/json body

func NewPostTasksStorageDeleteRequestWithBody

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

NewPostTasksStorageDeleteRequestWithBody generates requests for PostTasksStorageDelete with any type of body

func NewPostTasksStorageExecRequest

func NewPostTasksStorageExecRequest(server string, body PostTasksStorageExecJSONRequestBody) (*http.Request, error)

NewPostTasksStorageExecRequest calls the generic PostTasksStorageExec builder with application/json body

func NewPostTasksStorageExecRequestWithBody

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

NewPostTasksStorageExecRequestWithBody generates requests for PostTasksStorageExec with any type of body

func NewPostTasksStorageGetByIdsRequest

func NewPostTasksStorageGetByIdsRequest(server string, body PostTasksStorageGetByIdsJSONRequestBody) (*http.Request, error)

NewPostTasksStorageGetByIdsRequest calls the generic PostTasksStorageGetByIds builder with application/json body

func NewPostTasksStorageGetByIdsRequestWithBody

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

NewPostTasksStorageGetByIdsRequestWithBody generates requests for PostTasksStorageGetByIds with any type of body

func NewPostTasksStorageGetWithPropertiesRequest

func NewPostTasksStorageGetWithPropertiesRequest(server string, body PostTasksStorageGetWithPropertiesJSONRequestBody) (*http.Request, error)

NewPostTasksStorageGetWithPropertiesRequest calls the generic PostTasksStorageGetWithProperties builder with application/json body

func NewPostTasksStorageGetWithPropertiesRequestWithBody

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

NewPostTasksStorageGetWithPropertiesRequestWithBody generates requests for PostTasksStorageGetWithProperties with any type of body

func NewPostTasksStorageInsertRequest

func NewPostTasksStorageInsertRequest(server string, body PostTasksStorageInsertJSONRequestBody) (*http.Request, error)

NewPostTasksStorageInsertRequest calls the generic PostTasksStorageInsert builder with application/json body

func NewPostTasksStorageInsertRequestWithBody

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

NewPostTasksStorageInsertRequestWithBody generates requests for PostTasksStorageInsert with any type of body

func NewPostTasksStorageSettingsRequest

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

NewPostTasksStorageSettingsRequest generates requests for PostTasksStorageSettings

func NewPostTasksStorageUpdateByIdsRequest

func NewPostTasksStorageUpdateByIdsRequest(server string, body PostTasksStorageUpdateByIdsJSONRequestBody) (*http.Request, error)

NewPostTasksStorageUpdateByIdsRequest calls the generic PostTasksStorageUpdateByIds builder with application/json body

func NewPostTasksStorageUpdateByIdsRequestWithBody

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

NewPostTasksStorageUpdateByIdsRequestWithBody generates requests for PostTasksStorageUpdateByIds with any type of body

func NewPostTasksStorageUpdateWithPropertiesRequest

func NewPostTasksStorageUpdateWithPropertiesRequest(server string, body PostTasksStorageUpdateWithPropertiesJSONRequestBody) (*http.Request, error)

NewPostTasksStorageUpdateWithPropertiesRequest calls the generic PostTasksStorageUpdateWithProperties builder with application/json body

func NewPostTasksStorageUpdateWithPropertiesRequestWithBody

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

NewPostTasksStorageUpdateWithPropertiesRequestWithBody generates requests for PostTasksStorageUpdateWithProperties 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.

func RegisterHandlers

func RegisterHandlers(router EchoRouter, si ServerInterface)

RegisterHandlers adds each server route to the EchoRouter.

func RegisterHandlersWithBaseURL

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

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

Types

type AnyValue

type AnyValue = any

AnyValue defines model for AnyValue.

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

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

func (*Client) PostResourcesDeallocate

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

func (*Client) PostResourcesDeallocateWithBody

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

func (*Client) PostResourcesInitialize

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

func (*Client) PostResourcesInitializeWithBody

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

func (*Client) PostResourcesLoad

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

func (*Client) PostResourcesLoadWithBody

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

func (*Client) PostTasksLoad

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

func (*Client) PostTasksLoadWithBody

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

func (*Client) PostTasksRestart

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

func (*Client) PostTasksRestartWithBody

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

func (*Client) PostTasksSpawn

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

func (*Client) PostTasksSpawnFromSpec

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

func (*Client) PostTasksSpawnFromSpecWithBody

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

func (*Client) PostTasksSpawnWithBody

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

func (*Client) PostTasksSpecificationsCreate

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

func (*Client) PostTasksSpecificationsCreateWithBody

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

func (*Client) PostTasksSpecificationsGet

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

func (*Client) PostTasksSpecificationsGetAll

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

func (*Client) PostTasksSpecificationsGetWithBody

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

func (*Client) PostTasksSpecificationsRemove

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

func (*Client) PostTasksSpecificationsRemoveWithBody

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

func (*Client) PostTasksSpecificationsTypesCreate

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

func (*Client) PostTasksSpecificationsTypesCreateWithBody

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

func (*Client) PostTasksSpecificationsTypesGet

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

func (*Client) PostTasksSpecificationsTypesGetAll

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

func (*Client) PostTasksSpecificationsTypesGetWithBody

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

func (*Client) PostTasksSpecificationsTypesRemove

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

func (*Client) PostTasksSpecificationsTypesRemoveWithBody

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

func (*Client) PostTasksStorageDelete

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

func (*Client) PostTasksStorageDeleteWithBody

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

func (*Client) PostTasksStorageExec

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

func (*Client) PostTasksStorageExecWithBody

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

func (*Client) PostTasksStorageGetByIds

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

func (*Client) PostTasksStorageGetByIdsWithBody

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

func (*Client) PostTasksStorageGetWithProperties

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

func (*Client) PostTasksStorageGetWithPropertiesWithBody

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

func (*Client) PostTasksStorageInsert

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

func (*Client) PostTasksStorageInsertWithBody

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

func (*Client) PostTasksStorageSettings

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

func (*Client) PostTasksStorageUpdateByIds

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

func (*Client) PostTasksStorageUpdateByIdsWithBody

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

func (*Client) PostTasksStorageUpdateWithProperties

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

func (*Client) PostTasksStorageUpdateWithPropertiesWithBody

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

type ClientInterface

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

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

	PostResourcesDeallocate(ctx context.Context, body PostResourcesDeallocateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostResourcesInitialize(ctx context.Context, body PostResourcesInitializeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostResourcesLoad(ctx context.Context, body PostResourcesLoadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksLoad(ctx context.Context, body PostTasksLoadJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksRestart(ctx context.Context, body PostTasksRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksSpawn(ctx context.Context, body PostTasksSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksSpawnFromSpec(ctx context.Context, body PostTasksSpawnFromSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksSpecificationsCreate(ctx context.Context, body PostTasksSpecificationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksSpecificationsGet(ctx context.Context, body PostTasksSpecificationsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	PostTasksSpecificationsRemove(ctx context.Context, body PostTasksSpecificationsRemoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksSpecificationsTypesCreate(ctx context.Context, body PostTasksSpecificationsTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksSpecificationsTypesGet(ctx context.Context, body PostTasksSpecificationsTypesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	PostTasksSpecificationsTypesRemove(ctx context.Context, body PostTasksSpecificationsTypesRemoveJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksStorageDelete(ctx context.Context, body PostTasksStorageDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksStorageExec(ctx context.Context, body PostTasksStorageExecJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksStorageGetByIds(ctx context.Context, body PostTasksStorageGetByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksStorageGetWithProperties(ctx context.Context, body PostTasksStorageGetWithPropertiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksStorageInsert(ctx context.Context, body PostTasksStorageInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	PostTasksStorageUpdateByIds(ctx context.Context, body PostTasksStorageUpdateByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	PostTasksStorageUpdateWithProperties(ctx context.Context, body PostTasksStorageUpdateWithPropertiesJSONRequestBody, 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) PostResourcesAllocateWithResponse

func (c *ClientWithResponses) PostResourcesAllocateWithResponse(ctx context.Context, params *PostResourcesAllocateParams, reqEditors ...RequestEditorFn) (*PostResourcesAllocateResponse, error)

PostResourcesAllocateWithResponse request returning *PostResourcesAllocateResponse

func (*ClientWithResponses) PostResourcesDeallocateWithBodyWithResponse

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

PostResourcesDeallocateWithBodyWithResponse request with arbitrary body returning *PostResourcesDeallocateResponse

func (*ClientWithResponses) PostResourcesDeallocateWithResponse

func (c *ClientWithResponses) PostResourcesDeallocateWithResponse(ctx context.Context, body PostResourcesDeallocateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesDeallocateResponse, error)

func (*ClientWithResponses) PostResourcesInitializeWithBodyWithResponse

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

PostResourcesInitializeWithBodyWithResponse request with arbitrary body returning *PostResourcesInitializeResponse

func (*ClientWithResponses) PostResourcesInitializeWithResponse

func (c *ClientWithResponses) PostResourcesInitializeWithResponse(ctx context.Context, body PostResourcesInitializeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesInitializeResponse, error)

func (*ClientWithResponses) PostResourcesLoadWithBodyWithResponse

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

PostResourcesLoadWithBodyWithResponse request with arbitrary body returning *PostResourcesLoadResponse

func (*ClientWithResponses) PostResourcesLoadWithResponse

func (c *ClientWithResponses) PostResourcesLoadWithResponse(ctx context.Context, body PostResourcesLoadJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesLoadResponse, error)

func (*ClientWithResponses) PostTasksLoadWithBodyWithResponse

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

PostTasksLoadWithBodyWithResponse request with arbitrary body returning *PostTasksLoadResponse

func (*ClientWithResponses) PostTasksLoadWithResponse

func (c *ClientWithResponses) PostTasksLoadWithResponse(ctx context.Context, body PostTasksLoadJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksLoadResponse, error)

func (*ClientWithResponses) PostTasksRestartWithBodyWithResponse

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

PostTasksRestartWithBodyWithResponse request with arbitrary body returning *PostTasksRestartResponse

func (*ClientWithResponses) PostTasksRestartWithResponse

func (c *ClientWithResponses) PostTasksRestartWithResponse(ctx context.Context, body PostTasksRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksRestartResponse, error)

func (*ClientWithResponses) PostTasksSpawnFromSpecWithBodyWithResponse

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

PostTasksSpawnFromSpecWithBodyWithResponse request with arbitrary body returning *PostTasksSpawnFromSpecResponse

func (*ClientWithResponses) PostTasksSpawnFromSpecWithResponse

func (c *ClientWithResponses) PostTasksSpawnFromSpecWithResponse(ctx context.Context, body PostTasksSpawnFromSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpawnFromSpecResponse, error)

func (*ClientWithResponses) PostTasksSpawnWithBodyWithResponse

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

PostTasksSpawnWithBodyWithResponse request with arbitrary body returning *PostTasksSpawnResponse

func (*ClientWithResponses) PostTasksSpawnWithResponse

func (c *ClientWithResponses) PostTasksSpawnWithResponse(ctx context.Context, body PostTasksSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpawnResponse, error)

func (*ClientWithResponses) PostTasksSpecificationsCreateWithBodyWithResponse

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

PostTasksSpecificationsCreateWithBodyWithResponse request with arbitrary body returning *PostTasksSpecificationsCreateResponse

func (*ClientWithResponses) PostTasksSpecificationsCreateWithResponse

func (c *ClientWithResponses) PostTasksSpecificationsCreateWithResponse(ctx context.Context, body PostTasksSpecificationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsCreateResponse, error)

func (*ClientWithResponses) PostTasksSpecificationsGetAllWithResponse

func (c *ClientWithResponses) PostTasksSpecificationsGetAllWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsGetAllResponse, error)

PostTasksSpecificationsGetAllWithResponse request returning *PostTasksSpecificationsGetAllResponse

func (*ClientWithResponses) PostTasksSpecificationsGetWithBodyWithResponse

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

PostTasksSpecificationsGetWithBodyWithResponse request with arbitrary body returning *PostTasksSpecificationsGetResponse

func (*ClientWithResponses) PostTasksSpecificationsGetWithResponse

func (c *ClientWithResponses) PostTasksSpecificationsGetWithResponse(ctx context.Context, body PostTasksSpecificationsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsGetResponse, error)

func (*ClientWithResponses) PostTasksSpecificationsRemoveWithBodyWithResponse

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

PostTasksSpecificationsRemoveWithBodyWithResponse request with arbitrary body returning *PostTasksSpecificationsRemoveResponse

func (*ClientWithResponses) PostTasksSpecificationsRemoveWithResponse

func (c *ClientWithResponses) PostTasksSpecificationsRemoveWithResponse(ctx context.Context, body PostTasksSpecificationsRemoveJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsRemoveResponse, error)

func (*ClientWithResponses) PostTasksSpecificationsTypesCreateWithBodyWithResponse

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

PostTasksSpecificationsTypesCreateWithBodyWithResponse request with arbitrary body returning *PostTasksSpecificationsTypesCreateResponse

func (*ClientWithResponses) PostTasksSpecificationsTypesGetAllWithResponse

func (c *ClientWithResponses) PostTasksSpecificationsTypesGetAllWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsTypesGetAllResponse, error)

PostTasksSpecificationsTypesGetAllWithResponse request returning *PostTasksSpecificationsTypesGetAllResponse

func (*ClientWithResponses) PostTasksSpecificationsTypesGetWithBodyWithResponse

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

PostTasksSpecificationsTypesGetWithBodyWithResponse request with arbitrary body returning *PostTasksSpecificationsTypesGetResponse

func (*ClientWithResponses) PostTasksSpecificationsTypesGetWithResponse

func (c *ClientWithResponses) PostTasksSpecificationsTypesGetWithResponse(ctx context.Context, body PostTasksSpecificationsTypesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsTypesGetResponse, error)

func (*ClientWithResponses) PostTasksSpecificationsTypesRemoveWithBodyWithResponse

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

PostTasksSpecificationsTypesRemoveWithBodyWithResponse request with arbitrary body returning *PostTasksSpecificationsTypesRemoveResponse

func (*ClientWithResponses) PostTasksStorageDeleteWithBodyWithResponse

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

PostTasksStorageDeleteWithBodyWithResponse request with arbitrary body returning *PostTasksStorageDeleteResponse

func (*ClientWithResponses) PostTasksStorageDeleteWithResponse

func (c *ClientWithResponses) PostTasksStorageDeleteWithResponse(ctx context.Context, body PostTasksStorageDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageDeleteResponse, error)

func (*ClientWithResponses) PostTasksStorageExecWithBodyWithResponse

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

PostTasksStorageExecWithBodyWithResponse request with arbitrary body returning *PostTasksStorageExecResponse

func (*ClientWithResponses) PostTasksStorageExecWithResponse

func (c *ClientWithResponses) PostTasksStorageExecWithResponse(ctx context.Context, body PostTasksStorageExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageExecResponse, error)

func (*ClientWithResponses) PostTasksStorageGetByIdsWithBodyWithResponse

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

PostTasksStorageGetByIdsWithBodyWithResponse request with arbitrary body returning *PostTasksStorageGetByIdsResponse

func (*ClientWithResponses) PostTasksStorageGetByIdsWithResponse

func (c *ClientWithResponses) PostTasksStorageGetByIdsWithResponse(ctx context.Context, body PostTasksStorageGetByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageGetByIdsResponse, error)

func (*ClientWithResponses) PostTasksStorageGetWithPropertiesWithBodyWithResponse

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

PostTasksStorageGetWithPropertiesWithBodyWithResponse request with arbitrary body returning *PostTasksStorageGetWithPropertiesResponse

func (*ClientWithResponses) PostTasksStorageInsertWithBodyWithResponse

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

PostTasksStorageInsertWithBodyWithResponse request with arbitrary body returning *PostTasksStorageInsertResponse

func (*ClientWithResponses) PostTasksStorageInsertWithResponse

func (c *ClientWithResponses) PostTasksStorageInsertWithResponse(ctx context.Context, body PostTasksStorageInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageInsertResponse, error)

func (*ClientWithResponses) PostTasksStorageSettingsWithResponse

func (c *ClientWithResponses) PostTasksStorageSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTasksStorageSettingsResponse, error)

PostTasksStorageSettingsWithResponse request returning *PostTasksStorageSettingsResponse

func (*ClientWithResponses) PostTasksStorageUpdateByIdsWithBodyWithResponse

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

PostTasksStorageUpdateByIdsWithBodyWithResponse request with arbitrary body returning *PostTasksStorageUpdateByIdsResponse

func (*ClientWithResponses) PostTasksStorageUpdateByIdsWithResponse

func (c *ClientWithResponses) PostTasksStorageUpdateByIdsWithResponse(ctx context.Context, body PostTasksStorageUpdateByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageUpdateByIdsResponse, error)

func (*ClientWithResponses) PostTasksStorageUpdateWithPropertiesWithBodyWithResponse

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

PostTasksStorageUpdateWithPropertiesWithBodyWithResponse request with arbitrary body returning *PostTasksStorageUpdateWithPropertiesResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// PostResourcesAllocateWithResponse request
	PostResourcesAllocateWithResponse(ctx context.Context, params *PostResourcesAllocateParams, reqEditors ...RequestEditorFn) (*PostResourcesAllocateResponse, error)

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

	PostResourcesDeallocateWithResponse(ctx context.Context, body PostResourcesDeallocateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesDeallocateResponse, error)

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

	PostResourcesInitializeWithResponse(ctx context.Context, body PostResourcesInitializeJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesInitializeResponse, error)

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

	PostResourcesLoadWithResponse(ctx context.Context, body PostResourcesLoadJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesLoadResponse, error)

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

	PostTasksLoadWithResponse(ctx context.Context, body PostTasksLoadJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksLoadResponse, error)

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

	PostTasksRestartWithResponse(ctx context.Context, body PostTasksRestartJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksRestartResponse, error)

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

	PostTasksSpawnWithResponse(ctx context.Context, body PostTasksSpawnJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpawnResponse, error)

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

	PostTasksSpawnFromSpecWithResponse(ctx context.Context, body PostTasksSpawnFromSpecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpawnFromSpecResponse, error)

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

	PostTasksSpecificationsCreateWithResponse(ctx context.Context, body PostTasksSpecificationsCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsCreateResponse, error)

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

	PostTasksSpecificationsGetWithResponse(ctx context.Context, body PostTasksSpecificationsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsGetResponse, error)

	// PostTasksSpecificationsGetAllWithResponse request
	PostTasksSpecificationsGetAllWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsGetAllResponse, error)

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

	PostTasksSpecificationsRemoveWithResponse(ctx context.Context, body PostTasksSpecificationsRemoveJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsRemoveResponse, error)

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

	PostTasksSpecificationsTypesCreateWithResponse(ctx context.Context, body PostTasksSpecificationsTypesCreateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsTypesCreateResponse, error)

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

	PostTasksSpecificationsTypesGetWithResponse(ctx context.Context, body PostTasksSpecificationsTypesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsTypesGetResponse, error)

	// PostTasksSpecificationsTypesGetAllWithResponse request
	PostTasksSpecificationsTypesGetAllWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsTypesGetAllResponse, error)

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

	PostTasksSpecificationsTypesRemoveWithResponse(ctx context.Context, body PostTasksSpecificationsTypesRemoveJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksSpecificationsTypesRemoveResponse, error)

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

	PostTasksStorageDeleteWithResponse(ctx context.Context, body PostTasksStorageDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageDeleteResponse, error)

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

	PostTasksStorageExecWithResponse(ctx context.Context, body PostTasksStorageExecJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageExecResponse, error)

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

	PostTasksStorageGetByIdsWithResponse(ctx context.Context, body PostTasksStorageGetByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageGetByIdsResponse, error)

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

	PostTasksStorageGetWithPropertiesWithResponse(ctx context.Context, body PostTasksStorageGetWithPropertiesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageGetWithPropertiesResponse, error)

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

	PostTasksStorageInsertWithResponse(ctx context.Context, body PostTasksStorageInsertJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageInsertResponse, error)

	// PostTasksStorageSettingsWithResponse request
	PostTasksStorageSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostTasksStorageSettingsResponse, error)

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

	PostTasksStorageUpdateByIdsWithResponse(ctx context.Context, body PostTasksStorageUpdateByIdsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageUpdateByIdsResponse, error)

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

	PostTasksStorageUpdateWithPropertiesWithResponse(ctx context.Context, body PostTasksStorageUpdateWithPropertiesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostTasksStorageUpdateWithPropertiesResponse, error)
}

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

type EchoRouter

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

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

type Error

type Error struct {
	// Message A human readable error message
	Message string `json:"message"`
}

Error defines model for Error.

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type PostResourcesAllocate200JSONResponse

type PostResourcesAllocate200JSONResponse []string

func (PostResourcesAllocate200JSONResponse) VisitPostResourcesAllocateResponse

func (response PostResourcesAllocate200JSONResponse) VisitPostResourcesAllocateResponse(w http.ResponseWriter) error

type PostResourcesAllocate500JSONResponse

type PostResourcesAllocate500JSONResponse Error

func (PostResourcesAllocate500JSONResponse) VisitPostResourcesAllocateResponse

func (response PostResourcesAllocate500JSONResponse) VisitPostResourcesAllocateResponse(w http.ResponseWriter) error

type PostResourcesAllocateParams

type PostResourcesAllocateParams struct {
	Amount int `form:"amount" json:"amount"`
}

PostResourcesAllocateParams defines parameters for PostResourcesAllocate.

type PostResourcesAllocateRequestObject

type PostResourcesAllocateRequestObject struct {
	Params PostResourcesAllocateParams
}

type PostResourcesAllocateResponse

type PostResourcesAllocateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
	JSON500      *Error
}

func ParsePostResourcesAllocateResponse

func ParsePostResourcesAllocateResponse(rsp *http.Response) (*PostResourcesAllocateResponse, error)

ParsePostResourcesAllocateResponse parses an HTTP response from a PostResourcesAllocateWithResponse call

func (PostResourcesAllocateResponse) Status

Status returns HTTPResponse.Status

func (PostResourcesAllocateResponse) StatusCode

func (r PostResourcesAllocateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostResourcesAllocateResponseObject

type PostResourcesAllocateResponseObject interface {
	VisitPostResourcesAllocateResponse(w http.ResponseWriter) error
}

type PostResourcesDeallocate200JSONResponse

type PostResourcesDeallocate200JSONResponse map[string]interface{}

func (PostResourcesDeallocate200JSONResponse) VisitPostResourcesDeallocateResponse

func (response PostResourcesDeallocate200JSONResponse) VisitPostResourcesDeallocateResponse(w http.ResponseWriter) error

type PostResourcesDeallocate500JSONResponse

type PostResourcesDeallocate500JSONResponse Error

func (PostResourcesDeallocate500JSONResponse) VisitPostResourcesDeallocateResponse

func (response PostResourcesDeallocate500JSONResponse) VisitPostResourcesDeallocateResponse(w http.ResponseWriter) error

type PostResourcesDeallocateJSONBody

type PostResourcesDeallocateJSONBody = []string

PostResourcesDeallocateJSONBody defines parameters for PostResourcesDeallocate.

type PostResourcesDeallocateJSONRequestBody

type PostResourcesDeallocateJSONRequestBody = PostResourcesDeallocateJSONBody

PostResourcesDeallocateJSONRequestBody defines body for PostResourcesDeallocate for application/json ContentType.

type PostResourcesDeallocateRequestObject

type PostResourcesDeallocateRequestObject struct {
	Body *PostResourcesDeallocateJSONRequestBody
}

type PostResourcesDeallocateResponse

type PostResourcesDeallocateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON500      *Error
}

func ParsePostResourcesDeallocateResponse

func ParsePostResourcesDeallocateResponse(rsp *http.Response) (*PostResourcesDeallocateResponse, error)

ParsePostResourcesDeallocateResponse parses an HTTP response from a PostResourcesDeallocateWithResponse call

func (PostResourcesDeallocateResponse) Status

Status returns HTTPResponse.Status

func (PostResourcesDeallocateResponse) StatusCode

func (r PostResourcesDeallocateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostResourcesDeallocateResponseObject

type PostResourcesDeallocateResponseObject interface {
	VisitPostResourcesDeallocateResponse(w http.ResponseWriter) error
}

type PostResourcesInitialize200JSONResponse

type PostResourcesInitialize200JSONResponse map[string]interface{}

func (PostResourcesInitialize200JSONResponse) VisitPostResourcesInitializeResponse

func (response PostResourcesInitialize200JSONResponse) VisitPostResourcesInitializeResponse(w http.ResponseWriter) error

type PostResourcesInitialize500JSONResponse

type PostResourcesInitialize500JSONResponse Error

func (PostResourcesInitialize500JSONResponse) VisitPostResourcesInitializeResponse

func (response PostResourcesInitialize500JSONResponse) VisitPostResourcesInitializeResponse(w http.ResponseWriter) error

type PostResourcesInitializeJSONBody

type PostResourcesInitializeJSONBody = []ResourceInitializer

PostResourcesInitializeJSONBody defines parameters for PostResourcesInitialize.

type PostResourcesInitializeJSONRequestBody

type PostResourcesInitializeJSONRequestBody = PostResourcesInitializeJSONBody

PostResourcesInitializeJSONRequestBody defines body for PostResourcesInitialize for application/json ContentType.

type PostResourcesInitializeRequestObject

type PostResourcesInitializeRequestObject struct {
	Body *PostResourcesInitializeJSONRequestBody
}

type PostResourcesInitializeResponse

type PostResourcesInitializeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *map[string]interface{}
	JSON500      *Error
}

func ParsePostResourcesInitializeResponse

func ParsePostResourcesInitializeResponse(rsp *http.Response) (*PostResourcesInitializeResponse, error)

ParsePostResourcesInitializeResponse parses an HTTP response from a PostResourcesInitializeWithResponse call

func (PostResourcesInitializeResponse) Status

Status returns HTTPResponse.Status

func (PostResourcesInitializeResponse) StatusCode

func (r PostResourcesInitializeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostResourcesInitializeResponseObject

type PostResourcesInitializeResponseObject interface {
	VisitPostResourcesInitializeResponse(w http.ResponseWriter) error
}

type PostResourcesLoad200JSONResponse

type PostResourcesLoad200JSONResponse []Resource

func (PostResourcesLoad200JSONResponse) VisitPostResourcesLoadResponse

func (response PostResourcesLoad200JSONResponse) VisitPostResourcesLoadResponse(w http.ResponseWriter) error

type PostResourcesLoad500JSONResponse

type PostResourcesLoad500JSONResponse Error

func (PostResourcesLoad500JSONResponse) VisitPostResourcesLoadResponse

func (response PostResourcesLoad500JSONResponse) VisitPostResourcesLoadResponse(w http.ResponseWriter) error

type PostResourcesLoadJSONBody

type PostResourcesLoadJSONBody = []string

PostResourcesLoadJSONBody defines parameters for PostResourcesLoad.

type PostResourcesLoadJSONRequestBody

type PostResourcesLoadJSONRequestBody = PostResourcesLoadJSONBody

PostResourcesLoadJSONRequestBody defines body for PostResourcesLoad for application/json ContentType.

type PostResourcesLoadRequestObject

type PostResourcesLoadRequestObject struct {
	Body *PostResourcesLoadJSONRequestBody
}

type PostResourcesLoadResponse

type PostResourcesLoadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Resource
	JSON500      *Error
}

func ParsePostResourcesLoadResponse

func ParsePostResourcesLoadResponse(rsp *http.Response) (*PostResourcesLoadResponse, error)

ParsePostResourcesLoadResponse parses an HTTP response from a PostResourcesLoadWithResponse call

func (PostResourcesLoadResponse) Status

func (r PostResourcesLoadResponse) Status() string

Status returns HTTPResponse.Status

func (PostResourcesLoadResponse) StatusCode

func (r PostResourcesLoadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostResourcesLoadResponseObject

type PostResourcesLoadResponseObject interface {
	VisitPostResourcesLoadResponse(w http.ResponseWriter) error
}

type PostTasksLoad200JSONResponse

type PostTasksLoad200JSONResponse []Task

func (PostTasksLoad200JSONResponse) VisitPostTasksLoadResponse

func (response PostTasksLoad200JSONResponse) VisitPostTasksLoadResponse(w http.ResponseWriter) error

type PostTasksLoad500JSONResponse

type PostTasksLoad500JSONResponse Error

func (PostTasksLoad500JSONResponse) VisitPostTasksLoadResponse

func (response PostTasksLoad500JSONResponse) VisitPostTasksLoadResponse(w http.ResponseWriter) error

type PostTasksLoadJSONBody

type PostTasksLoadJSONBody = []string

PostTasksLoadJSONBody defines parameters for PostTasksLoad.

type PostTasksLoadJSONRequestBody

type PostTasksLoadJSONRequestBody = PostTasksLoadJSONBody

PostTasksLoadJSONRequestBody defines body for PostTasksLoad for application/json ContentType.

type PostTasksLoadRequestObject

type PostTasksLoadRequestObject struct {
	Body *PostTasksLoadJSONRequestBody
}

type PostTasksLoadResponse

type PostTasksLoadResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Task
	JSON500      *Error
}

func ParsePostTasksLoadResponse

func ParsePostTasksLoadResponse(rsp *http.Response) (*PostTasksLoadResponse, error)

ParsePostTasksLoadResponse parses an HTTP response from a PostTasksLoadWithResponse call

func (PostTasksLoadResponse) Status

func (r PostTasksLoadResponse) Status() string

Status returns HTTPResponse.Status

func (PostTasksLoadResponse) StatusCode

func (r PostTasksLoadResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksLoadResponseObject

type PostTasksLoadResponseObject interface {
	VisitPostTasksLoadResponse(w http.ResponseWriter) error
}

type PostTasksRestart200JSONResponse

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

func (PostTasksRestart200JSONResponse) VisitPostTasksRestartResponse

func (response PostTasksRestart200JSONResponse) VisitPostTasksRestartResponse(w http.ResponseWriter) error

type PostTasksRestart500JSONResponse

type PostTasksRestart500JSONResponse Error

func (PostTasksRestart500JSONResponse) VisitPostTasksRestartResponse

func (response PostTasksRestart500JSONResponse) VisitPostTasksRestartResponse(w http.ResponseWriter) error

type PostTasksRestartJSONBody

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

PostTasksRestartJSONBody defines parameters for PostTasksRestart.

type PostTasksRestartJSONRequestBody

type PostTasksRestartJSONRequestBody PostTasksRestartJSONBody

PostTasksRestartJSONRequestBody defines body for PostTasksRestart for application/json ContentType.

type PostTasksRestartRequestObject

type PostTasksRestartRequestObject struct {
	Body *PostTasksRestartJSONRequestBody
}

type PostTasksRestartResponse

type PostTasksRestartResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id string `json:"id"`
	}
	JSON500 *Error
}

func ParsePostTasksRestartResponse

func ParsePostTasksRestartResponse(rsp *http.Response) (*PostTasksRestartResponse, error)

ParsePostTasksRestartResponse parses an HTTP response from a PostTasksRestartWithResponse call

func (PostTasksRestartResponse) Status

func (r PostTasksRestartResponse) Status() string

Status returns HTTPResponse.Status

func (PostTasksRestartResponse) StatusCode

func (r PostTasksRestartResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksRestartResponseObject

type PostTasksRestartResponseObject interface {
	VisitPostTasksRestartResponse(w http.ResponseWriter) error
}

type PostTasksSpawn200JSONResponse

type PostTasksSpawn200JSONResponse TaskSpawnResponse

func (PostTasksSpawn200JSONResponse) VisitPostTasksSpawnResponse

func (response PostTasksSpawn200JSONResponse) VisitPostTasksSpawnResponse(w http.ResponseWriter) error

type PostTasksSpawn500JSONResponse

type PostTasksSpawn500JSONResponse Error

func (PostTasksSpawn500JSONResponse) VisitPostTasksSpawnResponse

func (response PostTasksSpawn500JSONResponse) VisitPostTasksSpawnResponse(w http.ResponseWriter) error

type PostTasksSpawnFromSpec200JSONResponse

type PostTasksSpawnFromSpec200JSONResponse TaskSpawnResponse

func (PostTasksSpawnFromSpec200JSONResponse) VisitPostTasksSpawnFromSpecResponse

func (response PostTasksSpawnFromSpec200JSONResponse) VisitPostTasksSpawnFromSpecResponse(w http.ResponseWriter) error

type PostTasksSpawnFromSpec500JSONResponse

type PostTasksSpawnFromSpec500JSONResponse Error

func (PostTasksSpawnFromSpec500JSONResponse) VisitPostTasksSpawnFromSpecResponse

func (response PostTasksSpawnFromSpec500JSONResponse) VisitPostTasksSpawnFromSpecResponse(w http.ResponseWriter) error

type PostTasksSpawnFromSpecJSONRequestBody

type PostTasksSpawnFromSpecJSONRequestBody = SpecificationBasedTaskParameters

PostTasksSpawnFromSpecJSONRequestBody defines body for PostTasksSpawnFromSpec for application/json ContentType.

type PostTasksSpawnFromSpecRequestObject

type PostTasksSpawnFromSpecRequestObject struct {
	Body *PostTasksSpawnFromSpecJSONRequestBody
}

type PostTasksSpawnFromSpecResponse

type PostTasksSpawnFromSpecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaskSpawnResponse
	JSON500      *Error
}

func ParsePostTasksSpawnFromSpecResponse

func ParsePostTasksSpawnFromSpecResponse(rsp *http.Response) (*PostTasksSpawnFromSpecResponse, error)

ParsePostTasksSpawnFromSpecResponse parses an HTTP response from a PostTasksSpawnFromSpecWithResponse call

func (PostTasksSpawnFromSpecResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpawnFromSpecResponse) StatusCode

func (r PostTasksSpawnFromSpecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpawnFromSpecResponseObject

type PostTasksSpawnFromSpecResponseObject interface {
	VisitPostTasksSpawnFromSpecResponse(w http.ResponseWriter) error
}

type PostTasksSpawnJSONRequestBody

type PostTasksSpawnJSONRequestBody = TaskParameters

PostTasksSpawnJSONRequestBody defines body for PostTasksSpawn for application/json ContentType.

type PostTasksSpawnRequestObject

type PostTasksSpawnRequestObject struct {
	Body *PostTasksSpawnJSONRequestBody
}

type PostTasksSpawnResponse

type PostTasksSpawnResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaskSpawnResponse
	JSON500      *Error
}

func ParsePostTasksSpawnResponse

func ParsePostTasksSpawnResponse(rsp *http.Response) (*PostTasksSpawnResponse, error)

ParsePostTasksSpawnResponse parses an HTTP response from a PostTasksSpawnWithResponse call

func (PostTasksSpawnResponse) Status

func (r PostTasksSpawnResponse) Status() string

Status returns HTTPResponse.Status

func (PostTasksSpawnResponse) StatusCode

func (r PostTasksSpawnResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpawnResponseObject

type PostTasksSpawnResponseObject interface {
	VisitPostTasksSpawnResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsCreate200Response

type PostTasksSpecificationsCreate200Response struct {
}

func (PostTasksSpecificationsCreate200Response) VisitPostTasksSpecificationsCreateResponse

func (response PostTasksSpecificationsCreate200Response) VisitPostTasksSpecificationsCreateResponse(w http.ResponseWriter) error

type PostTasksSpecificationsCreate500JSONResponse

type PostTasksSpecificationsCreate500JSONResponse Error

func (PostTasksSpecificationsCreate500JSONResponse) VisitPostTasksSpecificationsCreateResponse

func (response PostTasksSpecificationsCreate500JSONResponse) VisitPostTasksSpecificationsCreateResponse(w http.ResponseWriter) error

type PostTasksSpecificationsCreateJSONRequestBody

type PostTasksSpecificationsCreateJSONRequestBody = Specification

PostTasksSpecificationsCreateJSONRequestBody defines body for PostTasksSpecificationsCreate for application/json ContentType.

type PostTasksSpecificationsCreateRequestObject

type PostTasksSpecificationsCreateRequestObject struct {
	Body *PostTasksSpecificationsCreateJSONRequestBody
}

type PostTasksSpecificationsCreateResponse

type PostTasksSpecificationsCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Error
}

func ParsePostTasksSpecificationsCreateResponse

func ParsePostTasksSpecificationsCreateResponse(rsp *http.Response) (*PostTasksSpecificationsCreateResponse, error)

ParsePostTasksSpecificationsCreateResponse parses an HTTP response from a PostTasksSpecificationsCreateWithResponse call

func (PostTasksSpecificationsCreateResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsCreateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsCreateResponseObject

type PostTasksSpecificationsCreateResponseObject interface {
	VisitPostTasksSpecificationsCreateResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsGet200JSONResponse

type PostTasksSpecificationsGet200JSONResponse Specification

func (PostTasksSpecificationsGet200JSONResponse) VisitPostTasksSpecificationsGetResponse

func (response PostTasksSpecificationsGet200JSONResponse) VisitPostTasksSpecificationsGetResponse(w http.ResponseWriter) error

type PostTasksSpecificationsGet500JSONResponse

type PostTasksSpecificationsGet500JSONResponse Error

func (PostTasksSpecificationsGet500JSONResponse) VisitPostTasksSpecificationsGetResponse

func (response PostTasksSpecificationsGet500JSONResponse) VisitPostTasksSpecificationsGetResponse(w http.ResponseWriter) error

type PostTasksSpecificationsGetAll200JSONResponse

type PostTasksSpecificationsGetAll200JSONResponse []Specification

func (PostTasksSpecificationsGetAll200JSONResponse) VisitPostTasksSpecificationsGetAllResponse

func (response PostTasksSpecificationsGetAll200JSONResponse) VisitPostTasksSpecificationsGetAllResponse(w http.ResponseWriter) error

type PostTasksSpecificationsGetAll500JSONResponse

type PostTasksSpecificationsGetAll500JSONResponse Error

func (PostTasksSpecificationsGetAll500JSONResponse) VisitPostTasksSpecificationsGetAllResponse

func (response PostTasksSpecificationsGetAll500JSONResponse) VisitPostTasksSpecificationsGetAllResponse(w http.ResponseWriter) error

type PostTasksSpecificationsGetAllRequestObject

type PostTasksSpecificationsGetAllRequestObject struct {
}

type PostTasksSpecificationsGetAllResponse

type PostTasksSpecificationsGetAllResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Specification
	JSON500      *Error
}

func ParsePostTasksSpecificationsGetAllResponse

func ParsePostTasksSpecificationsGetAllResponse(rsp *http.Response) (*PostTasksSpecificationsGetAllResponse, error)

ParsePostTasksSpecificationsGetAllResponse parses an HTTP response from a PostTasksSpecificationsGetAllWithResponse call

func (PostTasksSpecificationsGetAllResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsGetAllResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsGetAllResponseObject

type PostTasksSpecificationsGetAllResponseObject interface {
	VisitPostTasksSpecificationsGetAllResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsGetJSONBody

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

PostTasksSpecificationsGetJSONBody defines parameters for PostTasksSpecificationsGet.

type PostTasksSpecificationsGetJSONRequestBody

type PostTasksSpecificationsGetJSONRequestBody PostTasksSpecificationsGetJSONBody

PostTasksSpecificationsGetJSONRequestBody defines body for PostTasksSpecificationsGet for application/json ContentType.

type PostTasksSpecificationsGetRequestObject

type PostTasksSpecificationsGetRequestObject struct {
	Body *PostTasksSpecificationsGetJSONRequestBody
}

type PostTasksSpecificationsGetResponse

type PostTasksSpecificationsGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Specification
	JSON500      *Error
}

func ParsePostTasksSpecificationsGetResponse

func ParsePostTasksSpecificationsGetResponse(rsp *http.Response) (*PostTasksSpecificationsGetResponse, error)

ParsePostTasksSpecificationsGetResponse parses an HTTP response from a PostTasksSpecificationsGetWithResponse call

func (PostTasksSpecificationsGetResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsGetResponse) StatusCode

func (r PostTasksSpecificationsGetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsGetResponseObject

type PostTasksSpecificationsGetResponseObject interface {
	VisitPostTasksSpecificationsGetResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsRemove200Response

type PostTasksSpecificationsRemove200Response struct {
}

func (PostTasksSpecificationsRemove200Response) VisitPostTasksSpecificationsRemoveResponse

func (response PostTasksSpecificationsRemove200Response) VisitPostTasksSpecificationsRemoveResponse(w http.ResponseWriter) error

type PostTasksSpecificationsRemove500JSONResponse

type PostTasksSpecificationsRemove500JSONResponse Error

func (PostTasksSpecificationsRemove500JSONResponse) VisitPostTasksSpecificationsRemoveResponse

func (response PostTasksSpecificationsRemove500JSONResponse) VisitPostTasksSpecificationsRemoveResponse(w http.ResponseWriter) error

type PostTasksSpecificationsRemoveJSONBody

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

PostTasksSpecificationsRemoveJSONBody defines parameters for PostTasksSpecificationsRemove.

type PostTasksSpecificationsRemoveJSONRequestBody

type PostTasksSpecificationsRemoveJSONRequestBody PostTasksSpecificationsRemoveJSONBody

PostTasksSpecificationsRemoveJSONRequestBody defines body for PostTasksSpecificationsRemove for application/json ContentType.

type PostTasksSpecificationsRemoveRequestObject

type PostTasksSpecificationsRemoveRequestObject struct {
	Body *PostTasksSpecificationsRemoveJSONRequestBody
}

type PostTasksSpecificationsRemoveResponse

type PostTasksSpecificationsRemoveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Error
}

func ParsePostTasksSpecificationsRemoveResponse

func ParsePostTasksSpecificationsRemoveResponse(rsp *http.Response) (*PostTasksSpecificationsRemoveResponse, error)

ParsePostTasksSpecificationsRemoveResponse parses an HTTP response from a PostTasksSpecificationsRemoveWithResponse call

func (PostTasksSpecificationsRemoveResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsRemoveResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsRemoveResponseObject

type PostTasksSpecificationsRemoveResponseObject interface {
	VisitPostTasksSpecificationsRemoveResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsTypesCreate200Response

type PostTasksSpecificationsTypesCreate200Response struct {
}

func (PostTasksSpecificationsTypesCreate200Response) VisitPostTasksSpecificationsTypesCreateResponse

func (response PostTasksSpecificationsTypesCreate200Response) VisitPostTasksSpecificationsTypesCreateResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesCreate500JSONResponse

type PostTasksSpecificationsTypesCreate500JSONResponse Error

func (PostTasksSpecificationsTypesCreate500JSONResponse) VisitPostTasksSpecificationsTypesCreateResponse

func (response PostTasksSpecificationsTypesCreate500JSONResponse) VisitPostTasksSpecificationsTypesCreateResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesCreateJSONRequestBody

type PostTasksSpecificationsTypesCreateJSONRequestBody = TypeWithID

PostTasksSpecificationsTypesCreateJSONRequestBody defines body for PostTasksSpecificationsTypesCreate for application/json ContentType.

type PostTasksSpecificationsTypesCreateRequestObject

type PostTasksSpecificationsTypesCreateRequestObject struct {
	Body *PostTasksSpecificationsTypesCreateJSONRequestBody
}

type PostTasksSpecificationsTypesCreateResponse

type PostTasksSpecificationsTypesCreateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Error
}

func ParsePostTasksSpecificationsTypesCreateResponse

func ParsePostTasksSpecificationsTypesCreateResponse(rsp *http.Response) (*PostTasksSpecificationsTypesCreateResponse, error)

ParsePostTasksSpecificationsTypesCreateResponse parses an HTTP response from a PostTasksSpecificationsTypesCreateWithResponse call

func (PostTasksSpecificationsTypesCreateResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsTypesCreateResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsTypesCreateResponseObject

type PostTasksSpecificationsTypesCreateResponseObject interface {
	VisitPostTasksSpecificationsTypesCreateResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsTypesGet200JSONResponse

type PostTasksSpecificationsTypesGet200JSONResponse TypeWithID

func (PostTasksSpecificationsTypesGet200JSONResponse) VisitPostTasksSpecificationsTypesGetResponse

func (response PostTasksSpecificationsTypesGet200JSONResponse) VisitPostTasksSpecificationsTypesGetResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesGet500JSONResponse

type PostTasksSpecificationsTypesGet500JSONResponse Error

func (PostTasksSpecificationsTypesGet500JSONResponse) VisitPostTasksSpecificationsTypesGetResponse

func (response PostTasksSpecificationsTypesGet500JSONResponse) VisitPostTasksSpecificationsTypesGetResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesGetAll200JSONResponse

type PostTasksSpecificationsTypesGetAll200JSONResponse []TypeWithID

func (PostTasksSpecificationsTypesGetAll200JSONResponse) VisitPostTasksSpecificationsTypesGetAllResponse

func (response PostTasksSpecificationsTypesGetAll200JSONResponse) VisitPostTasksSpecificationsTypesGetAllResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesGetAll500JSONResponse

type PostTasksSpecificationsTypesGetAll500JSONResponse Error

func (PostTasksSpecificationsTypesGetAll500JSONResponse) VisitPostTasksSpecificationsTypesGetAllResponse

func (response PostTasksSpecificationsTypesGetAll500JSONResponse) VisitPostTasksSpecificationsTypesGetAllResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesGetAllRequestObject

type PostTasksSpecificationsTypesGetAllRequestObject struct {
}

type PostTasksSpecificationsTypesGetAllResponse

type PostTasksSpecificationsTypesGetAllResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]TypeWithID
	JSON500      *Error
}

func ParsePostTasksSpecificationsTypesGetAllResponse

func ParsePostTasksSpecificationsTypesGetAllResponse(rsp *http.Response) (*PostTasksSpecificationsTypesGetAllResponse, error)

ParsePostTasksSpecificationsTypesGetAllResponse parses an HTTP response from a PostTasksSpecificationsTypesGetAllWithResponse call

func (PostTasksSpecificationsTypesGetAllResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsTypesGetAllResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsTypesGetAllResponseObject

type PostTasksSpecificationsTypesGetAllResponseObject interface {
	VisitPostTasksSpecificationsTypesGetAllResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsTypesGetJSONBody

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

PostTasksSpecificationsTypesGetJSONBody defines parameters for PostTasksSpecificationsTypesGet.

type PostTasksSpecificationsTypesGetJSONRequestBody

type PostTasksSpecificationsTypesGetJSONRequestBody PostTasksSpecificationsTypesGetJSONBody

PostTasksSpecificationsTypesGetJSONRequestBody defines body for PostTasksSpecificationsTypesGet for application/json ContentType.

type PostTasksSpecificationsTypesGetRequestObject

type PostTasksSpecificationsTypesGetRequestObject struct {
	Body *PostTasksSpecificationsTypesGetJSONRequestBody
}

type PostTasksSpecificationsTypesGetResponse

type PostTasksSpecificationsTypesGetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TypeWithID
	JSON500      *Error
}

func ParsePostTasksSpecificationsTypesGetResponse

func ParsePostTasksSpecificationsTypesGetResponse(rsp *http.Response) (*PostTasksSpecificationsTypesGetResponse, error)

ParsePostTasksSpecificationsTypesGetResponse parses an HTTP response from a PostTasksSpecificationsTypesGetWithResponse call

func (PostTasksSpecificationsTypesGetResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsTypesGetResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsTypesGetResponseObject

type PostTasksSpecificationsTypesGetResponseObject interface {
	VisitPostTasksSpecificationsTypesGetResponse(w http.ResponseWriter) error
}

type PostTasksSpecificationsTypesRemove200Response

type PostTasksSpecificationsTypesRemove200Response struct {
}

func (PostTasksSpecificationsTypesRemove200Response) VisitPostTasksSpecificationsTypesRemoveResponse

func (response PostTasksSpecificationsTypesRemove200Response) VisitPostTasksSpecificationsTypesRemoveResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesRemove500JSONResponse

type PostTasksSpecificationsTypesRemove500JSONResponse Error

func (PostTasksSpecificationsTypesRemove500JSONResponse) VisitPostTasksSpecificationsTypesRemoveResponse

func (response PostTasksSpecificationsTypesRemove500JSONResponse) VisitPostTasksSpecificationsTypesRemoveResponse(w http.ResponseWriter) error

type PostTasksSpecificationsTypesRemoveJSONBody

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

PostTasksSpecificationsTypesRemoveJSONBody defines parameters for PostTasksSpecificationsTypesRemove.

type PostTasksSpecificationsTypesRemoveJSONRequestBody

type PostTasksSpecificationsTypesRemoveJSONRequestBody PostTasksSpecificationsTypesRemoveJSONBody

PostTasksSpecificationsTypesRemoveJSONRequestBody defines body for PostTasksSpecificationsTypesRemove for application/json ContentType.

type PostTasksSpecificationsTypesRemoveRequestObject

type PostTasksSpecificationsTypesRemoveRequestObject struct {
	Body *PostTasksSpecificationsTypesRemoveJSONRequestBody
}

type PostTasksSpecificationsTypesRemoveResponse

type PostTasksSpecificationsTypesRemoveResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Error
}

func ParsePostTasksSpecificationsTypesRemoveResponse

func ParsePostTasksSpecificationsTypesRemoveResponse(rsp *http.Response) (*PostTasksSpecificationsTypesRemoveResponse, error)

ParsePostTasksSpecificationsTypesRemoveResponse parses an HTTP response from a PostTasksSpecificationsTypesRemoveWithResponse call

func (PostTasksSpecificationsTypesRemoveResponse) Status

Status returns HTTPResponse.Status

func (PostTasksSpecificationsTypesRemoveResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksSpecificationsTypesRemoveResponseObject

type PostTasksSpecificationsTypesRemoveResponseObject interface {
	VisitPostTasksSpecificationsTypesRemoveResponse(w http.ResponseWriter) error
}

type PostTasksStorageDelete200Response

type PostTasksStorageDelete200Response struct {
}

func (PostTasksStorageDelete200Response) VisitPostTasksStorageDeleteResponse

func (response PostTasksStorageDelete200Response) VisitPostTasksStorageDeleteResponse(w http.ResponseWriter) error

type PostTasksStorageDelete500JSONResponse

type PostTasksStorageDelete500JSONResponse Error

func (PostTasksStorageDelete500JSONResponse) VisitPostTasksStorageDeleteResponse

func (response PostTasksStorageDelete500JSONResponse) VisitPostTasksStorageDeleteResponse(w http.ResponseWriter) error

type PostTasksStorageDeleteJSONBody

type PostTasksStorageDeleteJSONBody = []string

PostTasksStorageDeleteJSONBody defines parameters for PostTasksStorageDelete.

type PostTasksStorageDeleteJSONRequestBody

type PostTasksStorageDeleteJSONRequestBody = PostTasksStorageDeleteJSONBody

PostTasksStorageDeleteJSONRequestBody defines body for PostTasksStorageDelete for application/json ContentType.

type PostTasksStorageDeleteRequestObject

type PostTasksStorageDeleteRequestObject struct {
	Body *PostTasksStorageDeleteJSONRequestBody
}

type PostTasksStorageDeleteResponse

type PostTasksStorageDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Error
}

func ParsePostTasksStorageDeleteResponse

func ParsePostTasksStorageDeleteResponse(rsp *http.Response) (*PostTasksStorageDeleteResponse, error)

ParsePostTasksStorageDeleteResponse parses an HTTP response from a PostTasksStorageDeleteWithResponse call

func (PostTasksStorageDeleteResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageDeleteResponse) StatusCode

func (r PostTasksStorageDeleteResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageDeleteResponseObject

type PostTasksStorageDeleteResponseObject interface {
	VisitPostTasksStorageDeleteResponse(w http.ResponseWriter) error
}

type PostTasksStorageExec200JSONResponse

type PostTasksStorageExec200JSONResponse []map[string]interface{}

func (PostTasksStorageExec200JSONResponse) VisitPostTasksStorageExecResponse

func (response PostTasksStorageExec200JSONResponse) VisitPostTasksStorageExecResponse(w http.ResponseWriter) error

type PostTasksStorageExec500JSONResponse

type PostTasksStorageExec500JSONResponse Error

func (PostTasksStorageExec500JSONResponse) VisitPostTasksStorageExecResponse

func (response PostTasksStorageExec500JSONResponse) VisitPostTasksStorageExecResponse(w http.ResponseWriter) error

type PostTasksStorageExecJSONRequestBody

type PostTasksStorageExecJSONRequestBody = TaskStorageCommand

PostTasksStorageExecJSONRequestBody defines body for PostTasksStorageExec for application/json ContentType.

type PostTasksStorageExecRequestObject

type PostTasksStorageExecRequestObject struct {
	Body *PostTasksStorageExecJSONRequestBody
}

type PostTasksStorageExecResponse

type PostTasksStorageExecResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]map[string]interface{}
	JSON500      *Error
}

func ParsePostTasksStorageExecResponse

func ParsePostTasksStorageExecResponse(rsp *http.Response) (*PostTasksStorageExecResponse, error)

ParsePostTasksStorageExecResponse parses an HTTP response from a PostTasksStorageExecWithResponse call

func (PostTasksStorageExecResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageExecResponse) StatusCode

func (r PostTasksStorageExecResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageExecResponseObject

type PostTasksStorageExecResponseObject interface {
	VisitPostTasksStorageExecResponse(w http.ResponseWriter) error
}

type PostTasksStorageGetByIds200JSONResponse

type PostTasksStorageGetByIds200JSONResponse []Task

func (PostTasksStorageGetByIds200JSONResponse) VisitPostTasksStorageGetByIdsResponse

func (response PostTasksStorageGetByIds200JSONResponse) VisitPostTasksStorageGetByIdsResponse(w http.ResponseWriter) error

type PostTasksStorageGetByIds500JSONResponse

type PostTasksStorageGetByIds500JSONResponse Error

func (PostTasksStorageGetByIds500JSONResponse) VisitPostTasksStorageGetByIdsResponse

func (response PostTasksStorageGetByIds500JSONResponse) VisitPostTasksStorageGetByIdsResponse(w http.ResponseWriter) error

type PostTasksStorageGetByIdsJSONBody

type PostTasksStorageGetByIdsJSONBody = []string

PostTasksStorageGetByIdsJSONBody defines parameters for PostTasksStorageGetByIds.

type PostTasksStorageGetByIdsJSONRequestBody

type PostTasksStorageGetByIdsJSONRequestBody = PostTasksStorageGetByIdsJSONBody

PostTasksStorageGetByIdsJSONRequestBody defines body for PostTasksStorageGetByIds for application/json ContentType.

type PostTasksStorageGetByIdsRequestObject

type PostTasksStorageGetByIdsRequestObject struct {
	Body *PostTasksStorageGetByIdsJSONRequestBody
}

type PostTasksStorageGetByIdsResponse

type PostTasksStorageGetByIdsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Task
	JSON500      *Error
}

func ParsePostTasksStorageGetByIdsResponse

func ParsePostTasksStorageGetByIdsResponse(rsp *http.Response) (*PostTasksStorageGetByIdsResponse, error)

ParsePostTasksStorageGetByIdsResponse parses an HTTP response from a PostTasksStorageGetByIdsWithResponse call

func (PostTasksStorageGetByIdsResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageGetByIdsResponse) StatusCode

func (r PostTasksStorageGetByIdsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageGetByIdsResponseObject

type PostTasksStorageGetByIdsResponseObject interface {
	VisitPostTasksStorageGetByIdsResponse(w http.ResponseWriter) error
}

type PostTasksStorageGetWithProperties200JSONResponse

type PostTasksStorageGetWithProperties200JSONResponse []Task

func (PostTasksStorageGetWithProperties200JSONResponse) VisitPostTasksStorageGetWithPropertiesResponse

func (response PostTasksStorageGetWithProperties200JSONResponse) VisitPostTasksStorageGetWithPropertiesResponse(w http.ResponseWriter) error

type PostTasksStorageGetWithProperties500JSONResponse

type PostTasksStorageGetWithProperties500JSONResponse Error

func (PostTasksStorageGetWithProperties500JSONResponse) VisitPostTasksStorageGetWithPropertiesResponse

func (response PostTasksStorageGetWithProperties500JSONResponse) VisitPostTasksStorageGetWithPropertiesResponse(w http.ResponseWriter) error

type PostTasksStorageGetWithPropertiesJSONBody

type PostTasksStorageGetWithPropertiesJSONBody struct {
	PropertiesToValues map[string][]AnyValue `json:"properties_to_values"`
}

PostTasksStorageGetWithPropertiesJSONBody defines parameters for PostTasksStorageGetWithProperties.

type PostTasksStorageGetWithPropertiesJSONRequestBody

type PostTasksStorageGetWithPropertiesJSONRequestBody PostTasksStorageGetWithPropertiesJSONBody

PostTasksStorageGetWithPropertiesJSONRequestBody defines body for PostTasksStorageGetWithProperties for application/json ContentType.

type PostTasksStorageGetWithPropertiesRequestObject

type PostTasksStorageGetWithPropertiesRequestObject struct {
	Body *PostTasksStorageGetWithPropertiesJSONRequestBody
}

type PostTasksStorageGetWithPropertiesResponse

type PostTasksStorageGetWithPropertiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Task
	JSON500      *Error
}

func ParsePostTasksStorageGetWithPropertiesResponse

func ParsePostTasksStorageGetWithPropertiesResponse(rsp *http.Response) (*PostTasksStorageGetWithPropertiesResponse, error)

ParsePostTasksStorageGetWithPropertiesResponse parses an HTTP response from a PostTasksStorageGetWithPropertiesWithResponse call

func (PostTasksStorageGetWithPropertiesResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageGetWithPropertiesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageGetWithPropertiesResponseObject

type PostTasksStorageGetWithPropertiesResponseObject interface {
	VisitPostTasksStorageGetWithPropertiesResponse(w http.ResponseWriter) error
}

type PostTasksStorageInsert200Response

type PostTasksStorageInsert200Response struct {
}

func (PostTasksStorageInsert200Response) VisitPostTasksStorageInsertResponse

func (response PostTasksStorageInsert200Response) VisitPostTasksStorageInsertResponse(w http.ResponseWriter) error

type PostTasksStorageInsert500JSONResponse

type PostTasksStorageInsert500JSONResponse Error

func (PostTasksStorageInsert500JSONResponse) VisitPostTasksStorageInsertResponse

func (response PostTasksStorageInsert500JSONResponse) VisitPostTasksStorageInsertResponse(w http.ResponseWriter) error

type PostTasksStorageInsertJSONBody

type PostTasksStorageInsertJSONBody = []Task

PostTasksStorageInsertJSONBody defines parameters for PostTasksStorageInsert.

type PostTasksStorageInsertJSONRequestBody

type PostTasksStorageInsertJSONRequestBody = PostTasksStorageInsertJSONBody

PostTasksStorageInsertJSONRequestBody defines body for PostTasksStorageInsert for application/json ContentType.

type PostTasksStorageInsertRequestObject

type PostTasksStorageInsertRequestObject struct {
	Body *PostTasksStorageInsertJSONRequestBody
}

type PostTasksStorageInsertResponse

type PostTasksStorageInsertResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Error
}

func ParsePostTasksStorageInsertResponse

func ParsePostTasksStorageInsertResponse(rsp *http.Response) (*PostTasksStorageInsertResponse, error)

ParsePostTasksStorageInsertResponse parses an HTTP response from a PostTasksStorageInsertWithResponse call

func (PostTasksStorageInsertResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageInsertResponse) StatusCode

func (r PostTasksStorageInsertResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageInsertResponseObject

type PostTasksStorageInsertResponseObject interface {
	VisitPostTasksStorageInsertResponse(w http.ResponseWriter) error
}

type PostTasksStorageSettings200JSONResponse

type PostTasksStorageSettings200JSONResponse TaskStorageSettings

func (PostTasksStorageSettings200JSONResponse) VisitPostTasksStorageSettingsResponse

func (response PostTasksStorageSettings200JSONResponse) VisitPostTasksStorageSettingsResponse(w http.ResponseWriter) error

type PostTasksStorageSettings500JSONResponse

type PostTasksStorageSettings500JSONResponse Error

func (PostTasksStorageSettings500JSONResponse) VisitPostTasksStorageSettingsResponse

func (response PostTasksStorageSettings500JSONResponse) VisitPostTasksStorageSettingsResponse(w http.ResponseWriter) error

type PostTasksStorageSettingsRequestObject

type PostTasksStorageSettingsRequestObject struct {
}

type PostTasksStorageSettingsResponse

type PostTasksStorageSettingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TaskStorageSettings
	JSON500      *Error
}

func ParsePostTasksStorageSettingsResponse

func ParsePostTasksStorageSettingsResponse(rsp *http.Response) (*PostTasksStorageSettingsResponse, error)

ParsePostTasksStorageSettingsResponse parses an HTTP response from a PostTasksStorageSettingsWithResponse call

func (PostTasksStorageSettingsResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageSettingsResponse) StatusCode

func (r PostTasksStorageSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageSettingsResponseObject

type PostTasksStorageSettingsResponseObject interface {
	VisitPostTasksStorageSettingsResponse(w http.ResponseWriter) error
}

type PostTasksStorageUpdateByIds200Response

type PostTasksStorageUpdateByIds200Response struct {
}

func (PostTasksStorageUpdateByIds200Response) VisitPostTasksStorageUpdateByIdsResponse

func (response PostTasksStorageUpdateByIds200Response) VisitPostTasksStorageUpdateByIdsResponse(w http.ResponseWriter) error

type PostTasksStorageUpdateByIds500JSONResponse

type PostTasksStorageUpdateByIds500JSONResponse Error

func (PostTasksStorageUpdateByIds500JSONResponse) VisitPostTasksStorageUpdateByIdsResponse

func (response PostTasksStorageUpdateByIds500JSONResponse) VisitPostTasksStorageUpdateByIdsResponse(w http.ResponseWriter) error

type PostTasksStorageUpdateByIdsJSONBody

type PostTasksStorageUpdateByIdsJSONBody struct {
	Ids        []string               `json:"ids"`
	Properties map[string]interface{} `json:"properties"`
}

PostTasksStorageUpdateByIdsJSONBody defines parameters for PostTasksStorageUpdateByIds.

type PostTasksStorageUpdateByIdsJSONRequestBody

type PostTasksStorageUpdateByIdsJSONRequestBody PostTasksStorageUpdateByIdsJSONBody

PostTasksStorageUpdateByIdsJSONRequestBody defines body for PostTasksStorageUpdateByIds for application/json ContentType.

type PostTasksStorageUpdateByIdsRequestObject

type PostTasksStorageUpdateByIdsRequestObject struct {
	Body *PostTasksStorageUpdateByIdsJSONRequestBody
}

type PostTasksStorageUpdateByIdsResponse

type PostTasksStorageUpdateByIdsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON500      *Error
}

func ParsePostTasksStorageUpdateByIdsResponse

func ParsePostTasksStorageUpdateByIdsResponse(rsp *http.Response) (*PostTasksStorageUpdateByIdsResponse, error)

ParsePostTasksStorageUpdateByIdsResponse parses an HTTP response from a PostTasksStorageUpdateByIdsWithResponse call

func (PostTasksStorageUpdateByIdsResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageUpdateByIdsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageUpdateByIdsResponseObject

type PostTasksStorageUpdateByIdsResponseObject interface {
	VisitPostTasksStorageUpdateByIdsResponse(w http.ResponseWriter) error
}

type PostTasksStorageUpdateWithProperties200JSONResponse

type PostTasksStorageUpdateWithProperties200JSONResponse struct {
	Modified int `json:"modified"`
}

func (PostTasksStorageUpdateWithProperties200JSONResponse) VisitPostTasksStorageUpdateWithPropertiesResponse

func (response PostTasksStorageUpdateWithProperties200JSONResponse) VisitPostTasksStorageUpdateWithPropertiesResponse(w http.ResponseWriter) error

type PostTasksStorageUpdateWithProperties500JSONResponse

type PostTasksStorageUpdateWithProperties500JSONResponse Error

func (PostTasksStorageUpdateWithProperties500JSONResponse) VisitPostTasksStorageUpdateWithPropertiesResponse

func (response PostTasksStorageUpdateWithProperties500JSONResponse) VisitPostTasksStorageUpdateWithPropertiesResponse(w http.ResponseWriter) error

type PostTasksStorageUpdateWithPropertiesJSONBody

type PostTasksStorageUpdateWithPropertiesJSONBody struct {
	NewProperties      map[string]interface{} `json:"new_properties"`
	PropertiesToValues map[string][]AnyValue  `json:"properties_to_values"`
}

PostTasksStorageUpdateWithPropertiesJSONBody defines parameters for PostTasksStorageUpdateWithProperties.

type PostTasksStorageUpdateWithPropertiesJSONRequestBody

type PostTasksStorageUpdateWithPropertiesJSONRequestBody PostTasksStorageUpdateWithPropertiesJSONBody

PostTasksStorageUpdateWithPropertiesJSONRequestBody defines body for PostTasksStorageUpdateWithProperties for application/json ContentType.

type PostTasksStorageUpdateWithPropertiesRequestObject

type PostTasksStorageUpdateWithPropertiesRequestObject struct {
	Body *PostTasksStorageUpdateWithPropertiesJSONRequestBody
}

type PostTasksStorageUpdateWithPropertiesResponse

type PostTasksStorageUpdateWithPropertiesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Modified int `json:"modified"`
	}
	JSON500 *Error
}

func ParsePostTasksStorageUpdateWithPropertiesResponse

func ParsePostTasksStorageUpdateWithPropertiesResponse(rsp *http.Response) (*PostTasksStorageUpdateWithPropertiesResponse, error)

ParsePostTasksStorageUpdateWithPropertiesResponse parses an HTTP response from a PostTasksStorageUpdateWithPropertiesWithResponse call

func (PostTasksStorageUpdateWithPropertiesResponse) Status

Status returns HTTPResponse.Status

func (PostTasksStorageUpdateWithPropertiesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostTasksStorageUpdateWithPropertiesResponseObject

type PostTasksStorageUpdateWithPropertiesResponseObject interface {
	VisitPostTasksStorageUpdateWithPropertiesResponse(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 Resource

type Resource struct {
	Id     string `json:"id"`
	Status string `json:"status"`
	Value  string `json:"value"`
}

Resource defines model for Resource.

type ResourceInitializer

type ResourceInitializer struct {
	Id    string `json:"id"`
	Value string `json:"value"`
}

ResourceInitializer defines model for ResourceInitializer.

type ServerInterface

type ServerInterface interface {
	// Allocates N resources
	// (POST /resources/allocate)
	PostResourcesAllocate(ctx echo.Context, params PostResourcesAllocateParams) error
	// Deallocate resources
	// (POST /resources/deallocate)
	PostResourcesDeallocate(ctx echo.Context) error
	// Initialize resources
	// (POST /resources/initialize)
	PostResourcesInitialize(ctx echo.Context) error
	// Load resources
	// (POST /resources/load)
	PostResourcesLoad(ctx echo.Context) error
	// Load a set of tasks
	// (POST /tasks/load)
	PostTasksLoad(ctx echo.Context) error
	// Restart a failed task
	// (POST /tasks/restart)
	PostTasksRestart(ctx echo.Context) error
	// Spawn a new task
	// (POST /tasks/spawn)
	PostTasksSpawn(ctx echo.Context) error
	// Spawn a new task from specification
	// (POST /tasks/spawn_from_spec)
	PostTasksSpawnFromSpec(ctx echo.Context) error
	// Create a specification
	// (POST /tasks/specifications/create)
	PostTasksSpecificationsCreate(ctx echo.Context) error
	// Get specifications by id
	// (POST /tasks/specifications/get)
	PostTasksSpecificationsGet(ctx echo.Context) error
	// Get all specifications
	// (POST /tasks/specifications/get_all)
	PostTasksSpecificationsGetAll(ctx echo.Context) error
	// Remove a specification
	// (POST /tasks/specifications/remove)
	PostTasksSpecificationsRemove(ctx echo.Context) error
	// Create a type
	// (POST /tasks/specifications/types/create)
	PostTasksSpecificationsTypesCreate(ctx echo.Context) error
	// Get a type by id
	// (POST /tasks/specifications/types/get)
	PostTasksSpecificationsTypesGet(ctx echo.Context) error
	// Get all types
	// (POST /tasks/specifications/types/get_all)
	PostTasksSpecificationsTypesGetAll(ctx echo.Context) error
	// Remove a type
	// (POST /tasks/specifications/types/remove)
	PostTasksSpecificationsTypesRemove(ctx echo.Context) error
	// Delete tasks with the given ids
	// (POST /tasks/storage/delete)
	PostTasksStorageDelete(ctx echo.Context) error
	// Execute a command in the task storage
	// (POST /tasks/storage/exec)
	PostTasksStorageExec(ctx echo.Context) error
	// Get a list of tasks by their ids
	// (POST /tasks/storage/get_by_ids)
	PostTasksStorageGetByIds(ctx echo.Context) error
	// Get tasks with provided properties
	// (POST /tasks/storage/get_with_properties)
	PostTasksStorageGetWithProperties(ctx echo.Context) error
	// Insert tasks in the database
	// (POST /tasks/storage/insert)
	PostTasksStorageInsert(ctx echo.Context) error
	// Get storage settings
	// (POST /tasks/storage/settings)
	PostTasksStorageSettings(ctx echo.Context) error
	// Update task properties by ids
	// (POST /tasks/storage/update_by_ids)
	PostTasksStorageUpdateByIds(ctx echo.Context) error
	// Update tasks with provided properties
	// (POST /tasks/storage/update_with_properties)
	PostTasksStorageUpdateWithProperties(ctx echo.Context) error
}

ServerInterface represents all server handlers.

func NewStrictHandler

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

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler ServerInterface
}

ServerInterfaceWrapper converts echo contexts to parameters.

func (*ServerInterfaceWrapper) PostResourcesAllocate

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

PostResourcesAllocate converts echo context to params.

func (*ServerInterfaceWrapper) PostResourcesDeallocate

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

PostResourcesDeallocate converts echo context to params.

func (*ServerInterfaceWrapper) PostResourcesInitialize

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

PostResourcesInitialize converts echo context to params.

func (*ServerInterfaceWrapper) PostResourcesLoad

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

PostResourcesLoad converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksLoad

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

PostTasksLoad converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksRestart

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

PostTasksRestart converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpawn

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

PostTasksSpawn converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpawnFromSpec

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

PostTasksSpawnFromSpec converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsCreate

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

PostTasksSpecificationsCreate converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsGet

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

PostTasksSpecificationsGet converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsGetAll

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

PostTasksSpecificationsGetAll converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsRemove

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

PostTasksSpecificationsRemove converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsTypesCreate

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

PostTasksSpecificationsTypesCreate converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsTypesGet

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

PostTasksSpecificationsTypesGet converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsTypesGetAll

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

PostTasksSpecificationsTypesGetAll converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksSpecificationsTypesRemove

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

PostTasksSpecificationsTypesRemove converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageDelete

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

PostTasksStorageDelete converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageExec

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

PostTasksStorageExec converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageGetByIds

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

PostTasksStorageGetByIds converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageGetWithProperties

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

PostTasksStorageGetWithProperties converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageInsert

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

PostTasksStorageInsert converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageSettings

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

PostTasksStorageSettings converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageUpdateByIds

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

PostTasksStorageUpdateByIds converts echo context to params.

func (*ServerInterfaceWrapper) PostTasksStorageUpdateWithProperties

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

PostTasksStorageUpdateWithProperties converts echo context to params.

type Specification

type Specification struct {
	Executable SpecificationExecutable `json:"executable"`
	Id         string                  `json:"id"`
	Io         SpecificationIO         `json:"io"`
	Meta       map[string]interface{}  `json:"meta"`
}

Specification defines model for Specification.

type SpecificationBasedTaskParameters

type SpecificationBasedTaskParameters struct {
	Info          TaskInfo `json:"info"`
	Parameters    []string `json:"parameters"`
	Specification string   `json:"specification"`
}

SpecificationBasedTaskParameters defines model for SpecificationBasedTaskParameters.

type SpecificationExecutable

type SpecificationExecutable struct {
	Data map[string]interface{} `json:"data"`
	Type string                 `json:"type"`
}

SpecificationExecutable defines model for SpecificationExecutable.

type SpecificationIO

type SpecificationIO struct {
	Inputs  SpecificationResourceSet `json:"inputs"`
	Outputs SpecificationResourceSet `json:"outputs"`
}

SpecificationIO defines model for SpecificationIO.

type SpecificationResourceSet

type SpecificationResourceSet struct {
	Naming []struct {
		Index int    `json:"index"`
		Name  string `json:"name"`
	} `json:"naming"`
	Types []struct {
		Index int  `json:"index"`
		Type  Type `json:"type"`
	} `json:"types"`
}

SpecificationResourceSet defines model for SpecificationResourceSet.

type StrictHandlerFunc

type StrictHandlerFunc = strictecho.StrictEchoHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictecho.StrictEchoMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Allocates N resources
	// (POST /resources/allocate)
	PostResourcesAllocate(ctx context.Context, request PostResourcesAllocateRequestObject) (PostResourcesAllocateResponseObject, error)
	// Deallocate resources
	// (POST /resources/deallocate)
	PostResourcesDeallocate(ctx context.Context, request PostResourcesDeallocateRequestObject) (PostResourcesDeallocateResponseObject, error)
	// Initialize resources
	// (POST /resources/initialize)
	PostResourcesInitialize(ctx context.Context, request PostResourcesInitializeRequestObject) (PostResourcesInitializeResponseObject, error)
	// Load resources
	// (POST /resources/load)
	PostResourcesLoad(ctx context.Context, request PostResourcesLoadRequestObject) (PostResourcesLoadResponseObject, error)
	// Load a set of tasks
	// (POST /tasks/load)
	PostTasksLoad(ctx context.Context, request PostTasksLoadRequestObject) (PostTasksLoadResponseObject, error)
	// Restart a failed task
	// (POST /tasks/restart)
	PostTasksRestart(ctx context.Context, request PostTasksRestartRequestObject) (PostTasksRestartResponseObject, error)
	// Spawn a new task
	// (POST /tasks/spawn)
	PostTasksSpawn(ctx context.Context, request PostTasksSpawnRequestObject) (PostTasksSpawnResponseObject, error)
	// Spawn a new task from specification
	// (POST /tasks/spawn_from_spec)
	PostTasksSpawnFromSpec(ctx context.Context, request PostTasksSpawnFromSpecRequestObject) (PostTasksSpawnFromSpecResponseObject, error)
	// Create a specification
	// (POST /tasks/specifications/create)
	PostTasksSpecificationsCreate(ctx context.Context, request PostTasksSpecificationsCreateRequestObject) (PostTasksSpecificationsCreateResponseObject, error)
	// Get specifications by id
	// (POST /tasks/specifications/get)
	PostTasksSpecificationsGet(ctx context.Context, request PostTasksSpecificationsGetRequestObject) (PostTasksSpecificationsGetResponseObject, error)
	// Get all specifications
	// (POST /tasks/specifications/get_all)
	PostTasksSpecificationsGetAll(ctx context.Context, request PostTasksSpecificationsGetAllRequestObject) (PostTasksSpecificationsGetAllResponseObject, error)
	// Remove a specification
	// (POST /tasks/specifications/remove)
	PostTasksSpecificationsRemove(ctx context.Context, request PostTasksSpecificationsRemoveRequestObject) (PostTasksSpecificationsRemoveResponseObject, error)
	// Create a type
	// (POST /tasks/specifications/types/create)
	PostTasksSpecificationsTypesCreate(ctx context.Context, request PostTasksSpecificationsTypesCreateRequestObject) (PostTasksSpecificationsTypesCreateResponseObject, error)
	// Get a type by id
	// (POST /tasks/specifications/types/get)
	PostTasksSpecificationsTypesGet(ctx context.Context, request PostTasksSpecificationsTypesGetRequestObject) (PostTasksSpecificationsTypesGetResponseObject, error)
	// Get all types
	// (POST /tasks/specifications/types/get_all)
	PostTasksSpecificationsTypesGetAll(ctx context.Context, request PostTasksSpecificationsTypesGetAllRequestObject) (PostTasksSpecificationsTypesGetAllResponseObject, error)
	// Remove a type
	// (POST /tasks/specifications/types/remove)
	PostTasksSpecificationsTypesRemove(ctx context.Context, request PostTasksSpecificationsTypesRemoveRequestObject) (PostTasksSpecificationsTypesRemoveResponseObject, error)
	// Delete tasks with the given ids
	// (POST /tasks/storage/delete)
	PostTasksStorageDelete(ctx context.Context, request PostTasksStorageDeleteRequestObject) (PostTasksStorageDeleteResponseObject, error)
	// Execute a command in the task storage
	// (POST /tasks/storage/exec)
	PostTasksStorageExec(ctx context.Context, request PostTasksStorageExecRequestObject) (PostTasksStorageExecResponseObject, error)
	// Get a list of tasks by their ids
	// (POST /tasks/storage/get_by_ids)
	PostTasksStorageGetByIds(ctx context.Context, request PostTasksStorageGetByIdsRequestObject) (PostTasksStorageGetByIdsResponseObject, error)
	// Get tasks with provided properties
	// (POST /tasks/storage/get_with_properties)
	PostTasksStorageGetWithProperties(ctx context.Context, request PostTasksStorageGetWithPropertiesRequestObject) (PostTasksStorageGetWithPropertiesResponseObject, error)
	// Insert tasks in the database
	// (POST /tasks/storage/insert)
	PostTasksStorageInsert(ctx context.Context, request PostTasksStorageInsertRequestObject) (PostTasksStorageInsertResponseObject, error)
	// Get storage settings
	// (POST /tasks/storage/settings)
	PostTasksStorageSettings(ctx context.Context, request PostTasksStorageSettingsRequestObject) (PostTasksStorageSettingsResponseObject, error)
	// Update task properties by ids
	// (POST /tasks/storage/update_by_ids)
	PostTasksStorageUpdateByIds(ctx context.Context, request PostTasksStorageUpdateByIdsRequestObject) (PostTasksStorageUpdateByIdsResponseObject, error)
	// Update tasks with provided properties
	// (POST /tasks/storage/update_with_properties)
	PostTasksStorageUpdateWithProperties(ctx context.Context, request PostTasksStorageUpdateWithPropertiesRequestObject) (PostTasksStorageUpdateWithPropertiesResponseObject, error)
}

StrictServerInterface represents all server handlers.

type Task

type Task struct {
	Id      string   `json:"id"`
	Info    TaskInfo `json:"info"`
	Inputs  []string `json:"inputs"`
	Outputs []string `json:"outputs"`
}

Task defines model for Task.

type TaskInfo

type TaskInfo = map[string]interface{}

TaskInfo defines model for TaskInfo.

type TaskParameters

type TaskParameters struct {
	Info    TaskInfo `json:"info"`
	Inputs  []string `json:"inputs"`
	Outputs []string `json:"outputs"`
}

TaskParameters defines model for TaskParameters.

type TaskSpawnResponse

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

TaskSpawnResponse defines model for TaskSpawnResponse.

type TaskStorageCommand

type TaskStorageCommand struct {
	Meta      map[string]interface{}    `json:"meta"`
	Operation string                    `json:"operation"`
	Params    []TaskStorageCommandParam `json:"params"`
}

TaskStorageCommand defines model for TaskStorageCommand.

type TaskStorageCommandParam

type TaskStorageCommandParam struct {
	Name  string   `json:"name"`
	Value AnyValue `json:"value"`
}

TaskStorageCommandParam defines model for TaskStorageCommandParam.

type TaskStorageSettings

type TaskStorageSettings struct {
	Meta map[string]interface{} `json:"meta"`
	Type string                 `json:"type"`
}

TaskStorageSettings defines model for TaskStorageSettings.

type Type

type Type struct {
	Name     string        `json:"name"`
	SubTypes Type_SubTypes `json:"sub_types"`
}

Type defines model for Type.

type TypeWithID

type TypeWithID struct {
	Id   string `json:"id"`
	Type Type   `json:"type"`
}

TypeWithID defines model for TypeWithID.

type Type_SubTypes

type Type_SubTypes struct {
	Default              *Type           `json:"default,omitempty"`
	AdditionalProperties map[string]Type `json:"-"`
}

Type_SubTypes defines model for Type.SubTypes.

func (Type_SubTypes) Get

func (a Type_SubTypes) Get(fieldName string) (value Type, found bool)

Getter for additional properties for Type_SubTypes. Returns the specified element and whether it was found

func (Type_SubTypes) MarshalJSON

func (a Type_SubTypes) MarshalJSON() ([]byte, error)

Override default JSON handling for Type_SubTypes to handle AdditionalProperties

func (*Type_SubTypes) Set

func (a *Type_SubTypes) Set(fieldName string, value Type)

Setter for additional properties for Type_SubTypes

func (*Type_SubTypes) UnmarshalJSON

func (a *Type_SubTypes) UnmarshalJSON(b []byte) error

Override default JSON handling for Type_SubTypes to handle AdditionalProperties

Jump to

Keyboard shortcuts

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