Documentation ¶
Index ¶
- type CancelActionBody
- type CancelActionDefault
- type CancelActionDefaultBody
- type CancelActionOK
- type CancelActionParams
- func (o *CancelActionParams) SetBody(body CancelActionBody)
- func (o *CancelActionParams) SetContext(ctx context.Context)
- func (o *CancelActionParams) SetHTTPClient(client *http.Client)
- func (o *CancelActionParams) SetTimeout(timeout time.Duration)
- func (o *CancelActionParams) WithBody(body CancelActionBody) *CancelActionParams
- func (o *CancelActionParams) WithContext(ctx context.Context) *CancelActionParams
- func (o *CancelActionParams) WithHTTPClient(client *http.Client) *CancelActionParams
- func (o *CancelActionParams) WithTimeout(timeout time.Duration) *CancelActionParams
- func (o *CancelActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CancelActionReader
- type Client
- func (a *Client) CancelAction(params *CancelActionParams) (*CancelActionOK, error)
- func (a *Client) GetAction(params *GetActionParams) (*GetActionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) StartMySQLExplainAction(params *StartMySQLExplainActionParams) (*StartMySQLExplainActionOK, error)
- func (a *Client) StartMySQLExplainJSONAction(params *StartMySQLExplainJSONActionParams) (*StartMySQLExplainJSONActionOK, error)
- func (a *Client) StartMySQLExplainTraditionalJSONAction(params *StartMySQLExplainTraditionalJSONActionParams) (*StartMySQLExplainTraditionalJSONActionOK, error)
- func (a *Client) StartMySQLShowCreateTableAction(params *StartMySQLShowCreateTableActionParams) (*StartMySQLShowCreateTableActionOK, error)
- func (a *Client) StartMySQLShowIndexAction(params *StartMySQLShowIndexActionParams) (*StartMySQLShowIndexActionOK, error)
- func (a *Client) StartMySQLShowTableStatusAction(params *StartMySQLShowTableStatusActionParams) (*StartMySQLShowTableStatusActionOK, error)
- func (a *Client) StartPostgreSQLShowCreateTableAction(params *StartPostgreSQLShowCreateTableActionParams) (*StartPostgreSQLShowCreateTableActionOK, error)
- func (a *Client) StartPostgreSQLShowIndexAction(params *StartPostgreSQLShowIndexActionParams) (*StartPostgreSQLShowIndexActionOK, error)
- type GetActionBody
- type GetActionDefault
- type GetActionDefaultBody
- type GetActionOK
- type GetActionOKBody
- type GetActionParams
- func (o *GetActionParams) SetBody(body GetActionBody)
- func (o *GetActionParams) SetContext(ctx context.Context)
- func (o *GetActionParams) SetHTTPClient(client *http.Client)
- func (o *GetActionParams) SetTimeout(timeout time.Duration)
- func (o *GetActionParams) WithBody(body GetActionBody) *GetActionParams
- func (o *GetActionParams) WithContext(ctx context.Context) *GetActionParams
- func (o *GetActionParams) WithHTTPClient(client *http.Client) *GetActionParams
- func (o *GetActionParams) WithTimeout(timeout time.Duration) *GetActionParams
- func (o *GetActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetActionReader
- type StartMySQLExplainActionBody
- type StartMySQLExplainActionDefault
- type StartMySQLExplainActionDefaultBody
- type StartMySQLExplainActionOK
- type StartMySQLExplainActionOKBody
- type StartMySQLExplainActionParams
- func NewStartMySQLExplainActionParams() *StartMySQLExplainActionParams
- func NewStartMySQLExplainActionParamsWithContext(ctx context.Context) *StartMySQLExplainActionParams
- func NewStartMySQLExplainActionParamsWithHTTPClient(client *http.Client) *StartMySQLExplainActionParams
- func NewStartMySQLExplainActionParamsWithTimeout(timeout time.Duration) *StartMySQLExplainActionParams
- func (o *StartMySQLExplainActionParams) SetBody(body StartMySQLExplainActionBody)
- func (o *StartMySQLExplainActionParams) SetContext(ctx context.Context)
- func (o *StartMySQLExplainActionParams) SetHTTPClient(client *http.Client)
- func (o *StartMySQLExplainActionParams) SetTimeout(timeout time.Duration)
- func (o *StartMySQLExplainActionParams) WithBody(body StartMySQLExplainActionBody) *StartMySQLExplainActionParams
- func (o *StartMySQLExplainActionParams) WithContext(ctx context.Context) *StartMySQLExplainActionParams
- func (o *StartMySQLExplainActionParams) WithHTTPClient(client *http.Client) *StartMySQLExplainActionParams
- func (o *StartMySQLExplainActionParams) WithTimeout(timeout time.Duration) *StartMySQLExplainActionParams
- func (o *StartMySQLExplainActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartMySQLExplainActionReader
- type StartMySQLExplainJSONActionBody
- type StartMySQLExplainJSONActionDefault
- type StartMySQLExplainJSONActionDefaultBody
- type StartMySQLExplainJSONActionOK
- type StartMySQLExplainJSONActionOKBody
- type StartMySQLExplainJSONActionParams
- func NewStartMySQLExplainJSONActionParams() *StartMySQLExplainJSONActionParams
- func NewStartMySQLExplainJSONActionParamsWithContext(ctx context.Context) *StartMySQLExplainJSONActionParams
- func NewStartMySQLExplainJSONActionParamsWithHTTPClient(client *http.Client) *StartMySQLExplainJSONActionParams
- func NewStartMySQLExplainJSONActionParamsWithTimeout(timeout time.Duration) *StartMySQLExplainJSONActionParams
- func (o *StartMySQLExplainJSONActionParams) SetBody(body StartMySQLExplainJSONActionBody)
- func (o *StartMySQLExplainJSONActionParams) SetContext(ctx context.Context)
- func (o *StartMySQLExplainJSONActionParams) SetHTTPClient(client *http.Client)
- func (o *StartMySQLExplainJSONActionParams) SetTimeout(timeout time.Duration)
- func (o *StartMySQLExplainJSONActionParams) WithBody(body StartMySQLExplainJSONActionBody) *StartMySQLExplainJSONActionParams
- func (o *StartMySQLExplainJSONActionParams) WithContext(ctx context.Context) *StartMySQLExplainJSONActionParams
- func (o *StartMySQLExplainJSONActionParams) WithHTTPClient(client *http.Client) *StartMySQLExplainJSONActionParams
- func (o *StartMySQLExplainJSONActionParams) WithTimeout(timeout time.Duration) *StartMySQLExplainJSONActionParams
- func (o *StartMySQLExplainJSONActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartMySQLExplainJSONActionReader
- type StartMySQLExplainTraditionalJSONActionBody
- type StartMySQLExplainTraditionalJSONActionDefault
- type StartMySQLExplainTraditionalJSONActionDefaultBody
- type StartMySQLExplainTraditionalJSONActionOK
- type StartMySQLExplainTraditionalJSONActionOKBody
- type StartMySQLExplainTraditionalJSONActionParams
- func NewStartMySQLExplainTraditionalJSONActionParams() *StartMySQLExplainTraditionalJSONActionParams
- func NewStartMySQLExplainTraditionalJSONActionParamsWithContext(ctx context.Context) *StartMySQLExplainTraditionalJSONActionParams
- func NewStartMySQLExplainTraditionalJSONActionParamsWithHTTPClient(client *http.Client) *StartMySQLExplainTraditionalJSONActionParams
- func NewStartMySQLExplainTraditionalJSONActionParamsWithTimeout(timeout time.Duration) *StartMySQLExplainTraditionalJSONActionParams
- func (o *StartMySQLExplainTraditionalJSONActionParams) SetBody(body StartMySQLExplainTraditionalJSONActionBody)
- func (o *StartMySQLExplainTraditionalJSONActionParams) SetContext(ctx context.Context)
- func (o *StartMySQLExplainTraditionalJSONActionParams) SetHTTPClient(client *http.Client)
- func (o *StartMySQLExplainTraditionalJSONActionParams) SetTimeout(timeout time.Duration)
- func (o *StartMySQLExplainTraditionalJSONActionParams) WithBody(body StartMySQLExplainTraditionalJSONActionBody) *StartMySQLExplainTraditionalJSONActionParams
- func (o *StartMySQLExplainTraditionalJSONActionParams) WithContext(ctx context.Context) *StartMySQLExplainTraditionalJSONActionParams
- func (o *StartMySQLExplainTraditionalJSONActionParams) WithHTTPClient(client *http.Client) *StartMySQLExplainTraditionalJSONActionParams
- func (o *StartMySQLExplainTraditionalJSONActionParams) WithTimeout(timeout time.Duration) *StartMySQLExplainTraditionalJSONActionParams
- func (o *StartMySQLExplainTraditionalJSONActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartMySQLExplainTraditionalJSONActionReader
- type StartMySQLShowCreateTableActionBody
- type StartMySQLShowCreateTableActionDefault
- type StartMySQLShowCreateTableActionDefaultBody
- type StartMySQLShowCreateTableActionOK
- type StartMySQLShowCreateTableActionOKBody
- type StartMySQLShowCreateTableActionParams
- func NewStartMySQLShowCreateTableActionParams() *StartMySQLShowCreateTableActionParams
- func NewStartMySQLShowCreateTableActionParamsWithContext(ctx context.Context) *StartMySQLShowCreateTableActionParams
- func NewStartMySQLShowCreateTableActionParamsWithHTTPClient(client *http.Client) *StartMySQLShowCreateTableActionParams
- func NewStartMySQLShowCreateTableActionParamsWithTimeout(timeout time.Duration) *StartMySQLShowCreateTableActionParams
- func (o *StartMySQLShowCreateTableActionParams) SetBody(body StartMySQLShowCreateTableActionBody)
- func (o *StartMySQLShowCreateTableActionParams) SetContext(ctx context.Context)
- func (o *StartMySQLShowCreateTableActionParams) SetHTTPClient(client *http.Client)
- func (o *StartMySQLShowCreateTableActionParams) SetTimeout(timeout time.Duration)
- func (o *StartMySQLShowCreateTableActionParams) WithBody(body StartMySQLShowCreateTableActionBody) *StartMySQLShowCreateTableActionParams
- func (o *StartMySQLShowCreateTableActionParams) WithContext(ctx context.Context) *StartMySQLShowCreateTableActionParams
- func (o *StartMySQLShowCreateTableActionParams) WithHTTPClient(client *http.Client) *StartMySQLShowCreateTableActionParams
- func (o *StartMySQLShowCreateTableActionParams) WithTimeout(timeout time.Duration) *StartMySQLShowCreateTableActionParams
- func (o *StartMySQLShowCreateTableActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartMySQLShowCreateTableActionReader
- type StartMySQLShowIndexActionBody
- type StartMySQLShowIndexActionDefault
- type StartMySQLShowIndexActionDefaultBody
- type StartMySQLShowIndexActionOK
- type StartMySQLShowIndexActionOKBody
- type StartMySQLShowIndexActionParams
- func NewStartMySQLShowIndexActionParams() *StartMySQLShowIndexActionParams
- func NewStartMySQLShowIndexActionParamsWithContext(ctx context.Context) *StartMySQLShowIndexActionParams
- func NewStartMySQLShowIndexActionParamsWithHTTPClient(client *http.Client) *StartMySQLShowIndexActionParams
- func NewStartMySQLShowIndexActionParamsWithTimeout(timeout time.Duration) *StartMySQLShowIndexActionParams
- func (o *StartMySQLShowIndexActionParams) SetBody(body StartMySQLShowIndexActionBody)
- func (o *StartMySQLShowIndexActionParams) SetContext(ctx context.Context)
- func (o *StartMySQLShowIndexActionParams) SetHTTPClient(client *http.Client)
- func (o *StartMySQLShowIndexActionParams) SetTimeout(timeout time.Duration)
- func (o *StartMySQLShowIndexActionParams) WithBody(body StartMySQLShowIndexActionBody) *StartMySQLShowIndexActionParams
- func (o *StartMySQLShowIndexActionParams) WithContext(ctx context.Context) *StartMySQLShowIndexActionParams
- func (o *StartMySQLShowIndexActionParams) WithHTTPClient(client *http.Client) *StartMySQLShowIndexActionParams
- func (o *StartMySQLShowIndexActionParams) WithTimeout(timeout time.Duration) *StartMySQLShowIndexActionParams
- func (o *StartMySQLShowIndexActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartMySQLShowIndexActionReader
- type StartMySQLShowTableStatusActionBody
- type StartMySQLShowTableStatusActionDefault
- type StartMySQLShowTableStatusActionDefaultBody
- type StartMySQLShowTableStatusActionOK
- type StartMySQLShowTableStatusActionOKBody
- type StartMySQLShowTableStatusActionParams
- func NewStartMySQLShowTableStatusActionParams() *StartMySQLShowTableStatusActionParams
- func NewStartMySQLShowTableStatusActionParamsWithContext(ctx context.Context) *StartMySQLShowTableStatusActionParams
- func NewStartMySQLShowTableStatusActionParamsWithHTTPClient(client *http.Client) *StartMySQLShowTableStatusActionParams
- func NewStartMySQLShowTableStatusActionParamsWithTimeout(timeout time.Duration) *StartMySQLShowTableStatusActionParams
- func (o *StartMySQLShowTableStatusActionParams) SetBody(body StartMySQLShowTableStatusActionBody)
- func (o *StartMySQLShowTableStatusActionParams) SetContext(ctx context.Context)
- func (o *StartMySQLShowTableStatusActionParams) SetHTTPClient(client *http.Client)
- func (o *StartMySQLShowTableStatusActionParams) SetTimeout(timeout time.Duration)
- func (o *StartMySQLShowTableStatusActionParams) WithBody(body StartMySQLShowTableStatusActionBody) *StartMySQLShowTableStatusActionParams
- func (o *StartMySQLShowTableStatusActionParams) WithContext(ctx context.Context) *StartMySQLShowTableStatusActionParams
- func (o *StartMySQLShowTableStatusActionParams) WithHTTPClient(client *http.Client) *StartMySQLShowTableStatusActionParams
- func (o *StartMySQLShowTableStatusActionParams) WithTimeout(timeout time.Duration) *StartMySQLShowTableStatusActionParams
- func (o *StartMySQLShowTableStatusActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartMySQLShowTableStatusActionReader
- type StartPostgreSQLShowCreateTableActionBody
- type StartPostgreSQLShowCreateTableActionDefault
- type StartPostgreSQLShowCreateTableActionDefaultBody
- type StartPostgreSQLShowCreateTableActionOK
- type StartPostgreSQLShowCreateTableActionOKBody
- type StartPostgreSQLShowCreateTableActionParams
- func NewStartPostgreSQLShowCreateTableActionParams() *StartPostgreSQLShowCreateTableActionParams
- func NewStartPostgreSQLShowCreateTableActionParamsWithContext(ctx context.Context) *StartPostgreSQLShowCreateTableActionParams
- func NewStartPostgreSQLShowCreateTableActionParamsWithHTTPClient(client *http.Client) *StartPostgreSQLShowCreateTableActionParams
- func NewStartPostgreSQLShowCreateTableActionParamsWithTimeout(timeout time.Duration) *StartPostgreSQLShowCreateTableActionParams
- func (o *StartPostgreSQLShowCreateTableActionParams) SetBody(body StartPostgreSQLShowCreateTableActionBody)
- func (o *StartPostgreSQLShowCreateTableActionParams) SetContext(ctx context.Context)
- func (o *StartPostgreSQLShowCreateTableActionParams) SetHTTPClient(client *http.Client)
- func (o *StartPostgreSQLShowCreateTableActionParams) SetTimeout(timeout time.Duration)
- func (o *StartPostgreSQLShowCreateTableActionParams) WithBody(body StartPostgreSQLShowCreateTableActionBody) *StartPostgreSQLShowCreateTableActionParams
- func (o *StartPostgreSQLShowCreateTableActionParams) WithContext(ctx context.Context) *StartPostgreSQLShowCreateTableActionParams
- func (o *StartPostgreSQLShowCreateTableActionParams) WithHTTPClient(client *http.Client) *StartPostgreSQLShowCreateTableActionParams
- func (o *StartPostgreSQLShowCreateTableActionParams) WithTimeout(timeout time.Duration) *StartPostgreSQLShowCreateTableActionParams
- func (o *StartPostgreSQLShowCreateTableActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartPostgreSQLShowCreateTableActionReader
- type StartPostgreSQLShowIndexActionBody
- type StartPostgreSQLShowIndexActionDefault
- type StartPostgreSQLShowIndexActionDefaultBody
- type StartPostgreSQLShowIndexActionOK
- type StartPostgreSQLShowIndexActionOKBody
- type StartPostgreSQLShowIndexActionParams
- func NewStartPostgreSQLShowIndexActionParams() *StartPostgreSQLShowIndexActionParams
- func NewStartPostgreSQLShowIndexActionParamsWithContext(ctx context.Context) *StartPostgreSQLShowIndexActionParams
- func NewStartPostgreSQLShowIndexActionParamsWithHTTPClient(client *http.Client) *StartPostgreSQLShowIndexActionParams
- func NewStartPostgreSQLShowIndexActionParamsWithTimeout(timeout time.Duration) *StartPostgreSQLShowIndexActionParams
- func (o *StartPostgreSQLShowIndexActionParams) SetBody(body StartPostgreSQLShowIndexActionBody)
- func (o *StartPostgreSQLShowIndexActionParams) SetContext(ctx context.Context)
- func (o *StartPostgreSQLShowIndexActionParams) SetHTTPClient(client *http.Client)
- func (o *StartPostgreSQLShowIndexActionParams) SetTimeout(timeout time.Duration)
- func (o *StartPostgreSQLShowIndexActionParams) WithBody(body StartPostgreSQLShowIndexActionBody) *StartPostgreSQLShowIndexActionParams
- func (o *StartPostgreSQLShowIndexActionParams) WithContext(ctx context.Context) *StartPostgreSQLShowIndexActionParams
- func (o *StartPostgreSQLShowIndexActionParams) WithHTTPClient(client *http.Client) *StartPostgreSQLShowIndexActionParams
- func (o *StartPostgreSQLShowIndexActionParams) WithTimeout(timeout time.Duration) *StartPostgreSQLShowIndexActionParams
- func (o *StartPostgreSQLShowIndexActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type StartPostgreSQLShowIndexActionReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelActionBody ¶
type CancelActionBody struct { // Unique Action ID. Required. ActionID string `json:"action_id,omitempty"` }
CancelActionBody cancel action body swagger:model CancelActionBody
func (*CancelActionBody) MarshalBinary ¶
func (o *CancelActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelActionBody) UnmarshalBinary ¶
func (o *CancelActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CancelActionDefault ¶
type CancelActionDefault struct { Payload *CancelActionDefaultBody // contains filtered or unexported fields }
CancelActionDefault handles this case with default header values.
An error response.
func NewCancelActionDefault ¶
func NewCancelActionDefault(code int) *CancelActionDefault
NewCancelActionDefault creates a CancelActionDefault with default headers values
func (*CancelActionDefault) Code ¶
func (o *CancelActionDefault) Code() int
Code gets the status code for the cancel action default response
func (*CancelActionDefault) Error ¶
func (o *CancelActionDefault) Error() string
func (*CancelActionDefault) GetPayload ¶
func (o *CancelActionDefault) GetPayload() *CancelActionDefaultBody
type CancelActionDefaultBody ¶
type CancelActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
CancelActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model CancelActionDefaultBody
func (*CancelActionDefaultBody) MarshalBinary ¶
func (o *CancelActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelActionDefaultBody) UnmarshalBinary ¶
func (o *CancelActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CancelActionOK ¶
type CancelActionOK struct {
Payload interface{}
}
CancelActionOK handles this case with default header values.
A successful response.
func NewCancelActionOK ¶
func NewCancelActionOK() *CancelActionOK
NewCancelActionOK creates a CancelActionOK with default headers values
func (*CancelActionOK) Error ¶
func (o *CancelActionOK) Error() string
func (*CancelActionOK) GetPayload ¶
func (o *CancelActionOK) GetPayload() interface{}
type CancelActionParams ¶
type CancelActionParams struct { /*Body*/ Body CancelActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CancelActionParams contains all the parameters to send to the API endpoint for the cancel action operation typically these are written to a http.Request
func NewCancelActionParams ¶
func NewCancelActionParams() *CancelActionParams
NewCancelActionParams creates a new CancelActionParams object with the default values initialized.
func NewCancelActionParamsWithContext ¶
func NewCancelActionParamsWithContext(ctx context.Context) *CancelActionParams
NewCancelActionParamsWithContext creates a new CancelActionParams object with the default values initialized, and the ability to set a context for a request
func NewCancelActionParamsWithHTTPClient ¶
func NewCancelActionParamsWithHTTPClient(client *http.Client) *CancelActionParams
NewCancelActionParamsWithHTTPClient creates a new CancelActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCancelActionParamsWithTimeout ¶
func NewCancelActionParamsWithTimeout(timeout time.Duration) *CancelActionParams
NewCancelActionParamsWithTimeout creates a new CancelActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CancelActionParams) SetBody ¶
func (o *CancelActionParams) SetBody(body CancelActionBody)
SetBody adds the body to the cancel action params
func (*CancelActionParams) SetContext ¶
func (o *CancelActionParams) SetContext(ctx context.Context)
SetContext adds the context to the cancel action params
func (*CancelActionParams) SetHTTPClient ¶
func (o *CancelActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cancel action params
func (*CancelActionParams) SetTimeout ¶
func (o *CancelActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cancel action params
func (*CancelActionParams) WithBody ¶
func (o *CancelActionParams) WithBody(body CancelActionBody) *CancelActionParams
WithBody adds the body to the cancel action params
func (*CancelActionParams) WithContext ¶
func (o *CancelActionParams) WithContext(ctx context.Context) *CancelActionParams
WithContext adds the context to the cancel action params
func (*CancelActionParams) WithHTTPClient ¶
func (o *CancelActionParams) WithHTTPClient(client *http.Client) *CancelActionParams
WithHTTPClient adds the HTTPClient to the cancel action params
func (*CancelActionParams) WithTimeout ¶
func (o *CancelActionParams) WithTimeout(timeout time.Duration) *CancelActionParams
WithTimeout adds the timeout to the cancel action params
func (*CancelActionParams) WriteToRequest ¶
func (o *CancelActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CancelActionReader ¶
type CancelActionReader struct {
// contains filtered or unexported fields
}
CancelActionReader is a Reader for the CancelAction structure.
func (*CancelActionReader) ReadResponse ¶
func (o *CancelActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for actions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new actions API client.
func (*Client) CancelAction ¶
func (a *Client) CancelAction(params *CancelActionParams) (*CancelActionOK, error)
CancelAction cancels action stops an action
func (*Client) GetAction ¶
func (a *Client) GetAction(params *GetActionParams) (*GetActionOK, error)
GetAction gets action gets an result of given action
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) StartMySQLExplainAction ¶
func (a *Client) StartMySQLExplainAction(params *StartMySQLExplainActionParams) (*StartMySQLExplainActionOK, error)
StartMySQLExplainAction starts my SQL explain action starts my SQL e x p l a i n action with traditional output
func (*Client) StartMySQLExplainJSONAction ¶
func (a *Client) StartMySQLExplainJSONAction(params *StartMySQLExplainJSONActionParams) (*StartMySQLExplainJSONActionOK, error)
StartMySQLExplainJSONAction starts my SQL explain JSON action starts my SQL e x p l a i n action with JSON output
func (*Client) StartMySQLExplainTraditionalJSONAction ¶
func (a *Client) StartMySQLExplainTraditionalJSONAction(params *StartMySQLExplainTraditionalJSONActionParams) (*StartMySQLExplainTraditionalJSONActionOK, error)
StartMySQLExplainTraditionalJSONAction starts my SQL explain traditional JSON action starts my SQL e x p l a i n action with traditional JSON output
func (*Client) StartMySQLShowCreateTableAction ¶
func (a *Client) StartMySQLShowCreateTableAction(params *StartMySQLShowCreateTableActionParams) (*StartMySQLShowCreateTableActionOK, error)
StartMySQLShowCreateTableAction starts my SQL show create table action starts my SQL s h o w c r e a t e t a b l e action
func (*Client) StartMySQLShowIndexAction ¶
func (a *Client) StartMySQLShowIndexAction(params *StartMySQLShowIndexActionParams) (*StartMySQLShowIndexActionOK, error)
StartMySQLShowIndexAction starts my SQL show index action starts my SQL s h o w i n d e x action
func (*Client) StartMySQLShowTableStatusAction ¶
func (a *Client) StartMySQLShowTableStatusAction(params *StartMySQLShowTableStatusActionParams) (*StartMySQLShowTableStatusActionOK, error)
StartMySQLShowTableStatusAction starts my SQL show table status action starts my SQL s h o w t a b l e s t a t u s action
func (*Client) StartPostgreSQLShowCreateTableAction ¶
func (a *Client) StartPostgreSQLShowCreateTableAction(params *StartPostgreSQLShowCreateTableActionParams) (*StartPostgreSQLShowCreateTableActionOK, error)
StartPostgreSQLShowCreateTableAction starts postgre SQL show create table action starts postgre SQL s h o w c r e a t e t a b l e action
func (*Client) StartPostgreSQLShowIndexAction ¶
func (a *Client) StartPostgreSQLShowIndexAction(params *StartPostgreSQLShowIndexActionParams) (*StartPostgreSQLShowIndexActionOK, error)
StartPostgreSQLShowIndexAction starts postgre SQL show index action starts postgre SQL s h o w i n d e x action
type GetActionBody ¶
type GetActionBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` }
GetActionBody get action body swagger:model GetActionBody
func (*GetActionBody) MarshalBinary ¶
func (o *GetActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetActionBody) UnmarshalBinary ¶
func (o *GetActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetActionDefault ¶
type GetActionDefault struct { Payload *GetActionDefaultBody // contains filtered or unexported fields }
GetActionDefault handles this case with default header values.
An error response.
func NewGetActionDefault ¶
func NewGetActionDefault(code int) *GetActionDefault
NewGetActionDefault creates a GetActionDefault with default headers values
func (*GetActionDefault) Code ¶
func (o *GetActionDefault) Code() int
Code gets the status code for the get action default response
func (*GetActionDefault) Error ¶
func (o *GetActionDefault) Error() string
func (*GetActionDefault) GetPayload ¶
func (o *GetActionDefault) GetPayload() *GetActionDefaultBody
type GetActionDefaultBody ¶
type GetActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
GetActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model GetActionDefaultBody
func (*GetActionDefaultBody) MarshalBinary ¶
func (o *GetActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetActionDefaultBody) UnmarshalBinary ¶
func (o *GetActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetActionOK ¶
type GetActionOK struct {
Payload *GetActionOKBody
}
GetActionOK handles this case with default header values.
A successful response.
func NewGetActionOK ¶
func NewGetActionOK() *GetActionOK
NewGetActionOK creates a GetActionOK with default headers values
func (*GetActionOK) Error ¶
func (o *GetActionOK) Error() string
func (*GetActionOK) GetPayload ¶
func (o *GetActionOK) GetPayload() *GetActionOKBody
type GetActionOKBody ¶
type GetActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where this Action is running / was run. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Current Action output; may be partial if Action is still running. Output string `json:"output,omitempty"` // True if Action is finished. Done bool `json:"done,omitempty"` // Error message if Action failed. Error string `json:"error,omitempty"` }
GetActionOKBody get action OK body swagger:model GetActionOKBody
func (*GetActionOKBody) MarshalBinary ¶
func (o *GetActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetActionOKBody) UnmarshalBinary ¶
func (o *GetActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetActionParams ¶
type GetActionParams struct { /*Body*/ Body GetActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetActionParams contains all the parameters to send to the API endpoint for the get action operation typically these are written to a http.Request
func NewGetActionParams ¶
func NewGetActionParams() *GetActionParams
NewGetActionParams creates a new GetActionParams object with the default values initialized.
func NewGetActionParamsWithContext ¶
func NewGetActionParamsWithContext(ctx context.Context) *GetActionParams
NewGetActionParamsWithContext creates a new GetActionParams object with the default values initialized, and the ability to set a context for a request
func NewGetActionParamsWithHTTPClient ¶
func NewGetActionParamsWithHTTPClient(client *http.Client) *GetActionParams
NewGetActionParamsWithHTTPClient creates a new GetActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetActionParamsWithTimeout ¶
func NewGetActionParamsWithTimeout(timeout time.Duration) *GetActionParams
NewGetActionParamsWithTimeout creates a new GetActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetActionParams) SetBody ¶
func (o *GetActionParams) SetBody(body GetActionBody)
SetBody adds the body to the get action params
func (*GetActionParams) SetContext ¶
func (o *GetActionParams) SetContext(ctx context.Context)
SetContext adds the context to the get action params
func (*GetActionParams) SetHTTPClient ¶
func (o *GetActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get action params
func (*GetActionParams) SetTimeout ¶
func (o *GetActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get action params
func (*GetActionParams) WithBody ¶
func (o *GetActionParams) WithBody(body GetActionBody) *GetActionParams
WithBody adds the body to the get action params
func (*GetActionParams) WithContext ¶
func (o *GetActionParams) WithContext(ctx context.Context) *GetActionParams
WithContext adds the context to the get action params
func (*GetActionParams) WithHTTPClient ¶
func (o *GetActionParams) WithHTTPClient(client *http.Client) *GetActionParams
WithHTTPClient adds the HTTPClient to the get action params
func (*GetActionParams) WithTimeout ¶
func (o *GetActionParams) WithTimeout(timeout time.Duration) *GetActionParams
WithTimeout adds the timeout to the get action params
func (*GetActionParams) WriteToRequest ¶
func (o *GetActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetActionReader ¶
type GetActionReader struct {
// contains filtered or unexported fields
}
GetActionReader is a Reader for the GetAction structure.
func (*GetActionReader) ReadResponse ¶
func (o *GetActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartMySQLExplainActionBody ¶
type StartMySQLExplainActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // SQL query. Required. Query string `json:"query,omitempty"` // Database name. Required if it can't be deduced from the query. Database string `json:"database,omitempty"` }
StartMySQLExplainActionBody start my SQL explain action body swagger:model StartMySQLExplainActionBody
func (*StartMySQLExplainActionBody) MarshalBinary ¶
func (o *StartMySQLExplainActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainActionBody) UnmarshalBinary ¶
func (o *StartMySQLExplainActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainActionDefault ¶
type StartMySQLExplainActionDefault struct { Payload *StartMySQLExplainActionDefaultBody // contains filtered or unexported fields }
StartMySQLExplainActionDefault handles this case with default header values.
An error response.
func NewStartMySQLExplainActionDefault ¶
func NewStartMySQLExplainActionDefault(code int) *StartMySQLExplainActionDefault
NewStartMySQLExplainActionDefault creates a StartMySQLExplainActionDefault with default headers values
func (*StartMySQLExplainActionDefault) Code ¶
func (o *StartMySQLExplainActionDefault) Code() int
Code gets the status code for the start my SQL explain action default response
func (*StartMySQLExplainActionDefault) Error ¶
func (o *StartMySQLExplainActionDefault) Error() string
func (*StartMySQLExplainActionDefault) GetPayload ¶
func (o *StartMySQLExplainActionDefault) GetPayload() *StartMySQLExplainActionDefaultBody
type StartMySQLExplainActionDefaultBody ¶
type StartMySQLExplainActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartMySQLExplainActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartMySQLExplainActionDefaultBody
func (*StartMySQLExplainActionDefaultBody) MarshalBinary ¶
func (o *StartMySQLExplainActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainActionDefaultBody) UnmarshalBinary ¶
func (o *StartMySQLExplainActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainActionOK ¶
type StartMySQLExplainActionOK struct {
Payload *StartMySQLExplainActionOKBody
}
StartMySQLExplainActionOK handles this case with default header values.
A successful response.
func NewStartMySQLExplainActionOK ¶
func NewStartMySQLExplainActionOK() *StartMySQLExplainActionOK
NewStartMySQLExplainActionOK creates a StartMySQLExplainActionOK with default headers values
func (*StartMySQLExplainActionOK) Error ¶
func (o *StartMySQLExplainActionOK) Error() string
func (*StartMySQLExplainActionOK) GetPayload ¶
func (o *StartMySQLExplainActionOK) GetPayload() *StartMySQLExplainActionOKBody
type StartMySQLExplainActionOKBody ¶
type StartMySQLExplainActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartMySQLExplainActionOKBody start my SQL explain action OK body swagger:model StartMySQLExplainActionOKBody
func (*StartMySQLExplainActionOKBody) MarshalBinary ¶
func (o *StartMySQLExplainActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainActionOKBody) UnmarshalBinary ¶
func (o *StartMySQLExplainActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainActionParams ¶
type StartMySQLExplainActionParams struct { /*Body*/ Body StartMySQLExplainActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartMySQLExplainActionParams contains all the parameters to send to the API endpoint for the start my SQL explain action operation typically these are written to a http.Request
func NewStartMySQLExplainActionParams ¶
func NewStartMySQLExplainActionParams() *StartMySQLExplainActionParams
NewStartMySQLExplainActionParams creates a new StartMySQLExplainActionParams object with the default values initialized.
func NewStartMySQLExplainActionParamsWithContext ¶
func NewStartMySQLExplainActionParamsWithContext(ctx context.Context) *StartMySQLExplainActionParams
NewStartMySQLExplainActionParamsWithContext creates a new StartMySQLExplainActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartMySQLExplainActionParamsWithHTTPClient ¶
func NewStartMySQLExplainActionParamsWithHTTPClient(client *http.Client) *StartMySQLExplainActionParams
NewStartMySQLExplainActionParamsWithHTTPClient creates a new StartMySQLExplainActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartMySQLExplainActionParamsWithTimeout ¶
func NewStartMySQLExplainActionParamsWithTimeout(timeout time.Duration) *StartMySQLExplainActionParams
NewStartMySQLExplainActionParamsWithTimeout creates a new StartMySQLExplainActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartMySQLExplainActionParams) SetBody ¶
func (o *StartMySQLExplainActionParams) SetBody(body StartMySQLExplainActionBody)
SetBody adds the body to the start my SQL explain action params
func (*StartMySQLExplainActionParams) SetContext ¶
func (o *StartMySQLExplainActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start my SQL explain action params
func (*StartMySQLExplainActionParams) SetHTTPClient ¶
func (o *StartMySQLExplainActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start my SQL explain action params
func (*StartMySQLExplainActionParams) SetTimeout ¶
func (o *StartMySQLExplainActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start my SQL explain action params
func (*StartMySQLExplainActionParams) WithBody ¶
func (o *StartMySQLExplainActionParams) WithBody(body StartMySQLExplainActionBody) *StartMySQLExplainActionParams
WithBody adds the body to the start my SQL explain action params
func (*StartMySQLExplainActionParams) WithContext ¶
func (o *StartMySQLExplainActionParams) WithContext(ctx context.Context) *StartMySQLExplainActionParams
WithContext adds the context to the start my SQL explain action params
func (*StartMySQLExplainActionParams) WithHTTPClient ¶
func (o *StartMySQLExplainActionParams) WithHTTPClient(client *http.Client) *StartMySQLExplainActionParams
WithHTTPClient adds the HTTPClient to the start my SQL explain action params
func (*StartMySQLExplainActionParams) WithTimeout ¶
func (o *StartMySQLExplainActionParams) WithTimeout(timeout time.Duration) *StartMySQLExplainActionParams
WithTimeout adds the timeout to the start my SQL explain action params
func (*StartMySQLExplainActionParams) WriteToRequest ¶
func (o *StartMySQLExplainActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartMySQLExplainActionReader ¶
type StartMySQLExplainActionReader struct {
// contains filtered or unexported fields
}
StartMySQLExplainActionReader is a Reader for the StartMySQLExplainAction structure.
func (*StartMySQLExplainActionReader) ReadResponse ¶
func (o *StartMySQLExplainActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartMySQLExplainJSONActionBody ¶
type StartMySQLExplainJSONActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // SQL query. Required. Query string `json:"query,omitempty"` // Database name. Required if it can't be deduced from the query. Database string `json:"database,omitempty"` }
StartMySQLExplainJSONActionBody start my SQL explain JSON action body swagger:model StartMySQLExplainJSONActionBody
func (*StartMySQLExplainJSONActionBody) MarshalBinary ¶
func (o *StartMySQLExplainJSONActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainJSONActionBody) UnmarshalBinary ¶
func (o *StartMySQLExplainJSONActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainJSONActionDefault ¶
type StartMySQLExplainJSONActionDefault struct { Payload *StartMySQLExplainJSONActionDefaultBody // contains filtered or unexported fields }
StartMySQLExplainJSONActionDefault handles this case with default header values.
An error response.
func NewStartMySQLExplainJSONActionDefault ¶
func NewStartMySQLExplainJSONActionDefault(code int) *StartMySQLExplainJSONActionDefault
NewStartMySQLExplainJSONActionDefault creates a StartMySQLExplainJSONActionDefault with default headers values
func (*StartMySQLExplainJSONActionDefault) Code ¶
func (o *StartMySQLExplainJSONActionDefault) Code() int
Code gets the status code for the start my SQL explain JSON action default response
func (*StartMySQLExplainJSONActionDefault) Error ¶
func (o *StartMySQLExplainJSONActionDefault) Error() string
func (*StartMySQLExplainJSONActionDefault) GetPayload ¶
func (o *StartMySQLExplainJSONActionDefault) GetPayload() *StartMySQLExplainJSONActionDefaultBody
type StartMySQLExplainJSONActionDefaultBody ¶
type StartMySQLExplainJSONActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartMySQLExplainJSONActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartMySQLExplainJSONActionDefaultBody
func (*StartMySQLExplainJSONActionDefaultBody) MarshalBinary ¶
func (o *StartMySQLExplainJSONActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainJSONActionDefaultBody) UnmarshalBinary ¶
func (o *StartMySQLExplainJSONActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainJSONActionOK ¶
type StartMySQLExplainJSONActionOK struct {
Payload *StartMySQLExplainJSONActionOKBody
}
StartMySQLExplainJSONActionOK handles this case with default header values.
A successful response.
func NewStartMySQLExplainJSONActionOK ¶
func NewStartMySQLExplainJSONActionOK() *StartMySQLExplainJSONActionOK
NewStartMySQLExplainJSONActionOK creates a StartMySQLExplainJSONActionOK with default headers values
func (*StartMySQLExplainJSONActionOK) Error ¶
func (o *StartMySQLExplainJSONActionOK) Error() string
func (*StartMySQLExplainJSONActionOK) GetPayload ¶
func (o *StartMySQLExplainJSONActionOK) GetPayload() *StartMySQLExplainJSONActionOKBody
type StartMySQLExplainJSONActionOKBody ¶
type StartMySQLExplainJSONActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartMySQLExplainJSONActionOKBody start my SQL explain JSON action OK body swagger:model StartMySQLExplainJSONActionOKBody
func (*StartMySQLExplainJSONActionOKBody) MarshalBinary ¶
func (o *StartMySQLExplainJSONActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainJSONActionOKBody) UnmarshalBinary ¶
func (o *StartMySQLExplainJSONActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainJSONActionParams ¶
type StartMySQLExplainJSONActionParams struct { /*Body*/ Body StartMySQLExplainJSONActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartMySQLExplainJSONActionParams contains all the parameters to send to the API endpoint for the start my SQL explain JSON action operation typically these are written to a http.Request
func NewStartMySQLExplainJSONActionParams ¶
func NewStartMySQLExplainJSONActionParams() *StartMySQLExplainJSONActionParams
NewStartMySQLExplainJSONActionParams creates a new StartMySQLExplainJSONActionParams object with the default values initialized.
func NewStartMySQLExplainJSONActionParamsWithContext ¶
func NewStartMySQLExplainJSONActionParamsWithContext(ctx context.Context) *StartMySQLExplainJSONActionParams
NewStartMySQLExplainJSONActionParamsWithContext creates a new StartMySQLExplainJSONActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartMySQLExplainJSONActionParamsWithHTTPClient ¶
func NewStartMySQLExplainJSONActionParamsWithHTTPClient(client *http.Client) *StartMySQLExplainJSONActionParams
NewStartMySQLExplainJSONActionParamsWithHTTPClient creates a new StartMySQLExplainJSONActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartMySQLExplainJSONActionParamsWithTimeout ¶
func NewStartMySQLExplainJSONActionParamsWithTimeout(timeout time.Duration) *StartMySQLExplainJSONActionParams
NewStartMySQLExplainJSONActionParamsWithTimeout creates a new StartMySQLExplainJSONActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartMySQLExplainJSONActionParams) SetBody ¶
func (o *StartMySQLExplainJSONActionParams) SetBody(body StartMySQLExplainJSONActionBody)
SetBody adds the body to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) SetContext ¶
func (o *StartMySQLExplainJSONActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) SetHTTPClient ¶
func (o *StartMySQLExplainJSONActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) SetTimeout ¶
func (o *StartMySQLExplainJSONActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) WithBody ¶
func (o *StartMySQLExplainJSONActionParams) WithBody(body StartMySQLExplainJSONActionBody) *StartMySQLExplainJSONActionParams
WithBody adds the body to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) WithContext ¶
func (o *StartMySQLExplainJSONActionParams) WithContext(ctx context.Context) *StartMySQLExplainJSONActionParams
WithContext adds the context to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) WithHTTPClient ¶
func (o *StartMySQLExplainJSONActionParams) WithHTTPClient(client *http.Client) *StartMySQLExplainJSONActionParams
WithHTTPClient adds the HTTPClient to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) WithTimeout ¶
func (o *StartMySQLExplainJSONActionParams) WithTimeout(timeout time.Duration) *StartMySQLExplainJSONActionParams
WithTimeout adds the timeout to the start my SQL explain JSON action params
func (*StartMySQLExplainJSONActionParams) WriteToRequest ¶
func (o *StartMySQLExplainJSONActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartMySQLExplainJSONActionReader ¶
type StartMySQLExplainJSONActionReader struct {
// contains filtered or unexported fields
}
StartMySQLExplainJSONActionReader is a Reader for the StartMySQLExplainJSONAction structure.
func (*StartMySQLExplainJSONActionReader) ReadResponse ¶
func (o *StartMySQLExplainJSONActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartMySQLExplainTraditionalJSONActionBody ¶
type StartMySQLExplainTraditionalJSONActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // SQL query. Required. Query string `json:"query,omitempty"` // Database name. Required if it can't be deduced from the query. Database string `json:"database,omitempty"` }
StartMySQLExplainTraditionalJSONActionBody start my SQL explain traditional JSON action body swagger:model StartMySQLExplainTraditionalJSONActionBody
func (*StartMySQLExplainTraditionalJSONActionBody) MarshalBinary ¶
func (o *StartMySQLExplainTraditionalJSONActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainTraditionalJSONActionBody) UnmarshalBinary ¶
func (o *StartMySQLExplainTraditionalJSONActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainTraditionalJSONActionDefault ¶
type StartMySQLExplainTraditionalJSONActionDefault struct { Payload *StartMySQLExplainTraditionalJSONActionDefaultBody // contains filtered or unexported fields }
StartMySQLExplainTraditionalJSONActionDefault handles this case with default header values.
An error response.
func NewStartMySQLExplainTraditionalJSONActionDefault ¶
func NewStartMySQLExplainTraditionalJSONActionDefault(code int) *StartMySQLExplainTraditionalJSONActionDefault
NewStartMySQLExplainTraditionalJSONActionDefault creates a StartMySQLExplainTraditionalJSONActionDefault with default headers values
func (*StartMySQLExplainTraditionalJSONActionDefault) Code ¶
func (o *StartMySQLExplainTraditionalJSONActionDefault) Code() int
Code gets the status code for the start my SQL explain traditional JSON action default response
func (*StartMySQLExplainTraditionalJSONActionDefault) Error ¶
func (o *StartMySQLExplainTraditionalJSONActionDefault) Error() string
func (*StartMySQLExplainTraditionalJSONActionDefault) GetPayload ¶
func (o *StartMySQLExplainTraditionalJSONActionDefault) GetPayload() *StartMySQLExplainTraditionalJSONActionDefaultBody
type StartMySQLExplainTraditionalJSONActionDefaultBody ¶
type StartMySQLExplainTraditionalJSONActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartMySQLExplainTraditionalJSONActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartMySQLExplainTraditionalJSONActionDefaultBody
func (*StartMySQLExplainTraditionalJSONActionDefaultBody) MarshalBinary ¶
func (o *StartMySQLExplainTraditionalJSONActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainTraditionalJSONActionDefaultBody) UnmarshalBinary ¶
func (o *StartMySQLExplainTraditionalJSONActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainTraditionalJSONActionOK ¶
type StartMySQLExplainTraditionalJSONActionOK struct {
Payload *StartMySQLExplainTraditionalJSONActionOKBody
}
StartMySQLExplainTraditionalJSONActionOK handles this case with default header values.
A successful response.
func NewStartMySQLExplainTraditionalJSONActionOK ¶
func NewStartMySQLExplainTraditionalJSONActionOK() *StartMySQLExplainTraditionalJSONActionOK
NewStartMySQLExplainTraditionalJSONActionOK creates a StartMySQLExplainTraditionalJSONActionOK with default headers values
func (*StartMySQLExplainTraditionalJSONActionOK) Error ¶
func (o *StartMySQLExplainTraditionalJSONActionOK) Error() string
func (*StartMySQLExplainTraditionalJSONActionOK) GetPayload ¶
func (o *StartMySQLExplainTraditionalJSONActionOK) GetPayload() *StartMySQLExplainTraditionalJSONActionOKBody
type StartMySQLExplainTraditionalJSONActionOKBody ¶
type StartMySQLExplainTraditionalJSONActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartMySQLExplainTraditionalJSONActionOKBody start my SQL explain traditional JSON action OK body swagger:model StartMySQLExplainTraditionalJSONActionOKBody
func (*StartMySQLExplainTraditionalJSONActionOKBody) MarshalBinary ¶
func (o *StartMySQLExplainTraditionalJSONActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLExplainTraditionalJSONActionOKBody) UnmarshalBinary ¶
func (o *StartMySQLExplainTraditionalJSONActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLExplainTraditionalJSONActionParams ¶
type StartMySQLExplainTraditionalJSONActionParams struct { /*Body*/ Body StartMySQLExplainTraditionalJSONActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartMySQLExplainTraditionalJSONActionParams contains all the parameters to send to the API endpoint for the start my SQL explain traditional JSON action operation typically these are written to a http.Request
func NewStartMySQLExplainTraditionalJSONActionParams ¶
func NewStartMySQLExplainTraditionalJSONActionParams() *StartMySQLExplainTraditionalJSONActionParams
NewStartMySQLExplainTraditionalJSONActionParams creates a new StartMySQLExplainTraditionalJSONActionParams object with the default values initialized.
func NewStartMySQLExplainTraditionalJSONActionParamsWithContext ¶
func NewStartMySQLExplainTraditionalJSONActionParamsWithContext(ctx context.Context) *StartMySQLExplainTraditionalJSONActionParams
NewStartMySQLExplainTraditionalJSONActionParamsWithContext creates a new StartMySQLExplainTraditionalJSONActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartMySQLExplainTraditionalJSONActionParamsWithHTTPClient ¶
func NewStartMySQLExplainTraditionalJSONActionParamsWithHTTPClient(client *http.Client) *StartMySQLExplainTraditionalJSONActionParams
NewStartMySQLExplainTraditionalJSONActionParamsWithHTTPClient creates a new StartMySQLExplainTraditionalJSONActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartMySQLExplainTraditionalJSONActionParamsWithTimeout ¶
func NewStartMySQLExplainTraditionalJSONActionParamsWithTimeout(timeout time.Duration) *StartMySQLExplainTraditionalJSONActionParams
NewStartMySQLExplainTraditionalJSONActionParamsWithTimeout creates a new StartMySQLExplainTraditionalJSONActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartMySQLExplainTraditionalJSONActionParams) SetBody ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) SetBody(body StartMySQLExplainTraditionalJSONActionBody)
SetBody adds the body to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) SetContext ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) SetHTTPClient ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) SetTimeout ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) WithBody ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) WithBody(body StartMySQLExplainTraditionalJSONActionBody) *StartMySQLExplainTraditionalJSONActionParams
WithBody adds the body to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) WithContext ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) WithContext(ctx context.Context) *StartMySQLExplainTraditionalJSONActionParams
WithContext adds the context to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) WithHTTPClient ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) WithHTTPClient(client *http.Client) *StartMySQLExplainTraditionalJSONActionParams
WithHTTPClient adds the HTTPClient to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) WithTimeout ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) WithTimeout(timeout time.Duration) *StartMySQLExplainTraditionalJSONActionParams
WithTimeout adds the timeout to the start my SQL explain traditional JSON action params
func (*StartMySQLExplainTraditionalJSONActionParams) WriteToRequest ¶
func (o *StartMySQLExplainTraditionalJSONActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartMySQLExplainTraditionalJSONActionReader ¶
type StartMySQLExplainTraditionalJSONActionReader struct {
// contains filtered or unexported fields
}
StartMySQLExplainTraditionalJSONActionReader is a Reader for the StartMySQLExplainTraditionalJSONAction structure.
func (*StartMySQLExplainTraditionalJSONActionReader) ReadResponse ¶
func (o *StartMySQLExplainTraditionalJSONActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartMySQLShowCreateTableActionBody ¶
type StartMySQLShowCreateTableActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // Table name. Required. May additionally contain a database name. TableName string `json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. Database string `json:"database,omitempty"` }
StartMySQLShowCreateTableActionBody start my SQL show create table action body swagger:model StartMySQLShowCreateTableActionBody
func (*StartMySQLShowCreateTableActionBody) MarshalBinary ¶
func (o *StartMySQLShowCreateTableActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowCreateTableActionBody) UnmarshalBinary ¶
func (o *StartMySQLShowCreateTableActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowCreateTableActionDefault ¶
type StartMySQLShowCreateTableActionDefault struct { Payload *StartMySQLShowCreateTableActionDefaultBody // contains filtered or unexported fields }
StartMySQLShowCreateTableActionDefault handles this case with default header values.
An error response.
func NewStartMySQLShowCreateTableActionDefault ¶
func NewStartMySQLShowCreateTableActionDefault(code int) *StartMySQLShowCreateTableActionDefault
NewStartMySQLShowCreateTableActionDefault creates a StartMySQLShowCreateTableActionDefault with default headers values
func (*StartMySQLShowCreateTableActionDefault) Code ¶
func (o *StartMySQLShowCreateTableActionDefault) Code() int
Code gets the status code for the start my SQL show create table action default response
func (*StartMySQLShowCreateTableActionDefault) Error ¶
func (o *StartMySQLShowCreateTableActionDefault) Error() string
func (*StartMySQLShowCreateTableActionDefault) GetPayload ¶
func (o *StartMySQLShowCreateTableActionDefault) GetPayload() *StartMySQLShowCreateTableActionDefaultBody
type StartMySQLShowCreateTableActionDefaultBody ¶
type StartMySQLShowCreateTableActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartMySQLShowCreateTableActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartMySQLShowCreateTableActionDefaultBody
func (*StartMySQLShowCreateTableActionDefaultBody) MarshalBinary ¶
func (o *StartMySQLShowCreateTableActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowCreateTableActionDefaultBody) UnmarshalBinary ¶
func (o *StartMySQLShowCreateTableActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowCreateTableActionOK ¶
type StartMySQLShowCreateTableActionOK struct {
Payload *StartMySQLShowCreateTableActionOKBody
}
StartMySQLShowCreateTableActionOK handles this case with default header values.
A successful response.
func NewStartMySQLShowCreateTableActionOK ¶
func NewStartMySQLShowCreateTableActionOK() *StartMySQLShowCreateTableActionOK
NewStartMySQLShowCreateTableActionOK creates a StartMySQLShowCreateTableActionOK with default headers values
func (*StartMySQLShowCreateTableActionOK) Error ¶
func (o *StartMySQLShowCreateTableActionOK) Error() string
func (*StartMySQLShowCreateTableActionOK) GetPayload ¶
func (o *StartMySQLShowCreateTableActionOK) GetPayload() *StartMySQLShowCreateTableActionOKBody
type StartMySQLShowCreateTableActionOKBody ¶
type StartMySQLShowCreateTableActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartMySQLShowCreateTableActionOKBody start my SQL show create table action OK body swagger:model StartMySQLShowCreateTableActionOKBody
func (*StartMySQLShowCreateTableActionOKBody) MarshalBinary ¶
func (o *StartMySQLShowCreateTableActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowCreateTableActionOKBody) UnmarshalBinary ¶
func (o *StartMySQLShowCreateTableActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowCreateTableActionParams ¶
type StartMySQLShowCreateTableActionParams struct { /*Body*/ Body StartMySQLShowCreateTableActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartMySQLShowCreateTableActionParams contains all the parameters to send to the API endpoint for the start my SQL show create table action operation typically these are written to a http.Request
func NewStartMySQLShowCreateTableActionParams ¶
func NewStartMySQLShowCreateTableActionParams() *StartMySQLShowCreateTableActionParams
NewStartMySQLShowCreateTableActionParams creates a new StartMySQLShowCreateTableActionParams object with the default values initialized.
func NewStartMySQLShowCreateTableActionParamsWithContext ¶
func NewStartMySQLShowCreateTableActionParamsWithContext(ctx context.Context) *StartMySQLShowCreateTableActionParams
NewStartMySQLShowCreateTableActionParamsWithContext creates a new StartMySQLShowCreateTableActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartMySQLShowCreateTableActionParamsWithHTTPClient ¶
func NewStartMySQLShowCreateTableActionParamsWithHTTPClient(client *http.Client) *StartMySQLShowCreateTableActionParams
NewStartMySQLShowCreateTableActionParamsWithHTTPClient creates a new StartMySQLShowCreateTableActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartMySQLShowCreateTableActionParamsWithTimeout ¶
func NewStartMySQLShowCreateTableActionParamsWithTimeout(timeout time.Duration) *StartMySQLShowCreateTableActionParams
NewStartMySQLShowCreateTableActionParamsWithTimeout creates a new StartMySQLShowCreateTableActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartMySQLShowCreateTableActionParams) SetBody ¶
func (o *StartMySQLShowCreateTableActionParams) SetBody(body StartMySQLShowCreateTableActionBody)
SetBody adds the body to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) SetContext ¶
func (o *StartMySQLShowCreateTableActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) SetHTTPClient ¶
func (o *StartMySQLShowCreateTableActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) SetTimeout ¶
func (o *StartMySQLShowCreateTableActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) WithBody ¶
func (o *StartMySQLShowCreateTableActionParams) WithBody(body StartMySQLShowCreateTableActionBody) *StartMySQLShowCreateTableActionParams
WithBody adds the body to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) WithContext ¶
func (o *StartMySQLShowCreateTableActionParams) WithContext(ctx context.Context) *StartMySQLShowCreateTableActionParams
WithContext adds the context to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) WithHTTPClient ¶
func (o *StartMySQLShowCreateTableActionParams) WithHTTPClient(client *http.Client) *StartMySQLShowCreateTableActionParams
WithHTTPClient adds the HTTPClient to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) WithTimeout ¶
func (o *StartMySQLShowCreateTableActionParams) WithTimeout(timeout time.Duration) *StartMySQLShowCreateTableActionParams
WithTimeout adds the timeout to the start my SQL show create table action params
func (*StartMySQLShowCreateTableActionParams) WriteToRequest ¶
func (o *StartMySQLShowCreateTableActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartMySQLShowCreateTableActionReader ¶
type StartMySQLShowCreateTableActionReader struct {
// contains filtered or unexported fields
}
StartMySQLShowCreateTableActionReader is a Reader for the StartMySQLShowCreateTableAction structure.
func (*StartMySQLShowCreateTableActionReader) ReadResponse ¶
func (o *StartMySQLShowCreateTableActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartMySQLShowIndexActionBody ¶
type StartMySQLShowIndexActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // Table name. Required. May additionally contain a database name. TableName string `json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. Database string `json:"database,omitempty"` }
StartMySQLShowIndexActionBody start my SQL show index action body swagger:model StartMySQLShowIndexActionBody
func (*StartMySQLShowIndexActionBody) MarshalBinary ¶
func (o *StartMySQLShowIndexActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowIndexActionBody) UnmarshalBinary ¶
func (o *StartMySQLShowIndexActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowIndexActionDefault ¶
type StartMySQLShowIndexActionDefault struct { Payload *StartMySQLShowIndexActionDefaultBody // contains filtered or unexported fields }
StartMySQLShowIndexActionDefault handles this case with default header values.
An error response.
func NewStartMySQLShowIndexActionDefault ¶
func NewStartMySQLShowIndexActionDefault(code int) *StartMySQLShowIndexActionDefault
NewStartMySQLShowIndexActionDefault creates a StartMySQLShowIndexActionDefault with default headers values
func (*StartMySQLShowIndexActionDefault) Code ¶
func (o *StartMySQLShowIndexActionDefault) Code() int
Code gets the status code for the start my SQL show index action default response
func (*StartMySQLShowIndexActionDefault) Error ¶
func (o *StartMySQLShowIndexActionDefault) Error() string
func (*StartMySQLShowIndexActionDefault) GetPayload ¶
func (o *StartMySQLShowIndexActionDefault) GetPayload() *StartMySQLShowIndexActionDefaultBody
type StartMySQLShowIndexActionDefaultBody ¶
type StartMySQLShowIndexActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartMySQLShowIndexActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartMySQLShowIndexActionDefaultBody
func (*StartMySQLShowIndexActionDefaultBody) MarshalBinary ¶
func (o *StartMySQLShowIndexActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowIndexActionDefaultBody) UnmarshalBinary ¶
func (o *StartMySQLShowIndexActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowIndexActionOK ¶
type StartMySQLShowIndexActionOK struct {
Payload *StartMySQLShowIndexActionOKBody
}
StartMySQLShowIndexActionOK handles this case with default header values.
A successful response.
func NewStartMySQLShowIndexActionOK ¶
func NewStartMySQLShowIndexActionOK() *StartMySQLShowIndexActionOK
NewStartMySQLShowIndexActionOK creates a StartMySQLShowIndexActionOK with default headers values
func (*StartMySQLShowIndexActionOK) Error ¶
func (o *StartMySQLShowIndexActionOK) Error() string
func (*StartMySQLShowIndexActionOK) GetPayload ¶
func (o *StartMySQLShowIndexActionOK) GetPayload() *StartMySQLShowIndexActionOKBody
type StartMySQLShowIndexActionOKBody ¶
type StartMySQLShowIndexActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartMySQLShowIndexActionOKBody start my SQL show index action OK body swagger:model StartMySQLShowIndexActionOKBody
func (*StartMySQLShowIndexActionOKBody) MarshalBinary ¶
func (o *StartMySQLShowIndexActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowIndexActionOKBody) UnmarshalBinary ¶
func (o *StartMySQLShowIndexActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowIndexActionParams ¶
type StartMySQLShowIndexActionParams struct { /*Body*/ Body StartMySQLShowIndexActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartMySQLShowIndexActionParams contains all the parameters to send to the API endpoint for the start my SQL show index action operation typically these are written to a http.Request
func NewStartMySQLShowIndexActionParams ¶
func NewStartMySQLShowIndexActionParams() *StartMySQLShowIndexActionParams
NewStartMySQLShowIndexActionParams creates a new StartMySQLShowIndexActionParams object with the default values initialized.
func NewStartMySQLShowIndexActionParamsWithContext ¶
func NewStartMySQLShowIndexActionParamsWithContext(ctx context.Context) *StartMySQLShowIndexActionParams
NewStartMySQLShowIndexActionParamsWithContext creates a new StartMySQLShowIndexActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartMySQLShowIndexActionParamsWithHTTPClient ¶
func NewStartMySQLShowIndexActionParamsWithHTTPClient(client *http.Client) *StartMySQLShowIndexActionParams
NewStartMySQLShowIndexActionParamsWithHTTPClient creates a new StartMySQLShowIndexActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartMySQLShowIndexActionParamsWithTimeout ¶
func NewStartMySQLShowIndexActionParamsWithTimeout(timeout time.Duration) *StartMySQLShowIndexActionParams
NewStartMySQLShowIndexActionParamsWithTimeout creates a new StartMySQLShowIndexActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartMySQLShowIndexActionParams) SetBody ¶
func (o *StartMySQLShowIndexActionParams) SetBody(body StartMySQLShowIndexActionBody)
SetBody adds the body to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) SetContext ¶
func (o *StartMySQLShowIndexActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) SetHTTPClient ¶
func (o *StartMySQLShowIndexActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) SetTimeout ¶
func (o *StartMySQLShowIndexActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) WithBody ¶
func (o *StartMySQLShowIndexActionParams) WithBody(body StartMySQLShowIndexActionBody) *StartMySQLShowIndexActionParams
WithBody adds the body to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) WithContext ¶
func (o *StartMySQLShowIndexActionParams) WithContext(ctx context.Context) *StartMySQLShowIndexActionParams
WithContext adds the context to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) WithHTTPClient ¶
func (o *StartMySQLShowIndexActionParams) WithHTTPClient(client *http.Client) *StartMySQLShowIndexActionParams
WithHTTPClient adds the HTTPClient to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) WithTimeout ¶
func (o *StartMySQLShowIndexActionParams) WithTimeout(timeout time.Duration) *StartMySQLShowIndexActionParams
WithTimeout adds the timeout to the start my SQL show index action params
func (*StartMySQLShowIndexActionParams) WriteToRequest ¶
func (o *StartMySQLShowIndexActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartMySQLShowIndexActionReader ¶
type StartMySQLShowIndexActionReader struct {
// contains filtered or unexported fields
}
StartMySQLShowIndexActionReader is a Reader for the StartMySQLShowIndexAction structure.
func (*StartMySQLShowIndexActionReader) ReadResponse ¶
func (o *StartMySQLShowIndexActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartMySQLShowTableStatusActionBody ¶
type StartMySQLShowTableStatusActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // Table name. Required. May additionally contain a database name. TableName string `json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. Database string `json:"database,omitempty"` }
StartMySQLShowTableStatusActionBody start my SQL show table status action body swagger:model StartMySQLShowTableStatusActionBody
func (*StartMySQLShowTableStatusActionBody) MarshalBinary ¶
func (o *StartMySQLShowTableStatusActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowTableStatusActionBody) UnmarshalBinary ¶
func (o *StartMySQLShowTableStatusActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowTableStatusActionDefault ¶
type StartMySQLShowTableStatusActionDefault struct { Payload *StartMySQLShowTableStatusActionDefaultBody // contains filtered or unexported fields }
StartMySQLShowTableStatusActionDefault handles this case with default header values.
An error response.
func NewStartMySQLShowTableStatusActionDefault ¶
func NewStartMySQLShowTableStatusActionDefault(code int) *StartMySQLShowTableStatusActionDefault
NewStartMySQLShowTableStatusActionDefault creates a StartMySQLShowTableStatusActionDefault with default headers values
func (*StartMySQLShowTableStatusActionDefault) Code ¶
func (o *StartMySQLShowTableStatusActionDefault) Code() int
Code gets the status code for the start my SQL show table status action default response
func (*StartMySQLShowTableStatusActionDefault) Error ¶
func (o *StartMySQLShowTableStatusActionDefault) Error() string
func (*StartMySQLShowTableStatusActionDefault) GetPayload ¶
func (o *StartMySQLShowTableStatusActionDefault) GetPayload() *StartMySQLShowTableStatusActionDefaultBody
type StartMySQLShowTableStatusActionDefaultBody ¶
type StartMySQLShowTableStatusActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartMySQLShowTableStatusActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartMySQLShowTableStatusActionDefaultBody
func (*StartMySQLShowTableStatusActionDefaultBody) MarshalBinary ¶
func (o *StartMySQLShowTableStatusActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowTableStatusActionDefaultBody) UnmarshalBinary ¶
func (o *StartMySQLShowTableStatusActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowTableStatusActionOK ¶
type StartMySQLShowTableStatusActionOK struct {
Payload *StartMySQLShowTableStatusActionOKBody
}
StartMySQLShowTableStatusActionOK handles this case with default header values.
A successful response.
func NewStartMySQLShowTableStatusActionOK ¶
func NewStartMySQLShowTableStatusActionOK() *StartMySQLShowTableStatusActionOK
NewStartMySQLShowTableStatusActionOK creates a StartMySQLShowTableStatusActionOK with default headers values
func (*StartMySQLShowTableStatusActionOK) Error ¶
func (o *StartMySQLShowTableStatusActionOK) Error() string
func (*StartMySQLShowTableStatusActionOK) GetPayload ¶
func (o *StartMySQLShowTableStatusActionOK) GetPayload() *StartMySQLShowTableStatusActionOKBody
type StartMySQLShowTableStatusActionOKBody ¶
type StartMySQLShowTableStatusActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartMySQLShowTableStatusActionOKBody start my SQL show table status action OK body swagger:model StartMySQLShowTableStatusActionOKBody
func (*StartMySQLShowTableStatusActionOKBody) MarshalBinary ¶
func (o *StartMySQLShowTableStatusActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartMySQLShowTableStatusActionOKBody) UnmarshalBinary ¶
func (o *StartMySQLShowTableStatusActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartMySQLShowTableStatusActionParams ¶
type StartMySQLShowTableStatusActionParams struct { /*Body*/ Body StartMySQLShowTableStatusActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartMySQLShowTableStatusActionParams contains all the parameters to send to the API endpoint for the start my SQL show table status action operation typically these are written to a http.Request
func NewStartMySQLShowTableStatusActionParams ¶
func NewStartMySQLShowTableStatusActionParams() *StartMySQLShowTableStatusActionParams
NewStartMySQLShowTableStatusActionParams creates a new StartMySQLShowTableStatusActionParams object with the default values initialized.
func NewStartMySQLShowTableStatusActionParamsWithContext ¶
func NewStartMySQLShowTableStatusActionParamsWithContext(ctx context.Context) *StartMySQLShowTableStatusActionParams
NewStartMySQLShowTableStatusActionParamsWithContext creates a new StartMySQLShowTableStatusActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartMySQLShowTableStatusActionParamsWithHTTPClient ¶
func NewStartMySQLShowTableStatusActionParamsWithHTTPClient(client *http.Client) *StartMySQLShowTableStatusActionParams
NewStartMySQLShowTableStatusActionParamsWithHTTPClient creates a new StartMySQLShowTableStatusActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartMySQLShowTableStatusActionParamsWithTimeout ¶
func NewStartMySQLShowTableStatusActionParamsWithTimeout(timeout time.Duration) *StartMySQLShowTableStatusActionParams
NewStartMySQLShowTableStatusActionParamsWithTimeout creates a new StartMySQLShowTableStatusActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartMySQLShowTableStatusActionParams) SetBody ¶
func (o *StartMySQLShowTableStatusActionParams) SetBody(body StartMySQLShowTableStatusActionBody)
SetBody adds the body to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) SetContext ¶
func (o *StartMySQLShowTableStatusActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) SetHTTPClient ¶
func (o *StartMySQLShowTableStatusActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) SetTimeout ¶
func (o *StartMySQLShowTableStatusActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) WithBody ¶
func (o *StartMySQLShowTableStatusActionParams) WithBody(body StartMySQLShowTableStatusActionBody) *StartMySQLShowTableStatusActionParams
WithBody adds the body to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) WithContext ¶
func (o *StartMySQLShowTableStatusActionParams) WithContext(ctx context.Context) *StartMySQLShowTableStatusActionParams
WithContext adds the context to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) WithHTTPClient ¶
func (o *StartMySQLShowTableStatusActionParams) WithHTTPClient(client *http.Client) *StartMySQLShowTableStatusActionParams
WithHTTPClient adds the HTTPClient to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) WithTimeout ¶
func (o *StartMySQLShowTableStatusActionParams) WithTimeout(timeout time.Duration) *StartMySQLShowTableStatusActionParams
WithTimeout adds the timeout to the start my SQL show table status action params
func (*StartMySQLShowTableStatusActionParams) WriteToRequest ¶
func (o *StartMySQLShowTableStatusActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartMySQLShowTableStatusActionReader ¶
type StartMySQLShowTableStatusActionReader struct {
// contains filtered or unexported fields
}
StartMySQLShowTableStatusActionReader is a Reader for the StartMySQLShowTableStatusAction structure.
func (*StartMySQLShowTableStatusActionReader) ReadResponse ¶
func (o *StartMySQLShowTableStatusActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartPostgreSQLShowCreateTableActionBody ¶
type StartPostgreSQLShowCreateTableActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // Table name. Required. May additionally contain a database name. TableName string `json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. Database string `json:"database,omitempty"` }
StartPostgreSQLShowCreateTableActionBody start postgre SQL show create table action body swagger:model StartPostgreSQLShowCreateTableActionBody
func (*StartPostgreSQLShowCreateTableActionBody) MarshalBinary ¶
func (o *StartPostgreSQLShowCreateTableActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartPostgreSQLShowCreateTableActionBody) UnmarshalBinary ¶
func (o *StartPostgreSQLShowCreateTableActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartPostgreSQLShowCreateTableActionDefault ¶
type StartPostgreSQLShowCreateTableActionDefault struct { Payload *StartPostgreSQLShowCreateTableActionDefaultBody // contains filtered or unexported fields }
StartPostgreSQLShowCreateTableActionDefault handles this case with default header values.
An error response.
func NewStartPostgreSQLShowCreateTableActionDefault ¶
func NewStartPostgreSQLShowCreateTableActionDefault(code int) *StartPostgreSQLShowCreateTableActionDefault
NewStartPostgreSQLShowCreateTableActionDefault creates a StartPostgreSQLShowCreateTableActionDefault with default headers values
func (*StartPostgreSQLShowCreateTableActionDefault) Code ¶
func (o *StartPostgreSQLShowCreateTableActionDefault) Code() int
Code gets the status code for the start postgre SQL show create table action default response
func (*StartPostgreSQLShowCreateTableActionDefault) Error ¶
func (o *StartPostgreSQLShowCreateTableActionDefault) Error() string
func (*StartPostgreSQLShowCreateTableActionDefault) GetPayload ¶
func (o *StartPostgreSQLShowCreateTableActionDefault) GetPayload() *StartPostgreSQLShowCreateTableActionDefaultBody
type StartPostgreSQLShowCreateTableActionDefaultBody ¶
type StartPostgreSQLShowCreateTableActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartPostgreSQLShowCreateTableActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartPostgreSQLShowCreateTableActionDefaultBody
func (*StartPostgreSQLShowCreateTableActionDefaultBody) MarshalBinary ¶
func (o *StartPostgreSQLShowCreateTableActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartPostgreSQLShowCreateTableActionDefaultBody) UnmarshalBinary ¶
func (o *StartPostgreSQLShowCreateTableActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartPostgreSQLShowCreateTableActionOK ¶
type StartPostgreSQLShowCreateTableActionOK struct {
Payload *StartPostgreSQLShowCreateTableActionOKBody
}
StartPostgreSQLShowCreateTableActionOK handles this case with default header values.
A successful response.
func NewStartPostgreSQLShowCreateTableActionOK ¶
func NewStartPostgreSQLShowCreateTableActionOK() *StartPostgreSQLShowCreateTableActionOK
NewStartPostgreSQLShowCreateTableActionOK creates a StartPostgreSQLShowCreateTableActionOK with default headers values
func (*StartPostgreSQLShowCreateTableActionOK) Error ¶
func (o *StartPostgreSQLShowCreateTableActionOK) Error() string
func (*StartPostgreSQLShowCreateTableActionOK) GetPayload ¶
func (o *StartPostgreSQLShowCreateTableActionOK) GetPayload() *StartPostgreSQLShowCreateTableActionOKBody
type StartPostgreSQLShowCreateTableActionOKBody ¶
type StartPostgreSQLShowCreateTableActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartPostgreSQLShowCreateTableActionOKBody start postgre SQL show create table action OK body swagger:model StartPostgreSQLShowCreateTableActionOKBody
func (*StartPostgreSQLShowCreateTableActionOKBody) MarshalBinary ¶
func (o *StartPostgreSQLShowCreateTableActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartPostgreSQLShowCreateTableActionOKBody) UnmarshalBinary ¶
func (o *StartPostgreSQLShowCreateTableActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartPostgreSQLShowCreateTableActionParams ¶
type StartPostgreSQLShowCreateTableActionParams struct { /*Body*/ Body StartPostgreSQLShowCreateTableActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartPostgreSQLShowCreateTableActionParams contains all the parameters to send to the API endpoint for the start postgre SQL show create table action operation typically these are written to a http.Request
func NewStartPostgreSQLShowCreateTableActionParams ¶
func NewStartPostgreSQLShowCreateTableActionParams() *StartPostgreSQLShowCreateTableActionParams
NewStartPostgreSQLShowCreateTableActionParams creates a new StartPostgreSQLShowCreateTableActionParams object with the default values initialized.
func NewStartPostgreSQLShowCreateTableActionParamsWithContext ¶
func NewStartPostgreSQLShowCreateTableActionParamsWithContext(ctx context.Context) *StartPostgreSQLShowCreateTableActionParams
NewStartPostgreSQLShowCreateTableActionParamsWithContext creates a new StartPostgreSQLShowCreateTableActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartPostgreSQLShowCreateTableActionParamsWithHTTPClient ¶
func NewStartPostgreSQLShowCreateTableActionParamsWithHTTPClient(client *http.Client) *StartPostgreSQLShowCreateTableActionParams
NewStartPostgreSQLShowCreateTableActionParamsWithHTTPClient creates a new StartPostgreSQLShowCreateTableActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartPostgreSQLShowCreateTableActionParamsWithTimeout ¶
func NewStartPostgreSQLShowCreateTableActionParamsWithTimeout(timeout time.Duration) *StartPostgreSQLShowCreateTableActionParams
NewStartPostgreSQLShowCreateTableActionParamsWithTimeout creates a new StartPostgreSQLShowCreateTableActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartPostgreSQLShowCreateTableActionParams) SetBody ¶
func (o *StartPostgreSQLShowCreateTableActionParams) SetBody(body StartPostgreSQLShowCreateTableActionBody)
SetBody adds the body to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) SetContext ¶
func (o *StartPostgreSQLShowCreateTableActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) SetHTTPClient ¶
func (o *StartPostgreSQLShowCreateTableActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) SetTimeout ¶
func (o *StartPostgreSQLShowCreateTableActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) WithBody ¶
func (o *StartPostgreSQLShowCreateTableActionParams) WithBody(body StartPostgreSQLShowCreateTableActionBody) *StartPostgreSQLShowCreateTableActionParams
WithBody adds the body to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) WithContext ¶
func (o *StartPostgreSQLShowCreateTableActionParams) WithContext(ctx context.Context) *StartPostgreSQLShowCreateTableActionParams
WithContext adds the context to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) WithHTTPClient ¶
func (o *StartPostgreSQLShowCreateTableActionParams) WithHTTPClient(client *http.Client) *StartPostgreSQLShowCreateTableActionParams
WithHTTPClient adds the HTTPClient to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) WithTimeout ¶
func (o *StartPostgreSQLShowCreateTableActionParams) WithTimeout(timeout time.Duration) *StartPostgreSQLShowCreateTableActionParams
WithTimeout adds the timeout to the start postgre SQL show create table action params
func (*StartPostgreSQLShowCreateTableActionParams) WriteToRequest ¶
func (o *StartPostgreSQLShowCreateTableActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartPostgreSQLShowCreateTableActionReader ¶
type StartPostgreSQLShowCreateTableActionReader struct {
// contains filtered or unexported fields
}
StartPostgreSQLShowCreateTableActionReader is a Reader for the StartPostgreSQLShowCreateTableAction structure.
func (*StartPostgreSQLShowCreateTableActionReader) ReadResponse ¶
func (o *StartPostgreSQLShowCreateTableActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type StartPostgreSQLShowIndexActionBody ¶
type StartPostgreSQLShowIndexActionBody struct { // pmm-agent ID where to run this Action. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceID string `json:"service_id,omitempty"` // Table name. Required. May additionally contain a database name. TableName string `json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. Database string `json:"database,omitempty"` }
StartPostgreSQLShowIndexActionBody start postgre SQL show index action body swagger:model StartPostgreSQLShowIndexActionBody
func (*StartPostgreSQLShowIndexActionBody) MarshalBinary ¶
func (o *StartPostgreSQLShowIndexActionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartPostgreSQLShowIndexActionBody) UnmarshalBinary ¶
func (o *StartPostgreSQLShowIndexActionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartPostgreSQLShowIndexActionDefault ¶
type StartPostgreSQLShowIndexActionDefault struct { Payload *StartPostgreSQLShowIndexActionDefaultBody // contains filtered or unexported fields }
StartPostgreSQLShowIndexActionDefault handles this case with default header values.
An error response.
func NewStartPostgreSQLShowIndexActionDefault ¶
func NewStartPostgreSQLShowIndexActionDefault(code int) *StartPostgreSQLShowIndexActionDefault
NewStartPostgreSQLShowIndexActionDefault creates a StartPostgreSQLShowIndexActionDefault with default headers values
func (*StartPostgreSQLShowIndexActionDefault) Code ¶
func (o *StartPostgreSQLShowIndexActionDefault) Code() int
Code gets the status code for the start postgre SQL show index action default response
func (*StartPostgreSQLShowIndexActionDefault) Error ¶
func (o *StartPostgreSQLShowIndexActionDefault) Error() string
func (*StartPostgreSQLShowIndexActionDefault) GetPayload ¶
func (o *StartPostgreSQLShowIndexActionDefault) GetPayload() *StartPostgreSQLShowIndexActionDefaultBody
type StartPostgreSQLShowIndexActionDefaultBody ¶
type StartPostgreSQLShowIndexActionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
StartPostgreSQLShowIndexActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartPostgreSQLShowIndexActionDefaultBody
func (*StartPostgreSQLShowIndexActionDefaultBody) MarshalBinary ¶
func (o *StartPostgreSQLShowIndexActionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartPostgreSQLShowIndexActionDefaultBody) UnmarshalBinary ¶
func (o *StartPostgreSQLShowIndexActionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartPostgreSQLShowIndexActionOK ¶
type StartPostgreSQLShowIndexActionOK struct {
Payload *StartPostgreSQLShowIndexActionOKBody
}
StartPostgreSQLShowIndexActionOK handles this case with default header values.
A successful response.
func NewStartPostgreSQLShowIndexActionOK ¶
func NewStartPostgreSQLShowIndexActionOK() *StartPostgreSQLShowIndexActionOK
NewStartPostgreSQLShowIndexActionOK creates a StartPostgreSQLShowIndexActionOK with default headers values
func (*StartPostgreSQLShowIndexActionOK) Error ¶
func (o *StartPostgreSQLShowIndexActionOK) Error() string
func (*StartPostgreSQLShowIndexActionOK) GetPayload ¶
func (o *StartPostgreSQLShowIndexActionOK) GetPayload() *StartPostgreSQLShowIndexActionOKBody
type StartPostgreSQLShowIndexActionOKBody ¶
type StartPostgreSQLShowIndexActionOKBody struct { // Unique Action ID. ActionID string `json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. PMMAgentID string `json:"pmm_agent_id,omitempty"` }
StartPostgreSQLShowIndexActionOKBody start postgre SQL show index action OK body swagger:model StartPostgreSQLShowIndexActionOKBody
func (*StartPostgreSQLShowIndexActionOKBody) MarshalBinary ¶
func (o *StartPostgreSQLShowIndexActionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StartPostgreSQLShowIndexActionOKBody) UnmarshalBinary ¶
func (o *StartPostgreSQLShowIndexActionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StartPostgreSQLShowIndexActionParams ¶
type StartPostgreSQLShowIndexActionParams struct { /*Body*/ Body StartPostgreSQLShowIndexActionBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
StartPostgreSQLShowIndexActionParams contains all the parameters to send to the API endpoint for the start postgre SQL show index action operation typically these are written to a http.Request
func NewStartPostgreSQLShowIndexActionParams ¶
func NewStartPostgreSQLShowIndexActionParams() *StartPostgreSQLShowIndexActionParams
NewStartPostgreSQLShowIndexActionParams creates a new StartPostgreSQLShowIndexActionParams object with the default values initialized.
func NewStartPostgreSQLShowIndexActionParamsWithContext ¶
func NewStartPostgreSQLShowIndexActionParamsWithContext(ctx context.Context) *StartPostgreSQLShowIndexActionParams
NewStartPostgreSQLShowIndexActionParamsWithContext creates a new StartPostgreSQLShowIndexActionParams object with the default values initialized, and the ability to set a context for a request
func NewStartPostgreSQLShowIndexActionParamsWithHTTPClient ¶
func NewStartPostgreSQLShowIndexActionParamsWithHTTPClient(client *http.Client) *StartPostgreSQLShowIndexActionParams
NewStartPostgreSQLShowIndexActionParamsWithHTTPClient creates a new StartPostgreSQLShowIndexActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewStartPostgreSQLShowIndexActionParamsWithTimeout ¶
func NewStartPostgreSQLShowIndexActionParamsWithTimeout(timeout time.Duration) *StartPostgreSQLShowIndexActionParams
NewStartPostgreSQLShowIndexActionParamsWithTimeout creates a new StartPostgreSQLShowIndexActionParams object with the default values initialized, and the ability to set a timeout on a request
func (*StartPostgreSQLShowIndexActionParams) SetBody ¶
func (o *StartPostgreSQLShowIndexActionParams) SetBody(body StartPostgreSQLShowIndexActionBody)
SetBody adds the body to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) SetContext ¶
func (o *StartPostgreSQLShowIndexActionParams) SetContext(ctx context.Context)
SetContext adds the context to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) SetHTTPClient ¶
func (o *StartPostgreSQLShowIndexActionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) SetTimeout ¶
func (o *StartPostgreSQLShowIndexActionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) WithBody ¶
func (o *StartPostgreSQLShowIndexActionParams) WithBody(body StartPostgreSQLShowIndexActionBody) *StartPostgreSQLShowIndexActionParams
WithBody adds the body to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) WithContext ¶
func (o *StartPostgreSQLShowIndexActionParams) WithContext(ctx context.Context) *StartPostgreSQLShowIndexActionParams
WithContext adds the context to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) WithHTTPClient ¶
func (o *StartPostgreSQLShowIndexActionParams) WithHTTPClient(client *http.Client) *StartPostgreSQLShowIndexActionParams
WithHTTPClient adds the HTTPClient to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) WithTimeout ¶
func (o *StartPostgreSQLShowIndexActionParams) WithTimeout(timeout time.Duration) *StartPostgreSQLShowIndexActionParams
WithTimeout adds the timeout to the start postgre SQL show index action params
func (*StartPostgreSQLShowIndexActionParams) WriteToRequest ¶
func (o *StartPostgreSQLShowIndexActionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type StartPostgreSQLShowIndexActionReader ¶
type StartPostgreSQLShowIndexActionReader struct {
// contains filtered or unexported fields
}
StartPostgreSQLShowIndexActionReader is a Reader for the StartPostgreSQLShowIndexAction structure.
func (*StartPostgreSQLShowIndexActionReader) ReadResponse ¶
func (o *StartPostgreSQLShowIndexActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- actions_client.go
- cancel_action_parameters.go
- cancel_action_responses.go
- get_action_parameters.go
- get_action_responses.go
- start_my_sql_explain_action_parameters.go
- start_my_sql_explain_action_responses.go
- start_my_sql_explain_json_action_parameters.go
- start_my_sql_explain_json_action_responses.go
- start_my_sql_explain_traditional_json_action_parameters.go
- start_my_sql_explain_traditional_json_action_responses.go
- start_my_sql_show_create_table_action_parameters.go
- start_my_sql_show_create_table_action_responses.go
- start_my_sql_show_index_action_parameters.go
- start_my_sql_show_index_action_responses.go
- start_my_sql_show_table_status_action_parameters.go
- start_my_sql_show_table_status_action_responses.go
- start_postgre_sql_show_create_table_action_parameters.go
- start_postgre_sql_show_create_table_action_responses.go
- start_postgre_sql_show_index_action_parameters.go
- start_postgre_sql_show_index_action_responses.go