Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptTextEventStream(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetRunStream(params *GetRunStreamParams, opts ...ClientOption) (*GetRunStreamOK, error)
- func (a *Client) PostRun(params *PostRunParams, opts ...ClientOption) (*PostRunOK, error)
- func (a *Client) PostRunAsync(params *PostRunAsyncParams, opts ...ClientOption) (*PostRunAsyncAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetRunStreamBadRequest
- func (o *GetRunStreamBadRequest) Code() int
- func (o *GetRunStreamBadRequest) Error() string
- func (o *GetRunStreamBadRequest) GetPayload() string
- func (o *GetRunStreamBadRequest) IsClientError() bool
- func (o *GetRunStreamBadRequest) IsCode(code int) bool
- func (o *GetRunStreamBadRequest) IsRedirect() bool
- func (o *GetRunStreamBadRequest) IsServerError() bool
- func (o *GetRunStreamBadRequest) IsSuccess() bool
- func (o *GetRunStreamBadRequest) String() string
- type GetRunStreamOK
- func (o *GetRunStreamOK) Code() int
- func (o *GetRunStreamOK) Error() string
- func (o *GetRunStreamOK) GetPayload() string
- func (o *GetRunStreamOK) IsClientError() bool
- func (o *GetRunStreamOK) IsCode(code int) bool
- func (o *GetRunStreamOK) IsRedirect() bool
- func (o *GetRunStreamOK) IsServerError() bool
- func (o *GetRunStreamOK) IsSuccess() bool
- func (o *GetRunStreamOK) String() string
- type GetRunStreamParams
- func (o *GetRunStreamParams) SetContext(ctx context.Context)
- func (o *GetRunStreamParams) SetDefaults()
- func (o *GetRunStreamParams) SetHTTPClient(client *http.Client)
- func (o *GetRunStreamParams) SetPrompt(prompt string)
- func (o *GetRunStreamParams) SetSessionID(sessionID *string)
- func (o *GetRunStreamParams) SetTimeout(timeout time.Duration)
- func (o *GetRunStreamParams) SetWorkdir(workdir *string)
- func (o *GetRunStreamParams) WithContext(ctx context.Context) *GetRunStreamParams
- func (o *GetRunStreamParams) WithDefaults() *GetRunStreamParams
- func (o *GetRunStreamParams) WithHTTPClient(client *http.Client) *GetRunStreamParams
- func (o *GetRunStreamParams) WithPrompt(prompt string) *GetRunStreamParams
- func (o *GetRunStreamParams) WithSessionID(sessionID *string) *GetRunStreamParams
- func (o *GetRunStreamParams) WithTimeout(timeout time.Duration) *GetRunStreamParams
- func (o *GetRunStreamParams) WithWorkdir(workdir *string) *GetRunStreamParams
- func (o *GetRunStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRunStreamReader
- type GetRunStreamServiceUnavailable
- func (o *GetRunStreamServiceUnavailable) Code() int
- func (o *GetRunStreamServiceUnavailable) Error() string
- func (o *GetRunStreamServiceUnavailable) GetPayload() string
- func (o *GetRunStreamServiceUnavailable) IsClientError() bool
- func (o *GetRunStreamServiceUnavailable) IsCode(code int) bool
- func (o *GetRunStreamServiceUnavailable) IsRedirect() bool
- func (o *GetRunStreamServiceUnavailable) IsServerError() bool
- func (o *GetRunStreamServiceUnavailable) IsSuccess() bool
- func (o *GetRunStreamServiceUnavailable) String() string
- type PostRunAsyncAccepted
- func (o *PostRunAsyncAccepted) Code() int
- func (o *PostRunAsyncAccepted) Error() string
- func (o *PostRunAsyncAccepted) GetPayload() *models.AsyncRunResponse
- func (o *PostRunAsyncAccepted) IsClientError() bool
- func (o *PostRunAsyncAccepted) IsCode(code int) bool
- func (o *PostRunAsyncAccepted) IsRedirect() bool
- func (o *PostRunAsyncAccepted) IsServerError() bool
- func (o *PostRunAsyncAccepted) IsSuccess() bool
- func (o *PostRunAsyncAccepted) String() string
- type PostRunAsyncBadRequest
- func (o *PostRunAsyncBadRequest) Code() int
- func (o *PostRunAsyncBadRequest) Error() string
- func (o *PostRunAsyncBadRequest) GetPayload() *models.RunResponse
- func (o *PostRunAsyncBadRequest) IsClientError() bool
- func (o *PostRunAsyncBadRequest) IsCode(code int) bool
- func (o *PostRunAsyncBadRequest) IsRedirect() bool
- func (o *PostRunAsyncBadRequest) IsServerError() bool
- func (o *PostRunAsyncBadRequest) IsSuccess() bool
- func (o *PostRunAsyncBadRequest) String() string
- type PostRunAsyncParams
- func (o *PostRunAsyncParams) SetContext(ctx context.Context)
- func (o *PostRunAsyncParams) SetDefaults()
- func (o *PostRunAsyncParams) SetHTTPClient(client *http.Client)
- func (o *PostRunAsyncParams) SetRequest(request *models.RunRequest)
- func (o *PostRunAsyncParams) SetTimeout(timeout time.Duration)
- func (o *PostRunAsyncParams) WithContext(ctx context.Context) *PostRunAsyncParams
- func (o *PostRunAsyncParams) WithDefaults() *PostRunAsyncParams
- func (o *PostRunAsyncParams) WithHTTPClient(client *http.Client) *PostRunAsyncParams
- func (o *PostRunAsyncParams) WithRequest(request *models.RunRequest) *PostRunAsyncParams
- func (o *PostRunAsyncParams) WithTimeout(timeout time.Duration) *PostRunAsyncParams
- func (o *PostRunAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRunAsyncReader
- type PostRunAsyncServiceUnavailable
- func (o *PostRunAsyncServiceUnavailable) Code() int
- func (o *PostRunAsyncServiceUnavailable) Error() string
- func (o *PostRunAsyncServiceUnavailable) GetPayload() *models.RunResponse
- func (o *PostRunAsyncServiceUnavailable) IsClientError() bool
- func (o *PostRunAsyncServiceUnavailable) IsCode(code int) bool
- func (o *PostRunAsyncServiceUnavailable) IsRedirect() bool
- func (o *PostRunAsyncServiceUnavailable) IsServerError() bool
- func (o *PostRunAsyncServiceUnavailable) IsSuccess() bool
- func (o *PostRunAsyncServiceUnavailable) String() string
- type PostRunBadRequest
- func (o *PostRunBadRequest) Code() int
- func (o *PostRunBadRequest) Error() string
- func (o *PostRunBadRequest) GetPayload() *models.RunResponse
- func (o *PostRunBadRequest) IsClientError() bool
- func (o *PostRunBadRequest) IsCode(code int) bool
- func (o *PostRunBadRequest) IsRedirect() bool
- func (o *PostRunBadRequest) IsServerError() bool
- func (o *PostRunBadRequest) IsSuccess() bool
- func (o *PostRunBadRequest) String() string
- type PostRunInternalServerError
- func (o *PostRunInternalServerError) Code() int
- func (o *PostRunInternalServerError) Error() string
- func (o *PostRunInternalServerError) GetPayload() *models.RunResponse
- func (o *PostRunInternalServerError) IsClientError() bool
- func (o *PostRunInternalServerError) IsCode(code int) bool
- func (o *PostRunInternalServerError) IsRedirect() bool
- func (o *PostRunInternalServerError) IsServerError() bool
- func (o *PostRunInternalServerError) IsSuccess() bool
- func (o *PostRunInternalServerError) String() string
- type PostRunOK
- func (o *PostRunOK) Code() int
- func (o *PostRunOK) Error() string
- func (o *PostRunOK) GetPayload() *models.RunResponse
- func (o *PostRunOK) IsClientError() bool
- func (o *PostRunOK) IsCode(code int) bool
- func (o *PostRunOK) IsRedirect() bool
- func (o *PostRunOK) IsServerError() bool
- func (o *PostRunOK) IsSuccess() bool
- func (o *PostRunOK) String() string
- type PostRunParams
- func (o *PostRunParams) SetContext(ctx context.Context)
- func (o *PostRunParams) SetDefaults()
- func (o *PostRunParams) SetHTTPClient(client *http.Client)
- func (o *PostRunParams) SetRequest(request *models.RunRequest)
- func (o *PostRunParams) SetTimeout(timeout time.Duration)
- func (o *PostRunParams) WithContext(ctx context.Context) *PostRunParams
- func (o *PostRunParams) WithDefaults() *PostRunParams
- func (o *PostRunParams) WithHTTPClient(client *http.Client) *PostRunParams
- func (o *PostRunParams) WithRequest(request *models.RunRequest) *PostRunParams
- func (o *PostRunParams) WithTimeout(timeout time.Duration) *PostRunParams
- func (o *PostRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRunReader
- type PostRunServiceUnavailable
- func (o *PostRunServiceUnavailable) Code() int
- func (o *PostRunServiceUnavailable) Error() string
- func (o *PostRunServiceUnavailable) GetPayload() *models.RunResponse
- func (o *PostRunServiceUnavailable) IsClientError() bool
- func (o *PostRunServiceUnavailable) IsCode(code int) bool
- func (o *PostRunServiceUnavailable) IsRedirect() bool
- func (o *PostRunServiceUnavailable) IsServerError() bool
- func (o *PostRunServiceUnavailable) IsSuccess() bool
- func (o *PostRunServiceUnavailable) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptTextEventStream ¶
func WithAcceptTextEventStream(r *runtime.ClientOperation)
WithAcceptTextEventStream sets the Accept header to "text/event-stream".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for execution API
func (*Client) GetRunStream ¶
func (a *Client) GetRunStream(params *GetRunStreamParams, opts ...ClientOption) (*GetRunStreamOK, error)
GetRunStream streams claude output
Executes Claude and streams output in real-time using SSE
func (*Client) PostRun ¶
func (a *Client) PostRun(params *PostRunParams, opts ...ClientOption) (*PostRunOK, error)
PostRun runs claude
Executes Claude Code in an isolated Podman container
func (*Client) PostRunAsync ¶
func (a *Client) PostRunAsync(params *PostRunAsyncParams, opts ...ClientOption) (*PostRunAsyncAccepted, error)
PostRunAsync runs claude async
Starts Claude Code execution asynchronously and returns a job ID
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 may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
GetRunStream(params *GetRunStreamParams, opts ...ClientOption) (*GetRunStreamOK, error)
PostRun(params *PostRunParams, opts ...ClientOption) (*PostRunOK, error)
PostRunAsync(params *PostRunAsyncParams, opts ...ClientOption) (*PostRunAsyncAccepted, 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.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new execution API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new execution API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetRunStreamBadRequest ¶
type GetRunStreamBadRequest struct {
Payload string
}
GetRunStreamBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewGetRunStreamBadRequest ¶
func NewGetRunStreamBadRequest() *GetRunStreamBadRequest
NewGetRunStreamBadRequest creates a GetRunStreamBadRequest with default headers values
func (*GetRunStreamBadRequest) Code ¶
func (o *GetRunStreamBadRequest) Code() int
Code gets the status code for the get run stream bad request response
func (*GetRunStreamBadRequest) Error ¶
func (o *GetRunStreamBadRequest) Error() string
func (*GetRunStreamBadRequest) GetPayload ¶
func (o *GetRunStreamBadRequest) GetPayload() string
func (*GetRunStreamBadRequest) IsClientError ¶
func (o *GetRunStreamBadRequest) IsClientError() bool
IsClientError returns true when this get run stream bad request response has a 4xx status code
func (*GetRunStreamBadRequest) IsCode ¶
func (o *GetRunStreamBadRequest) IsCode(code int) bool
IsCode returns true when this get run stream bad request response a status code equal to that given
func (*GetRunStreamBadRequest) IsRedirect ¶
func (o *GetRunStreamBadRequest) IsRedirect() bool
IsRedirect returns true when this get run stream bad request response has a 3xx status code
func (*GetRunStreamBadRequest) IsServerError ¶
func (o *GetRunStreamBadRequest) IsServerError() bool
IsServerError returns true when this get run stream bad request response has a 5xx status code
func (*GetRunStreamBadRequest) IsSuccess ¶
func (o *GetRunStreamBadRequest) IsSuccess() bool
IsSuccess returns true when this get run stream bad request response has a 2xx status code
func (*GetRunStreamBadRequest) String ¶
func (o *GetRunStreamBadRequest) String() string
type GetRunStreamOK ¶
type GetRunStreamOK struct {
Payload string
}
GetRunStreamOK describes a response with status code 200, with default header values.
Event stream of output lines
func NewGetRunStreamOK ¶
func NewGetRunStreamOK() *GetRunStreamOK
NewGetRunStreamOK creates a GetRunStreamOK with default headers values
func (*GetRunStreamOK) Code ¶
func (o *GetRunStreamOK) Code() int
Code gets the status code for the get run stream o k response
func (*GetRunStreamOK) Error ¶
func (o *GetRunStreamOK) Error() string
func (*GetRunStreamOK) GetPayload ¶
func (o *GetRunStreamOK) GetPayload() string
func (*GetRunStreamOK) IsClientError ¶
func (o *GetRunStreamOK) IsClientError() bool
IsClientError returns true when this get run stream o k response has a 4xx status code
func (*GetRunStreamOK) IsCode ¶
func (o *GetRunStreamOK) IsCode(code int) bool
IsCode returns true when this get run stream o k response a status code equal to that given
func (*GetRunStreamOK) IsRedirect ¶
func (o *GetRunStreamOK) IsRedirect() bool
IsRedirect returns true when this get run stream o k response has a 3xx status code
func (*GetRunStreamOK) IsServerError ¶
func (o *GetRunStreamOK) IsServerError() bool
IsServerError returns true when this get run stream o k response has a 5xx status code
func (*GetRunStreamOK) IsSuccess ¶
func (o *GetRunStreamOK) IsSuccess() bool
IsSuccess returns true when this get run stream o k response has a 2xx status code
func (*GetRunStreamOK) String ¶
func (o *GetRunStreamOK) String() string
type GetRunStreamParams ¶
type GetRunStreamParams struct {
/* Prompt.
The prompt to send to Claude
*/
Prompt string
/* SessionID.
Session ID for conversation continuation
*/
SessionID *string
/* Workdir.
Working directory inside container
*/
Workdir *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRunStreamParams contains all the parameters to send to the API endpoint
for the get run stream operation. Typically these are written to a http.Request.
func NewGetRunStreamParams ¶
func NewGetRunStreamParams() *GetRunStreamParams
NewGetRunStreamParams creates a new GetRunStreamParams 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 NewGetRunStreamParamsWithContext ¶
func NewGetRunStreamParamsWithContext(ctx context.Context) *GetRunStreamParams
NewGetRunStreamParamsWithContext creates a new GetRunStreamParams object with the ability to set a context for a request.
func NewGetRunStreamParamsWithHTTPClient ¶
func NewGetRunStreamParamsWithHTTPClient(client *http.Client) *GetRunStreamParams
NewGetRunStreamParamsWithHTTPClient creates a new GetRunStreamParams object with the ability to set a custom HTTPClient for a request.
func NewGetRunStreamParamsWithTimeout ¶
func NewGetRunStreamParamsWithTimeout(timeout time.Duration) *GetRunStreamParams
NewGetRunStreamParamsWithTimeout creates a new GetRunStreamParams object with the ability to set a timeout on a request.
func (*GetRunStreamParams) SetContext ¶
func (o *GetRunStreamParams) SetContext(ctx context.Context)
SetContext adds the context to the get run stream params
func (*GetRunStreamParams) SetDefaults ¶
func (o *GetRunStreamParams) SetDefaults()
SetDefaults hydrates default values in the get run stream params (not the query body).
All values with no default are reset to their zero value.
func (*GetRunStreamParams) SetHTTPClient ¶
func (o *GetRunStreamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get run stream params
func (*GetRunStreamParams) SetPrompt ¶
func (o *GetRunStreamParams) SetPrompt(prompt string)
SetPrompt adds the prompt to the get run stream params
func (*GetRunStreamParams) SetSessionID ¶
func (o *GetRunStreamParams) SetSessionID(sessionID *string)
SetSessionID adds the sessionId to the get run stream params
func (*GetRunStreamParams) SetTimeout ¶
func (o *GetRunStreamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get run stream params
func (*GetRunStreamParams) SetWorkdir ¶
func (o *GetRunStreamParams) SetWorkdir(workdir *string)
SetWorkdir adds the workdir to the get run stream params
func (*GetRunStreamParams) WithContext ¶
func (o *GetRunStreamParams) WithContext(ctx context.Context) *GetRunStreamParams
WithContext adds the context to the get run stream params
func (*GetRunStreamParams) WithDefaults ¶
func (o *GetRunStreamParams) WithDefaults() *GetRunStreamParams
WithDefaults hydrates default values in the get run stream params (not the query body).
All values with no default are reset to their zero value.
func (*GetRunStreamParams) WithHTTPClient ¶
func (o *GetRunStreamParams) WithHTTPClient(client *http.Client) *GetRunStreamParams
WithHTTPClient adds the HTTPClient to the get run stream params
func (*GetRunStreamParams) WithPrompt ¶
func (o *GetRunStreamParams) WithPrompt(prompt string) *GetRunStreamParams
WithPrompt adds the prompt to the get run stream params
func (*GetRunStreamParams) WithSessionID ¶
func (o *GetRunStreamParams) WithSessionID(sessionID *string) *GetRunStreamParams
WithSessionID adds the sessionID to the get run stream params
func (*GetRunStreamParams) WithTimeout ¶
func (o *GetRunStreamParams) WithTimeout(timeout time.Duration) *GetRunStreamParams
WithTimeout adds the timeout to the get run stream params
func (*GetRunStreamParams) WithWorkdir ¶
func (o *GetRunStreamParams) WithWorkdir(workdir *string) *GetRunStreamParams
WithWorkdir adds the workdir to the get run stream params
func (*GetRunStreamParams) WriteToRequest ¶
func (o *GetRunStreamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRunStreamReader ¶
type GetRunStreamReader struct {
// contains filtered or unexported fields
}
GetRunStreamReader is a Reader for the GetRunStream structure.
func (*GetRunStreamReader) ReadResponse ¶
func (o *GetRunStreamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRunStreamServiceUnavailable ¶
type GetRunStreamServiceUnavailable struct {
}
GetRunStreamServiceUnavailable describes a response with status code 503, with default header values.
Claude not configured
func NewGetRunStreamServiceUnavailable ¶
func NewGetRunStreamServiceUnavailable() *GetRunStreamServiceUnavailable
NewGetRunStreamServiceUnavailable creates a GetRunStreamServiceUnavailable with default headers values
func (*GetRunStreamServiceUnavailable) Code ¶
func (o *GetRunStreamServiceUnavailable) Code() int
Code gets the status code for the get run stream service unavailable response
func (*GetRunStreamServiceUnavailable) Error ¶
func (o *GetRunStreamServiceUnavailable) Error() string
func (*GetRunStreamServiceUnavailable) GetPayload ¶
func (o *GetRunStreamServiceUnavailable) GetPayload() string
func (*GetRunStreamServiceUnavailable) IsClientError ¶
func (o *GetRunStreamServiceUnavailable) IsClientError() bool
IsClientError returns true when this get run stream service unavailable response has a 4xx status code
func (*GetRunStreamServiceUnavailable) IsCode ¶
func (o *GetRunStreamServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get run stream service unavailable response a status code equal to that given
func (*GetRunStreamServiceUnavailable) IsRedirect ¶
func (o *GetRunStreamServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get run stream service unavailable response has a 3xx status code
func (*GetRunStreamServiceUnavailable) IsServerError ¶
func (o *GetRunStreamServiceUnavailable) IsServerError() bool
IsServerError returns true when this get run stream service unavailable response has a 5xx status code
func (*GetRunStreamServiceUnavailable) IsSuccess ¶
func (o *GetRunStreamServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get run stream service unavailable response has a 2xx status code
func (*GetRunStreamServiceUnavailable) String ¶
func (o *GetRunStreamServiceUnavailable) String() string
type PostRunAsyncAccepted ¶
type PostRunAsyncAccepted struct {
Payload *models.AsyncRunResponse
}
PostRunAsyncAccepted describes a response with status code 202, with default header values.
Accepted
func NewPostRunAsyncAccepted ¶
func NewPostRunAsyncAccepted() *PostRunAsyncAccepted
NewPostRunAsyncAccepted creates a PostRunAsyncAccepted with default headers values
func (*PostRunAsyncAccepted) Code ¶
func (o *PostRunAsyncAccepted) Code() int
Code gets the status code for the post run async accepted response
func (*PostRunAsyncAccepted) Error ¶
func (o *PostRunAsyncAccepted) Error() string
func (*PostRunAsyncAccepted) GetPayload ¶
func (o *PostRunAsyncAccepted) GetPayload() *models.AsyncRunResponse
func (*PostRunAsyncAccepted) IsClientError ¶
func (o *PostRunAsyncAccepted) IsClientError() bool
IsClientError returns true when this post run async accepted response has a 4xx status code
func (*PostRunAsyncAccepted) IsCode ¶
func (o *PostRunAsyncAccepted) IsCode(code int) bool
IsCode returns true when this post run async accepted response a status code equal to that given
func (*PostRunAsyncAccepted) IsRedirect ¶
func (o *PostRunAsyncAccepted) IsRedirect() bool
IsRedirect returns true when this post run async accepted response has a 3xx status code
func (*PostRunAsyncAccepted) IsServerError ¶
func (o *PostRunAsyncAccepted) IsServerError() bool
IsServerError returns true when this post run async accepted response has a 5xx status code
func (*PostRunAsyncAccepted) IsSuccess ¶
func (o *PostRunAsyncAccepted) IsSuccess() bool
IsSuccess returns true when this post run async accepted response has a 2xx status code
func (*PostRunAsyncAccepted) String ¶
func (o *PostRunAsyncAccepted) String() string
type PostRunAsyncBadRequest ¶
type PostRunAsyncBadRequest struct {
Payload *models.RunResponse
}
PostRunAsyncBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewPostRunAsyncBadRequest ¶
func NewPostRunAsyncBadRequest() *PostRunAsyncBadRequest
NewPostRunAsyncBadRequest creates a PostRunAsyncBadRequest with default headers values
func (*PostRunAsyncBadRequest) Code ¶
func (o *PostRunAsyncBadRequest) Code() int
Code gets the status code for the post run async bad request response
func (*PostRunAsyncBadRequest) Error ¶
func (o *PostRunAsyncBadRequest) Error() string
func (*PostRunAsyncBadRequest) GetPayload ¶
func (o *PostRunAsyncBadRequest) GetPayload() *models.RunResponse
func (*PostRunAsyncBadRequest) IsClientError ¶
func (o *PostRunAsyncBadRequest) IsClientError() bool
IsClientError returns true when this post run async bad request response has a 4xx status code
func (*PostRunAsyncBadRequest) IsCode ¶
func (o *PostRunAsyncBadRequest) IsCode(code int) bool
IsCode returns true when this post run async bad request response a status code equal to that given
func (*PostRunAsyncBadRequest) IsRedirect ¶
func (o *PostRunAsyncBadRequest) IsRedirect() bool
IsRedirect returns true when this post run async bad request response has a 3xx status code
func (*PostRunAsyncBadRequest) IsServerError ¶
func (o *PostRunAsyncBadRequest) IsServerError() bool
IsServerError returns true when this post run async bad request response has a 5xx status code
func (*PostRunAsyncBadRequest) IsSuccess ¶
func (o *PostRunAsyncBadRequest) IsSuccess() bool
IsSuccess returns true when this post run async bad request response has a 2xx status code
func (*PostRunAsyncBadRequest) String ¶
func (o *PostRunAsyncBadRequest) String() string
type PostRunAsyncParams ¶
type PostRunAsyncParams struct {
/* Request.
Run request
*/
Request *models.RunRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostRunAsyncParams contains all the parameters to send to the API endpoint
for the post run async operation. Typically these are written to a http.Request.
func NewPostRunAsyncParams ¶
func NewPostRunAsyncParams() *PostRunAsyncParams
NewPostRunAsyncParams creates a new PostRunAsyncParams 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 NewPostRunAsyncParamsWithContext ¶
func NewPostRunAsyncParamsWithContext(ctx context.Context) *PostRunAsyncParams
NewPostRunAsyncParamsWithContext creates a new PostRunAsyncParams object with the ability to set a context for a request.
func NewPostRunAsyncParamsWithHTTPClient ¶
func NewPostRunAsyncParamsWithHTTPClient(client *http.Client) *PostRunAsyncParams
NewPostRunAsyncParamsWithHTTPClient creates a new PostRunAsyncParams object with the ability to set a custom HTTPClient for a request.
func NewPostRunAsyncParamsWithTimeout ¶
func NewPostRunAsyncParamsWithTimeout(timeout time.Duration) *PostRunAsyncParams
NewPostRunAsyncParamsWithTimeout creates a new PostRunAsyncParams object with the ability to set a timeout on a request.
func (*PostRunAsyncParams) SetContext ¶
func (o *PostRunAsyncParams) SetContext(ctx context.Context)
SetContext adds the context to the post run async params
func (*PostRunAsyncParams) SetDefaults ¶
func (o *PostRunAsyncParams) SetDefaults()
SetDefaults hydrates default values in the post run async params (not the query body).
All values with no default are reset to their zero value.
func (*PostRunAsyncParams) SetHTTPClient ¶
func (o *PostRunAsyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post run async params
func (*PostRunAsyncParams) SetRequest ¶
func (o *PostRunAsyncParams) SetRequest(request *models.RunRequest)
SetRequest adds the request to the post run async params
func (*PostRunAsyncParams) SetTimeout ¶
func (o *PostRunAsyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post run async params
func (*PostRunAsyncParams) WithContext ¶
func (o *PostRunAsyncParams) WithContext(ctx context.Context) *PostRunAsyncParams
WithContext adds the context to the post run async params
func (*PostRunAsyncParams) WithDefaults ¶
func (o *PostRunAsyncParams) WithDefaults() *PostRunAsyncParams
WithDefaults hydrates default values in the post run async params (not the query body).
All values with no default are reset to their zero value.
func (*PostRunAsyncParams) WithHTTPClient ¶
func (o *PostRunAsyncParams) WithHTTPClient(client *http.Client) *PostRunAsyncParams
WithHTTPClient adds the HTTPClient to the post run async params
func (*PostRunAsyncParams) WithRequest ¶
func (o *PostRunAsyncParams) WithRequest(request *models.RunRequest) *PostRunAsyncParams
WithRequest adds the request to the post run async params
func (*PostRunAsyncParams) WithTimeout ¶
func (o *PostRunAsyncParams) WithTimeout(timeout time.Duration) *PostRunAsyncParams
WithTimeout adds the timeout to the post run async params
func (*PostRunAsyncParams) WriteToRequest ¶
func (o *PostRunAsyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRunAsyncReader ¶
type PostRunAsyncReader struct {
// contains filtered or unexported fields
}
PostRunAsyncReader is a Reader for the PostRunAsync structure.
func (*PostRunAsyncReader) ReadResponse ¶
func (o *PostRunAsyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRunAsyncServiceUnavailable ¶
type PostRunAsyncServiceUnavailable struct {
}
PostRunAsyncServiceUnavailable describes a response with status code 503, with default header values.
Claude not configured
func NewPostRunAsyncServiceUnavailable ¶
func NewPostRunAsyncServiceUnavailable() *PostRunAsyncServiceUnavailable
NewPostRunAsyncServiceUnavailable creates a PostRunAsyncServiceUnavailable with default headers values
func (*PostRunAsyncServiceUnavailable) Code ¶
func (o *PostRunAsyncServiceUnavailable) Code() int
Code gets the status code for the post run async service unavailable response
func (*PostRunAsyncServiceUnavailable) Error ¶
func (o *PostRunAsyncServiceUnavailable) Error() string
func (*PostRunAsyncServiceUnavailable) GetPayload ¶
func (o *PostRunAsyncServiceUnavailable) GetPayload() *models.RunResponse
func (*PostRunAsyncServiceUnavailable) IsClientError ¶
func (o *PostRunAsyncServiceUnavailable) IsClientError() bool
IsClientError returns true when this post run async service unavailable response has a 4xx status code
func (*PostRunAsyncServiceUnavailable) IsCode ¶
func (o *PostRunAsyncServiceUnavailable) IsCode(code int) bool
IsCode returns true when this post run async service unavailable response a status code equal to that given
func (*PostRunAsyncServiceUnavailable) IsRedirect ¶
func (o *PostRunAsyncServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this post run async service unavailable response has a 3xx status code
func (*PostRunAsyncServiceUnavailable) IsServerError ¶
func (o *PostRunAsyncServiceUnavailable) IsServerError() bool
IsServerError returns true when this post run async service unavailable response has a 5xx status code
func (*PostRunAsyncServiceUnavailable) IsSuccess ¶
func (o *PostRunAsyncServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this post run async service unavailable response has a 2xx status code
func (*PostRunAsyncServiceUnavailable) String ¶
func (o *PostRunAsyncServiceUnavailable) String() string
type PostRunBadRequest ¶
type PostRunBadRequest struct {
Payload *models.RunResponse
}
PostRunBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewPostRunBadRequest ¶
func NewPostRunBadRequest() *PostRunBadRequest
NewPostRunBadRequest creates a PostRunBadRequest with default headers values
func (*PostRunBadRequest) Code ¶
func (o *PostRunBadRequest) Code() int
Code gets the status code for the post run bad request response
func (*PostRunBadRequest) Error ¶
func (o *PostRunBadRequest) Error() string
func (*PostRunBadRequest) GetPayload ¶
func (o *PostRunBadRequest) GetPayload() *models.RunResponse
func (*PostRunBadRequest) IsClientError ¶
func (o *PostRunBadRequest) IsClientError() bool
IsClientError returns true when this post run bad request response has a 4xx status code
func (*PostRunBadRequest) IsCode ¶
func (o *PostRunBadRequest) IsCode(code int) bool
IsCode returns true when this post run bad request response a status code equal to that given
func (*PostRunBadRequest) IsRedirect ¶
func (o *PostRunBadRequest) IsRedirect() bool
IsRedirect returns true when this post run bad request response has a 3xx status code
func (*PostRunBadRequest) IsServerError ¶
func (o *PostRunBadRequest) IsServerError() bool
IsServerError returns true when this post run bad request response has a 5xx status code
func (*PostRunBadRequest) IsSuccess ¶
func (o *PostRunBadRequest) IsSuccess() bool
IsSuccess returns true when this post run bad request response has a 2xx status code
func (*PostRunBadRequest) String ¶
func (o *PostRunBadRequest) String() string
type PostRunInternalServerError ¶
type PostRunInternalServerError struct {
Payload *models.RunResponse
}
PostRunInternalServerError describes a response with status code 500, with default header values.
Execution failed
func NewPostRunInternalServerError ¶
func NewPostRunInternalServerError() *PostRunInternalServerError
NewPostRunInternalServerError creates a PostRunInternalServerError with default headers values
func (*PostRunInternalServerError) Code ¶
func (o *PostRunInternalServerError) Code() int
Code gets the status code for the post run internal server error response
func (*PostRunInternalServerError) Error ¶
func (o *PostRunInternalServerError) Error() string
func (*PostRunInternalServerError) GetPayload ¶
func (o *PostRunInternalServerError) GetPayload() *models.RunResponse
func (*PostRunInternalServerError) IsClientError ¶
func (o *PostRunInternalServerError) IsClientError() bool
IsClientError returns true when this post run internal server error response has a 4xx status code
func (*PostRunInternalServerError) IsCode ¶
func (o *PostRunInternalServerError) IsCode(code int) bool
IsCode returns true when this post run internal server error response a status code equal to that given
func (*PostRunInternalServerError) IsRedirect ¶
func (o *PostRunInternalServerError) IsRedirect() bool
IsRedirect returns true when this post run internal server error response has a 3xx status code
func (*PostRunInternalServerError) IsServerError ¶
func (o *PostRunInternalServerError) IsServerError() bool
IsServerError returns true when this post run internal server error response has a 5xx status code
func (*PostRunInternalServerError) IsSuccess ¶
func (o *PostRunInternalServerError) IsSuccess() bool
IsSuccess returns true when this post run internal server error response has a 2xx status code
func (*PostRunInternalServerError) String ¶
func (o *PostRunInternalServerError) String() string
type PostRunOK ¶
type PostRunOK struct {
Payload *models.RunResponse
}
PostRunOK describes a response with status code 200, with default header values.
OK
func NewPostRunOK ¶
func NewPostRunOK() *PostRunOK
NewPostRunOK creates a PostRunOK with default headers values
func (*PostRunOK) GetPayload ¶
func (o *PostRunOK) GetPayload() *models.RunResponse
func (*PostRunOK) IsClientError ¶
IsClientError returns true when this post run o k response has a 4xx status code
func (*PostRunOK) IsCode ¶
IsCode returns true when this post run o k response a status code equal to that given
func (*PostRunOK) IsRedirect ¶
IsRedirect returns true when this post run o k response has a 3xx status code
func (*PostRunOK) IsServerError ¶
IsServerError returns true when this post run o k response has a 5xx status code
type PostRunParams ¶
type PostRunParams struct {
/* Request.
Run request
*/
Request *models.RunRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostRunParams contains all the parameters to send to the API endpoint
for the post run operation. Typically these are written to a http.Request.
func NewPostRunParams ¶
func NewPostRunParams() *PostRunParams
NewPostRunParams creates a new PostRunParams 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 NewPostRunParamsWithContext ¶
func NewPostRunParamsWithContext(ctx context.Context) *PostRunParams
NewPostRunParamsWithContext creates a new PostRunParams object with the ability to set a context for a request.
func NewPostRunParamsWithHTTPClient ¶
func NewPostRunParamsWithHTTPClient(client *http.Client) *PostRunParams
NewPostRunParamsWithHTTPClient creates a new PostRunParams object with the ability to set a custom HTTPClient for a request.
func NewPostRunParamsWithTimeout ¶
func NewPostRunParamsWithTimeout(timeout time.Duration) *PostRunParams
NewPostRunParamsWithTimeout creates a new PostRunParams object with the ability to set a timeout on a request.
func (*PostRunParams) SetContext ¶
func (o *PostRunParams) SetContext(ctx context.Context)
SetContext adds the context to the post run params
func (*PostRunParams) SetDefaults ¶
func (o *PostRunParams) SetDefaults()
SetDefaults hydrates default values in the post run params (not the query body).
All values with no default are reset to their zero value.
func (*PostRunParams) SetHTTPClient ¶
func (o *PostRunParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post run params
func (*PostRunParams) SetRequest ¶
func (o *PostRunParams) SetRequest(request *models.RunRequest)
SetRequest adds the request to the post run params
func (*PostRunParams) SetTimeout ¶
func (o *PostRunParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post run params
func (*PostRunParams) WithContext ¶
func (o *PostRunParams) WithContext(ctx context.Context) *PostRunParams
WithContext adds the context to the post run params
func (*PostRunParams) WithDefaults ¶
func (o *PostRunParams) WithDefaults() *PostRunParams
WithDefaults hydrates default values in the post run params (not the query body).
All values with no default are reset to their zero value.
func (*PostRunParams) WithHTTPClient ¶
func (o *PostRunParams) WithHTTPClient(client *http.Client) *PostRunParams
WithHTTPClient adds the HTTPClient to the post run params
func (*PostRunParams) WithRequest ¶
func (o *PostRunParams) WithRequest(request *models.RunRequest) *PostRunParams
WithRequest adds the request to the post run params
func (*PostRunParams) WithTimeout ¶
func (o *PostRunParams) WithTimeout(timeout time.Duration) *PostRunParams
WithTimeout adds the timeout to the post run params
func (*PostRunParams) WriteToRequest ¶
func (o *PostRunParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRunReader ¶
type PostRunReader struct {
// contains filtered or unexported fields
}
PostRunReader is a Reader for the PostRun structure.
func (*PostRunReader) ReadResponse ¶
func (o *PostRunReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRunServiceUnavailable ¶
type PostRunServiceUnavailable struct {
}
PostRunServiceUnavailable describes a response with status code 503, with default header values.
Claude not configured
func NewPostRunServiceUnavailable ¶
func NewPostRunServiceUnavailable() *PostRunServiceUnavailable
NewPostRunServiceUnavailable creates a PostRunServiceUnavailable with default headers values
func (*PostRunServiceUnavailable) Code ¶
func (o *PostRunServiceUnavailable) Code() int
Code gets the status code for the post run service unavailable response
func (*PostRunServiceUnavailable) Error ¶
func (o *PostRunServiceUnavailable) Error() string
func (*PostRunServiceUnavailable) GetPayload ¶
func (o *PostRunServiceUnavailable) GetPayload() *models.RunResponse
func (*PostRunServiceUnavailable) IsClientError ¶
func (o *PostRunServiceUnavailable) IsClientError() bool
IsClientError returns true when this post run service unavailable response has a 4xx status code
func (*PostRunServiceUnavailable) IsCode ¶
func (o *PostRunServiceUnavailable) IsCode(code int) bool
IsCode returns true when this post run service unavailable response a status code equal to that given
func (*PostRunServiceUnavailable) IsRedirect ¶
func (o *PostRunServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this post run service unavailable response has a 3xx status code
func (*PostRunServiceUnavailable) IsServerError ¶
func (o *PostRunServiceUnavailable) IsServerError() bool
IsServerError returns true when this post run service unavailable response has a 5xx status code
func (*PostRunServiceUnavailable) IsSuccess ¶
func (o *PostRunServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this post run service unavailable response has a 2xx status code
func (*PostRunServiceUnavailable) String ¶
func (o *PostRunServiceUnavailable) String() string