actions

package
v2.0.0-alpha5+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2019 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelActionBody

type CancelActionBody struct {

	// Unique Action ID.
	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

func (*CancelActionBody) Validate

func (o *CancelActionBody) Validate(formats strfmt.Registry) error

Validate validates this cancel action body

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

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

func (*CancelActionDefaultBody) Validate

func (o *CancelActionDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this cancel action default body

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

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

WithBody adds the body to the cancel action params

func (*CancelActionParams) WithContext

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

func (*Client) StartMySQLExplainJSONAction

func (a *Client) StartMySQLExplainJSONAction(params *StartMySQLExplainJSONActionParams) (*StartMySQLExplainJSONActionOK, error)

StartMySQLExplainJSONAction starts my SQL explain JSON action starts my SQL JSON e x p l a i n action

func (*Client) StartPTMySQLSummaryAction

func (a *Client) StartPTMySQLSummaryAction(params *StartPTMySQLSummaryActionParams) (*StartPTMySQLSummaryActionOK, error)

StartPTMySQLSummaryAction starts p t my SQL summary action starts pt mysql summary action

func (*Client) StartPTSummaryAction

func (a *Client) StartPTSummaryAction(params *StartPTSummaryActionParams) (*StartPTSummaryActionOK, error)

StartPTSummaryAction starts p t summary action starts pt summary 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

func (*GetActionBody) Validate

func (o *GetActionBody) Validate(formats strfmt.Registry) error

Validate validates this get action body

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

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

func (*GetActionDefaultBody) Validate

func (o *GetActionDefaultBody) Validate(formats strfmt.Registry) error

Validate validates this get action default body

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

type GetActionOKBody

type GetActionOKBody struct {

	// Unique Action ID.
	ActionID string `json:"action_id,omitempty"`

	// True if Action is finished.
	Done bool `json:"done,omitempty"`

	// Error message if Action failed.
	Error string `json:"error,omitempty"`

	// Current Action output; may be partial if Action is still running.
	Output string `json:"output,omitempty"`

	// pmm-agent ID where this Action is running / was run.
	PMMAgentID string `json:"pmm_agent_id,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

func (*GetActionOKBody) Validate

func (o *GetActionOKBody) Validate(formats strfmt.Registry) error

Validate validates this get action OK body

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"`

	// query example.
	Query string `json:"query,omitempty"`

	// Service ID for this Action.
	ServiceID string `json:"service_id,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

func (*StartMySQLExplainActionBody) Validate

func (o *StartMySQLExplainActionBody) Validate(formats strfmt.Registry) error

Validate validates this start my SQL explain action body

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

Code gets the status code for the start my SQL explain action default response

func (*StartMySQLExplainActionDefault) Error

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

func (*StartMySQLExplainActionDefaultBody) Validate

Validate validates this start my SQL explain action default body

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

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

func (*StartMySQLExplainActionOKBody) Validate

func (o *StartMySQLExplainActionOKBody) Validate(formats strfmt.Registry) error

Validate validates this start my SQL explain action OK body

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

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

WithBody adds the body to the start my SQL explain action params

func (*StartMySQLExplainActionParams) WithContext

WithContext adds the context to the start my SQL explain action params

func (*StartMySQLExplainActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start my SQL explain action params

func (*StartMySQLExplainActionParams) WithTimeout

WithTimeout adds the timeout to the start my SQL explain action params

func (*StartMySQLExplainActionParams) WriteToRequest

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"`

	// query example.
	Query string `json:"query,omitempty"`

	// Service ID for this Action.
	ServiceID string `json:"service_id,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

func (*StartMySQLExplainJSONActionBody) Validate

Validate validates this start my SQL explain JSON action body

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

Code gets the status code for the start my SQL explain JSON action default response

func (*StartMySQLExplainJSONActionDefault) Error

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

func (*StartMySQLExplainJSONActionDefaultBody) Validate

Validate validates this start my SQL explain JSON action default body

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

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

func (*StartMySQLExplainJSONActionOKBody) Validate

Validate validates this start my SQL explain JSON action OK body

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

SetBody adds the body to the start my SQL explain JSON action params

func (*StartMySQLExplainJSONActionParams) SetContext

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

WithBody adds the body to the start my SQL explain JSON action params

func (*StartMySQLExplainJSONActionParams) WithContext

WithContext adds the context to the start my SQL explain JSON action params

func (*StartMySQLExplainJSONActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start my SQL explain JSON action params

func (*StartMySQLExplainJSONActionParams) WithTimeout

WithTimeout adds the timeout to the start my SQL explain JSON action params

func (*StartMySQLExplainJSONActionParams) WriteToRequest

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 StartPTMySQLSummaryActionBody

type StartPTMySQLSummaryActionBody struct {

	// pmm-agent ID where to run this Action.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service ID for this Action.
	ServiceID string `json:"service_id,omitempty"`
}

StartPTMySQLSummaryActionBody start p t my SQL summary action body swagger:model StartPTMySQLSummaryActionBody

func (*StartPTMySQLSummaryActionBody) MarshalBinary

func (o *StartPTMySQLSummaryActionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StartPTMySQLSummaryActionBody) UnmarshalBinary

func (o *StartPTMySQLSummaryActionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StartPTMySQLSummaryActionBody) Validate

func (o *StartPTMySQLSummaryActionBody) Validate(formats strfmt.Registry) error

Validate validates this start p t my SQL summary action body

type StartPTMySQLSummaryActionDefault

type StartPTMySQLSummaryActionDefault struct {
	Payload *StartPTMySQLSummaryActionDefaultBody
	// contains filtered or unexported fields
}

StartPTMySQLSummaryActionDefault handles this case with default header values.

An error response.

func NewStartPTMySQLSummaryActionDefault

func NewStartPTMySQLSummaryActionDefault(code int) *StartPTMySQLSummaryActionDefault

NewStartPTMySQLSummaryActionDefault creates a StartPTMySQLSummaryActionDefault with default headers values

func (*StartPTMySQLSummaryActionDefault) Code

Code gets the status code for the start p t my SQL summary action default response

func (*StartPTMySQLSummaryActionDefault) Error

type StartPTMySQLSummaryActionDefaultBody

type StartPTMySQLSummaryActionDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

StartPTMySQLSummaryActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartPTMySQLSummaryActionDefaultBody

func (*StartPTMySQLSummaryActionDefaultBody) MarshalBinary

func (o *StartPTMySQLSummaryActionDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StartPTMySQLSummaryActionDefaultBody) UnmarshalBinary

func (o *StartPTMySQLSummaryActionDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StartPTMySQLSummaryActionDefaultBody) Validate

Validate validates this start p t my SQL summary action default body

type StartPTMySQLSummaryActionOK

type StartPTMySQLSummaryActionOK struct {
	Payload *StartPTMySQLSummaryActionOKBody
}

StartPTMySQLSummaryActionOK handles this case with default header values.

A successful response.

func NewStartPTMySQLSummaryActionOK

func NewStartPTMySQLSummaryActionOK() *StartPTMySQLSummaryActionOK

NewStartPTMySQLSummaryActionOK creates a StartPTMySQLSummaryActionOK with default headers values

func (*StartPTMySQLSummaryActionOK) Error

type StartPTMySQLSummaryActionOKBody

type StartPTMySQLSummaryActionOKBody 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"`
}

StartPTMySQLSummaryActionOKBody start p t my SQL summary action OK body swagger:model StartPTMySQLSummaryActionOKBody

func (*StartPTMySQLSummaryActionOKBody) MarshalBinary

func (o *StartPTMySQLSummaryActionOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StartPTMySQLSummaryActionOKBody) UnmarshalBinary

func (o *StartPTMySQLSummaryActionOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StartPTMySQLSummaryActionOKBody) Validate

Validate validates this start p t my SQL summary action OK body

type StartPTMySQLSummaryActionParams

type StartPTMySQLSummaryActionParams struct {

	/*Body*/
	Body StartPTMySQLSummaryActionBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StartPTMySQLSummaryActionParams contains all the parameters to send to the API endpoint for the start p t my SQL summary action operation typically these are written to a http.Request

func NewStartPTMySQLSummaryActionParams

func NewStartPTMySQLSummaryActionParams() *StartPTMySQLSummaryActionParams

NewStartPTMySQLSummaryActionParams creates a new StartPTMySQLSummaryActionParams object with the default values initialized.

func NewStartPTMySQLSummaryActionParamsWithContext

func NewStartPTMySQLSummaryActionParamsWithContext(ctx context.Context) *StartPTMySQLSummaryActionParams

NewStartPTMySQLSummaryActionParamsWithContext creates a new StartPTMySQLSummaryActionParams object with the default values initialized, and the ability to set a context for a request

func NewStartPTMySQLSummaryActionParamsWithHTTPClient

func NewStartPTMySQLSummaryActionParamsWithHTTPClient(client *http.Client) *StartPTMySQLSummaryActionParams

NewStartPTMySQLSummaryActionParamsWithHTTPClient creates a new StartPTMySQLSummaryActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewStartPTMySQLSummaryActionParamsWithTimeout

func NewStartPTMySQLSummaryActionParamsWithTimeout(timeout time.Duration) *StartPTMySQLSummaryActionParams

NewStartPTMySQLSummaryActionParamsWithTimeout creates a new StartPTMySQLSummaryActionParams object with the default values initialized, and the ability to set a timeout on a request

func (*StartPTMySQLSummaryActionParams) SetBody

SetBody adds the body to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) SetContext

func (o *StartPTMySQLSummaryActionParams) SetContext(ctx context.Context)

SetContext adds the context to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) SetHTTPClient

func (o *StartPTMySQLSummaryActionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) SetTimeout

func (o *StartPTMySQLSummaryActionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) WithBody

WithBody adds the body to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) WithContext

