Documentation ¶
Index ¶
- type AddDebugAttachmentBadRequest
- type AddDebugAttachmentCreated
- type AddDebugAttachmentNotFound
- type AddDebugAttachmentParams
- func NewAddDebugAttachmentParams() *AddDebugAttachmentParams
- func NewAddDebugAttachmentParamsWithContext(ctx context.Context) *AddDebugAttachmentParams
- func NewAddDebugAttachmentParamsWithHTTPClient(client *http.Client) *AddDebugAttachmentParams
- func NewAddDebugAttachmentParamsWithTimeout(timeout time.Duration) *AddDebugAttachmentParams
- func (o *AddDebugAttachmentParams) SetBody(body *models.DebugAttachment)
- func (o *AddDebugAttachmentParams) SetContext(ctx context.Context)
- func (o *AddDebugAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *AddDebugAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *AddDebugAttachmentParams) WithBody(body *models.DebugAttachment) *AddDebugAttachmentParams
- func (o *AddDebugAttachmentParams) WithContext(ctx context.Context) *AddDebugAttachmentParams
- func (o *AddDebugAttachmentParams) WithHTTPClient(client *http.Client) *AddDebugAttachmentParams
- func (o *AddDebugAttachmentParams) WithTimeout(timeout time.Duration) *AddDebugAttachmentParams
- func (o *AddDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddDebugAttachmentReader
- type AddDebugAttachmentServiceUnavailable
- type AddDebugAttachmentUnprocessableEntity
- type Client
- func (a *Client) AddDebugAttachment(params *AddDebugAttachmentParams) (*AddDebugAttachmentCreated, error)
- func (a *Client) DeleteDebugAttachment(params *DeleteDebugAttachmentParams) (*DeleteDebugAttachmentOK, error)
- func (a *Client) GetDebugAttachment(params *GetDebugAttachmentParams) (*GetDebugAttachmentOK, error)
- func (a *Client) GetDebugAttachments(params *GetDebugAttachmentsParams) (*GetDebugAttachmentsOK, error)
- func (a *Client) PatchDebugAttachment(params *PatchDebugAttachmentParams) (*PatchDebugAttachmentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteDebugAttachmentBadRequest
- type DeleteDebugAttachmentNotFound
- type DeleteDebugAttachmentOK
- type DeleteDebugAttachmentParams
- func NewDeleteDebugAttachmentParams() *DeleteDebugAttachmentParams
- func NewDeleteDebugAttachmentParamsWithContext(ctx context.Context) *DeleteDebugAttachmentParams
- func NewDeleteDebugAttachmentParamsWithHTTPClient(client *http.Client) *DeleteDebugAttachmentParams
- func NewDeleteDebugAttachmentParamsWithTimeout(timeout time.Duration) *DeleteDebugAttachmentParams
- func (o *DeleteDebugAttachmentParams) SetContext(ctx context.Context)
- func (o *DeleteDebugAttachmentParams) SetDebugAttachmentID(debugAttachmentID string)
- func (o *DeleteDebugAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDebugAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDebugAttachmentParams) WithContext(ctx context.Context) *DeleteDebugAttachmentParams
- func (o *DeleteDebugAttachmentParams) WithDebugAttachmentID(debugAttachmentID string) *DeleteDebugAttachmentParams
- func (o *DeleteDebugAttachmentParams) WithHTTPClient(client *http.Client) *DeleteDebugAttachmentParams
- func (o *DeleteDebugAttachmentParams) WithTimeout(timeout time.Duration) *DeleteDebugAttachmentParams
- func (o *DeleteDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDebugAttachmentReader
- type DeleteDebugAttachmentUnprocessableEntity
- type GetDebugAttachmentBadRequest
- type GetDebugAttachmentNotFound
- type GetDebugAttachmentOK
- type GetDebugAttachmentParams
- func NewGetDebugAttachmentParams() *GetDebugAttachmentParams
- func NewGetDebugAttachmentParamsWithContext(ctx context.Context) *GetDebugAttachmentParams
- func NewGetDebugAttachmentParamsWithHTTPClient(client *http.Client) *GetDebugAttachmentParams
- func NewGetDebugAttachmentParamsWithTimeout(timeout time.Duration) *GetDebugAttachmentParams
- func (o *GetDebugAttachmentParams) SetContext(ctx context.Context)
- func (o *GetDebugAttachmentParams) SetDebugAttachmentID(debugAttachmentID string)
- func (o *GetDebugAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *GetDebugAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *GetDebugAttachmentParams) WithContext(ctx context.Context) *GetDebugAttachmentParams
- func (o *GetDebugAttachmentParams) WithDebugAttachmentID(debugAttachmentID string) *GetDebugAttachmentParams
- func (o *GetDebugAttachmentParams) WithHTTPClient(client *http.Client) *GetDebugAttachmentParams
- func (o *GetDebugAttachmentParams) WithTimeout(timeout time.Duration) *GetDebugAttachmentParams
- func (o *GetDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDebugAttachmentReader
- type GetDebugAttachmentUnprocessableEntity
- type GetDebugAttachmentsOK
- type GetDebugAttachmentsParams
- func NewGetDebugAttachmentsParams() *GetDebugAttachmentsParams
- func NewGetDebugAttachmentsParamsWithContext(ctx context.Context) *GetDebugAttachmentsParams
- func NewGetDebugAttachmentsParamsWithHTTPClient(client *http.Client) *GetDebugAttachmentsParams
- func NewGetDebugAttachmentsParamsWithTimeout(timeout time.Duration) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) SetContext(ctx context.Context)
- func (o *GetDebugAttachmentsParams) SetHTTPClient(client *http.Client)
- func (o *GetDebugAttachmentsParams) SetIfNoneMatch(ifNoneMatch *string)
- func (o *GetDebugAttachmentsParams) SetNames(names []string)
- func (o *GetDebugAttachmentsParams) SetNode(node *string)
- func (o *GetDebugAttachmentsParams) SetState(state *string)
- func (o *GetDebugAttachmentsParams) SetStates(states []string)
- func (o *GetDebugAttachmentsParams) SetTimeout(timeout time.Duration)
- func (o *GetDebugAttachmentsParams) SetWait(wait *bool)
- func (o *GetDebugAttachmentsParams) SetXTimeout(xTimeout *float64)
- func (o *GetDebugAttachmentsParams) WithContext(ctx context.Context) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithHTTPClient(client *http.Client) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithIfNoneMatch(ifNoneMatch *string) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithNames(names []string) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithNode(node *string) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithState(state *string) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithStates(states []string) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithTimeout(timeout time.Duration) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithWait(wait *bool) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WithXTimeout(xTimeout *float64) *GetDebugAttachmentsParams
- func (o *GetDebugAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDebugAttachmentsReader
- type GetDebugAttachmentsRequestTimeout
- type GetDebugAttachmentsUnprocessableEntity
- type PatchDebugAttachmentBadRequest
- type PatchDebugAttachmentConflict
- type PatchDebugAttachmentNotFound
- type PatchDebugAttachmentOK
- type PatchDebugAttachmentParams
- func NewPatchDebugAttachmentParams() *PatchDebugAttachmentParams
- func NewPatchDebugAttachmentParamsWithContext(ctx context.Context) *PatchDebugAttachmentParams
- func NewPatchDebugAttachmentParamsWithHTTPClient(client *http.Client) *PatchDebugAttachmentParams
- func NewPatchDebugAttachmentParamsWithTimeout(timeout time.Duration) *PatchDebugAttachmentParams
- func (o *PatchDebugAttachmentParams) SetBody(body *models.DebugAttachment)
- func (o *PatchDebugAttachmentParams) SetContext(ctx context.Context)
- func (o *PatchDebugAttachmentParams) SetDebugAttachmentID(debugAttachmentID string)
- func (o *PatchDebugAttachmentParams) SetHTTPClient(client *http.Client)
- func (o *PatchDebugAttachmentParams) SetTimeout(timeout time.Duration)
- func (o *PatchDebugAttachmentParams) WithBody(body *models.DebugAttachment) *PatchDebugAttachmentParams
- func (o *PatchDebugAttachmentParams) WithContext(ctx context.Context) *PatchDebugAttachmentParams
- func (o *PatchDebugAttachmentParams) WithDebugAttachmentID(debugAttachmentID string) *PatchDebugAttachmentParams
- func (o *PatchDebugAttachmentParams) WithHTTPClient(client *http.Client) *PatchDebugAttachmentParams
- func (o *PatchDebugAttachmentParams) WithTimeout(timeout time.Duration) *PatchDebugAttachmentParams
- func (o *PatchDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchDebugAttachmentReader
- type PatchDebugAttachmentServiceUnavailable
- type PatchDebugAttachmentUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDebugAttachmentBadRequest ¶
type AddDebugAttachmentBadRequest struct { }
AddDebugAttachmentBadRequest handles this case with default header values.
Bad request
func NewAddDebugAttachmentBadRequest ¶
func NewAddDebugAttachmentBadRequest() *AddDebugAttachmentBadRequest
NewAddDebugAttachmentBadRequest creates a AddDebugAttachmentBadRequest with default headers values
func (*AddDebugAttachmentBadRequest) Error ¶
func (o *AddDebugAttachmentBadRequest) Error() string
type AddDebugAttachmentCreated ¶
type AddDebugAttachmentCreated struct {
Payload *models.DebugAttachment
}
AddDebugAttachmentCreated handles this case with default header values.
Debug attachment created
func NewAddDebugAttachmentCreated ¶
func NewAddDebugAttachmentCreated() *AddDebugAttachmentCreated
NewAddDebugAttachmentCreated creates a AddDebugAttachmentCreated with default headers values
func (*AddDebugAttachmentCreated) Error ¶
func (o *AddDebugAttachmentCreated) Error() string
type AddDebugAttachmentNotFound ¶
type AddDebugAttachmentNotFound struct { }
AddDebugAttachmentNotFound handles this case with default header values.
Not found
func NewAddDebugAttachmentNotFound ¶
func NewAddDebugAttachmentNotFound() *AddDebugAttachmentNotFound
NewAddDebugAttachmentNotFound creates a AddDebugAttachmentNotFound with default headers values
func (*AddDebugAttachmentNotFound) Error ¶
func (o *AddDebugAttachmentNotFound) Error() string
type AddDebugAttachmentParams ¶
type AddDebugAttachmentParams struct { /*Body DebugAttachment object */ Body *models.DebugAttachment Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddDebugAttachmentParams contains all the parameters to send to the API endpoint for the add debug attachment operation typically these are written to a http.Request
func NewAddDebugAttachmentParams ¶
func NewAddDebugAttachmentParams() *AddDebugAttachmentParams
NewAddDebugAttachmentParams creates a new AddDebugAttachmentParams object with the default values initialized.
func NewAddDebugAttachmentParamsWithContext ¶
func NewAddDebugAttachmentParamsWithContext(ctx context.Context) *AddDebugAttachmentParams
NewAddDebugAttachmentParamsWithContext creates a new AddDebugAttachmentParams object with the default values initialized, and the ability to set a context for a request
func NewAddDebugAttachmentParamsWithHTTPClient ¶
func NewAddDebugAttachmentParamsWithHTTPClient(client *http.Client) *AddDebugAttachmentParams
NewAddDebugAttachmentParamsWithHTTPClient creates a new AddDebugAttachmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddDebugAttachmentParamsWithTimeout ¶
func NewAddDebugAttachmentParamsWithTimeout(timeout time.Duration) *AddDebugAttachmentParams
NewAddDebugAttachmentParamsWithTimeout creates a new AddDebugAttachmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddDebugAttachmentParams) SetBody ¶
func (o *AddDebugAttachmentParams) SetBody(body *models.DebugAttachment)
SetBody adds the body to the add debug attachment params
func (*AddDebugAttachmentParams) SetContext ¶
func (o *AddDebugAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the add debug attachment params
func (*AddDebugAttachmentParams) SetHTTPClient ¶
func (o *AddDebugAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add debug attachment params
func (*AddDebugAttachmentParams) SetTimeout ¶
func (o *AddDebugAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add debug attachment params
func (*AddDebugAttachmentParams) WithBody ¶
func (o *AddDebugAttachmentParams) WithBody(body *models.DebugAttachment) *AddDebugAttachmentParams
WithBody adds the body to the add debug attachment params
func (*AddDebugAttachmentParams) WithContext ¶
func (o *AddDebugAttachmentParams) WithContext(ctx context.Context) *AddDebugAttachmentParams
WithContext adds the context to the add debug attachment params
func (*AddDebugAttachmentParams) WithHTTPClient ¶
func (o *AddDebugAttachmentParams) WithHTTPClient(client *http.Client) *AddDebugAttachmentParams
WithHTTPClient adds the HTTPClient to the add debug attachment params
func (*AddDebugAttachmentParams) WithTimeout ¶
func (o *AddDebugAttachmentParams) WithTimeout(timeout time.Duration) *AddDebugAttachmentParams
WithTimeout adds the timeout to the add debug attachment params
func (*AddDebugAttachmentParams) WriteToRequest ¶
func (o *AddDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddDebugAttachmentReader ¶
type AddDebugAttachmentReader struct {
// contains filtered or unexported fields
}
AddDebugAttachmentReader is a Reader for the AddDebugAttachment structure.
func (*AddDebugAttachmentReader) ReadResponse ¶
func (o *AddDebugAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddDebugAttachmentServiceUnavailable ¶
type AddDebugAttachmentServiceUnavailable struct { }
AddDebugAttachmentServiceUnavailable handles this case with default header values.
Service Unavailable
func NewAddDebugAttachmentServiceUnavailable ¶
func NewAddDebugAttachmentServiceUnavailable() *AddDebugAttachmentServiceUnavailable
NewAddDebugAttachmentServiceUnavailable creates a AddDebugAttachmentServiceUnavailable with default headers values
func (*AddDebugAttachmentServiceUnavailable) Error ¶
func (o *AddDebugAttachmentServiceUnavailable) Error() string
type AddDebugAttachmentUnprocessableEntity ¶
type AddDebugAttachmentUnprocessableEntity struct { }
AddDebugAttachmentUnprocessableEntity handles this case with default header values.
Invalid input
func NewAddDebugAttachmentUnprocessableEntity ¶
func NewAddDebugAttachmentUnprocessableEntity() *AddDebugAttachmentUnprocessableEntity
NewAddDebugAttachmentUnprocessableEntity creates a AddDebugAttachmentUnprocessableEntity with default headers values
func (*AddDebugAttachmentUnprocessableEntity) Error ¶
func (o *AddDebugAttachmentUnprocessableEntity) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for debugattachment API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new debugattachment API client.
func (*Client) AddDebugAttachment ¶
func (a *Client) AddDebugAttachment(params *AddDebugAttachmentParams) (*AddDebugAttachmentCreated, error)
AddDebugAttachment requests squash to attach to a running container
A debug attachment instructs squash to attach to a container. Debug attachment is made of
- image: The container image we are debugging. this is used for extra validation, as placing breakpoints on the wrong binary can lead to unexpected results. if not provided huerisrtics will be used to identify it.
- debugger: Type of debugger to use. "dlv" and "gdb" are supported now.
- match_request: Whether to match this attachment to a debug request. This is used in automated use-cases to guarantee that the attachment matches a pending debug request.
func (*Client) DeleteDebugAttachment ¶
func (a *Client) DeleteDebugAttachment(params *DeleteDebugAttachmentParams) (*DeleteDebugAttachmentOK, error)
DeleteDebugAttachment deletes a debug attachment
Delete a debug attachment. be careful not to delete on during attaching phase.
func (*Client) GetDebugAttachment ¶
func (a *Client) GetDebugAttachment(params *GetDebugAttachmentParams) (*GetDebugAttachmentOK, error)
GetDebugAttachment returns a debug attachment
Return a debug attachment
func (*Client) GetDebugAttachments ¶
func (a *Client) GetDebugAttachments(params *GetDebugAttachmentsParams) (*GetDebugAttachmentsOK, error)
GetDebugAttachments returns all debug attachment
Return all debug attachment
func (*Client) PatchDebugAttachment ¶
func (a *Client) PatchDebugAttachment(params *PatchDebugAttachmentParams) (*PatchDebugAttachmentOK, error)
PatchDebugAttachment modifies an existing attachment
Modify an existing attachment.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteDebugAttachmentBadRequest ¶
type DeleteDebugAttachmentBadRequest struct { }
DeleteDebugAttachmentBadRequest handles this case with default header values.
Invalid ID supplied
func NewDeleteDebugAttachmentBadRequest ¶
func NewDeleteDebugAttachmentBadRequest() *DeleteDebugAttachmentBadRequest
NewDeleteDebugAttachmentBadRequest creates a DeleteDebugAttachmentBadRequest with default headers values
func (*DeleteDebugAttachmentBadRequest) Error ¶
func (o *DeleteDebugAttachmentBadRequest) Error() string
type DeleteDebugAttachmentNotFound ¶
type DeleteDebugAttachmentNotFound struct { }
DeleteDebugAttachmentNotFound handles this case with default header values.
Debug config not found
func NewDeleteDebugAttachmentNotFound ¶
func NewDeleteDebugAttachmentNotFound() *DeleteDebugAttachmentNotFound
NewDeleteDebugAttachmentNotFound creates a DeleteDebugAttachmentNotFound with default headers values
func (*DeleteDebugAttachmentNotFound) Error ¶
func (o *DeleteDebugAttachmentNotFound) Error() string
type DeleteDebugAttachmentOK ¶
type DeleteDebugAttachmentOK struct { }
DeleteDebugAttachmentOK handles this case with default header values.
OK
func NewDeleteDebugAttachmentOK ¶
func NewDeleteDebugAttachmentOK() *DeleteDebugAttachmentOK
NewDeleteDebugAttachmentOK creates a DeleteDebugAttachmentOK with default headers values
func (*DeleteDebugAttachmentOK) Error ¶
func (o *DeleteDebugAttachmentOK) Error() string
type DeleteDebugAttachmentParams ¶
type DeleteDebugAttachmentParams struct { /*DebugAttachmentID ID of config to return */ DebugAttachmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDebugAttachmentParams contains all the parameters to send to the API endpoint for the delete debug attachment operation typically these are written to a http.Request
func NewDeleteDebugAttachmentParams ¶
func NewDeleteDebugAttachmentParams() *DeleteDebugAttachmentParams
NewDeleteDebugAttachmentParams creates a new DeleteDebugAttachmentParams object with the default values initialized.
func NewDeleteDebugAttachmentParamsWithContext ¶
func NewDeleteDebugAttachmentParamsWithContext(ctx context.Context) *DeleteDebugAttachmentParams
NewDeleteDebugAttachmentParamsWithContext creates a new DeleteDebugAttachmentParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDebugAttachmentParamsWithHTTPClient ¶
func NewDeleteDebugAttachmentParamsWithHTTPClient(client *http.Client) *DeleteDebugAttachmentParams
NewDeleteDebugAttachmentParamsWithHTTPClient creates a new DeleteDebugAttachmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDebugAttachmentParamsWithTimeout ¶
func NewDeleteDebugAttachmentParamsWithTimeout(timeout time.Duration) *DeleteDebugAttachmentParams
NewDeleteDebugAttachmentParamsWithTimeout creates a new DeleteDebugAttachmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDebugAttachmentParams) SetContext ¶
func (o *DeleteDebugAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the delete debug attachment params
func (*DeleteDebugAttachmentParams) SetDebugAttachmentID ¶
func (o *DeleteDebugAttachmentParams) SetDebugAttachmentID(debugAttachmentID string)
SetDebugAttachmentID adds the debugAttachmentId to the delete debug attachment params
func (*DeleteDebugAttachmentParams) SetHTTPClient ¶
func (o *DeleteDebugAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete debug attachment params
func (*DeleteDebugAttachmentParams) SetTimeout ¶
func (o *DeleteDebugAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete debug attachment params
func (*DeleteDebugAttachmentParams) WithContext ¶
func (o *DeleteDebugAttachmentParams) WithContext(ctx context.Context) *DeleteDebugAttachmentParams
WithContext adds the context to the delete debug attachment params
func (*DeleteDebugAttachmentParams) WithDebugAttachmentID ¶
func (o *DeleteDebugAttachmentParams) WithDebugAttachmentID(debugAttachmentID string) *DeleteDebugAttachmentParams
WithDebugAttachmentID adds the debugAttachmentID to the delete debug attachment params
func (*DeleteDebugAttachmentParams) WithHTTPClient ¶
func (o *DeleteDebugAttachmentParams) WithHTTPClient(client *http.Client) *DeleteDebugAttachmentParams
WithHTTPClient adds the HTTPClient to the delete debug attachment params
func (*DeleteDebugAttachmentParams) WithTimeout ¶
func (o *DeleteDebugAttachmentParams) WithTimeout(timeout time.Duration) *DeleteDebugAttachmentParams
WithTimeout adds the timeout to the delete debug attachment params
func (*DeleteDebugAttachmentParams) WriteToRequest ¶
func (o *DeleteDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDebugAttachmentReader ¶
type DeleteDebugAttachmentReader struct {
// contains filtered or unexported fields
}
DeleteDebugAttachmentReader is a Reader for the DeleteDebugAttachment structure.
func (*DeleteDebugAttachmentReader) ReadResponse ¶
func (o *DeleteDebugAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDebugAttachmentUnprocessableEntity ¶
type DeleteDebugAttachmentUnprocessableEntity struct { }
DeleteDebugAttachmentUnprocessableEntity handles this case with default header values.
Validation exception
func NewDeleteDebugAttachmentUnprocessableEntity ¶
func NewDeleteDebugAttachmentUnprocessableEntity() *DeleteDebugAttachmentUnprocessableEntity
NewDeleteDebugAttachmentUnprocessableEntity creates a DeleteDebugAttachmentUnprocessableEntity with default headers values
func (*DeleteDebugAttachmentUnprocessableEntity) Error ¶
func (o *DeleteDebugAttachmentUnprocessableEntity) Error() string
type GetDebugAttachmentBadRequest ¶
type GetDebugAttachmentBadRequest struct { }
GetDebugAttachmentBadRequest handles this case with default header values.
Invalid ID supplied
func NewGetDebugAttachmentBadRequest ¶
func NewGetDebugAttachmentBadRequest() *GetDebugAttachmentBadRequest
NewGetDebugAttachmentBadRequest creates a GetDebugAttachmentBadRequest with default headers values
func (*GetDebugAttachmentBadRequest) Error ¶
func (o *GetDebugAttachmentBadRequest) Error() string
type GetDebugAttachmentNotFound ¶
type GetDebugAttachmentNotFound struct { }
GetDebugAttachmentNotFound handles this case with default header values.
Debug config not found
func NewGetDebugAttachmentNotFound ¶
func NewGetDebugAttachmentNotFound() *GetDebugAttachmentNotFound
NewGetDebugAttachmentNotFound creates a GetDebugAttachmentNotFound with default headers values
func (*GetDebugAttachmentNotFound) Error ¶
func (o *GetDebugAttachmentNotFound) Error() string
type GetDebugAttachmentOK ¶
type GetDebugAttachmentOK struct {
Payload *models.DebugAttachment
}
GetDebugAttachmentOK handles this case with default header values.
OK
func NewGetDebugAttachmentOK ¶
func NewGetDebugAttachmentOK() *GetDebugAttachmentOK
NewGetDebugAttachmentOK creates a GetDebugAttachmentOK with default headers values
func (*GetDebugAttachmentOK) Error ¶
func (o *GetDebugAttachmentOK) Error() string
type GetDebugAttachmentParams ¶
type GetDebugAttachmentParams struct { /*DebugAttachmentID ID of config to return */ DebugAttachmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDebugAttachmentParams contains all the parameters to send to the API endpoint for the get debug attachment operation typically these are written to a http.Request
func NewGetDebugAttachmentParams ¶
func NewGetDebugAttachmentParams() *GetDebugAttachmentParams
NewGetDebugAttachmentParams creates a new GetDebugAttachmentParams object with the default values initialized.
func NewGetDebugAttachmentParamsWithContext ¶
func NewGetDebugAttachmentParamsWithContext(ctx context.Context) *GetDebugAttachmentParams
NewGetDebugAttachmentParamsWithContext creates a new GetDebugAttachmentParams object with the default values initialized, and the ability to set a context for a request
func NewGetDebugAttachmentParamsWithHTTPClient ¶
func NewGetDebugAttachmentParamsWithHTTPClient(client *http.Client) *GetDebugAttachmentParams
NewGetDebugAttachmentParamsWithHTTPClient creates a new GetDebugAttachmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDebugAttachmentParamsWithTimeout ¶
func NewGetDebugAttachmentParamsWithTimeout(timeout time.Duration) *GetDebugAttachmentParams
NewGetDebugAttachmentParamsWithTimeout creates a new GetDebugAttachmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDebugAttachmentParams) SetContext ¶
func (o *GetDebugAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the get debug attachment params
func (*GetDebugAttachmentParams) SetDebugAttachmentID ¶
func (o *GetDebugAttachmentParams) SetDebugAttachmentID(debugAttachmentID string)
SetDebugAttachmentID adds the debugAttachmentId to the get debug attachment params
func (*GetDebugAttachmentParams) SetHTTPClient ¶
func (o *GetDebugAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get debug attachment params
func (*GetDebugAttachmentParams) SetTimeout ¶
func (o *GetDebugAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get debug attachment params
func (*GetDebugAttachmentParams) WithContext ¶
func (o *GetDebugAttachmentParams) WithContext(ctx context.Context) *GetDebugAttachmentParams
WithContext adds the context to the get debug attachment params
func (*GetDebugAttachmentParams) WithDebugAttachmentID ¶
func (o *GetDebugAttachmentParams) WithDebugAttachmentID(debugAttachmentID string) *GetDebugAttachmentParams
WithDebugAttachmentID adds the debugAttachmentID to the get debug attachment params
func (*GetDebugAttachmentParams) WithHTTPClient ¶
func (o *GetDebugAttachmentParams) WithHTTPClient(client *http.Client) *GetDebugAttachmentParams
WithHTTPClient adds the HTTPClient to the get debug attachment params
func (*GetDebugAttachmentParams) WithTimeout ¶
func (o *GetDebugAttachmentParams) WithTimeout(timeout time.Duration) *GetDebugAttachmentParams
WithTimeout adds the timeout to the get debug attachment params
func (*GetDebugAttachmentParams) WriteToRequest ¶
func (o *GetDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDebugAttachmentReader ¶
type GetDebugAttachmentReader struct {
// contains filtered or unexported fields
}
GetDebugAttachmentReader is a Reader for the GetDebugAttachment structure.
func (*GetDebugAttachmentReader) ReadResponse ¶
func (o *GetDebugAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDebugAttachmentUnprocessableEntity ¶
type GetDebugAttachmentUnprocessableEntity struct { }
GetDebugAttachmentUnprocessableEntity handles this case with default header values.
Validation exception
func NewGetDebugAttachmentUnprocessableEntity ¶
func NewGetDebugAttachmentUnprocessableEntity() *GetDebugAttachmentUnprocessableEntity
NewGetDebugAttachmentUnprocessableEntity creates a GetDebugAttachmentUnprocessableEntity with default headers values
func (*GetDebugAttachmentUnprocessableEntity) Error ¶
func (o *GetDebugAttachmentUnprocessableEntity) Error() string
type GetDebugAttachmentsOK ¶
type GetDebugAttachmentsOK struct { /*When querying for all the sessions on the node this can be used for to wait for a version update. */ ETag string Payload models.GetDebugAttachmentsOKBody }
GetDebugAttachmentsOK handles this case with default header values.
OK
func NewGetDebugAttachmentsOK ¶
func NewGetDebugAttachmentsOK() *GetDebugAttachmentsOK
NewGetDebugAttachmentsOK creates a GetDebugAttachmentsOK with default headers values
func (*GetDebugAttachmentsOK) Error ¶
func (o *GetDebugAttachmentsOK) Error() string
type GetDebugAttachmentsParams ¶
type GetDebugAttachmentsParams struct { /*XTimeout*/ XTimeout *float64 /*IfNoneMatch If the quering for all the attachments on a node, this case be used to wait for an update */ IfNoneMatch *string /*Names Only get a subset of debugattachments */ Names []string /*Node filter by node that the debugattachment is assigned to */ Node *string /*State filter by the state of debugattachment is assigned to */ State *string /*States filter by any of the states of the debugattachment (for example, attached and error) */ States []string /*Wait wait until there's something to return instead of returning an empty list */ Wait *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDebugAttachmentsParams contains all the parameters to send to the API endpoint for the get debug attachments operation typically these are written to a http.Request
func NewGetDebugAttachmentsParams ¶
func NewGetDebugAttachmentsParams() *GetDebugAttachmentsParams
NewGetDebugAttachmentsParams creates a new GetDebugAttachmentsParams object with the default values initialized.
func NewGetDebugAttachmentsParamsWithContext ¶
func NewGetDebugAttachmentsParamsWithContext(ctx context.Context) *GetDebugAttachmentsParams
NewGetDebugAttachmentsParamsWithContext creates a new GetDebugAttachmentsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDebugAttachmentsParamsWithHTTPClient ¶
func NewGetDebugAttachmentsParamsWithHTTPClient(client *http.Client) *GetDebugAttachmentsParams
NewGetDebugAttachmentsParamsWithHTTPClient creates a new GetDebugAttachmentsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDebugAttachmentsParamsWithTimeout ¶
func NewGetDebugAttachmentsParamsWithTimeout(timeout time.Duration) *GetDebugAttachmentsParams
NewGetDebugAttachmentsParamsWithTimeout creates a new GetDebugAttachmentsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDebugAttachmentsParams) SetContext ¶
func (o *GetDebugAttachmentsParams) SetContext(ctx context.Context)
SetContext adds the context to the get debug attachments params
func (*GetDebugAttachmentsParams) SetHTTPClient ¶
func (o *GetDebugAttachmentsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get debug attachments params
func (*GetDebugAttachmentsParams) SetIfNoneMatch ¶ added in v0.3.0
func (o *GetDebugAttachmentsParams) SetIfNoneMatch(ifNoneMatch *string)
SetIfNoneMatch adds the ifNoneMatch to the get debug attachments params
func (*GetDebugAttachmentsParams) SetNames ¶
func (o *GetDebugAttachmentsParams) SetNames(names []string)
SetNames adds the names to the get debug attachments params
func (*GetDebugAttachmentsParams) SetNode ¶
func (o *GetDebugAttachmentsParams) SetNode(node *string)
SetNode adds the node to the get debug attachments params
func (*GetDebugAttachmentsParams) SetState ¶
func (o *GetDebugAttachmentsParams) SetState(state *string)
SetState adds the state to the get debug attachments params
func (*GetDebugAttachmentsParams) SetStates ¶ added in v0.2.1
func (o *GetDebugAttachmentsParams) SetStates(states []string)
SetStates adds the states to the get debug attachments params
func (*GetDebugAttachmentsParams) SetTimeout ¶
func (o *GetDebugAttachmentsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get debug attachments params
func (*GetDebugAttachmentsParams) SetWait ¶
func (o *GetDebugAttachmentsParams) SetWait(wait *bool)
SetWait adds the wait to the get debug attachments params
func (*GetDebugAttachmentsParams) SetXTimeout ¶
func (o *GetDebugAttachmentsParams) SetXTimeout(xTimeout *float64)
SetXTimeout adds the xTimeout to the get debug attachments params
func (*GetDebugAttachmentsParams) WithContext ¶
func (o *GetDebugAttachmentsParams) WithContext(ctx context.Context) *GetDebugAttachmentsParams
WithContext adds the context to the get debug attachments params
func (*GetDebugAttachmentsParams) WithHTTPClient ¶
func (o *GetDebugAttachmentsParams) WithHTTPClient(client *http.Client) *GetDebugAttachmentsParams
WithHTTPClient adds the HTTPClient to the get debug attachments params
func (*GetDebugAttachmentsParams) WithIfNoneMatch ¶ added in v0.3.0
func (o *GetDebugAttachmentsParams) WithIfNoneMatch(ifNoneMatch *string) *GetDebugAttachmentsParams
WithIfNoneMatch adds the ifNoneMatch to the get debug attachments params
func (*GetDebugAttachmentsParams) WithNames ¶
func (o *GetDebugAttachmentsParams) WithNames(names []string) *GetDebugAttachmentsParams
WithNames adds the names to the get debug attachments params
func (*GetDebugAttachmentsParams) WithNode ¶
func (o *GetDebugAttachmentsParams) WithNode(node *string) *GetDebugAttachmentsParams
WithNode adds the node to the get debug attachments params
func (*GetDebugAttachmentsParams) WithState ¶
func (o *GetDebugAttachmentsParams) WithState(state *string) *GetDebugAttachmentsParams
WithState adds the state to the get debug attachments params
func (*GetDebugAttachmentsParams) WithStates ¶ added in v0.2.1
func (o *GetDebugAttachmentsParams) WithStates(states []string) *GetDebugAttachmentsParams
WithStates adds the states to the get debug attachments params
func (*GetDebugAttachmentsParams) WithTimeout ¶
func (o *GetDebugAttachmentsParams) WithTimeout(timeout time.Duration) *GetDebugAttachmentsParams
WithTimeout adds the timeout to the get debug attachments params
func (*GetDebugAttachmentsParams) WithWait ¶
func (o *GetDebugAttachmentsParams) WithWait(wait *bool) *GetDebugAttachmentsParams
WithWait adds the wait to the get debug attachments params
func (*GetDebugAttachmentsParams) WithXTimeout ¶
func (o *GetDebugAttachmentsParams) WithXTimeout(xTimeout *float64) *GetDebugAttachmentsParams
WithXTimeout adds the xTimeout to the get debug attachments params
func (*GetDebugAttachmentsParams) WriteToRequest ¶
func (o *GetDebugAttachmentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDebugAttachmentsReader ¶
type GetDebugAttachmentsReader struct {
// contains filtered or unexported fields
}
GetDebugAttachmentsReader is a Reader for the GetDebugAttachments structure.
func (*GetDebugAttachmentsReader) ReadResponse ¶
func (o *GetDebugAttachmentsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDebugAttachmentsRequestTimeout ¶
type GetDebugAttachmentsRequestTimeout struct { }
GetDebugAttachmentsRequestTimeout handles this case with default header values.
Request timed out
func NewGetDebugAttachmentsRequestTimeout ¶
func NewGetDebugAttachmentsRequestTimeout() *GetDebugAttachmentsRequestTimeout
NewGetDebugAttachmentsRequestTimeout creates a GetDebugAttachmentsRequestTimeout with default headers values
func (*GetDebugAttachmentsRequestTimeout) Error ¶
func (o *GetDebugAttachmentsRequestTimeout) Error() string
type GetDebugAttachmentsUnprocessableEntity ¶
type GetDebugAttachmentsUnprocessableEntity struct { }
GetDebugAttachmentsUnprocessableEntity handles this case with default header values.
Validation exception
func NewGetDebugAttachmentsUnprocessableEntity ¶
func NewGetDebugAttachmentsUnprocessableEntity() *GetDebugAttachmentsUnprocessableEntity
NewGetDebugAttachmentsUnprocessableEntity creates a GetDebugAttachmentsUnprocessableEntity with default headers values
func (*GetDebugAttachmentsUnprocessableEntity) Error ¶
func (o *GetDebugAttachmentsUnprocessableEntity) Error() string
type PatchDebugAttachmentBadRequest ¶
type PatchDebugAttachmentBadRequest struct { }
PatchDebugAttachmentBadRequest handles this case with default header values.
Bad request
func NewPatchDebugAttachmentBadRequest ¶
func NewPatchDebugAttachmentBadRequest() *PatchDebugAttachmentBadRequest
NewPatchDebugAttachmentBadRequest creates a PatchDebugAttachmentBadRequest with default headers values
func (*PatchDebugAttachmentBadRequest) Error ¶
func (o *PatchDebugAttachmentBadRequest) Error() string
type PatchDebugAttachmentConflict ¶
type PatchDebugAttachmentConflict struct { }
PatchDebugAttachmentConflict handles this case with default header values.
Conflict
func NewPatchDebugAttachmentConflict ¶
func NewPatchDebugAttachmentConflict() *PatchDebugAttachmentConflict
NewPatchDebugAttachmentConflict creates a PatchDebugAttachmentConflict with default headers values
func (*PatchDebugAttachmentConflict) Error ¶
func (o *PatchDebugAttachmentConflict) Error() string
type PatchDebugAttachmentNotFound ¶
type PatchDebugAttachmentNotFound struct { }
PatchDebugAttachmentNotFound handles this case with default header values.
Not found
func NewPatchDebugAttachmentNotFound ¶
func NewPatchDebugAttachmentNotFound() *PatchDebugAttachmentNotFound
NewPatchDebugAttachmentNotFound creates a PatchDebugAttachmentNotFound with default headers values
func (*PatchDebugAttachmentNotFound) Error ¶
func (o *PatchDebugAttachmentNotFound) Error() string
type PatchDebugAttachmentOK ¶
type PatchDebugAttachmentOK struct {
Payload *models.DebugAttachment
}
PatchDebugAttachmentOK handles this case with default header values.
Debug attachment modified
func NewPatchDebugAttachmentOK ¶
func NewPatchDebugAttachmentOK() *PatchDebugAttachmentOK
NewPatchDebugAttachmentOK creates a PatchDebugAttachmentOK with default headers values
func (*PatchDebugAttachmentOK) Error ¶
func (o *PatchDebugAttachmentOK) Error() string
type PatchDebugAttachmentParams ¶
type PatchDebugAttachmentParams struct { /*Body DebugAttachment object */ Body *models.DebugAttachment /*DebugAttachmentID ID of config to return */ DebugAttachmentID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchDebugAttachmentParams contains all the parameters to send to the API endpoint for the patch debug attachment operation typically these are written to a http.Request
func NewPatchDebugAttachmentParams ¶
func NewPatchDebugAttachmentParams() *PatchDebugAttachmentParams
NewPatchDebugAttachmentParams creates a new PatchDebugAttachmentParams object with the default values initialized.
func NewPatchDebugAttachmentParamsWithContext ¶
func NewPatchDebugAttachmentParamsWithContext(ctx context.Context) *PatchDebugAttachmentParams
NewPatchDebugAttachmentParamsWithContext creates a new PatchDebugAttachmentParams object with the default values initialized, and the ability to set a context for a request
func NewPatchDebugAttachmentParamsWithHTTPClient ¶
func NewPatchDebugAttachmentParamsWithHTTPClient(client *http.Client) *PatchDebugAttachmentParams
NewPatchDebugAttachmentParamsWithHTTPClient creates a new PatchDebugAttachmentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPatchDebugAttachmentParamsWithTimeout ¶
func NewPatchDebugAttachmentParamsWithTimeout(timeout time.Duration) *PatchDebugAttachmentParams
NewPatchDebugAttachmentParamsWithTimeout creates a new PatchDebugAttachmentParams object with the default values initialized, and the ability to set a timeout on a request
func (*PatchDebugAttachmentParams) SetBody ¶
func (o *PatchDebugAttachmentParams) SetBody(body *models.DebugAttachment)
SetBody adds the body to the patch debug attachment params
func (*PatchDebugAttachmentParams) SetContext ¶
func (o *PatchDebugAttachmentParams) SetContext(ctx context.Context)
SetContext adds the context to the patch debug attachment params
func (*PatchDebugAttachmentParams) SetDebugAttachmentID ¶
func (o *PatchDebugAttachmentParams) SetDebugAttachmentID(debugAttachmentID string)
SetDebugAttachmentID adds the debugAttachmentId to the patch debug attachment params
func (*PatchDebugAttachmentParams) SetHTTPClient ¶
func (o *PatchDebugAttachmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch debug attachment params
func (*PatchDebugAttachmentParams) SetTimeout ¶
func (o *PatchDebugAttachmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch debug attachment params
func (*PatchDebugAttachmentParams) WithBody ¶
func (o *PatchDebugAttachmentParams) WithBody(body *models.DebugAttachment) *PatchDebugAttachmentParams
WithBody adds the body to the patch debug attachment params
func (*PatchDebugAttachmentParams) WithContext ¶
func (o *PatchDebugAttachmentParams) WithContext(ctx context.Context) *PatchDebugAttachmentParams
WithContext adds the context to the patch debug attachment params
func (*PatchDebugAttachmentParams) WithDebugAttachmentID ¶
func (o *PatchDebugAttachmentParams) WithDebugAttachmentID(debugAttachmentID string) *PatchDebugAttachmentParams
WithDebugAttachmentID adds the debugAttachmentID to the patch debug attachment params
func (*PatchDebugAttachmentParams) WithHTTPClient ¶
func (o *PatchDebugAttachmentParams) WithHTTPClient(client *http.Client) *PatchDebugAttachmentParams
WithHTTPClient adds the HTTPClient to the patch debug attachment params
func (*PatchDebugAttachmentParams) WithTimeout ¶
func (o *PatchDebugAttachmentParams) WithTimeout(timeout time.Duration) *PatchDebugAttachmentParams
WithTimeout adds the timeout to the patch debug attachment params
func (*PatchDebugAttachmentParams) WriteToRequest ¶
func (o *PatchDebugAttachmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchDebugAttachmentReader ¶
type PatchDebugAttachmentReader struct {
// contains filtered or unexported fields
}
PatchDebugAttachmentReader is a Reader for the PatchDebugAttachment structure.
func (*PatchDebugAttachmentReader) ReadResponse ¶
func (o *PatchDebugAttachmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchDebugAttachmentServiceUnavailable ¶
type PatchDebugAttachmentServiceUnavailable struct { }
PatchDebugAttachmentServiceUnavailable handles this case with default header values.
Service Unavailable
func NewPatchDebugAttachmentServiceUnavailable ¶
func NewPatchDebugAttachmentServiceUnavailable() *PatchDebugAttachmentServiceUnavailable
NewPatchDebugAttachmentServiceUnavailable creates a PatchDebugAttachmentServiceUnavailable with default headers values
func (*PatchDebugAttachmentServiceUnavailable) Error ¶
func (o *PatchDebugAttachmentServiceUnavailable) Error() string
type PatchDebugAttachmentUnprocessableEntity ¶
type PatchDebugAttachmentUnprocessableEntity struct { }
PatchDebugAttachmentUnprocessableEntity handles this case with default header values.
Invalid input
func NewPatchDebugAttachmentUnprocessableEntity ¶
func NewPatchDebugAttachmentUnprocessableEntity() *PatchDebugAttachmentUnprocessableEntity
NewPatchDebugAttachmentUnprocessableEntity creates a PatchDebugAttachmentUnprocessableEntity with default headers values
func (*PatchDebugAttachmentUnprocessableEntity) Error ¶
func (o *PatchDebugAttachmentUnprocessableEntity) Error() string
Source Files ¶
- add_debug_attachment_parameters.go
- add_debug_attachment_responses.go
- debugattachment_client.go
- delete_debug_attachment_parameters.go
- delete_debug_attachment_responses.go
- get_debug_attachment_parameters.go
- get_debug_attachment_responses.go
- get_debug_attachments_parameters.go
- get_debug_attachments_responses.go
- patch_debug_attachment_parameters.go
- patch_debug_attachment_responses.go