Documentation
¶
Index ¶
- type Client
- type PopDebugSessionBadRequest
- type PopDebugSessionNotFound
- type PopDebugSessionOK
- type PopDebugSessionParams
- func NewPopDebugSessionParams() *PopDebugSessionParams
- func NewPopDebugSessionParamsWithContext(ctx context.Context) *PopDebugSessionParams
- func NewPopDebugSessionParamsWithHTTPClient(client *http.Client) *PopDebugSessionParams
- func NewPopDebugSessionParamsWithTimeout(timeout time.Duration) *PopDebugSessionParams
- func (o *PopDebugSessionParams) SetContext(ctx context.Context)
- func (o *PopDebugSessionParams) SetDebugConfigID(debugConfigID string)
- func (o *PopDebugSessionParams) SetHTTPClient(client *http.Client)
- func (o *PopDebugSessionParams) SetTimeout(timeout time.Duration)
- func (o *PopDebugSessionParams) SetXTimeout(xTimeout *float64)
- func (o *PopDebugSessionParams) WithContext(ctx context.Context) *PopDebugSessionParams
- func (o *PopDebugSessionParams) WithDebugConfigID(debugConfigID string) *PopDebugSessionParams
- func (o *PopDebugSessionParams) WithHTTPClient(client *http.Client) *PopDebugSessionParams
- func (o *PopDebugSessionParams) WithTimeout(timeout time.Duration) *PopDebugSessionParams
- func (o *PopDebugSessionParams) WithXTimeout(xTimeout *float64) *PopDebugSessionParams
- func (o *PopDebugSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PopDebugSessionReader
- type PopDebugSessionRequestTimeout
- type PutDebugSessionBadRequest
- type PutDebugSessionCreated
- type PutDebugSessionNotFound
- type PutDebugSessionParams
- func NewPutDebugSessionParams() *PutDebugSessionParams
- func NewPutDebugSessionParamsWithContext(ctx context.Context) *PutDebugSessionParams
- func NewPutDebugSessionParamsWithHTTPClient(client *http.Client) *PutDebugSessionParams
- func NewPutDebugSessionParamsWithTimeout(timeout time.Duration) *PutDebugSessionParams
- func (o *PutDebugSessionParams) SetBody(body *models.DebugSession)
- func (o *PutDebugSessionParams) SetContext(ctx context.Context)
- func (o *PutDebugSessionParams) SetDebugConfigID(debugConfigID string)
- func (o *PutDebugSessionParams) SetHTTPClient(client *http.Client)
- func (o *PutDebugSessionParams) SetTimeout(timeout time.Duration)
- func (o *PutDebugSessionParams) WithBody(body *models.DebugSession) *PutDebugSessionParams
- func (o *PutDebugSessionParams) WithContext(ctx context.Context) *PutDebugSessionParams
- func (o *PutDebugSessionParams) WithDebugConfigID(debugConfigID string) *PutDebugSessionParams
- func (o *PutDebugSessionParams) WithHTTPClient(client *http.Client) *PutDebugSessionParams
- func (o *PutDebugSessionParams) WithTimeout(timeout time.Duration) *PutDebugSessionParams
- func (o *PutDebugSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutDebugSessionPreconditionFailed
- type PutDebugSessionReader
- type PutDebugSessionUnprocessableEntity
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 debugsessions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new debugsessions API client.
func (*Client) PopDebugSession ¶
func (a *Client) PopDebugSession(params *PopDebugSessionParams) (*PopDebugSessionOK, error)
PopDebugSession waits and for a debug session is available when it is available it is returned and deleted
Long-poll and wait for a debug session to arrive. The squash client will add a debug session to the debug config once a container associated with this debug config generated a debug event.
func (*Client) PutDebugSession ¶
func (a *Client) PutDebugSession(params *PutDebugSessionParams) (*PutDebugSessionCreated, error)
PutDebugSession adds a new debug session this is used by the squash client
When a debugger is attached, it should create a new debug session object under the debug config that caused the debug session. Only one debug session is allowed per debug config. Once a session is added, The service will stop being watched, and new debug configs for the same service can be created again.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type PopDebugSessionBadRequest ¶
type PopDebugSessionBadRequest struct {
}
PopDebugSessionBadRequest handles this case with default header values.
Invalid ID supplied
func NewPopDebugSessionBadRequest ¶
func NewPopDebugSessionBadRequest() *PopDebugSessionBadRequest
NewPopDebugSessionBadRequest creates a PopDebugSessionBadRequest with default headers values
func (*PopDebugSessionBadRequest) Error ¶
func (o *PopDebugSessionBadRequest) Error() string
type PopDebugSessionNotFound ¶
type PopDebugSessionNotFound struct {
}
PopDebugSessionNotFound handles this case with default header values.
debug config not found
func NewPopDebugSessionNotFound ¶
func NewPopDebugSessionNotFound() *PopDebugSessionNotFound
NewPopDebugSessionNotFound creates a PopDebugSessionNotFound with default headers values
func (*PopDebugSessionNotFound) Error ¶
func (o *PopDebugSessionNotFound) Error() string
type PopDebugSessionOK ¶
type PopDebugSessionOK struct {
Payload *models.DebugSession
}
PopDebugSessionOK handles this case with default header values.
Debug session returned
func NewPopDebugSessionOK ¶
func NewPopDebugSessionOK() *PopDebugSessionOK
NewPopDebugSessionOK creates a PopDebugSessionOK with default headers values
func (*PopDebugSessionOK) Error ¶
func (o *PopDebugSessionOK) Error() string
type PopDebugSessionParams ¶
type PopDebugSessionParams struct {
/*XTimeout*/
XTimeout *float64
/*DebugConfigID
debug config id.
*/
DebugConfigID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PopDebugSessionParams contains all the parameters to send to the API endpoint for the pop debug session operation typically these are written to a http.Request
func NewPopDebugSessionParams ¶
func NewPopDebugSessionParams() *PopDebugSessionParams
NewPopDebugSessionParams creates a new PopDebugSessionParams object with the default values initialized.
func NewPopDebugSessionParamsWithContext ¶
func NewPopDebugSessionParamsWithContext(ctx context.Context) *PopDebugSessionParams
NewPopDebugSessionParamsWithContext creates a new PopDebugSessionParams object with the default values initialized, and the ability to set a context for a request
func NewPopDebugSessionParamsWithHTTPClient ¶
func NewPopDebugSessionParamsWithHTTPClient(client *http.Client) *PopDebugSessionParams
NewPopDebugSessionParamsWithHTTPClient creates a new PopDebugSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPopDebugSessionParamsWithTimeout ¶
func NewPopDebugSessionParamsWithTimeout(timeout time.Duration) *PopDebugSessionParams
NewPopDebugSessionParamsWithTimeout creates a new PopDebugSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PopDebugSessionParams) SetContext ¶
func (o *PopDebugSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the pop debug session params
func (*PopDebugSessionParams) SetDebugConfigID ¶
func (o *PopDebugSessionParams) SetDebugConfigID(debugConfigID string)
SetDebugConfigID adds the debugConfigId to the pop debug session params
func (*PopDebugSessionParams) SetHTTPClient ¶
func (o *PopDebugSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pop debug session params
func (*PopDebugSessionParams) SetTimeout ¶
func (o *PopDebugSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pop debug session params
func (*PopDebugSessionParams) SetXTimeout ¶
func (o *PopDebugSessionParams) SetXTimeout(xTimeout *float64)
SetXTimeout adds the xTimeout to the pop debug session params
func (*PopDebugSessionParams) WithContext ¶
func (o *PopDebugSessionParams) WithContext(ctx context.Context) *PopDebugSessionParams
WithContext adds the context to the pop debug session params
func (*PopDebugSessionParams) WithDebugConfigID ¶
func (o *PopDebugSessionParams) WithDebugConfigID(debugConfigID string) *PopDebugSessionParams
WithDebugConfigID adds the debugConfigID to the pop debug session params
func (*PopDebugSessionParams) WithHTTPClient ¶
func (o *PopDebugSessionParams) WithHTTPClient(client *http.Client) *PopDebugSessionParams
WithHTTPClient adds the HTTPClient to the pop debug session params
func (*PopDebugSessionParams) WithTimeout ¶
func (o *PopDebugSessionParams) WithTimeout(timeout time.Duration) *PopDebugSessionParams
WithTimeout adds the timeout to the pop debug session params
func (*PopDebugSessionParams) WithXTimeout ¶
func (o *PopDebugSessionParams) WithXTimeout(xTimeout *float64) *PopDebugSessionParams
WithXTimeout adds the xTimeout to the pop debug session params
func (*PopDebugSessionParams) WriteToRequest ¶
func (o *PopDebugSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PopDebugSessionReader ¶
type PopDebugSessionReader struct {
// contains filtered or unexported fields
}
PopDebugSessionReader is a Reader for the PopDebugSession structure.
func (*PopDebugSessionReader) ReadResponse ¶
func (o *PopDebugSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PopDebugSessionRequestTimeout ¶
type PopDebugSessionRequestTimeout struct {
}
PopDebugSessionRequestTimeout handles this case with default header values.
Timeout reached
func NewPopDebugSessionRequestTimeout ¶
func NewPopDebugSessionRequestTimeout() *PopDebugSessionRequestTimeout
NewPopDebugSessionRequestTimeout creates a PopDebugSessionRequestTimeout with default headers values
func (*PopDebugSessionRequestTimeout) Error ¶
func (o *PopDebugSessionRequestTimeout) Error() string
type PutDebugSessionBadRequest ¶
type PutDebugSessionBadRequest struct {
}
PutDebugSessionBadRequest handles this case with default header values.
Invalid ID supplied
func NewPutDebugSessionBadRequest ¶
func NewPutDebugSessionBadRequest() *PutDebugSessionBadRequest
NewPutDebugSessionBadRequest creates a PutDebugSessionBadRequest with default headers values
func (*PutDebugSessionBadRequest) Error ¶
func (o *PutDebugSessionBadRequest) Error() string
type PutDebugSessionCreated ¶
type PutDebugSessionCreated struct {
Payload *models.DebugSession
}
PutDebugSessionCreated handles this case with default header values.
Debug session created
func NewPutDebugSessionCreated ¶
func NewPutDebugSessionCreated() *PutDebugSessionCreated
NewPutDebugSessionCreated creates a PutDebugSessionCreated with default headers values
func (*PutDebugSessionCreated) Error ¶
func (o *PutDebugSessionCreated) Error() string
type PutDebugSessionNotFound ¶
type PutDebugSessionNotFound struct {
}
PutDebugSessionNotFound handles this case with default header values.
debug config not found
func NewPutDebugSessionNotFound ¶
func NewPutDebugSessionNotFound() *PutDebugSessionNotFound
NewPutDebugSessionNotFound creates a PutDebugSessionNotFound with default headers values
func (*PutDebugSessionNotFound) Error ¶
func (o *PutDebugSessionNotFound) Error() string
type PutDebugSessionParams ¶
type PutDebugSessionParams struct {
/*Body
the debug session.
*/
Body *models.DebugSession
/*DebugConfigID
debug config id.
*/
DebugConfigID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PutDebugSessionParams contains all the parameters to send to the API endpoint for the put debug session operation typically these are written to a http.Request
func NewPutDebugSessionParams ¶
func NewPutDebugSessionParams() *PutDebugSessionParams
NewPutDebugSessionParams creates a new PutDebugSessionParams object with the default values initialized.
func NewPutDebugSessionParamsWithContext ¶
func NewPutDebugSessionParamsWithContext(ctx context.Context) *PutDebugSessionParams
NewPutDebugSessionParamsWithContext creates a new PutDebugSessionParams object with the default values initialized, and the ability to set a context for a request
func NewPutDebugSessionParamsWithHTTPClient ¶
func NewPutDebugSessionParamsWithHTTPClient(client *http.Client) *PutDebugSessionParams
NewPutDebugSessionParamsWithHTTPClient creates a new PutDebugSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPutDebugSessionParamsWithTimeout ¶
func NewPutDebugSessionParamsWithTimeout(timeout time.Duration) *PutDebugSessionParams
NewPutDebugSessionParamsWithTimeout creates a new PutDebugSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*PutDebugSessionParams) SetBody ¶
func (o *PutDebugSessionParams) SetBody(body *models.DebugSession)
SetBody adds the body to the put debug session params
func (*PutDebugSessionParams) SetContext ¶
func (o *PutDebugSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the put debug session params
func (*PutDebugSessionParams) SetDebugConfigID ¶
func (o *PutDebugSessionParams) SetDebugConfigID(debugConfigID string)
SetDebugConfigID adds the debugConfigId to the put debug session params
func (*PutDebugSessionParams) SetHTTPClient ¶
func (o *PutDebugSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put debug session params
func (*PutDebugSessionParams) SetTimeout ¶
func (o *PutDebugSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put debug session params
func (*PutDebugSessionParams) WithBody ¶
func (o *PutDebugSessionParams) WithBody(body *models.DebugSession) *PutDebugSessionParams
WithBody adds the body to the put debug session params
func (*PutDebugSessionParams) WithContext ¶
func (o *PutDebugSessionParams) WithContext(ctx context.Context) *PutDebugSessionParams
WithContext adds the context to the put debug session params
func (*PutDebugSessionParams) WithDebugConfigID ¶
func (o *PutDebugSessionParams) WithDebugConfigID(debugConfigID string) *PutDebugSessionParams
WithDebugConfigID adds the debugConfigID to the put debug session params
func (*PutDebugSessionParams) WithHTTPClient ¶
func (o *PutDebugSessionParams) WithHTTPClient(client *http.Client) *PutDebugSessionParams
WithHTTPClient adds the HTTPClient to the put debug session params
func (*PutDebugSessionParams) WithTimeout ¶
func (o *PutDebugSessionParams) WithTimeout(timeout time.Duration) *PutDebugSessionParams
WithTimeout adds the timeout to the put debug session params
func (*PutDebugSessionParams) WriteToRequest ¶
func (o *PutDebugSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutDebugSessionPreconditionFailed ¶
type PutDebugSessionPreconditionFailed struct {
}
PutDebugSessionPreconditionFailed handles this case with default header values.
Debug state currently exists
func NewPutDebugSessionPreconditionFailed ¶
func NewPutDebugSessionPreconditionFailed() *PutDebugSessionPreconditionFailed
NewPutDebugSessionPreconditionFailed creates a PutDebugSessionPreconditionFailed with default headers values
func (*PutDebugSessionPreconditionFailed) Error ¶
func (o *PutDebugSessionPreconditionFailed) Error() string
type PutDebugSessionReader ¶
type PutDebugSessionReader struct {
// contains filtered or unexported fields
}
PutDebugSessionReader is a Reader for the PutDebugSession structure.
func (*PutDebugSessionReader) ReadResponse ¶
func (o *PutDebugSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutDebugSessionUnprocessableEntity ¶
type PutDebugSessionUnprocessableEntity struct {
}
PutDebugSessionUnprocessableEntity handles this case with default header values.
Invalid input
func NewPutDebugSessionUnprocessableEntity ¶
func NewPutDebugSessionUnprocessableEntity() *PutDebugSessionUnprocessableEntity
NewPutDebugSessionUnprocessableEntity creates a PutDebugSessionUnprocessableEntity with default headers values
func (*PutDebugSessionUnprocessableEntity) Error ¶
func (o *PutDebugSessionUnprocessableEntity) Error() string