Documentation
¶
Overview ¶
Package app provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
- Constants
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
- func NewPostAppsOperationsNextRequest(server string, body PostAppsOperationsNextJSONRequestBody) (*http.Request, error)
- func NewPostAppsOperationsNextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAppsOperationsReportRequest(server string, body PostAppsOperationsReportJSONRequestBody) (*http.Request, error)
- func NewPostAppsOperationsReportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAppsVersionConnectRequest(server string, body PostAppsVersionConnectJSONRequestBody) (*http.Request, error)
- func NewPostAppsVersionConnectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostAppsVersionsHealthRequest(server string, body PostAppsVersionsHealthJSONRequestBody) (*http.Request, error)
- func NewPostAppsVersionsHealthRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostProjectsGetRequest(server string, body PostProjectsGetJSONRequestBody) (*http.Request, error)
- func NewPostProjectsGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostProjectsListRequest(server string, body PostProjectsListJSONRequestBody) (*http.Request, error)
- func NewPostProjectsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostRecipesGetRequest(server string, body PostRecipesGetJSONRequestBody) (*http.Request, error)
- func NewPostRecipesGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostRecipesListRequest(server string, body PostRecipesListJSONRequestBody) (*http.Request, error)
- func NewPostRecipesListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostResourcesGetRequest(server string, body PostResourcesGetJSONRequestBody) (*http.Request, error)
- func NewPostResourcesGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostResourcesListRequest(server string, body PostResourcesListJSONRequestBody) (*http.Request, error)
- func NewPostResourcesListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type ActionDefinition
- type AppHealthReportItem
- type AppHealthReportItemStatus
- type AppHealthReportRequest
- type AppRequest
- type ChiServerOptions
- type Client
- func (c *Client) PostAppsOperationsNext(ctx context.Context, body PostAppsOperationsNextJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAppsOperationsNextWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAppsOperationsReport(ctx context.Context, body PostAppsOperationsReportJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAppsOperationsReportWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAppsVersionConnect(ctx context.Context, body PostAppsVersionConnectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAppsVersionConnectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostAppsVersionsHealth(ctx context.Context, body PostAppsVersionsHealthJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostAppsVersionsHealthWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostProjectsGet(ctx context.Context, body PostProjectsGetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostProjectsGetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostProjectsList(ctx context.Context, body PostProjectsListJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostProjectsListWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostRecipesGet(ctx context.Context, body PostRecipesGetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostRecipesGetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostRecipesList(ctx context.Context, body PostRecipesListJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostRecipesListWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostResourcesGet(ctx context.Context, body PostResourcesGetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostResourcesGetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostResourcesList(ctx context.Context, body PostResourcesListJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostResourcesListWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) PostAppsOperationsNextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAppsOperationsNextResponse, error)
- func (c *ClientWithResponses) PostAppsOperationsNextWithResponse(ctx context.Context, body PostAppsOperationsNextJSONRequestBody, ...) (*PostAppsOperationsNextResponse, error)
- func (c *ClientWithResponses) PostAppsOperationsReportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAppsOperationsReportResponse, error)
- func (c *ClientWithResponses) PostAppsOperationsReportWithResponse(ctx context.Context, body PostAppsOperationsReportJSONRequestBody, ...) (*PostAppsOperationsReportResponse, error)
- func (c *ClientWithResponses) PostAppsVersionConnectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAppsVersionConnectResponse, error)
- func (c *ClientWithResponses) PostAppsVersionConnectWithResponse(ctx context.Context, body PostAppsVersionConnectJSONRequestBody, ...) (*PostAppsVersionConnectResponse, error)
- func (c *ClientWithResponses) PostAppsVersionsHealthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostAppsVersionsHealthResponse, error)
- func (c *ClientWithResponses) PostAppsVersionsHealthWithResponse(ctx context.Context, body PostAppsVersionsHealthJSONRequestBody, ...) (*PostAppsVersionsHealthResponse, error)
- func (c *ClientWithResponses) PostProjectsGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostProjectsGetResponse, error)
- func (c *ClientWithResponses) PostProjectsGetWithResponse(ctx context.Context, body PostProjectsGetJSONRequestBody, ...) (*PostProjectsGetResponse, error)
- func (c *ClientWithResponses) PostProjectsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostProjectsListResponse, error)
- func (c *ClientWithResponses) PostProjectsListWithResponse(ctx context.Context, body PostProjectsListJSONRequestBody, ...) (*PostProjectsListResponse, error)
- func (c *ClientWithResponses) PostRecipesGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostRecipesGetResponse, error)
- func (c *ClientWithResponses) PostRecipesGetWithResponse(ctx context.Context, body PostRecipesGetJSONRequestBody, ...) (*PostRecipesGetResponse, error)
- func (c *ClientWithResponses) PostRecipesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostRecipesListResponse, error)
- func (c *ClientWithResponses) PostRecipesListWithResponse(ctx context.Context, body PostRecipesListJSONRequestBody, ...) (*PostRecipesListResponse, error)
- func (c *ClientWithResponses) PostResourcesGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostResourcesGetResponse, error)
- func (c *ClientWithResponses) PostResourcesGetWithResponse(ctx context.Context, body PostResourcesGetJSONRequestBody, ...) (*PostResourcesGetResponse, error)
- func (c *ClientWithResponses) PostResourcesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostResourcesListResponse, error)
- func (c *ClientWithResponses) PostResourcesListWithResponse(ctx context.Context, body PostResourcesListJSONRequestBody, ...) (*PostResourcesListResponse, error)
- type ClientWithResponsesInterface
- type EnvironmentVariable
- type EnvironmentVariableType
- type ErrorResponse
- type ErrorResponseStatus
- type ExecuteResourceActionRequest
- type ExecuteResourceActionResponse
- type ExecuteResourceOperationRequest
- type ExecuteResourceOperationRequestOperation
- type ExecuteResourceOperationResponse
- type HttpRequestDoer
- type InvalidParamFormatError
- type Links
- type LinksItem
- type LinksItemType
- type ListProjectsResponse
- type ListRecipesResponse
- type ListResourcesRequest
- type ListResourcesResponse
- type Metadata
- type MiddlewareFunc
- type NextResponse
- type NextResponse_Task
- func (t NextResponse_Task) AsExecuteResourceActionRequest() (ExecuteResourceActionRequest, error)
- func (t NextResponse_Task) AsExecuteResourceOperationRequest() (ExecuteResourceOperationRequest, error)
- func (t NextResponse_Task) AsListResourcesRequest() (ListResourcesRequest, error)
- func (t NextResponse_Task) Discriminator() (string, error)
- func (t *NextResponse_Task) FromExecuteResourceActionRequest(v ExecuteResourceActionRequest) error
- func (t *NextResponse_Task) FromExecuteResourceOperationRequest(v ExecuteResourceOperationRequest) error
- func (t *NextResponse_Task) FromListResourcesRequest(v ListResourcesRequest) error
- func (t NextResponse_Task) MarshalJSON() ([]byte, error)
- func (t *NextResponse_Task) MergeExecuteResourceActionRequest(v ExecuteResourceActionRequest) error
- func (t *NextResponse_Task) MergeExecuteResourceOperationRequest(v ExecuteResourceOperationRequest) error
- func (t *NextResponse_Task) MergeListResourcesRequest(v ListResourcesRequest) error
- func (t *NextResponse_Task) UnmarshalJSON(b []byte) error
- func (t NextResponse_Task) ValueByDiscriminator() (interface{}, error)
- type Owner
- type OwnerType
- type PostAppsOperationsNext200JSONResponse
- type PostAppsOperationsNext204Response
- type PostAppsOperationsNext400JSONResponse
- type PostAppsOperationsNext500JSONResponse
- type PostAppsOperationsNextJSONRequestBody
- type PostAppsOperationsNextRequestObject
- type PostAppsOperationsNextResponse
- type PostAppsOperationsNextResponseObject
- type PostAppsOperationsReport200JSONResponse
- type PostAppsOperationsReport400JSONResponse
- type PostAppsOperationsReport404JSONResponse
- type PostAppsOperationsReport500JSONResponse
- type PostAppsOperationsReportJSONRequestBody
- type PostAppsOperationsReportRequestObject
- type PostAppsOperationsReportResponse
- type PostAppsOperationsReportResponseObject
- type PostAppsVersionConnect200JSONResponse
- type PostAppsVersionConnect400JSONResponse
- type PostAppsVersionConnect500JSONResponse
- type PostAppsVersionConnectJSONBody
- type PostAppsVersionConnectJSONRequestBody
- type PostAppsVersionConnectRequestObject
- type PostAppsVersionConnectResponse
- type PostAppsVersionConnectResponseObject
- type PostAppsVersionsHealth200JSONResponse
- type PostAppsVersionsHealth400JSONResponse
- type PostAppsVersionsHealth500JSONResponse
- type PostAppsVersionsHealthJSONRequestBody
- type PostAppsVersionsHealthRequestObject
- type PostAppsVersionsHealthResponse
- type PostAppsVersionsHealthResponseObject
- type PostProjectsGet200JSONResponse
- type PostProjectsGet400JSONResponse
- type PostProjectsGet404JSONResponse
- type PostProjectsGet500JSONResponse
- type PostProjectsGetJSONRequestBody
- type PostProjectsGetRequestObject
- type PostProjectsGetResponse
- type PostProjectsGetResponseObject
- type PostProjectsList200JSONResponse
- type PostProjectsList400JSONResponse
- type PostProjectsList500JSONResponse
- type PostProjectsListJSONRequestBody
- type PostProjectsListRequestObject
- type PostProjectsListResponse
- type PostProjectsListResponseObject
- type PostRecipesGet200JSONResponse
- type PostRecipesGet400JSONResponse
- type PostRecipesGet404JSONResponse
- type PostRecipesGet500JSONResponse
- type PostRecipesGetJSONRequestBody
- type PostRecipesGetRequestObject
- type PostRecipesGetResponse
- type PostRecipesGetResponseObject
- type PostRecipesList200JSONResponse
- type PostRecipesList400JSONResponse
- type PostRecipesList500JSONResponse
- type PostRecipesListJSONRequestBody
- type PostRecipesListRequestObject
- type PostRecipesListResponse
- type PostRecipesListResponseObject
- type PostResourcesGet200JSONResponse
- type PostResourcesGet400JSONResponse
- type PostResourcesGet404JSONResponse
- type PostResourcesGet500JSONResponse
- type PostResourcesGetJSONRequestBody
- type PostResourcesGetRequestObject
- type PostResourcesGetResponse
- type PostResourcesGetResponseObject
- type PostResourcesList200JSONResponse
- type PostResourcesList400JSONResponse
- type PostResourcesList500JSONResponse
- type PostResourcesListJSONRequestBody
- type PostResourcesListRequestObject
- type PostResourcesListResponse
- type PostResourcesListResponseObject
- type Project
- type Recipe
- type ReportResponse
- type ReportResponseStatus
- type ReportResponse_Response
- func (t ReportResponse_Response) AsExecuteResourceActionResponse() (ExecuteResourceActionResponse, error)
- func (t ReportResponse_Response) AsExecuteResourceOperationResponse() (ExecuteResourceOperationResponse, error)
- func (t ReportResponse_Response) AsListResourcesResponse() (ListResourcesResponse, error)
- func (t ReportResponse_Response) Discriminator() (string, error)
- func (t *ReportResponse_Response) FromExecuteResourceActionResponse(v ExecuteResourceActionResponse) error
- func (t *ReportResponse_Response) FromExecuteResourceOperationResponse(v ExecuteResourceOperationResponse) error
- func (t *ReportResponse_Response) FromListResourcesResponse(v ListResourcesResponse) error
- func (t ReportResponse_Response) MarshalJSON() ([]byte, error)
- func (t *ReportResponse_Response) MergeExecuteResourceActionResponse(v ExecuteResourceActionResponse) error
- func (t *ReportResponse_Response) MergeExecuteResourceOperationResponse(v ExecuteResourceOperationResponse) error
- func (t *ReportResponse_Response) MergeListResourcesResponse(v ListResourcesResponse) error
- func (t *ReportResponse_Response) UnmarshalJSON(b []byte) error
- func (t ReportResponse_Response) ValueByDiscriminator() (interface{}, error)
- type RequestEditorFn
- type RequestObjectById
- type RequestPaginatedObjects
- type RequiredHeaderError
- type RequiredParamError
- type Resource
- type ResourceDefinition
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) PostAppsOperationsNext(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostAppsOperationsReport(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostAppsVersionConnect(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostAppsVersionsHealth(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostProjectsGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostProjectsList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostRecipesGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostRecipesList(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostResourcesGet(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PostResourcesList(w http.ResponseWriter, r *http.Request)
- type StandardResponse
- type StandardResponseStatus
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type TaskMetadata
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type Unimplemented
- func (_ Unimplemented) PostAppsOperationsNext(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostAppsOperationsReport(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostAppsVersionConnect(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostAppsVersionsHealth(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostProjectsGet(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostProjectsList(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostRecipesGet(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostRecipesList(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostResourcesGet(w http.ResponseWriter, r *http.Request)
- func (_ Unimplemented) PostResourcesList(w http.ResponseWriter, r *http.Request)
- type UnmarshalingParamError
Constants ¶
const (
TokenScopes = "Token.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
func NewPostAppsOperationsNextRequest ¶
func NewPostAppsOperationsNextRequest(server string, body PostAppsOperationsNextJSONRequestBody) (*http.Request, error)
NewPostAppsOperationsNextRequest calls the generic PostAppsOperationsNext builder with application/json body
func NewPostAppsOperationsNextRequestWithBody ¶
func NewPostAppsOperationsNextRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAppsOperationsNextRequestWithBody generates requests for PostAppsOperationsNext with any type of body
func NewPostAppsOperationsReportRequest ¶
func NewPostAppsOperationsReportRequest(server string, body PostAppsOperationsReportJSONRequestBody) (*http.Request, error)
NewPostAppsOperationsReportRequest calls the generic PostAppsOperationsReport builder with application/json body
func NewPostAppsOperationsReportRequestWithBody ¶
func NewPostAppsOperationsReportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAppsOperationsReportRequestWithBody generates requests for PostAppsOperationsReport with any type of body
func NewPostAppsVersionConnectRequest ¶
func NewPostAppsVersionConnectRequest(server string, body PostAppsVersionConnectJSONRequestBody) (*http.Request, error)
NewPostAppsVersionConnectRequest calls the generic PostAppsVersionConnect builder with application/json body
func NewPostAppsVersionConnectRequestWithBody ¶
func NewPostAppsVersionConnectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAppsVersionConnectRequestWithBody generates requests for PostAppsVersionConnect with any type of body
func NewPostAppsVersionsHealthRequest ¶
func NewPostAppsVersionsHealthRequest(server string, body PostAppsVersionsHealthJSONRequestBody) (*http.Request, error)
NewPostAppsVersionsHealthRequest calls the generic PostAppsVersionsHealth builder with application/json body
func NewPostAppsVersionsHealthRequestWithBody ¶
func NewPostAppsVersionsHealthRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostAppsVersionsHealthRequestWithBody generates requests for PostAppsVersionsHealth with any type of body
func NewPostProjectsGetRequest ¶ added in v0.1.4
func NewPostProjectsGetRequest(server string, body PostProjectsGetJSONRequestBody) (*http.Request, error)
NewPostProjectsGetRequest calls the generic PostProjectsGet builder with application/json body
func NewPostProjectsGetRequestWithBody ¶ added in v0.1.4
func NewPostProjectsGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostProjectsGetRequestWithBody generates requests for PostProjectsGet with any type of body
func NewPostProjectsListRequest ¶ added in v0.1.4
func NewPostProjectsListRequest(server string, body PostProjectsListJSONRequestBody) (*http.Request, error)
NewPostProjectsListRequest calls the generic PostProjectsList builder with application/json body
func NewPostProjectsListRequestWithBody ¶ added in v0.1.4
func NewPostProjectsListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostProjectsListRequestWithBody generates requests for PostProjectsList with any type of body
func NewPostRecipesGetRequest ¶ added in v0.1.4
func NewPostRecipesGetRequest(server string, body PostRecipesGetJSONRequestBody) (*http.Request, error)
NewPostRecipesGetRequest calls the generic PostRecipesGet builder with application/json body
func NewPostRecipesGetRequestWithBody ¶ added in v0.1.4
func NewPostRecipesGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostRecipesGetRequestWithBody generates requests for PostRecipesGet with any type of body
func NewPostRecipesListRequest ¶ added in v0.1.4
func NewPostRecipesListRequest(server string, body PostRecipesListJSONRequestBody) (*http.Request, error)
NewPostRecipesListRequest calls the generic PostRecipesList builder with application/json body
func NewPostRecipesListRequestWithBody ¶ added in v0.1.4
func NewPostRecipesListRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostRecipesListRequestWithBody generates requests for PostRecipesList with any type of body
func NewPostResourcesGetRequest ¶ added in v0.1.4
func NewPostResourcesGetRequest(server string, body PostResourcesGetJSONRequestBody) (*http.Request, error)
NewPostResourcesGetRequest calls the generic PostResourcesGet builder with application/json body
func NewPostResourcesGetRequestWithBody ¶ added in v0.1.4
func NewPostResourcesGetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostResourcesGetRequestWithBody generates requests for PostResourcesGet with any type of body
func NewPostResourcesListRequest ¶ added in v0.1.4
func NewPostResourcesListRequest(server string, body PostResourcesListJSONRequestBody) (*http.Request, error)
NewPostResourcesListRequest calls the generic PostResourcesList builder with application/json body
Types ¶
type ActionDefinition ¶
type ActionDefinition struct {
// Description A description of the action.
Description *string `json:"description,omitempty"`
// DisplayName The display name of the action.
DisplayName *string `json:"display_name,omitempty"`
// InputJsonSchema JSON schema defining the input for the action.
InputJsonSchema *map[string]interface{} `json:"input_json_schema,omitempty"`
// Name The unique name of the action.
Name *string `json:"name,omitempty"`
// OutputJsonSchema JSON schema defining the output for the action.
OutputJsonSchema *map[string]interface{} `json:"output_json_schema,omitempty"`
}
ActionDefinition defines model for ActionDefinition.
type AppHealthReportItem ¶
type AppHealthReportItem struct {
// Message A message providing additional information.
Message *string `json:"message,omitempty"`
// Status The status of the health check.
Status AppHealthReportItemStatus `json:"status"`
// Type The resource type being reported.
Type string `json:"type"`
}
AppHealthReportItem defines model for AppHealthReportItem.
type AppHealthReportItemStatus ¶
type AppHealthReportItemStatus string
AppHealthReportItemStatus The status of the health check.
const ( Degraded AppHealthReportItemStatus = "degraded" Disrupted AppHealthReportItemStatus = "disrupted" Healthy AppHealthReportItemStatus = "healthy" )
Defines values for AppHealthReportItemStatus.
type AppHealthReportRequest ¶
type AppHealthReportRequest struct {
// AppId The unique identifier of the application.
AppId string `json:"app_id"`
// HealthReports Health check reports for the application.
HealthReports []AppHealthReportItem `json:"health_reports"`
// Version The version of the application.
Version string `json:"version"`
}
AppHealthReportRequest defines model for AppHealthReportRequest.
type AppRequest ¶
type AppRequest struct {
// AppId The unique identifier of the application.
AppId string `json:"app_id"`
// Version The version of the application.
Version string `json:"version"`
}
AppRequest defines model for AppRequest.
type ChiServerOptions ¶
type ChiServerOptions struct {
BaseURL string
BaseRouter chi.Router
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
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) PostAppsOperationsNext ¶
func (c *Client) PostAppsOperationsNext(ctx context.Context, body PostAppsOperationsNextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppsOperationsNextWithBody ¶
func (*Client) PostAppsOperationsReport ¶
func (c *Client) PostAppsOperationsReport(ctx context.Context, body PostAppsOperationsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppsOperationsReportWithBody ¶
func (*Client) PostAppsVersionConnect ¶
func (c *Client) PostAppsVersionConnect(ctx context.Context, body PostAppsVersionConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppsVersionConnectWithBody ¶
func (*Client) PostAppsVersionsHealth ¶
func (c *Client) PostAppsVersionsHealth(ctx context.Context, body PostAppsVersionsHealthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostAppsVersionsHealthWithBody ¶
func (*Client) PostProjectsGet ¶ added in v0.1.4
func (c *Client) PostProjectsGet(ctx context.Context, body PostProjectsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostProjectsGetWithBody ¶ added in v0.1.4
func (*Client) PostProjectsList ¶ added in v0.1.4
func (c *Client) PostProjectsList(ctx context.Context, body PostProjectsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostProjectsListWithBody ¶ added in v0.1.4
func (*Client) PostRecipesGet ¶ added in v0.1.4
func (c *Client) PostRecipesGet(ctx context.Context, body PostRecipesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostRecipesGetWithBody ¶ added in v0.1.4
func (*Client) PostRecipesList ¶ added in v0.1.4
func (c *Client) PostRecipesList(ctx context.Context, body PostRecipesListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostRecipesListWithBody ¶ added in v0.1.4
func (*Client) PostResourcesGet ¶ added in v0.1.4
func (c *Client) PostResourcesGet(ctx context.Context, body PostResourcesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostResourcesGetWithBody ¶ added in v0.1.4
func (*Client) PostResourcesList ¶ added in v0.1.4
func (c *Client) PostResourcesList(ctx context.Context, body PostResourcesListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// PostAppsOperationsNextWithBody request with any body
PostAppsOperationsNextWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAppsOperationsNext(ctx context.Context, body PostAppsOperationsNextJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppsOperationsReportWithBody request with any body
PostAppsOperationsReportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAppsOperationsReport(ctx context.Context, body PostAppsOperationsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppsVersionConnectWithBody request with any body
PostAppsVersionConnectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAppsVersionConnect(ctx context.Context, body PostAppsVersionConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostAppsVersionsHealthWithBody request with any body
PostAppsVersionsHealthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostAppsVersionsHealth(ctx context.Context, body PostAppsVersionsHealthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostProjectsGetWithBody request with any body
PostProjectsGetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostProjectsGet(ctx context.Context, body PostProjectsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostProjectsListWithBody request with any body
PostProjectsListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostProjectsList(ctx context.Context, body PostProjectsListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostRecipesGetWithBody request with any body
PostRecipesGetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostRecipesGet(ctx context.Context, body PostRecipesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostRecipesListWithBody request with any body
PostRecipesListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostRecipesList(ctx context.Context, body PostRecipesListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostResourcesGetWithBody request with any body
PostResourcesGetWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostResourcesGet(ctx context.Context, body PostResourcesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostResourcesListWithBody request with any body
PostResourcesListWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostResourcesList(ctx context.Context, body PostResourcesListJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
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) PostAppsOperationsNextWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppsOperationsNextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsOperationsNextResponse, error)
PostAppsOperationsNextWithBodyWithResponse request with arbitrary body returning *PostAppsOperationsNextResponse
func (*ClientWithResponses) PostAppsOperationsNextWithResponse ¶
func (c *ClientWithResponses) PostAppsOperationsNextWithResponse(ctx context.Context, body PostAppsOperationsNextJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsOperationsNextResponse, error)
func (*ClientWithResponses) PostAppsOperationsReportWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppsOperationsReportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsOperationsReportResponse, error)
PostAppsOperationsReportWithBodyWithResponse request with arbitrary body returning *PostAppsOperationsReportResponse
func (*ClientWithResponses) PostAppsOperationsReportWithResponse ¶
func (c *ClientWithResponses) PostAppsOperationsReportWithResponse(ctx context.Context, body PostAppsOperationsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsOperationsReportResponse, error)
func (*ClientWithResponses) PostAppsVersionConnectWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppsVersionConnectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsVersionConnectResponse, error)
PostAppsVersionConnectWithBodyWithResponse request with arbitrary body returning *PostAppsVersionConnectResponse
func (*ClientWithResponses) PostAppsVersionConnectWithResponse ¶
func (c *ClientWithResponses) PostAppsVersionConnectWithResponse(ctx context.Context, body PostAppsVersionConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsVersionConnectResponse, error)
func (*ClientWithResponses) PostAppsVersionsHealthWithBodyWithResponse ¶
func (c *ClientWithResponses) PostAppsVersionsHealthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsVersionsHealthResponse, error)
PostAppsVersionsHealthWithBodyWithResponse request with arbitrary body returning *PostAppsVersionsHealthResponse
func (*ClientWithResponses) PostAppsVersionsHealthWithResponse ¶
func (c *ClientWithResponses) PostAppsVersionsHealthWithResponse(ctx context.Context, body PostAppsVersionsHealthJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsVersionsHealthResponse, error)
func (*ClientWithResponses) PostProjectsGetWithBodyWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostProjectsGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProjectsGetResponse, error)
PostProjectsGetWithBodyWithResponse request with arbitrary body returning *PostProjectsGetResponse
func (*ClientWithResponses) PostProjectsGetWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostProjectsGetWithResponse(ctx context.Context, body PostProjectsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProjectsGetResponse, error)
func (*ClientWithResponses) PostProjectsListWithBodyWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostProjectsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProjectsListResponse, error)
PostProjectsListWithBodyWithResponse request with arbitrary body returning *PostProjectsListResponse
func (*ClientWithResponses) PostProjectsListWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostProjectsListWithResponse(ctx context.Context, body PostProjectsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProjectsListResponse, error)
func (*ClientWithResponses) PostRecipesGetWithBodyWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostRecipesGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRecipesGetResponse, error)
PostRecipesGetWithBodyWithResponse request with arbitrary body returning *PostRecipesGetResponse
func (*ClientWithResponses) PostRecipesGetWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostRecipesGetWithResponse(ctx context.Context, body PostRecipesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRecipesGetResponse, error)
func (*ClientWithResponses) PostRecipesListWithBodyWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostRecipesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRecipesListResponse, error)
PostRecipesListWithBodyWithResponse request with arbitrary body returning *PostRecipesListResponse
func (*ClientWithResponses) PostRecipesListWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostRecipesListWithResponse(ctx context.Context, body PostRecipesListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRecipesListResponse, error)
func (*ClientWithResponses) PostResourcesGetWithBodyWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostResourcesGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostResourcesGetResponse, error)
PostResourcesGetWithBodyWithResponse request with arbitrary body returning *PostResourcesGetResponse
func (*ClientWithResponses) PostResourcesGetWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostResourcesGetWithResponse(ctx context.Context, body PostResourcesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesGetResponse, error)
func (*ClientWithResponses) PostResourcesListWithBodyWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostResourcesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostResourcesListResponse, error)
PostResourcesListWithBodyWithResponse request with arbitrary body returning *PostResourcesListResponse
func (*ClientWithResponses) PostResourcesListWithResponse ¶ added in v0.1.4
func (c *ClientWithResponses) PostResourcesListWithResponse(ctx context.Context, body PostResourcesListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesListResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// PostAppsOperationsNextWithBodyWithResponse request with any body
PostAppsOperationsNextWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsOperationsNextResponse, error)
PostAppsOperationsNextWithResponse(ctx context.Context, body PostAppsOperationsNextJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsOperationsNextResponse, error)
// PostAppsOperationsReportWithBodyWithResponse request with any body
PostAppsOperationsReportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsOperationsReportResponse, error)
PostAppsOperationsReportWithResponse(ctx context.Context, body PostAppsOperationsReportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsOperationsReportResponse, error)
// PostAppsVersionConnectWithBodyWithResponse request with any body
PostAppsVersionConnectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsVersionConnectResponse, error)
PostAppsVersionConnectWithResponse(ctx context.Context, body PostAppsVersionConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsVersionConnectResponse, error)
// PostAppsVersionsHealthWithBodyWithResponse request with any body
PostAppsVersionsHealthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostAppsVersionsHealthResponse, error)
PostAppsVersionsHealthWithResponse(ctx context.Context, body PostAppsVersionsHealthJSONRequestBody, reqEditors ...RequestEditorFn) (*PostAppsVersionsHealthResponse, error)
// PostProjectsGetWithBodyWithResponse request with any body
PostProjectsGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProjectsGetResponse, error)
PostProjectsGetWithResponse(ctx context.Context, body PostProjectsGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProjectsGetResponse, error)
// PostProjectsListWithBodyWithResponse request with any body
PostProjectsListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostProjectsListResponse, error)
PostProjectsListWithResponse(ctx context.Context, body PostProjectsListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostProjectsListResponse, error)
// PostRecipesGetWithBodyWithResponse request with any body
PostRecipesGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRecipesGetResponse, error)
PostRecipesGetWithResponse(ctx context.Context, body PostRecipesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRecipesGetResponse, error)
// PostRecipesListWithBodyWithResponse request with any body
PostRecipesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostRecipesListResponse, error)
PostRecipesListWithResponse(ctx context.Context, body PostRecipesListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostRecipesListResponse, error)
// PostResourcesGetWithBodyWithResponse request with any body
PostResourcesGetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostResourcesGetResponse, error)
PostResourcesGetWithResponse(ctx context.Context, body PostResourcesGetJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesGetResponse, error)
// PostResourcesListWithBodyWithResponse request with any body
PostResourcesListWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostResourcesListResponse, error)
PostResourcesListWithResponse(ctx context.Context, body PostResourcesListJSONRequestBody, reqEditors ...RequestEditorFn) (*PostResourcesListResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type EnvironmentVariable ¶ added in v0.1.2
type EnvironmentVariable struct {
// Name The name of the environment variable.
Name string `json:"name"`
// Type The type of environment variable.
Type EnvironmentVariableType `json:"type"`
// Value The value of the environment variable.
Value string `json:"value"`
}
EnvironmentVariable defines model for EnvironmentVariable.
type EnvironmentVariableType ¶ added in v0.1.2
type EnvironmentVariableType string
EnvironmentVariableType The type of environment variable.
const ( Certificate EnvironmentVariableType = "certificate" PrivateKey EnvironmentVariableType = "private_key" PublicKey EnvironmentVariableType = "public_key" Secret EnvironmentVariableType = "secret" Variable EnvironmentVariableType = "variable" )
Defines values for EnvironmentVariableType.
type ErrorResponse ¶
type ErrorResponse struct {
// Error Error message detailing the failure.
Error string `json:"error"`
// Status Always "error" for this schema.
Status ErrorResponseStatus `json:"status"`
}
ErrorResponse defines model for ErrorResponse.
type ErrorResponseStatus ¶
type ErrorResponseStatus string
ErrorResponseStatus Always "error" for this schema.
const (
ErrorResponseStatusError ErrorResponseStatus = "error"
)
Defines values for ErrorResponseStatus.
type ExecuteResourceActionRequest ¶
type ExecuteResourceActionRequest struct {
// Action The action to perform on the resource.
Action string `json:"action"`
// EnvironmentVariables The environment variables for the operation.
EnvironmentVariables *[]EnvironmentVariable `json:"environment_variables,omitempty"`
// Input The input parameters for the operation.
Input *map[string]interface{} `json:"input,omitempty"`
// Metadata Metadata associated with the resource operation.
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// RequestType The type of request.
RequestType string `json:"request_type"`
Resource Resource `json:"resource"`
}
ExecuteResourceActionRequest defines model for ExecuteResourceActionRequest.
type ExecuteResourceActionResponse ¶
type ExecuteResourceActionResponse struct {
// Output The output of the action.
Output map[string]interface{} `json:"output"`
// ResponseType The type of response.
ResponseType string `json:"response_type"`
}
ExecuteResourceActionResponse defines model for ExecuteResourceActionResponse.
type ExecuteResourceOperationRequest ¶
type ExecuteResourceOperationRequest struct {
// EnvironmentVariables The environment variables for the operation.
EnvironmentVariables *[]EnvironmentVariable `json:"environment_variables,omitempty"`
// Input The input parameters for the operation.
Input *map[string]interface{} `json:"input,omitempty"`
// Metadata Metadata associated with the resource operation.
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Operation The operation to perform on the resource.
Operation ExecuteResourceOperationRequestOperation `json:"operation"`
// RequestType The type of request.
RequestType string `json:"request_type"`
Resource Resource `json:"resource"`
}
ExecuteResourceOperationRequest defines model for ExecuteResourceOperationRequest.
type ExecuteResourceOperationRequestOperation ¶
type ExecuteResourceOperationRequestOperation string
ExecuteResourceOperationRequestOperation The operation to perform on the resource.
const ( Create ExecuteResourceOperationRequestOperation = "create" Delete ExecuteResourceOperationRequestOperation = "delete" Read ExecuteResourceOperationRequestOperation = "read" Update ExecuteResourceOperationRequestOperation = "update" )
Defines values for ExecuteResourceOperationRequestOperation.
type ExecuteResourceOperationResponse ¶
type ExecuteResourceOperationResponse struct {
Resource *Resource `json:"resource,omitempty"`
// ResponseType The type of response.
ResponseType string `json:"response_type"`
}
ExecuteResourceOperationResponse defines model for ExecuteResourceOperationResponse.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type Links ¶
type Links struct {
Links *[]LinksItem `json:"links,omitempty"`
}
Links defines model for Links.
type LinksItem ¶
type LinksItem struct {
// Title The title of the link.
Title string `json:"title"`
// Type The type of link.
Type LinksItemType `json:"type"`
// Url The URL of the link
Url string `json:"url"`
}
LinksItem defines model for LinksItem.
type LinksItemType ¶
type LinksItemType string
LinksItemType The type of link.
const ( Administration LinksItemType = "administration" Documentation LinksItemType = "documentation" Endpoint LinksItemType = "endpoint" External LinksItemType = "external" Support LinksItemType = "support" )
Defines values for LinksItemType.
type ListProjectsResponse ¶ added in v0.1.4
type ListProjectsResponse struct {
// Next The next page token for pagination.
Next string `json:"next"`
// Projects List of projects for requested page
Projects []Project `json:"projects"`
}
ListProjectsResponse defines model for ListProjectsResponse.
type ListRecipesResponse ¶ added in v0.1.4
type ListRecipesResponse struct {
// Next The next page token for pagination.
Next string `json:"next"`
// Recipes List of recipes for requested page
Recipes []Recipe `json:"recipes"`
}
ListRecipesResponse defines model for ListRecipesResponse.
type ListResourcesRequest ¶
type ListResourcesRequest struct {
// Metadata Metadata associated with the resource operation.
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Next The next page token for pagination.
Next string `json:"next"`
// RequestType The type of request.
RequestType string `json:"request_type"`
Resource Resource `json:"resource"`
}
ListResourcesRequest defines model for ListResourcesRequest.
type ListResourcesResponse ¶
type ListResourcesResponse struct {
// Next The next page token for pagination.
Next string `json:"next"`
// Resources List of resources for requested page
Resources []Resource `json:"resources"`
// ResponseType The type of response.
ResponseType string `json:"response_type"`
}
ListResourcesResponse defines model for ListResourcesResponse.
type Metadata ¶
type Metadata struct {
// TempestAppUrl URL of the app in the Tempest web interface.
TempestAppUrl *string `json:"tempest_app_url,omitempty"`
}
Metadata defines model for Metadata.
type NextResponse ¶
type NextResponse struct {
Metadata TaskMetadata `json:"metadata"`
Task NextResponse_Task `json:"task"`
// TaskId The unique identifier of the task.
TaskId string `json:"task_id"`
}
NextResponse defines model for NextResponse.
type NextResponse_Task ¶
type NextResponse_Task struct {
// contains filtered or unexported fields
}
NextResponse_Task defines model for NextResponse.Task.
func (NextResponse_Task) AsExecuteResourceActionRequest ¶
func (t NextResponse_Task) AsExecuteResourceActionRequest() (ExecuteResourceActionRequest, error)
AsExecuteResourceActionRequest returns the union data inside the NextResponse_Task as a ExecuteResourceActionRequest
func (NextResponse_Task) AsExecuteResourceOperationRequest ¶
func (t NextResponse_Task) AsExecuteResourceOperationRequest() (ExecuteResourceOperationRequest, error)
AsExecuteResourceOperationRequest returns the union data inside the NextResponse_Task as a ExecuteResourceOperationRequest
func (NextResponse_Task) AsListResourcesRequest ¶
func (t NextResponse_Task) AsListResourcesRequest() (ListResourcesRequest, error)
AsListResourcesRequest returns the union data inside the NextResponse_Task as a ListResourcesRequest
func (NextResponse_Task) Discriminator ¶
func (t NextResponse_Task) Discriminator() (string, error)
func (*NextResponse_Task) FromExecuteResourceActionRequest ¶
func (t *NextResponse_Task) FromExecuteResourceActionRequest(v ExecuteResourceActionRequest) error
FromExecuteResourceActionRequest overwrites any union data inside the NextResponse_Task as the provided ExecuteResourceActionRequest
func (*NextResponse_Task) FromExecuteResourceOperationRequest ¶
func (t *NextResponse_Task) FromExecuteResourceOperationRequest(v ExecuteResourceOperationRequest) error
FromExecuteResourceOperationRequest overwrites any union data inside the NextResponse_Task as the provided ExecuteResourceOperationRequest
func (*NextResponse_Task) FromListResourcesRequest ¶
func (t *NextResponse_Task) FromListResourcesRequest(v ListResourcesRequest) error
FromListResourcesRequest overwrites any union data inside the NextResponse_Task as the provided ListResourcesRequest
func (NextResponse_Task) MarshalJSON ¶
func (t NextResponse_Task) MarshalJSON() ([]byte, error)
func (*NextResponse_Task) MergeExecuteResourceActionRequest ¶
func (t *NextResponse_Task) MergeExecuteResourceActionRequest(v ExecuteResourceActionRequest) error
MergeExecuteResourceActionRequest performs a merge with any union data inside the NextResponse_Task, using the provided ExecuteResourceActionRequest
func (*NextResponse_Task) MergeExecuteResourceOperationRequest ¶
func (t *NextResponse_Task) MergeExecuteResourceOperationRequest(v ExecuteResourceOperationRequest) error
MergeExecuteResourceOperationRequest performs a merge with any union data inside the NextResponse_Task, using the provided ExecuteResourceOperationRequest
func (*NextResponse_Task) MergeListResourcesRequest ¶
func (t *NextResponse_Task) MergeListResourcesRequest(v ListResourcesRequest) error
MergeListResourcesRequest performs a merge with any union data inside the NextResponse_Task, using the provided ListResourcesRequest
func (*NextResponse_Task) UnmarshalJSON ¶
func (t *NextResponse_Task) UnmarshalJSON(b []byte) error
func (NextResponse_Task) ValueByDiscriminator ¶
func (t NextResponse_Task) ValueByDiscriminator() (interface{}, error)
type Owner ¶
type Owner struct {
// Email The email address of the owner.
Email string `json:"email"`
// Name The name of the owner.
Name string `json:"name"`
// Type The type of owner.
Type OwnerType `json:"type"`
}
Owner defines model for Owner.
type PostAppsOperationsNext200JSONResponse ¶
type PostAppsOperationsNext200JSONResponse NextResponse
func (PostAppsOperationsNext200JSONResponse) VisitPostAppsOperationsNextResponse ¶
func (response PostAppsOperationsNext200JSONResponse) VisitPostAppsOperationsNextResponse(w http.ResponseWriter) error
type PostAppsOperationsNext204Response ¶
type PostAppsOperationsNext204Response struct {
}
func (PostAppsOperationsNext204Response) VisitPostAppsOperationsNextResponse ¶
func (response PostAppsOperationsNext204Response) VisitPostAppsOperationsNextResponse(w http.ResponseWriter) error
type PostAppsOperationsNext400JSONResponse ¶ added in v0.1.1
type PostAppsOperationsNext400JSONResponse ErrorResponse
func (PostAppsOperationsNext400JSONResponse) VisitPostAppsOperationsNextResponse ¶ added in v0.1.1
func (response PostAppsOperationsNext400JSONResponse) VisitPostAppsOperationsNextResponse(w http.ResponseWriter) error
type PostAppsOperationsNext500JSONResponse ¶
type PostAppsOperationsNext500JSONResponse ErrorResponse
func (PostAppsOperationsNext500JSONResponse) VisitPostAppsOperationsNextResponse ¶
func (response PostAppsOperationsNext500JSONResponse) VisitPostAppsOperationsNextResponse(w http.ResponseWriter) error
type PostAppsOperationsNextJSONRequestBody ¶
type PostAppsOperationsNextJSONRequestBody = AppRequest
PostAppsOperationsNextJSONRequestBody defines body for PostAppsOperationsNext for application/json ContentType.
type PostAppsOperationsNextRequestObject ¶
type PostAppsOperationsNextRequestObject struct {
Body *PostAppsOperationsNextJSONRequestBody
}
type PostAppsOperationsNextResponse ¶
type PostAppsOperationsNextResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NextResponse
JSON400 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostAppsOperationsNextResponse ¶
func ParsePostAppsOperationsNextResponse(rsp *http.Response) (*PostAppsOperationsNextResponse, error)
ParsePostAppsOperationsNextResponse parses an HTTP response from a PostAppsOperationsNextWithResponse call
func (PostAppsOperationsNextResponse) Status ¶
func (r PostAppsOperationsNextResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppsOperationsNextResponse) StatusCode ¶
func (r PostAppsOperationsNextResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppsOperationsNextResponseObject ¶
type PostAppsOperationsNextResponseObject interface {
VisitPostAppsOperationsNextResponse(w http.ResponseWriter) error
}
type PostAppsOperationsReport200JSONResponse ¶
type PostAppsOperationsReport200JSONResponse StandardResponse
func (PostAppsOperationsReport200JSONResponse) VisitPostAppsOperationsReportResponse ¶
func (response PostAppsOperationsReport200JSONResponse) VisitPostAppsOperationsReportResponse(w http.ResponseWriter) error
type PostAppsOperationsReport400JSONResponse ¶
type PostAppsOperationsReport400JSONResponse ErrorResponse
func (PostAppsOperationsReport400JSONResponse) VisitPostAppsOperationsReportResponse ¶
func (response PostAppsOperationsReport400JSONResponse) VisitPostAppsOperationsReportResponse(w http.ResponseWriter) error
type PostAppsOperationsReport404JSONResponse ¶
type PostAppsOperationsReport404JSONResponse ErrorResponse
func (PostAppsOperationsReport404JSONResponse) VisitPostAppsOperationsReportResponse ¶
func (response PostAppsOperationsReport404JSONResponse) VisitPostAppsOperationsReportResponse(w http.ResponseWriter) error
type PostAppsOperationsReport500JSONResponse ¶
type PostAppsOperationsReport500JSONResponse ErrorResponse
func (PostAppsOperationsReport500JSONResponse) VisitPostAppsOperationsReportResponse ¶
func (response PostAppsOperationsReport500JSONResponse) VisitPostAppsOperationsReportResponse(w http.ResponseWriter) error
type PostAppsOperationsReportJSONRequestBody ¶
type PostAppsOperationsReportJSONRequestBody = ReportResponse
PostAppsOperationsReportJSONRequestBody defines body for PostAppsOperationsReport for application/json ContentType.
type PostAppsOperationsReportRequestObject ¶
type PostAppsOperationsReportRequestObject struct {
Body *PostAppsOperationsReportJSONRequestBody
}
type PostAppsOperationsReportResponse ¶
type PostAppsOperationsReportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *StandardResponse
JSON400 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostAppsOperationsReportResponse ¶
func ParsePostAppsOperationsReportResponse(rsp *http.Response) (*PostAppsOperationsReportResponse, error)
ParsePostAppsOperationsReportResponse parses an HTTP response from a PostAppsOperationsReportWithResponse call
func (PostAppsOperationsReportResponse) Status ¶
func (r PostAppsOperationsReportResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppsOperationsReportResponse) StatusCode ¶
func (r PostAppsOperationsReportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppsOperationsReportResponseObject ¶
type PostAppsOperationsReportResponseObject interface {
VisitPostAppsOperationsReportResponse(w http.ResponseWriter) error
}
type PostAppsVersionConnect200JSONResponse ¶
type PostAppsVersionConnect200JSONResponse StandardResponse
func (PostAppsVersionConnect200JSONResponse) VisitPostAppsVersionConnectResponse ¶
func (response PostAppsVersionConnect200JSONResponse) VisitPostAppsVersionConnectResponse(w http.ResponseWriter) error
type PostAppsVersionConnect400JSONResponse ¶
type PostAppsVersionConnect400JSONResponse ErrorResponse
func (PostAppsVersionConnect400JSONResponse) VisitPostAppsVersionConnectResponse ¶
func (response PostAppsVersionConnect400JSONResponse) VisitPostAppsVersionConnectResponse(w http.ResponseWriter) error
type PostAppsVersionConnect500JSONResponse ¶
type PostAppsVersionConnect500JSONResponse ErrorResponse
func (PostAppsVersionConnect500JSONResponse) VisitPostAppsVersionConnectResponse ¶
func (response PostAppsVersionConnect500JSONResponse) VisitPostAppsVersionConnectResponse(w http.ResponseWriter) error
type PostAppsVersionConnectJSONBody ¶
type PostAppsVersionConnectJSONBody struct {
// AppId The unique identifier of the application.
AppId string `json:"app_id"`
Resources []ResourceDefinition `json:"resources"`
// Version The version of the application.
Version string `json:"version"`
}
PostAppsVersionConnectJSONBody defines parameters for PostAppsVersionConnect.
type PostAppsVersionConnectJSONRequestBody ¶
type PostAppsVersionConnectJSONRequestBody PostAppsVersionConnectJSONBody
PostAppsVersionConnectJSONRequestBody defines body for PostAppsVersionConnect for application/json ContentType.
type PostAppsVersionConnectRequestObject ¶
type PostAppsVersionConnectRequestObject struct {
Body *PostAppsVersionConnectJSONRequestBody
}
type PostAppsVersionConnectResponse ¶
type PostAppsVersionConnectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *StandardResponse
JSON400 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostAppsVersionConnectResponse ¶
func ParsePostAppsVersionConnectResponse(rsp *http.Response) (*PostAppsVersionConnectResponse, error)
ParsePostAppsVersionConnectResponse parses an HTTP response from a PostAppsVersionConnectWithResponse call
func (PostAppsVersionConnectResponse) Status ¶
func (r PostAppsVersionConnectResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppsVersionConnectResponse) StatusCode ¶
func (r PostAppsVersionConnectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppsVersionConnectResponseObject ¶
type PostAppsVersionConnectResponseObject interface {
VisitPostAppsVersionConnectResponse(w http.ResponseWriter) error
}
type PostAppsVersionsHealth200JSONResponse ¶
type PostAppsVersionsHealth200JSONResponse StandardResponse
func (PostAppsVersionsHealth200JSONResponse) VisitPostAppsVersionsHealthResponse ¶
func (response PostAppsVersionsHealth200JSONResponse) VisitPostAppsVersionsHealthResponse(w http.ResponseWriter) error
type PostAppsVersionsHealth400JSONResponse ¶
type PostAppsVersionsHealth400JSONResponse ErrorResponse
func (PostAppsVersionsHealth400JSONResponse) VisitPostAppsVersionsHealthResponse ¶
func (response PostAppsVersionsHealth400JSONResponse) VisitPostAppsVersionsHealthResponse(w http.ResponseWriter) error
type PostAppsVersionsHealth500JSONResponse ¶
type PostAppsVersionsHealth500JSONResponse ErrorResponse
func (PostAppsVersionsHealth500JSONResponse) VisitPostAppsVersionsHealthResponse ¶
func (response PostAppsVersionsHealth500JSONResponse) VisitPostAppsVersionsHealthResponse(w http.ResponseWriter) error
type PostAppsVersionsHealthJSONRequestBody ¶
type PostAppsVersionsHealthJSONRequestBody = AppHealthReportRequest
PostAppsVersionsHealthJSONRequestBody defines body for PostAppsVersionsHealth for application/json ContentType.
type PostAppsVersionsHealthRequestObject ¶
type PostAppsVersionsHealthRequestObject struct {
Body *PostAppsVersionsHealthJSONRequestBody
}
type PostAppsVersionsHealthResponse ¶
type PostAppsVersionsHealthResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *StandardResponse
JSON400 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostAppsVersionsHealthResponse ¶
func ParsePostAppsVersionsHealthResponse(rsp *http.Response) (*PostAppsVersionsHealthResponse, error)
ParsePostAppsVersionsHealthResponse parses an HTTP response from a PostAppsVersionsHealthWithResponse call
func (PostAppsVersionsHealthResponse) Status ¶
func (r PostAppsVersionsHealthResponse) Status() string
Status returns HTTPResponse.Status
func (PostAppsVersionsHealthResponse) StatusCode ¶
func (r PostAppsVersionsHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostAppsVersionsHealthResponseObject ¶
type PostAppsVersionsHealthResponseObject interface {
VisitPostAppsVersionsHealthResponse(w http.ResponseWriter) error
}
type PostProjectsGet200JSONResponse ¶ added in v0.1.4
type PostProjectsGet200JSONResponse Project
func (PostProjectsGet200JSONResponse) VisitPostProjectsGetResponse ¶ added in v0.1.4
func (response PostProjectsGet200JSONResponse) VisitPostProjectsGetResponse(w http.ResponseWriter) error
type PostProjectsGet400JSONResponse ¶ added in v0.1.4
type PostProjectsGet400JSONResponse ErrorResponse
func (PostProjectsGet400JSONResponse) VisitPostProjectsGetResponse ¶ added in v0.1.4
func (response PostProjectsGet400JSONResponse) VisitPostProjectsGetResponse(w http.ResponseWriter) error
type PostProjectsGet404JSONResponse ¶ added in v0.1.4
type PostProjectsGet404JSONResponse ErrorResponse
func (PostProjectsGet404JSONResponse) VisitPostProjectsGetResponse ¶ added in v0.1.4
func (response PostProjectsGet404JSONResponse) VisitPostProjectsGetResponse(w http.ResponseWriter) error
type PostProjectsGet500JSONResponse ¶ added in v0.1.4
type PostProjectsGet500JSONResponse ErrorResponse
func (PostProjectsGet500JSONResponse) VisitPostProjectsGetResponse ¶ added in v0.1.4
func (response PostProjectsGet500JSONResponse) VisitPostProjectsGetResponse(w http.ResponseWriter) error
type PostProjectsGetJSONRequestBody ¶ added in v0.1.4
type PostProjectsGetJSONRequestBody = RequestObjectById
PostProjectsGetJSONRequestBody defines body for PostProjectsGet for application/json ContentType.
type PostProjectsGetRequestObject ¶ added in v0.1.4
type PostProjectsGetRequestObject struct {
Body *PostProjectsGetJSONRequestBody
}
type PostProjectsGetResponse ¶ added in v0.1.4
type PostProjectsGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Project
JSON400 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostProjectsGetResponse ¶ added in v0.1.4
func ParsePostProjectsGetResponse(rsp *http.Response) (*PostProjectsGetResponse, error)
ParsePostProjectsGetResponse parses an HTTP response from a PostProjectsGetWithResponse call
func (PostProjectsGetResponse) Status ¶ added in v0.1.4
func (r PostProjectsGetResponse) Status() string
Status returns HTTPResponse.Status
func (PostProjectsGetResponse) StatusCode ¶ added in v0.1.4
func (r PostProjectsGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostProjectsGetResponseObject ¶ added in v0.1.4
type PostProjectsGetResponseObject interface {
VisitPostProjectsGetResponse(w http.ResponseWriter) error
}
type PostProjectsList200JSONResponse ¶ added in v0.1.4
type PostProjectsList200JSONResponse ListProjectsResponse
func (PostProjectsList200JSONResponse) VisitPostProjectsListResponse ¶ added in v0.1.4
func (response PostProjectsList200JSONResponse) VisitPostProjectsListResponse(w http.ResponseWriter) error
type PostProjectsList400JSONResponse ¶ added in v0.1.4
type PostProjectsList400JSONResponse ErrorResponse
func (PostProjectsList400JSONResponse) VisitPostProjectsListResponse ¶ added in v0.1.4
func (response PostProjectsList400JSONResponse) VisitPostProjectsListResponse(w http.ResponseWriter) error
type PostProjectsList500JSONResponse ¶ added in v0.1.4
type PostProjectsList500JSONResponse ErrorResponse
func (PostProjectsList500JSONResponse) VisitPostProjectsListResponse ¶ added in v0.1.4
func (response PostProjectsList500JSONResponse) VisitPostProjectsListResponse(w http.ResponseWriter) error
type PostProjectsListJSONRequestBody ¶ added in v0.1.4
type PostProjectsListJSONRequestBody = RequestPaginatedObjects
PostProjectsListJSONRequestBody defines body for PostProjectsList for application/json ContentType.
type PostProjectsListRequestObject ¶ added in v0.1.4
type PostProjectsListRequestObject struct {
Body *PostProjectsListJSONRequestBody
}
type PostProjectsListResponse ¶ added in v0.1.4
type PostProjectsListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListProjectsResponse
JSON400 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostProjectsListResponse ¶ added in v0.1.4
func ParsePostProjectsListResponse(rsp *http.Response) (*PostProjectsListResponse, error)
ParsePostProjectsListResponse parses an HTTP response from a PostProjectsListWithResponse call
func (PostProjectsListResponse) Status ¶ added in v0.1.4
func (r PostProjectsListResponse) Status() string
Status returns HTTPResponse.Status
func (PostProjectsListResponse) StatusCode ¶ added in v0.1.4
func (r PostProjectsListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostProjectsListResponseObject ¶ added in v0.1.4
type PostProjectsListResponseObject interface {
VisitPostProjectsListResponse(w http.ResponseWriter) error
}
type PostRecipesGet200JSONResponse ¶ added in v0.1.4
type PostRecipesGet200JSONResponse Recipe
func (PostRecipesGet200JSONResponse) VisitPostRecipesGetResponse ¶ added in v0.1.4
func (response PostRecipesGet200JSONResponse) VisitPostRecipesGetResponse(w http.ResponseWriter) error
type PostRecipesGet400JSONResponse ¶ added in v0.1.4
type PostRecipesGet400JSONResponse ErrorResponse
func (PostRecipesGet400JSONResponse) VisitPostRecipesGetResponse ¶ added in v0.1.4
func (response PostRecipesGet400JSONResponse) VisitPostRecipesGetResponse(w http.ResponseWriter) error
type PostRecipesGet404JSONResponse ¶ added in v0.1.4
type PostRecipesGet404JSONResponse ErrorResponse
func (PostRecipesGet404JSONResponse) VisitPostRecipesGetResponse ¶ added in v0.1.4
func (response PostRecipesGet404JSONResponse) VisitPostRecipesGetResponse(w http.ResponseWriter) error
type PostRecipesGet500JSONResponse ¶ added in v0.1.4
type PostRecipesGet500JSONResponse ErrorResponse
func (PostRecipesGet500JSONResponse) VisitPostRecipesGetResponse ¶ added in v0.1.4
func (response PostRecipesGet500JSONResponse) VisitPostRecipesGetResponse(w http.ResponseWriter) error
type PostRecipesGetJSONRequestBody ¶ added in v0.1.4
type PostRecipesGetJSONRequestBody = RequestObjectById
PostRecipesGetJSONRequestBody defines body for PostRecipesGet for application/json ContentType.
type PostRecipesGetRequestObject ¶ added in v0.1.4
type PostRecipesGetRequestObject struct {
Body *PostRecipesGetJSONRequestBody
}
type PostRecipesGetResponse ¶ added in v0.1.4
type PostRecipesGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Recipe
JSON400 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostRecipesGetResponse ¶ added in v0.1.4
func ParsePostRecipesGetResponse(rsp *http.Response) (*PostRecipesGetResponse, error)
ParsePostRecipesGetResponse parses an HTTP response from a PostRecipesGetWithResponse call
func (PostRecipesGetResponse) Status ¶ added in v0.1.4
func (r PostRecipesGetResponse) Status() string
Status returns HTTPResponse.Status
func (PostRecipesGetResponse) StatusCode ¶ added in v0.1.4
func (r PostRecipesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostRecipesGetResponseObject ¶ added in v0.1.4
type PostRecipesGetResponseObject interface {
VisitPostRecipesGetResponse(w http.ResponseWriter) error
}
type PostRecipesList200JSONResponse ¶ added in v0.1.4
type PostRecipesList200JSONResponse ListRecipesResponse
func (PostRecipesList200JSONResponse) VisitPostRecipesListResponse ¶ added in v0.1.4
func (response PostRecipesList200JSONResponse) VisitPostRecipesListResponse(w http.ResponseWriter) error
type PostRecipesList400JSONResponse ¶ added in v0.1.4
type PostRecipesList400JSONResponse ErrorResponse
func (PostRecipesList400JSONResponse) VisitPostRecipesListResponse ¶ added in v0.1.4
func (response PostRecipesList400JSONResponse) VisitPostRecipesListResponse(w http.ResponseWriter) error
type PostRecipesList500JSONResponse ¶ added in v0.1.4
type PostRecipesList500JSONResponse ErrorResponse
func (PostRecipesList500JSONResponse) VisitPostRecipesListResponse ¶ added in v0.1.4
func (response PostRecipesList500JSONResponse) VisitPostRecipesListResponse(w http.ResponseWriter) error
type PostRecipesListJSONRequestBody ¶ added in v0.1.4
type PostRecipesListJSONRequestBody = RequestPaginatedObjects
PostRecipesListJSONRequestBody defines body for PostRecipesList for application/json ContentType.
type PostRecipesListRequestObject ¶ added in v0.1.4
type PostRecipesListRequestObject struct {
Body *PostRecipesListJSONRequestBody
}
type PostRecipesListResponse ¶ added in v0.1.4
type PostRecipesListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListRecipesResponse
JSON400 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostRecipesListResponse ¶ added in v0.1.4
func ParsePostRecipesListResponse(rsp *http.Response) (*PostRecipesListResponse, error)
ParsePostRecipesListResponse parses an HTTP response from a PostRecipesListWithResponse call
func (PostRecipesListResponse) Status ¶ added in v0.1.4
func (r PostRecipesListResponse) Status() string
Status returns HTTPResponse.Status
func (PostRecipesListResponse) StatusCode ¶ added in v0.1.4
func (r PostRecipesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostRecipesListResponseObject ¶ added in v0.1.4
type PostRecipesListResponseObject interface {
VisitPostRecipesListResponse(w http.ResponseWriter) error
}
type PostResourcesGet200JSONResponse ¶ added in v0.1.4
type PostResourcesGet200JSONResponse Resource
func (PostResourcesGet200JSONResponse) VisitPostResourcesGetResponse ¶ added in v0.1.4
func (response PostResourcesGet200JSONResponse) VisitPostResourcesGetResponse(w http.ResponseWriter) error
type PostResourcesGet400JSONResponse ¶ added in v0.1.4
type PostResourcesGet400JSONResponse ErrorResponse
func (PostResourcesGet400JSONResponse) VisitPostResourcesGetResponse ¶ added in v0.1.4
func (response PostResourcesGet400JSONResponse) VisitPostResourcesGetResponse(w http.ResponseWriter) error
type PostResourcesGet404JSONResponse ¶ added in v0.1.4
type PostResourcesGet404JSONResponse ErrorResponse
func (PostResourcesGet404JSONResponse) VisitPostResourcesGetResponse ¶ added in v0.1.4
func (response PostResourcesGet404JSONResponse) VisitPostResourcesGetResponse(w http.ResponseWriter) error
type PostResourcesGet500JSONResponse ¶ added in v0.1.4
type PostResourcesGet500JSONResponse ErrorResponse
func (PostResourcesGet500JSONResponse) VisitPostResourcesGetResponse ¶ added in v0.1.4
func (response PostResourcesGet500JSONResponse) VisitPostResourcesGetResponse(w http.ResponseWriter) error
type PostResourcesGetJSONRequestBody ¶ added in v0.1.4
type PostResourcesGetJSONRequestBody = RequestObjectById
PostResourcesGetJSONRequestBody defines body for PostResourcesGet for application/json ContentType.
type PostResourcesGetRequestObject ¶ added in v0.1.4
type PostResourcesGetRequestObject struct {
Body *PostResourcesGetJSONRequestBody
}
type PostResourcesGetResponse ¶ added in v0.1.4
type PostResourcesGetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Resource
JSON400 *ErrorResponse
JSON404 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostResourcesGetResponse ¶ added in v0.1.4
func ParsePostResourcesGetResponse(rsp *http.Response) (*PostResourcesGetResponse, error)
ParsePostResourcesGetResponse parses an HTTP response from a PostResourcesGetWithResponse call
func (PostResourcesGetResponse) Status ¶ added in v0.1.4
func (r PostResourcesGetResponse) Status() string
Status returns HTTPResponse.Status
func (PostResourcesGetResponse) StatusCode ¶ added in v0.1.4
func (r PostResourcesGetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostResourcesGetResponseObject ¶ added in v0.1.4
type PostResourcesGetResponseObject interface {
VisitPostResourcesGetResponse(w http.ResponseWriter) error
}
type PostResourcesList200JSONResponse ¶ added in v0.1.4
type PostResourcesList200JSONResponse ListResourcesResponse
func (PostResourcesList200JSONResponse) VisitPostResourcesListResponse ¶ added in v0.1.4
func (response PostResourcesList200JSONResponse) VisitPostResourcesListResponse(w http.ResponseWriter) error
type PostResourcesList400JSONResponse ¶ added in v0.1.4
type PostResourcesList400JSONResponse ErrorResponse
func (PostResourcesList400JSONResponse) VisitPostResourcesListResponse ¶ added in v0.1.4
func (response PostResourcesList400JSONResponse) VisitPostResourcesListResponse(w http.ResponseWriter) error
type PostResourcesList500JSONResponse ¶ added in v0.1.4
type PostResourcesList500JSONResponse ErrorResponse
func (PostResourcesList500JSONResponse) VisitPostResourcesListResponse ¶ added in v0.1.4
func (response PostResourcesList500JSONResponse) VisitPostResourcesListResponse(w http.ResponseWriter) error
type PostResourcesListJSONRequestBody ¶ added in v0.1.4
type PostResourcesListJSONRequestBody = RequestPaginatedObjects
PostResourcesListJSONRequestBody defines body for PostResourcesList for application/json ContentType.
type PostResourcesListRequestObject ¶ added in v0.1.4
type PostResourcesListRequestObject struct {
Body *PostResourcesListJSONRequestBody
}
type PostResourcesListResponse ¶ added in v0.1.4
type PostResourcesListResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListResourcesResponse
JSON400 *ErrorResponse
JSON500 *ErrorResponse
}
func ParsePostResourcesListResponse ¶ added in v0.1.4
func ParsePostResourcesListResponse(rsp *http.Response) (*PostResourcesListResponse, error)
ParsePostResourcesListResponse parses an HTTP response from a PostResourcesListWithResponse call
func (PostResourcesListResponse) Status ¶ added in v0.1.4
func (r PostResourcesListResponse) Status() string
Status returns HTTPResponse.Status
func (PostResourcesListResponse) StatusCode ¶ added in v0.1.4
func (r PostResourcesListResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostResourcesListResponseObject ¶ added in v0.1.4
type PostResourcesListResponseObject interface {
VisitPostResourcesListResponse(w http.ResponseWriter) error
}
type Project ¶ added in v0.1.4
type Project struct {
// CreatedAt Timestamp when the project was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// FromRecipe ID of the recipe that was used to create the project.
FromRecipe *string `json:"from_recipe,omitempty"`
// Id Internal identifier of the project.
Id string `json:"id"`
// Name The name of the project.
Name string `json:"name"`
// OrganizationId Organization identifier the project belongs to.
OrganizationId string `json:"organization_id"`
// Published Whether the project is published.
Published *bool `json:"published,omitempty"`
// TeamId Team identifier the project belongs to.
TeamId *string `json:"team_id,omitempty"`
// Type The type of the project.
Type string `json:"type"`
// UpdatedAt Timestamp when the project was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Project defines model for Project.
type Recipe ¶ added in v0.1.4
type Recipe struct {
// CreatedAt Timestamp when the recipe was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// Id Internal identifier of the recipe.
Id string `json:"id"`
// Name The name of the recipe.
Name string `json:"name"`
// Public Whether the recipe is public.
Public *bool `json:"public,omitempty"`
// Published Whether the recipe is published.
Published *bool `json:"published,omitempty"`
// PublishedAt Timestamp when the recipe was published.
PublishedAt *time.Time `json:"published_at"`
// TeamId Team identifier the recipe belongs to.
TeamId *string `json:"team_id,omitempty"`
// Type The type of the recipe.
Type string `json:"type"`
// UpdatedAt Timestamp when the recipe was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Recipe defines model for Recipe.
type ReportResponse ¶
type ReportResponse struct {
// Message A message providing additional information.
Message *string `json:"message,omitempty"`
Response ReportResponse_Response `json:"response"`
// Status Status of the report operation
Status ReportResponseStatus `json:"status"`
// TaskId The unique identifier of the task.
TaskId string `json:"task_id"`
}
ReportResponse defines model for ReportResponse.
type ReportResponseStatus ¶
type ReportResponseStatus string
ReportResponseStatus Status of the report operation
const ( ReportResponseStatusError ReportResponseStatus = "error" ReportResponseStatusOk ReportResponseStatus = "ok" )
Defines values for ReportResponseStatus.
type ReportResponse_Response ¶
type ReportResponse_Response struct {
// contains filtered or unexported fields
}
ReportResponse_Response defines model for ReportResponse.Response.
func (ReportResponse_Response) AsExecuteResourceActionResponse ¶
func (t ReportResponse_Response) AsExecuteResourceActionResponse() (ExecuteResourceActionResponse, error)
AsExecuteResourceActionResponse returns the union data inside the ReportResponse_Response as a ExecuteResourceActionResponse
func (ReportResponse_Response) AsExecuteResourceOperationResponse ¶
func (t ReportResponse_Response) AsExecuteResourceOperationResponse() (ExecuteResourceOperationResponse, error)
AsExecuteResourceOperationResponse returns the union data inside the ReportResponse_Response as a ExecuteResourceOperationResponse
func (ReportResponse_Response) AsListResourcesResponse ¶
func (t ReportResponse_Response) AsListResourcesResponse() (ListResourcesResponse, error)
AsListResourcesResponse returns the union data inside the ReportResponse_Response as a ListResourcesResponse
func (ReportResponse_Response) Discriminator ¶
func (t ReportResponse_Response) Discriminator() (string, error)
func (*ReportResponse_Response) FromExecuteResourceActionResponse ¶
func (t *ReportResponse_Response) FromExecuteResourceActionResponse(v ExecuteResourceActionResponse) error
FromExecuteResourceActionResponse overwrites any union data inside the ReportResponse_Response as the provided ExecuteResourceActionResponse
func (*ReportResponse_Response) FromExecuteResourceOperationResponse ¶
func (t *ReportResponse_Response) FromExecuteResourceOperationResponse(v ExecuteResourceOperationResponse) error
FromExecuteResourceOperationResponse overwrites any union data inside the ReportResponse_Response as the provided ExecuteResourceOperationResponse
func (*ReportResponse_Response) FromListResourcesResponse ¶
func (t *ReportResponse_Response) FromListResourcesResponse(v ListResourcesResponse) error
FromListResourcesResponse overwrites any union data inside the ReportResponse_Response as the provided ListResourcesResponse
func (ReportResponse_Response) MarshalJSON ¶
func (t ReportResponse_Response) MarshalJSON() ([]byte, error)
func (*ReportResponse_Response) MergeExecuteResourceActionResponse ¶
func (t *ReportResponse_Response) MergeExecuteResourceActionResponse(v ExecuteResourceActionResponse) error
MergeExecuteResourceActionResponse performs a merge with any union data inside the ReportResponse_Response, using the provided ExecuteResourceActionResponse
func (*ReportResponse_Response) MergeExecuteResourceOperationResponse ¶
func (t *ReportResponse_Response) MergeExecuteResourceOperationResponse(v ExecuteResourceOperationResponse) error
MergeExecuteResourceOperationResponse performs a merge with any union data inside the ReportResponse_Response, using the provided ExecuteResourceOperationResponse
func (*ReportResponse_Response) MergeListResourcesResponse ¶
func (t *ReportResponse_Response) MergeListResourcesResponse(v ListResourcesResponse) error
MergeListResourcesResponse performs a merge with any union data inside the ReportResponse_Response, using the provided ListResourcesResponse
func (*ReportResponse_Response) UnmarshalJSON ¶
func (t *ReportResponse_Response) UnmarshalJSON(b []byte) error
func (ReportResponse_Response) ValueByDiscriminator ¶
func (t ReportResponse_Response) ValueByDiscriminator() (interface{}, error)
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestObjectById ¶ added in v0.1.4
type RequestObjectById struct {
// Id The unique identifier of the object.
Id string `json:"id"`
}
RequestObjectById defines model for RequestObjectById.
type RequestPaginatedObjects ¶ added in v0.1.4
type RequestPaginatedObjects struct {
// Next Pagination cursor for the next page of results
Next *string `json:"next"`
}
RequestPaginatedObjects defines model for RequestPaginatedObjects.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type Resource ¶
type Resource struct {
// CreatedAt Timestamp when the resource was created.
CreatedAt *time.Time `json:"created_at,omitempty"`
// CreatedBy Identifier of the user who created the resource.
CreatedBy *string `json:"created_by"`
// DeletedAt Timestamp when the resource was deleted, if applicable.
DeletedAt *time.Time `json:"deleted_at"`
// DisplayName The display name of the resource.
DisplayName string `json:"display_name"`
// ExternalId The external identifier of the resource.
ExternalId string `json:"external_id"`
// ExternalUrl External URL where the resource can be accessed.
ExternalUrl *string `json:"external_url,omitempty"`
// Id Internal identifier of the resource.
Id *string `json:"id,omitempty"`
Links *Links `json:"links,omitempty"`
// Name The name of the resource.
Name *string `json:"name"`
// OrganizationId Identifier of the organization that owns the resource.
OrganizationId *string `json:"organization_id,omitempty"`
// Properties Properties of the resource.
Properties *map[string]interface{} `json:"properties"`
// Status Current status of the resource.
Status *string `json:"status,omitempty"`
// SyncedAt Timestamp when the resource was last synced.
SyncedAt *time.Time `json:"synced_at,omitempty"`
// Type The type of the resource.
Type string `json:"type"`
// UpdatedAt Timestamp when the resource was last updated.
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
Resource defines model for Resource.
type ResourceDefinition ¶
type ResourceDefinition struct {
// Actions Actions that can be performed on this resource.
Actions *[]ActionDefinition `json:"actions,omitempty"`
// CreateInputSchema JSON schema that defines the input for the create operation.
CreateInputSchema *map[string]interface{} `json:"create_input_schema,omitempty"`
// CreateSupported Whether the resource supports the create operation.
CreateSupported bool `json:"create_supported"`
// DeleteSupported Whether the resource supports the delete operation.
DeleteSupported bool `json:"delete_supported"`
// Description A description of the resource.
Description string `json:"description"`
// DisplayName The display name of the resource.
DisplayName string `json:"display_name"`
// HealthcheckSupported Whether the resource supports health checks.
HealthcheckSupported bool `json:"healthcheck_supported"`
// InstructionsMarkdown Markdown instructions for the resource.
InstructionsMarkdown *string `json:"instructions_markdown,omitempty"`
// LifecycleStage The lifecycle stage of this resource.
LifecycleStage string `json:"lifecycle_stage"`
Links *Links `json:"links,omitempty"`
// ListSupported Whether the resource supports the list operation.
ListSupported bool `json:"list_supported"`
// PropertyJsonSchema JSON schema defining properties of the resource.
PropertyJsonSchema *map[string]interface{} `json:"property_json_schema,omitempty"`
// ReadSupported Whether the resource supports the read operation.
ReadSupported bool `json:"read_supported"`
// Type The type of the resource.
Type string `json:"type"`
// UpdateInputSchema JSON schema that defines the input for the update operation.
UpdateInputSchema *map[string]interface{} `json:"update_input_schema,omitempty"`
// UpdateSupported Whether the resource supports the update operation.
UpdateSupported bool `json:"update_supported"`
}
ResourceDefinition defines model for ResourceDefinition.
type ServerInterface ¶
type ServerInterface interface {
// Pull app operation
// (POST /apps.operations.next)
PostAppsOperationsNext(w http.ResponseWriter, r *http.Request)
// Report execution result
// (POST /apps.operations.report)
PostAppsOperationsReport(w http.ResponseWriter, r *http.Request)
// Connect app version
// (POST /apps.version.connect)
PostAppsVersionConnect(w http.ResponseWriter, r *http.Request)
// Report health status
// (POST /apps.versions.health)
PostAppsVersionsHealth(w http.ResponseWriter, r *http.Request)
// Get details of a project
// (POST /projects.get)
PostProjectsGet(w http.ResponseWriter, r *http.Request)
// List projects
// (POST /projects.list)
PostProjectsList(w http.ResponseWriter, r *http.Request)
// Get details of a recipe
// (POST /recipes.get)
PostRecipesGet(w http.ResponseWriter, r *http.Request)
// List recipes
// (POST /recipes.list)
PostRecipesList(w http.ResponseWriter, r *http.Request)
// Get details of a resource
// (POST /resources.get)
PostResourcesGet(w http.ResponseWriter, r *http.Request)
// List resources of a specific type
// (POST /resources.list)
PostResourcesList(w http.ResponseWriter, r *http.Request)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) PostAppsOperationsNext ¶
func (siw *ServerInterfaceWrapper) PostAppsOperationsNext(w http.ResponseWriter, r *http.Request)
PostAppsOperationsNext operation middleware
func (*ServerInterfaceWrapper) PostAppsOperationsReport ¶
func (siw *ServerInterfaceWrapper) PostAppsOperationsReport(w http.ResponseWriter, r *http.Request)
PostAppsOperationsReport operation middleware
func (*ServerInterfaceWrapper) PostAppsVersionConnect ¶
func (siw *ServerInterfaceWrapper) PostAppsVersionConnect(w http.ResponseWriter, r *http.Request)
PostAppsVersionConnect operation middleware
func (*ServerInterfaceWrapper) PostAppsVersionsHealth ¶
func (siw *ServerInterfaceWrapper) PostAppsVersionsHealth(w http.ResponseWriter, r *http.Request)
PostAppsVersionsHealth operation middleware
func (*ServerInterfaceWrapper) PostProjectsGet ¶ added in v0.1.4
func (siw *ServerInterfaceWrapper) PostProjectsGet(w http.ResponseWriter, r *http.Request)
PostProjectsGet operation middleware
func (*ServerInterfaceWrapper) PostProjectsList ¶ added in v0.1.4
func (siw *ServerInterfaceWrapper) PostProjectsList(w http.ResponseWriter, r *http.Request)
PostProjectsList operation middleware
func (*ServerInterfaceWrapper) PostRecipesGet ¶ added in v0.1.4
func (siw *ServerInterfaceWrapper) PostRecipesGet(w http.ResponseWriter, r *http.Request)
PostRecipesGet operation middleware
func (*ServerInterfaceWrapper) PostRecipesList ¶ added in v0.1.4
func (siw *ServerInterfaceWrapper) PostRecipesList(w http.ResponseWriter, r *http.Request)
PostRecipesList operation middleware
func (*ServerInterfaceWrapper) PostResourcesGet ¶ added in v0.1.4
func (siw *ServerInterfaceWrapper) PostResourcesGet(w http.ResponseWriter, r *http.Request)
PostResourcesGet operation middleware
func (*ServerInterfaceWrapper) PostResourcesList ¶ added in v0.1.4
func (siw *ServerInterfaceWrapper) PostResourcesList(w http.ResponseWriter, r *http.Request)
PostResourcesList operation middleware
type StandardResponse ¶
type StandardResponse struct {
// Error Error message if the operation fails.
Error *string `json:"error"`
// Message A message providing additional information.
Message *string `json:"message,omitempty"`
Metadata *Metadata `json:"metadata,omitempty"`
// Status Status of the report operation
Status StandardResponseStatus `json:"status"`
}
StandardResponse defines model for StandardResponse.
type StandardResponseStatus ¶
type StandardResponseStatus string
StandardResponseStatus Status of the report operation
const ( Error StandardResponseStatus = "error" Ok StandardResponseStatus = "ok" )
Defines values for StandardResponseStatus.
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc = strictnethttp.StrictHTTPMiddlewareFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// Pull app operation
// (POST /apps.operations.next)
PostAppsOperationsNext(ctx context.Context, request PostAppsOperationsNextRequestObject) (PostAppsOperationsNextResponseObject, error)
// Report execution result
// (POST /apps.operations.report)
PostAppsOperationsReport(ctx context.Context, request PostAppsOperationsReportRequestObject) (PostAppsOperationsReportResponseObject, error)
// Connect app version
// (POST /apps.version.connect)
PostAppsVersionConnect(ctx context.Context, request PostAppsVersionConnectRequestObject) (PostAppsVersionConnectResponseObject, error)
// Report health status
// (POST /apps.versions.health)
PostAppsVersionsHealth(ctx context.Context, request PostAppsVersionsHealthRequestObject) (PostAppsVersionsHealthResponseObject, error)
// Get details of a project
// (POST /projects.get)
PostProjectsGet(ctx context.Context, request PostProjectsGetRequestObject) (PostProjectsGetResponseObject, error)
// List projects
// (POST /projects.list)
PostProjectsList(ctx context.Context, request PostProjectsListRequestObject) (PostProjectsListResponseObject, error)
// Get details of a recipe
// (POST /recipes.get)
PostRecipesGet(ctx context.Context, request PostRecipesGetRequestObject) (PostRecipesGetResponseObject, error)
// List recipes
// (POST /recipes.list)
PostRecipesList(ctx context.Context, request PostRecipesListRequestObject) (PostRecipesListResponseObject, error)
// Get details of a resource
// (POST /resources.get)
PostResourcesGet(ctx context.Context, request PostResourcesGetRequestObject) (PostResourcesGetResponseObject, error)
// List resources of a specific type
// (POST /resources.list)
PostResourcesList(ctx context.Context, request PostResourcesListRequestObject) (PostResourcesListResponseObject, error)
}
StrictServerInterface represents all server handlers.
type TaskMetadata ¶
type TaskMetadata struct {
Author Owner `json:"author"`
// Owners The owners of the task.
Owners []Owner `json:"owners"`
// ProjectId The unique identifier of the project.
ProjectId string `json:"project_id"`
// ProjectName The name of the project.
ProjectName string `json:"project_name"`
}
TaskMetadata defines model for TaskMetadata.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type Unimplemented ¶
type Unimplemented struct{}
func (Unimplemented) PostAppsOperationsNext ¶
func (_ Unimplemented) PostAppsOperationsNext(w http.ResponseWriter, r *http.Request)
Pull app operation (POST /apps.operations.next)
func (Unimplemented) PostAppsOperationsReport ¶
func (_ Unimplemented) PostAppsOperationsReport(w http.ResponseWriter, r *http.Request)
Report execution result (POST /apps.operations.report)
func (Unimplemented) PostAppsVersionConnect ¶
func (_ Unimplemented) PostAppsVersionConnect(w http.ResponseWriter, r *http.Request)
Connect app version (POST /apps.version.connect)
func (Unimplemented) PostAppsVersionsHealth ¶
func (_ Unimplemented) PostAppsVersionsHealth(w http.ResponseWriter, r *http.Request)
Report health status (POST /apps.versions.health)
func (Unimplemented) PostProjectsGet ¶ added in v0.1.4
func (_ Unimplemented) PostProjectsGet(w http.ResponseWriter, r *http.Request)
Get details of a project (POST /projects.get)
func (Unimplemented) PostProjectsList ¶ added in v0.1.4
func (_ Unimplemented) PostProjectsList(w http.ResponseWriter, r *http.Request)
List projects (POST /projects.list)
func (Unimplemented) PostRecipesGet ¶ added in v0.1.4
func (_ Unimplemented) PostRecipesGet(w http.ResponseWriter, r *http.Request)
Get details of a recipe (POST /recipes.get)
func (Unimplemented) PostRecipesList ¶ added in v0.1.4
func (_ Unimplemented) PostRecipesList(w http.ResponseWriter, r *http.Request)
List recipes (POST /recipes.list)
func (Unimplemented) PostResourcesGet ¶ added in v0.1.4
func (_ Unimplemented) PostResourcesGet(w http.ResponseWriter, r *http.Request)
Get details of a resource (POST /resources.get)
func (Unimplemented) PostResourcesList ¶ added in v0.1.4
func (_ Unimplemented) PostResourcesList(w http.ResponseWriter, r *http.Request)
List resources of a specific type (POST /resources.list)
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error