Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ReadRequestBodyBadRequest
- func (o *ReadRequestBodyBadRequest) Code() int
- func (o *ReadRequestBodyBadRequest) Error() string
- func (o *ReadRequestBodyBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *ReadRequestBodyBadRequest) IsClientError() bool
- func (o *ReadRequestBodyBadRequest) IsCode(code int) bool
- func (o *ReadRequestBodyBadRequest) IsRedirect() bool
- func (o *ReadRequestBodyBadRequest) IsServerError() bool
- func (o *ReadRequestBodyBadRequest) IsSuccess() bool
- func (o *ReadRequestBodyBadRequest) String() string
- type ReadRequestBodyForbidden
- func (o *ReadRequestBodyForbidden) Code() int
- func (o *ReadRequestBodyForbidden) Error() string
- func (o *ReadRequestBodyForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *ReadRequestBodyForbidden) IsClientError() bool
- func (o *ReadRequestBodyForbidden) IsCode(code int) bool
- func (o *ReadRequestBodyForbidden) IsRedirect() bool
- func (o *ReadRequestBodyForbidden) IsServerError() bool
- func (o *ReadRequestBodyForbidden) IsSuccess() bool
- func (o *ReadRequestBodyForbidden) String() string
- type ReadRequestBodyInternalServerError
- func (o *ReadRequestBodyInternalServerError) Code() int
- func (o *ReadRequestBodyInternalServerError) Error() string
- func (o *ReadRequestBodyInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *ReadRequestBodyInternalServerError) IsClientError() bool
- func (o *ReadRequestBodyInternalServerError) IsCode(code int) bool
- func (o *ReadRequestBodyInternalServerError) IsRedirect() bool
- func (o *ReadRequestBodyInternalServerError) IsServerError() bool
- func (o *ReadRequestBodyInternalServerError) IsSuccess() bool
- func (o *ReadRequestBodyInternalServerError) String() string
- type ReadRequestBodyOK
- func (o *ReadRequestBodyOK) Code() int
- func (o *ReadRequestBodyOK) Error() string
- func (o *ReadRequestBodyOK) GetPayload() models.MapStringInterface
- func (o *ReadRequestBodyOK) IsClientError() bool
- func (o *ReadRequestBodyOK) IsCode(code int) bool
- func (o *ReadRequestBodyOK) IsRedirect() bool
- func (o *ReadRequestBodyOK) IsServerError() bool
- func (o *ReadRequestBodyOK) IsSuccess() bool
- func (o *ReadRequestBodyOK) String() string
- type ReadRequestBodyParams
- func NewReadRequestBodyParams() *ReadRequestBodyParams
- func NewReadRequestBodyParamsWithContext(ctx context.Context) *ReadRequestBodyParams
- func NewReadRequestBodyParamsWithHTTPClient(client *http.Client) *ReadRequestBodyParams
- func NewReadRequestBodyParamsWithTimeout(timeout time.Duration) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) SetContext(ctx context.Context)
- func (o *ReadRequestBodyParams) SetDefaults()
- func (o *ReadRequestBodyParams) SetFilename(filename string)
- func (o *ReadRequestBodyParams) SetFn(fn string)
- func (o *ReadRequestBodyParams) SetHTTPClient(client *http.Client)
- func (o *ReadRequestBodyParams) SetID(id string)
- func (o *ReadRequestBodyParams) SetSha256(sha256 string)
- func (o *ReadRequestBodyParams) SetTimeout(timeout time.Duration)
- func (o *ReadRequestBodyParams) WithContext(ctx context.Context) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WithDefaults() *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WithFilename(filename string) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WithFn(fn string) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WithHTTPClient(client *http.Client) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WithID(id string) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WithSha256(sha256 string) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WithTimeout(timeout time.Duration) *ReadRequestBodyParams
- func (o *ReadRequestBodyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadRequestBodyReader
- type ReadRequestBodyTooManyRequests
- func (o *ReadRequestBodyTooManyRequests) Code() int
- func (o *ReadRequestBodyTooManyRequests) Error() string
- func (o *ReadRequestBodyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadRequestBodyTooManyRequests) IsClientError() bool
- func (o *ReadRequestBodyTooManyRequests) IsCode(code int) bool
- func (o *ReadRequestBodyTooManyRequests) IsRedirect() bool
- func (o *ReadRequestBodyTooManyRequests) IsServerError() bool
- func (o *ReadRequestBodyTooManyRequests) IsSuccess() bool
- func (o *ReadRequestBodyTooManyRequests) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for execution API
func (*Client) ReadRequestBody ¶
func (a *Client) ReadRequestBody(params *ReadRequestBodyParams, opts ...ClientOption) (*ReadRequestBodyOK, error)
ReadRequestBody retrieves a large request body such as a file that has spilled into object storage
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
ReadRequestBody(params *ReadRequestBodyParams, opts ...ClientOption) (*ReadRequestBodyOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new execution API client.
type ReadRequestBodyBadRequest ¶
type ReadRequestBodyBadRequest struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaspecResponseFields
}
ReadRequestBodyBadRequest describes a response with status code 400, with default header values.
Invalid arguments
func NewReadRequestBodyBadRequest ¶
func NewReadRequestBodyBadRequest() *ReadRequestBodyBadRequest
NewReadRequestBodyBadRequest creates a ReadRequestBodyBadRequest with default headers values
func (*ReadRequestBodyBadRequest) Code ¶
func (o *ReadRequestBodyBadRequest) Code() int
Code gets the status code for the read request body bad request response
func (*ReadRequestBodyBadRequest) Error ¶
func (o *ReadRequestBodyBadRequest) Error() string
func (*ReadRequestBodyBadRequest) GetPayload ¶
func (o *ReadRequestBodyBadRequest) GetPayload() *models.MsaspecResponseFields
func (*ReadRequestBodyBadRequest) IsClientError ¶
func (o *ReadRequestBodyBadRequest) IsClientError() bool
IsClientError returns true when this read request body bad request response has a 4xx status code
func (*ReadRequestBodyBadRequest) IsCode ¶
func (o *ReadRequestBodyBadRequest) IsCode(code int) bool
IsCode returns true when this read request body bad request response a status code equal to that given
func (*ReadRequestBodyBadRequest) IsRedirect ¶
func (o *ReadRequestBodyBadRequest) IsRedirect() bool
IsRedirect returns true when this read request body bad request response has a 3xx status code
func (*ReadRequestBodyBadRequest) IsServerError ¶
func (o *ReadRequestBodyBadRequest) IsServerError() bool
IsServerError returns true when this read request body bad request response has a 5xx status code
func (*ReadRequestBodyBadRequest) IsSuccess ¶
func (o *ReadRequestBodyBadRequest) IsSuccess() bool
IsSuccess returns true when this read request body bad request response has a 2xx status code
func (*ReadRequestBodyBadRequest) String ¶
func (o *ReadRequestBodyBadRequest) String() string
type ReadRequestBodyForbidden ¶
type ReadRequestBodyForbidden struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaspecResponseFields
}
ReadRequestBodyForbidden describes a response with status code 403, with default header values.
Authorization failed
func NewReadRequestBodyForbidden ¶
func NewReadRequestBodyForbidden() *ReadRequestBodyForbidden
NewReadRequestBodyForbidden creates a ReadRequestBodyForbidden with default headers values
func (*ReadRequestBodyForbidden) Code ¶
func (o *ReadRequestBodyForbidden) Code() int
Code gets the status code for the read request body forbidden response
func (*ReadRequestBodyForbidden) Error ¶
func (o *ReadRequestBodyForbidden) Error() string
func (*ReadRequestBodyForbidden) GetPayload ¶
func (o *ReadRequestBodyForbidden) GetPayload() *models.MsaspecResponseFields
func (*ReadRequestBodyForbidden) IsClientError ¶
func (o *ReadRequestBodyForbidden) IsClientError() bool
IsClientError returns true when this read request body forbidden response has a 4xx status code
func (*ReadRequestBodyForbidden) IsCode ¶
func (o *ReadRequestBodyForbidden) IsCode(code int) bool
IsCode returns true when this read request body forbidden response a status code equal to that given
func (*ReadRequestBodyForbidden) IsRedirect ¶
func (o *ReadRequestBodyForbidden) IsRedirect() bool
IsRedirect returns true when this read request body forbidden response has a 3xx status code
func (*ReadRequestBodyForbidden) IsServerError ¶
func (o *ReadRequestBodyForbidden) IsServerError() bool
IsServerError returns true when this read request body forbidden response has a 5xx status code
func (*ReadRequestBodyForbidden) IsSuccess ¶
func (o *ReadRequestBodyForbidden) IsSuccess() bool
IsSuccess returns true when this read request body forbidden response has a 2xx status code
func (*ReadRequestBodyForbidden) String ¶
func (o *ReadRequestBodyForbidden) String() string
type ReadRequestBodyInternalServerError ¶
type ReadRequestBodyInternalServerError struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload *models.MsaspecResponseFields
}
ReadRequestBodyInternalServerError describes a response with status code 500, with default header values.
Unexpected error during request body read
func NewReadRequestBodyInternalServerError ¶
func NewReadRequestBodyInternalServerError() *ReadRequestBodyInternalServerError
NewReadRequestBodyInternalServerError creates a ReadRequestBodyInternalServerError with default headers values
func (*ReadRequestBodyInternalServerError) Code ¶
func (o *ReadRequestBodyInternalServerError) Code() int
Code gets the status code for the read request body internal server error response
func (*ReadRequestBodyInternalServerError) Error ¶
func (o *ReadRequestBodyInternalServerError) Error() string
func (*ReadRequestBodyInternalServerError) GetPayload ¶
func (o *ReadRequestBodyInternalServerError) GetPayload() *models.MsaspecResponseFields
func (*ReadRequestBodyInternalServerError) IsClientError ¶
func (o *ReadRequestBodyInternalServerError) IsClientError() bool
IsClientError returns true when this read request body internal server error response has a 4xx status code
func (*ReadRequestBodyInternalServerError) IsCode ¶
func (o *ReadRequestBodyInternalServerError) IsCode(code int) bool
IsCode returns true when this read request body internal server error response a status code equal to that given
func (*ReadRequestBodyInternalServerError) IsRedirect ¶
func (o *ReadRequestBodyInternalServerError) IsRedirect() bool
IsRedirect returns true when this read request body internal server error response has a 3xx status code
func (*ReadRequestBodyInternalServerError) IsServerError ¶
func (o *ReadRequestBodyInternalServerError) IsServerError() bool
IsServerError returns true when this read request body internal server error response has a 5xx status code
func (*ReadRequestBodyInternalServerError) IsSuccess ¶
func (o *ReadRequestBodyInternalServerError) IsSuccess() bool
IsSuccess returns true when this read request body internal server error response has a 2xx status code
func (*ReadRequestBodyInternalServerError) String ¶
func (o *ReadRequestBodyInternalServerError) String() string
type ReadRequestBodyOK ¶
type ReadRequestBodyOK struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
Payload models.MapStringInterface
}
ReadRequestBodyOK describes a response with status code 200, with default header values.
request body retrieved successfully
func NewReadRequestBodyOK ¶
func NewReadRequestBodyOK() *ReadRequestBodyOK
NewReadRequestBodyOK creates a ReadRequestBodyOK with default headers values
func (*ReadRequestBodyOK) Code ¶
func (o *ReadRequestBodyOK) Code() int
Code gets the status code for the read request body o k response
func (*ReadRequestBodyOK) Error ¶
func (o *ReadRequestBodyOK) Error() string
func (*ReadRequestBodyOK) GetPayload ¶
func (o *ReadRequestBodyOK) GetPayload() models.MapStringInterface
func (*ReadRequestBodyOK) IsClientError ¶
func (o *ReadRequestBodyOK) IsClientError() bool
IsClientError returns true when this read request body o k response has a 4xx status code
func (*ReadRequestBodyOK) IsCode ¶
func (o *ReadRequestBodyOK) IsCode(code int) bool
IsCode returns true when this read request body o k response a status code equal to that given
func (*ReadRequestBodyOK) IsRedirect ¶
func (o *ReadRequestBodyOK) IsRedirect() bool
IsRedirect returns true when this read request body o k response has a 3xx status code
func (*ReadRequestBodyOK) IsServerError ¶
func (o *ReadRequestBodyOK) IsServerError() bool
IsServerError returns true when this read request body o k response has a 5xx status code
func (*ReadRequestBodyOK) IsSuccess ¶
func (o *ReadRequestBodyOK) IsSuccess() bool
IsSuccess returns true when this read request body o k response has a 2xx status code
func (*ReadRequestBodyOK) String ¶
func (o *ReadRequestBodyOK) String() string
type ReadRequestBodyParams ¶
type ReadRequestBodyParams struct {
/* Filename.
filename to be retrieved
*/
Filename string
/* Fn.
function ref; form of $fn_id:$fn_version
*/
Fn string
/* ID.
Execution ID
*/
ID string
/* Sha256.
sha256 checksum for file to be retrieved
*/
Sha256 string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ReadRequestBodyParams contains all the parameters to send to the API endpoint
for the read request body operation. Typically these are written to a http.Request.
func NewReadRequestBodyParams ¶
func NewReadRequestBodyParams() *ReadRequestBodyParams
NewReadRequestBodyParams creates a new ReadRequestBodyParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReadRequestBodyParamsWithContext ¶
func NewReadRequestBodyParamsWithContext(ctx context.Context) *ReadRequestBodyParams
NewReadRequestBodyParamsWithContext creates a new ReadRequestBodyParams object with the ability to set a context for a request.
func NewReadRequestBodyParamsWithHTTPClient ¶
func NewReadRequestBodyParamsWithHTTPClient(client *http.Client) *ReadRequestBodyParams
NewReadRequestBodyParamsWithHTTPClient creates a new ReadRequestBodyParams object with the ability to set a custom HTTPClient for a request.
func NewReadRequestBodyParamsWithTimeout ¶
func NewReadRequestBodyParamsWithTimeout(timeout time.Duration) *ReadRequestBodyParams
NewReadRequestBodyParamsWithTimeout creates a new ReadRequestBodyParams object with the ability to set a timeout on a request.
func (*ReadRequestBodyParams) SetContext ¶
func (o *ReadRequestBodyParams) SetContext(ctx context.Context)
SetContext adds the context to the read request body params
func (*ReadRequestBodyParams) SetDefaults ¶
func (o *ReadRequestBodyParams) SetDefaults()
SetDefaults hydrates default values in the read request body params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRequestBodyParams) SetFilename ¶
func (o *ReadRequestBodyParams) SetFilename(filename string)
SetFilename adds the filename to the read request body params
func (*ReadRequestBodyParams) SetFn ¶
func (o *ReadRequestBodyParams) SetFn(fn string)
SetFn adds the fn to the read request body params
func (*ReadRequestBodyParams) SetHTTPClient ¶
func (o *ReadRequestBodyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read request body params
func (*ReadRequestBodyParams) SetID ¶
func (o *ReadRequestBodyParams) SetID(id string)
SetID adds the id to the read request body params
func (*ReadRequestBodyParams) SetSha256 ¶
func (o *ReadRequestBodyParams) SetSha256(sha256 string)
SetSha256 adds the sha256 to the read request body params
func (*ReadRequestBodyParams) SetTimeout ¶
func (o *ReadRequestBodyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read request body params
func (*ReadRequestBodyParams) WithContext ¶
func (o *ReadRequestBodyParams) WithContext(ctx context.Context) *ReadRequestBodyParams
WithContext adds the context to the read request body params
func (*ReadRequestBodyParams) WithDefaults ¶
func (o *ReadRequestBodyParams) WithDefaults() *ReadRequestBodyParams
WithDefaults hydrates default values in the read request body params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRequestBodyParams) WithFilename ¶
func (o *ReadRequestBodyParams) WithFilename(filename string) *ReadRequestBodyParams
WithFilename adds the filename to the read request body params
func (*ReadRequestBodyParams) WithFn ¶
func (o *ReadRequestBodyParams) WithFn(fn string) *ReadRequestBodyParams
WithFn adds the fn to the read request body params
func (*ReadRequestBodyParams) WithHTTPClient ¶
func (o *ReadRequestBodyParams) WithHTTPClient(client *http.Client) *ReadRequestBodyParams
WithHTTPClient adds the HTTPClient to the read request body params
func (*ReadRequestBodyParams) WithID ¶
func (o *ReadRequestBodyParams) WithID(id string) *ReadRequestBodyParams
WithID adds the id to the read request body params
func (*ReadRequestBodyParams) WithSha256 ¶
func (o *ReadRequestBodyParams) WithSha256(sha256 string) *ReadRequestBodyParams
WithSha256 adds the sha256 to the read request body params
func (*ReadRequestBodyParams) WithTimeout ¶
func (o *ReadRequestBodyParams) WithTimeout(timeout time.Duration) *ReadRequestBodyParams
WithTimeout adds the timeout to the read request body params
func (*ReadRequestBodyParams) WriteToRequest ¶
func (o *ReadRequestBodyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadRequestBodyReader ¶
type ReadRequestBodyReader struct {
// contains filtered or unexported fields
}
ReadRequestBodyReader is a Reader for the ReadRequestBody structure.
func (*ReadRequestBodyReader) ReadResponse ¶
func (o *ReadRequestBodyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadRequestBodyTooManyRequests ¶
type ReadRequestBodyTooManyRequests struct {
/* Trace-ID: submit to support if resolving an issue
*/
XCSTRACEID string
/* Request limit per minute.
*/
XRateLimitLimit int64
/* The number of requests remaining for the sliding one minute window.
*/
XRateLimitRemaining int64
/* Too many requests, retry after this time (as milliseconds since epoch)
*/
XRateLimitRetryAfter int64
Payload *models.MsaReplyMetaOnly
}
ReadRequestBodyTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewReadRequestBodyTooManyRequests ¶
func NewReadRequestBodyTooManyRequests() *ReadRequestBodyTooManyRequests
NewReadRequestBodyTooManyRequests creates a ReadRequestBodyTooManyRequests with default headers values
func (*ReadRequestBodyTooManyRequests) Code ¶
func (o *ReadRequestBodyTooManyRequests) Code() int
Code gets the status code for the read request body too many requests response
func (*ReadRequestBodyTooManyRequests) Error ¶
func (o *ReadRequestBodyTooManyRequests) Error() string
func (*ReadRequestBodyTooManyRequests) GetPayload ¶
func (o *ReadRequestBodyTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadRequestBodyTooManyRequests) IsClientError ¶
func (o *ReadRequestBodyTooManyRequests) IsClientError() bool
IsClientError returns true when this read request body too many requests response has a 4xx status code
func (*ReadRequestBodyTooManyRequests) IsCode ¶
func (o *ReadRequestBodyTooManyRequests) IsCode(code int) bool
IsCode returns true when this read request body too many requests response a status code equal to that given
func (*ReadRequestBodyTooManyRequests) IsRedirect ¶
func (o *ReadRequestBodyTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read request body too many requests response has a 3xx status code
func (*ReadRequestBodyTooManyRequests) IsServerError ¶
func (o *ReadRequestBodyTooManyRequests) IsServerError() bool
IsServerError returns true when this read request body too many requests response has a 5xx status code
func (*ReadRequestBodyTooManyRequests) IsSuccess ¶
func (o *ReadRequestBodyTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read request body too many requests response has a 2xx status code
func (*ReadRequestBodyTooManyRequests) String ¶
func (o *ReadRequestBodyTooManyRequests) String() string