WithContext adds the context to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) WithTimeout

WithTimeout adds the timeout to the start p t my SQL summary action params

func (*StartPTMySQLSummaryActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartPTMySQLSummaryActionReader

type StartPTMySQLSummaryActionReader struct {
	// contains filtered or unexported fields
}

StartPTMySQLSummaryActionReader is a Reader for the StartPTMySQLSummaryAction structure.

func (*StartPTMySQLSummaryActionReader) ReadResponse

func (o *StartPTMySQLSummaryActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type StartPTSummaryActionBody

type StartPTSummaryActionBody struct {

	// Node ID for this Action.
	NodeID string `json:"node_id,omitempty"`

	// pmm-agent ID where to run this Action.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`
}

StartPTSummaryActionBody start p t summary action body swagger:model StartPTSummaryActionBody

func (*StartPTSummaryActionBody) MarshalBinary

func (o *StartPTSummaryActionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StartPTSummaryActionBody) UnmarshalBinary

func (o *StartPTSummaryActionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StartPTSummaryActionBody) Validate

func (o *StartPTSummaryActionBody) Validate(formats strfmt.Registry) error

Validate validates this start p t summary action body

type StartPTSummaryActionDefault

type StartPTSummaryActionDefault struct {
	Payload *StartPTSummaryActionDefaultBody
	// contains filtered or unexported fields
}

StartPTSummaryActionDefault handles this case with default header values.

An error response.

func NewStartPTSummaryActionDefault

func NewStartPTSummaryActionDefault(code int) *StartPTSummaryActionDefault

NewStartPTSummaryActionDefault creates a StartPTSummaryActionDefault with default headers values

func (*StartPTSummaryActionDefault) Code

func (o *StartPTSummaryActionDefault) Code() int

Code gets the status code for the start p t summary action default response

func (*StartPTSummaryActionDefault) Error

type StartPTSummaryActionDefaultBody

type StartPTSummaryActionDefaultBody struct {

	// code
	Code int32 `json:"code,omitempty"`

	// error
	Error string `json:"error,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

StartPTSummaryActionDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model StartPTSummaryActionDefaultBody

func (*StartPTSummaryActionDefaultBody) MarshalBinary

func (o *StartPTSummaryActionDefaultBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StartPTSummaryActionDefaultBody) UnmarshalBinary

func (o *StartPTSummaryActionDefaultBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StartPTSummaryActionDefaultBody) Validate

Validate validates this start p t summary action default body

type StartPTSummaryActionOK

type StartPTSummaryActionOK struct {
	Payload *StartPTSummaryActionOKBody
}

StartPTSummaryActionOK handles this case with default header values.

A successful response.

func NewStartPTSummaryActionOK

func NewStartPTSummaryActionOK() *StartPTSummaryActionOK

NewStartPTSummaryActionOK creates a StartPTSummaryActionOK with default headers values

func (*StartPTSummaryActionOK) Error

func (o *StartPTSummaryActionOK) Error() string

type StartPTSummaryActionOKBody

type StartPTSummaryActionOKBody 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"`
}

StartPTSummaryActionOKBody start p t summary action OK body swagger:model StartPTSummaryActionOKBody

func (*StartPTSummaryActionOKBody) MarshalBinary

func (o *StartPTSummaryActionOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StartPTSummaryActionOKBody) UnmarshalBinary

func (o *StartPTSummaryActionOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StartPTSummaryActionOKBody) Validate

func (o *StartPTSummaryActionOKBody) Validate(formats strfmt.Registry) error

Validate validates this start p t summary action OK body

type StartPTSummaryActionParams

type StartPTSummaryActionParams struct {

	/*Body*/
	Body StartPTSummaryActionBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

StartPTSummaryActionParams contains all the parameters to send to the API endpoint for the start p t summary action operation typically these are written to a http.Request

func NewStartPTSummaryActionParams

func NewStartPTSummaryActionParams() *StartPTSummaryActionParams

NewStartPTSummaryActionParams creates a new StartPTSummaryActionParams object with the default values initialized.

func NewStartPTSummaryActionParamsWithContext

func NewStartPTSummaryActionParamsWithContext(ctx context.Context) *StartPTSummaryActionParams

NewStartPTSummaryActionParamsWithContext creates a new StartPTSummaryActionParams object with the default values initialized, and the ability to set a context for a request

func NewStartPTSummaryActionParamsWithHTTPClient

func NewStartPTSummaryActionParamsWithHTTPClient(client *http.Client) *StartPTSummaryActionParams

NewStartPTSummaryActionParamsWithHTTPClient creates a new StartPTSummaryActionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewStartPTSummaryActionParamsWithTimeout

func NewStartPTSummaryActionParamsWithTimeout(timeout time.Duration) *StartPTSummaryActionParams

NewStartPTSummaryActionParamsWithTimeout creates a new StartPTSummaryActionParams object with the default values initialized, and the ability to set a timeout on a request

func (*StartPTSummaryActionParams) SetBody

SetBody adds the body to the start p t summary action params

func (*StartPTSummaryActionParams) SetContext

func (o *StartPTSummaryActionParams) SetContext(ctx context.Context)

SetContext adds the context to the start p t summary action params

func (*StartPTSummaryActionParams) SetHTTPClient

func (o *StartPTSummaryActionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the start p t summary action params

func (*StartPTSummaryActionParams) SetTimeout

func (o *StartPTSummaryActionParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the start p t summary action params

func (*StartPTSummaryActionParams) WithBody

WithBody adds the body to the start p t summary action params

func (*StartPTSummaryActionParams) WithContext

WithContext adds the context to the start p t summary action params

func (*StartPTSummaryActionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the start p t summary action params

func (*StartPTSummaryActionParams) WithTimeout

WithTimeout adds the timeout to the start p t summary action params

func (*StartPTSummaryActionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type StartPTSummaryActionReader

type StartPTSummaryActionReader struct {
	// contains filtered or unexported fields
}

StartPTSummaryActionReader is a Reader for the StartPTSummaryAction structure.

func (*StartPTSummaryActionReader) ReadResponse

func (o *StartPTSummaryActionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL