Documentation ¶
Index ¶
- type AddContainerNodeBody
- type AddContainerNodeDefault
- type AddContainerNodeDefaultBody
- type AddContainerNodeOK
- type AddContainerNodeOKBody
- type AddContainerNodeOKBodyContainer
- type AddContainerNodeParams
- func NewAddContainerNodeParams() *AddContainerNodeParams
- func NewAddContainerNodeParamsWithContext(ctx context.Context) *AddContainerNodeParams
- func NewAddContainerNodeParamsWithHTTPClient(client *http.Client) *AddContainerNodeParams
- func NewAddContainerNodeParamsWithTimeout(timeout time.Duration) *AddContainerNodeParams
- func (o *AddContainerNodeParams) SetBody(body AddContainerNodeBody)
- func (o *AddContainerNodeParams) SetContext(ctx context.Context)
- func (o *AddContainerNodeParams) SetHTTPClient(client *http.Client)
- func (o *AddContainerNodeParams) SetTimeout(timeout time.Duration)
- func (o *AddContainerNodeParams) WithBody(body AddContainerNodeBody) *AddContainerNodeParams
- func (o *AddContainerNodeParams) WithContext(ctx context.Context) *AddContainerNodeParams
- func (o *AddContainerNodeParams) WithHTTPClient(client *http.Client) *AddContainerNodeParams
- func (o *AddContainerNodeParams) WithTimeout(timeout time.Duration) *AddContainerNodeParams
- func (o *AddContainerNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddContainerNodeReader
- type AddGenericNodeBody
- type AddGenericNodeDefault
- type AddGenericNodeDefaultBody
- type AddGenericNodeOK
- type AddGenericNodeOKBody
- type AddGenericNodeOKBodyGeneric
- type AddGenericNodeParams
- func NewAddGenericNodeParams() *AddGenericNodeParams
- func NewAddGenericNodeParamsWithContext(ctx context.Context) *AddGenericNodeParams
- func NewAddGenericNodeParamsWithHTTPClient(client *http.Client) *AddGenericNodeParams
- func NewAddGenericNodeParamsWithTimeout(timeout time.Duration) *AddGenericNodeParams
- func (o *AddGenericNodeParams) SetBody(body AddGenericNodeBody)
- func (o *AddGenericNodeParams) SetContext(ctx context.Context)
- func (o *AddGenericNodeParams) SetHTTPClient(client *http.Client)
- func (o *AddGenericNodeParams) SetTimeout(timeout time.Duration)
- func (o *AddGenericNodeParams) WithBody(body AddGenericNodeBody) *AddGenericNodeParams
- func (o *AddGenericNodeParams) WithContext(ctx context.Context) *AddGenericNodeParams
- func (o *AddGenericNodeParams) WithHTTPClient(client *http.Client) *AddGenericNodeParams
- func (o *AddGenericNodeParams) WithTimeout(timeout time.Duration) *AddGenericNodeParams
- func (o *AddGenericNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddGenericNodeReader
- type AddRemoteAmazonRDSNodeBody
- type AddRemoteAmazonRDSNodeDefault
- type AddRemoteAmazonRDSNodeDefaultBody
- type AddRemoteAmazonRDSNodeOK
- type AddRemoteAmazonRDSNodeOKBody
- type AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS
- type AddRemoteAmazonRDSNodeParams
- func NewAddRemoteAmazonRDSNodeParams() *AddRemoteAmazonRDSNodeParams
- func NewAddRemoteAmazonRDSNodeParamsWithContext(ctx context.Context) *AddRemoteAmazonRDSNodeParams
- func NewAddRemoteAmazonRDSNodeParamsWithHTTPClient(client *http.Client) *AddRemoteAmazonRDSNodeParams
- func NewAddRemoteAmazonRDSNodeParamsWithTimeout(timeout time.Duration) *AddRemoteAmazonRDSNodeParams
- func (o *AddRemoteAmazonRDSNodeParams) SetBody(body AddRemoteAmazonRDSNodeBody)
- func (o *AddRemoteAmazonRDSNodeParams) SetContext(ctx context.Context)
- func (o *AddRemoteAmazonRDSNodeParams) SetHTTPClient(client *http.Client)
- func (o *AddRemoteAmazonRDSNodeParams) SetTimeout(timeout time.Duration)
- func (o *AddRemoteAmazonRDSNodeParams) WithBody(body AddRemoteAmazonRDSNodeBody) *AddRemoteAmazonRDSNodeParams
- func (o *AddRemoteAmazonRDSNodeParams) WithContext(ctx context.Context) *AddRemoteAmazonRDSNodeParams
- func (o *AddRemoteAmazonRDSNodeParams) WithHTTPClient(client *http.Client) *AddRemoteAmazonRDSNodeParams
- func (o *AddRemoteAmazonRDSNodeParams) WithTimeout(timeout time.Duration) *AddRemoteAmazonRDSNodeParams
- func (o *AddRemoteAmazonRDSNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRemoteAmazonRDSNodeReader
- type AddRemoteNodeBody
- type AddRemoteNodeDefault
- type AddRemoteNodeDefaultBody
- type AddRemoteNodeOK
- type AddRemoteNodeOKBody
- type AddRemoteNodeOKBodyRemote
- type AddRemoteNodeParams
- func (o *AddRemoteNodeParams) SetBody(body AddRemoteNodeBody)
- func (o *AddRemoteNodeParams) SetContext(ctx context.Context)
- func (o *AddRemoteNodeParams) SetHTTPClient(client *http.Client)
- func (o *AddRemoteNodeParams) SetTimeout(timeout time.Duration)
- func (o *AddRemoteNodeParams) WithBody(body AddRemoteNodeBody) *AddRemoteNodeParams
- func (o *AddRemoteNodeParams) WithContext(ctx context.Context) *AddRemoteNodeParams
- func (o *AddRemoteNodeParams) WithHTTPClient(client *http.Client) *AddRemoteNodeParams
- func (o *AddRemoteNodeParams) WithTimeout(timeout time.Duration) *AddRemoteNodeParams
- func (o *AddRemoteNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRemoteNodeReader
- type Client
- func (a *Client) AddContainerNode(params *AddContainerNodeParams) (*AddContainerNodeOK, error)
- func (a *Client) AddGenericNode(params *AddGenericNodeParams) (*AddGenericNodeOK, error)
- func (a *Client) AddRemoteAmazonRDSNode(params *AddRemoteAmazonRDSNodeParams) (*AddRemoteAmazonRDSNodeOK, error)
- func (a *Client) AddRemoteNode(params *AddRemoteNodeParams) (*AddRemoteNodeOK, error)
- func (a *Client) GetNode(params *GetNodeParams) (*GetNodeOK, error)
- func (a *Client) ListNodes(params *ListNodesParams) (*ListNodesOK, error)
- func (a *Client) RemoveNode(params *RemoveNodeParams) (*RemoveNodeOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ContainerItems0
- type GenericItems0
- type GetNodeBody
- type GetNodeDefault
- type GetNodeDefaultBody
- type GetNodeOK
- type GetNodeOKBody
- type GetNodeOKBodyContainer
- type GetNodeOKBodyGeneric
- type GetNodeOKBodyRemote
- type GetNodeOKBodyRemoteAmazonRDS
- type GetNodeParams
- func (o *GetNodeParams) SetBody(body GetNodeBody)
- func (o *GetNodeParams) SetContext(ctx context.Context)
- func (o *GetNodeParams) SetHTTPClient(client *http.Client)
- func (o *GetNodeParams) SetTimeout(timeout time.Duration)
- func (o *GetNodeParams) WithBody(body GetNodeBody) *GetNodeParams
- func (o *GetNodeParams) WithContext(ctx context.Context) *GetNodeParams
- func (o *GetNodeParams) WithHTTPClient(client *http.Client) *GetNodeParams
- func (o *GetNodeParams) WithTimeout(timeout time.Duration) *GetNodeParams
- func (o *GetNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNodeReader
- type ListNodesDefault
- type ListNodesDefaultBody
- type ListNodesOK
- type ListNodesOKBody
- type ListNodesParams
- func (o *ListNodesParams) SetBody(body interface{})
- func (o *ListNodesParams) SetContext(ctx context.Context)
- func (o *ListNodesParams) SetHTTPClient(client *http.Client)
- func (o *ListNodesParams) SetTimeout(timeout time.Duration)
- func (o *ListNodesParams) WithBody(body interface{}) *ListNodesParams
- func (o *ListNodesParams) WithContext(ctx context.Context) *ListNodesParams
- func (o *ListNodesParams) WithHTTPClient(client *http.Client) *ListNodesParams
- func (o *ListNodesParams) WithTimeout(timeout time.Duration) *ListNodesParams
- func (o *ListNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListNodesReader
- type RemoteAmazonRDSItems0
- type RemoteItems0
- type RemoveNodeBody
- type RemoveNodeDefault
- type RemoveNodeDefaultBody
- type RemoveNodeOK
- type RemoveNodeParams
- func (o *RemoveNodeParams) SetBody(body RemoveNodeBody)
- func (o *RemoveNodeParams) SetContext(ctx context.Context)
- func (o *RemoveNodeParams) SetHTTPClient(client *http.Client)
- func (o *RemoveNodeParams) SetTimeout(timeout time.Duration)
- func (o *RemoveNodeParams) WithBody(body RemoveNodeBody) *RemoveNodeParams
- func (o *RemoveNodeParams) WithContext(ctx context.Context) *RemoveNodeParams
- func (o *RemoveNodeParams) WithHTTPClient(client *http.Client) *RemoveNodeParams
- func (o *RemoveNodeParams) WithTimeout(timeout time.Duration) *RemoveNodeParams
- func (o *RemoveNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveNodeReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddContainerNodeBody ¶
type AddContainerNodeBody struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Container identifier. If specified, must be a unique Docker container identifier. ContainerID string `json:"container_id,omitempty"` // Container name. ContainerName string `json:"container_name,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated. // If defined, Generic Node with that machine_id must exist. MachineID string `json:"machine_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
AddContainerNodeBody add container node body swagger:model AddContainerNodeBody
func (*AddContainerNodeBody) MarshalBinary ¶
func (o *AddContainerNodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddContainerNodeBody) UnmarshalBinary ¶
func (o *AddContainerNodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddContainerNodeDefault ¶
type AddContainerNodeDefault struct { Payload *AddContainerNodeDefaultBody // contains filtered or unexported fields }
AddContainerNodeDefault handles this case with default header values.
An error response.
func NewAddContainerNodeDefault ¶
func NewAddContainerNodeDefault(code int) *AddContainerNodeDefault
NewAddContainerNodeDefault creates a AddContainerNodeDefault with default headers values
func (*AddContainerNodeDefault) Code ¶
func (o *AddContainerNodeDefault) Code() int
Code gets the status code for the add container node default response
func (*AddContainerNodeDefault) Error ¶
func (o *AddContainerNodeDefault) Error() string
func (*AddContainerNodeDefault) GetPayload ¶
func (o *AddContainerNodeDefault) GetPayload() *AddContainerNodeDefaultBody
type AddContainerNodeDefaultBody ¶
type AddContainerNodeDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddContainerNodeDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddContainerNodeDefaultBody
func (*AddContainerNodeDefaultBody) MarshalBinary ¶
func (o *AddContainerNodeDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddContainerNodeDefaultBody) UnmarshalBinary ¶
func (o *AddContainerNodeDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddContainerNodeOK ¶
type AddContainerNodeOK struct {
Payload *AddContainerNodeOKBody
}
AddContainerNodeOK handles this case with default header values.
A successful response.
func NewAddContainerNodeOK ¶
func NewAddContainerNodeOK() *AddContainerNodeOK
NewAddContainerNodeOK creates a AddContainerNodeOK with default headers values
func (*AddContainerNodeOK) Error ¶
func (o *AddContainerNodeOK) Error() string
func (*AddContainerNodeOK) GetPayload ¶
func (o *AddContainerNodeOK) GetPayload() *AddContainerNodeOKBody
type AddContainerNodeOKBody ¶
type AddContainerNodeOKBody struct { // container Container *AddContainerNodeOKBodyContainer `json:"container,omitempty"` }
AddContainerNodeOKBody add container node OK body swagger:model AddContainerNodeOKBody
func (*AddContainerNodeOKBody) MarshalBinary ¶
func (o *AddContainerNodeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddContainerNodeOKBody) UnmarshalBinary ¶
func (o *AddContainerNodeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddContainerNodeOKBodyContainer ¶
type AddContainerNodeOKBodyContainer struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Container identifier. If specified, must be a unique Docker container identifier. // Auto-detected and auto-updated. ContainerID string `json:"container_id,omitempty"` // Container name. Auto-detected and auto-updated. ContainerName string `json:"container_name,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated. // If defined, Generic Node with that machine_id must exist. MachineID string `json:"machine_id,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
AddContainerNodeOKBodyContainer ContainerNode represents a Docker container. swagger:model AddContainerNodeOKBodyContainer
func (*AddContainerNodeOKBodyContainer) MarshalBinary ¶
func (o *AddContainerNodeOKBodyContainer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddContainerNodeOKBodyContainer) UnmarshalBinary ¶
func (o *AddContainerNodeOKBodyContainer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddContainerNodeParams ¶
type AddContainerNodeParams struct { /*Body*/ Body AddContainerNodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddContainerNodeParams contains all the parameters to send to the API endpoint for the add container node operation typically these are written to a http.Request
func NewAddContainerNodeParams ¶
func NewAddContainerNodeParams() *AddContainerNodeParams
NewAddContainerNodeParams creates a new AddContainerNodeParams object with the default values initialized.
func NewAddContainerNodeParamsWithContext ¶
func NewAddContainerNodeParamsWithContext(ctx context.Context) *AddContainerNodeParams
NewAddContainerNodeParamsWithContext creates a new AddContainerNodeParams object with the default values initialized, and the ability to set a context for a request
func NewAddContainerNodeParamsWithHTTPClient ¶
func NewAddContainerNodeParamsWithHTTPClient(client *http.Client) *AddContainerNodeParams
NewAddContainerNodeParamsWithHTTPClient creates a new AddContainerNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddContainerNodeParamsWithTimeout ¶
func NewAddContainerNodeParamsWithTimeout(timeout time.Duration) *AddContainerNodeParams
NewAddContainerNodeParamsWithTimeout creates a new AddContainerNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddContainerNodeParams) SetBody ¶
func (o *AddContainerNodeParams) SetBody(body AddContainerNodeBody)
SetBody adds the body to the add container node params
func (*AddContainerNodeParams) SetContext ¶
func (o *AddContainerNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the add container node params
func (*AddContainerNodeParams) SetHTTPClient ¶
func (o *AddContainerNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add container node params
func (*AddContainerNodeParams) SetTimeout ¶
func (o *AddContainerNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add container node params
func (*AddContainerNodeParams) WithBody ¶
func (o *AddContainerNodeParams) WithBody(body AddContainerNodeBody) *AddContainerNodeParams
WithBody adds the body to the add container node params
func (*AddContainerNodeParams) WithContext ¶
func (o *AddContainerNodeParams) WithContext(ctx context.Context) *AddContainerNodeParams
WithContext adds the context to the add container node params
func (*AddContainerNodeParams) WithHTTPClient ¶
func (o *AddContainerNodeParams) WithHTTPClient(client *http.Client) *AddContainerNodeParams
WithHTTPClient adds the HTTPClient to the add container node params
func (*AddContainerNodeParams) WithTimeout ¶
func (o *AddContainerNodeParams) WithTimeout(timeout time.Duration) *AddContainerNodeParams
WithTimeout adds the timeout to the add container node params
func (*AddContainerNodeParams) WriteToRequest ¶
func (o *AddContainerNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddContainerNodeReader ¶
type AddContainerNodeReader struct {
// contains filtered or unexported fields
}
AddContainerNodeReader is a Reader for the AddContainerNode structure.
func (*AddContainerNodeReader) ReadResponse ¶
func (o *AddContainerNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddGenericNodeBody ¶
type AddGenericNodeBody struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux distribution name and version. Auto-detected and auto-updated. Distro string `json:"distro,omitempty"` // Linux machine-id. Auto-detected and auto-updated. // Must be unique across all Generic Nodes if specified. MachineID string `json:"machine_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
AddGenericNodeBody add generic node body swagger:model AddGenericNodeBody
func (*AddGenericNodeBody) MarshalBinary ¶
func (o *AddGenericNodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddGenericNodeBody) UnmarshalBinary ¶
func (o *AddGenericNodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddGenericNodeDefault ¶
type AddGenericNodeDefault struct { Payload *AddGenericNodeDefaultBody // contains filtered or unexported fields }
AddGenericNodeDefault handles this case with default header values.
An error response.
func NewAddGenericNodeDefault ¶
func NewAddGenericNodeDefault(code int) *AddGenericNodeDefault
NewAddGenericNodeDefault creates a AddGenericNodeDefault with default headers values
func (*AddGenericNodeDefault) Code ¶
func (o *AddGenericNodeDefault) Code() int
Code gets the status code for the add generic node default response
func (*AddGenericNodeDefault) Error ¶
func (o *AddGenericNodeDefault) Error() string
func (*AddGenericNodeDefault) GetPayload ¶
func (o *AddGenericNodeDefault) GetPayload() *AddGenericNodeDefaultBody
type AddGenericNodeDefaultBody ¶
type AddGenericNodeDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddGenericNodeDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddGenericNodeDefaultBody
func (*AddGenericNodeDefaultBody) MarshalBinary ¶
func (o *AddGenericNodeDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddGenericNodeDefaultBody) UnmarshalBinary ¶
func (o *AddGenericNodeDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddGenericNodeOK ¶
type AddGenericNodeOK struct {
Payload *AddGenericNodeOKBody
}
AddGenericNodeOK handles this case with default header values.
A successful response.
func NewAddGenericNodeOK ¶
func NewAddGenericNodeOK() *AddGenericNodeOK
NewAddGenericNodeOK creates a AddGenericNodeOK with default headers values
func (*AddGenericNodeOK) Error ¶
func (o *AddGenericNodeOK) Error() string
func (*AddGenericNodeOK) GetPayload ¶
func (o *AddGenericNodeOK) GetPayload() *AddGenericNodeOKBody
type AddGenericNodeOKBody ¶
type AddGenericNodeOKBody struct { // generic Generic *AddGenericNodeOKBodyGeneric `json:"generic,omitempty"` }
AddGenericNodeOKBody add generic node OK body swagger:model AddGenericNodeOKBody
func (*AddGenericNodeOKBody) MarshalBinary ¶
func (o *AddGenericNodeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddGenericNodeOKBody) UnmarshalBinary ¶
func (o *AddGenericNodeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddGenericNodeOKBodyGeneric ¶
type AddGenericNodeOKBodyGeneric struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux distribution name and version. Auto-detected and auto-updated. Distro string `json:"distro,omitempty"` // Linux machine-id. Auto-detected and auto-updated. // Must be unique across all Generic Nodes if specified. MachineID string `json:"machine_id,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
AddGenericNodeOKBodyGeneric GenericNode represents a bare metal server or virtual machine. swagger:model AddGenericNodeOKBodyGeneric
func (*AddGenericNodeOKBodyGeneric) MarshalBinary ¶
func (o *AddGenericNodeOKBodyGeneric) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddGenericNodeOKBodyGeneric) UnmarshalBinary ¶
func (o *AddGenericNodeOKBodyGeneric) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddGenericNodeParams ¶
type AddGenericNodeParams struct { /*Body*/ Body AddGenericNodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddGenericNodeParams contains all the parameters to send to the API endpoint for the add generic node operation typically these are written to a http.Request
func NewAddGenericNodeParams ¶
func NewAddGenericNodeParams() *AddGenericNodeParams
NewAddGenericNodeParams creates a new AddGenericNodeParams object with the default values initialized.
func NewAddGenericNodeParamsWithContext ¶
func NewAddGenericNodeParamsWithContext(ctx context.Context) *AddGenericNodeParams
NewAddGenericNodeParamsWithContext creates a new AddGenericNodeParams object with the default values initialized, and the ability to set a context for a request
func NewAddGenericNodeParamsWithHTTPClient ¶
func NewAddGenericNodeParamsWithHTTPClient(client *http.Client) *AddGenericNodeParams
NewAddGenericNodeParamsWithHTTPClient creates a new AddGenericNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddGenericNodeParamsWithTimeout ¶
func NewAddGenericNodeParamsWithTimeout(timeout time.Duration) *AddGenericNodeParams
NewAddGenericNodeParamsWithTimeout creates a new AddGenericNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddGenericNodeParams) SetBody ¶
func (o *AddGenericNodeParams) SetBody(body AddGenericNodeBody)
SetBody adds the body to the add generic node params
func (*AddGenericNodeParams) SetContext ¶
func (o *AddGenericNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the add generic node params
func (*AddGenericNodeParams) SetHTTPClient ¶
func (o *AddGenericNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add generic node params
func (*AddGenericNodeParams) SetTimeout ¶
func (o *AddGenericNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add generic node params
func (*AddGenericNodeParams) WithBody ¶
func (o *AddGenericNodeParams) WithBody(body AddGenericNodeBody) *AddGenericNodeParams
WithBody adds the body to the add generic node params
func (*AddGenericNodeParams) WithContext ¶
func (o *AddGenericNodeParams) WithContext(ctx context.Context) *AddGenericNodeParams
WithContext adds the context to the add generic node params
func (*AddGenericNodeParams) WithHTTPClient ¶
func (o *AddGenericNodeParams) WithHTTPClient(client *http.Client) *AddGenericNodeParams
WithHTTPClient adds the HTTPClient to the add generic node params
func (*AddGenericNodeParams) WithTimeout ¶
func (o *AddGenericNodeParams) WithTimeout(timeout time.Duration) *AddGenericNodeParams
WithTimeout adds the timeout to the add generic node params
func (*AddGenericNodeParams) WriteToRequest ¶
func (o *AddGenericNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddGenericNodeReader ¶
type AddGenericNodeReader struct {
// contains filtered or unexported fields
}
AddGenericNodeReader is a Reader for the AddGenericNode structure.
func (*AddGenericNodeReader) ReadResponse ¶
func (o *AddGenericNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddRemoteAmazonRDSNodeBody ¶
type AddRemoteAmazonRDSNodeBody struct { // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region. Instance string `json:"instance,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Unique across all RemoteAmazonRDS Nodes in combination with instance. Region string `json:"region,omitempty"` }
AddRemoteAmazonRDSNodeBody add remote amazon RDS node body swagger:model AddRemoteAmazonRDSNodeBody
func (*AddRemoteAmazonRDSNodeBody) MarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteAmazonRDSNodeBody) UnmarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteAmazonRDSNodeDefault ¶
type AddRemoteAmazonRDSNodeDefault struct { Payload *AddRemoteAmazonRDSNodeDefaultBody // contains filtered or unexported fields }
AddRemoteAmazonRDSNodeDefault handles this case with default header values.
An error response.
func NewAddRemoteAmazonRDSNodeDefault ¶
func NewAddRemoteAmazonRDSNodeDefault(code int) *AddRemoteAmazonRDSNodeDefault
NewAddRemoteAmazonRDSNodeDefault creates a AddRemoteAmazonRDSNodeDefault with default headers values
func (*AddRemoteAmazonRDSNodeDefault) Code ¶
func (o *AddRemoteAmazonRDSNodeDefault) Code() int
Code gets the status code for the add remote amazon RDS node default response
func (*AddRemoteAmazonRDSNodeDefault) Error ¶
func (o *AddRemoteAmazonRDSNodeDefault) Error() string
func (*AddRemoteAmazonRDSNodeDefault) GetPayload ¶
func (o *AddRemoteAmazonRDSNodeDefault) GetPayload() *AddRemoteAmazonRDSNodeDefaultBody
type AddRemoteAmazonRDSNodeDefaultBody ¶
type AddRemoteAmazonRDSNodeDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddRemoteAmazonRDSNodeDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddRemoteAmazonRDSNodeDefaultBody
func (*AddRemoteAmazonRDSNodeDefaultBody) MarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteAmazonRDSNodeDefaultBody) UnmarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteAmazonRDSNodeOK ¶
type AddRemoteAmazonRDSNodeOK struct {
Payload *AddRemoteAmazonRDSNodeOKBody
}
AddRemoteAmazonRDSNodeOK handles this case with default header values.
A successful response.
func NewAddRemoteAmazonRDSNodeOK ¶
func NewAddRemoteAmazonRDSNodeOK() *AddRemoteAmazonRDSNodeOK
NewAddRemoteAmazonRDSNodeOK creates a AddRemoteAmazonRDSNodeOK with default headers values
func (*AddRemoteAmazonRDSNodeOK) Error ¶
func (o *AddRemoteAmazonRDSNodeOK) Error() string
func (*AddRemoteAmazonRDSNodeOK) GetPayload ¶
func (o *AddRemoteAmazonRDSNodeOK) GetPayload() *AddRemoteAmazonRDSNodeOKBody
type AddRemoteAmazonRDSNodeOKBody ¶
type AddRemoteAmazonRDSNodeOKBody struct { // remote amazon rds RemoteAmazonRDS *AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS `json:"remote_amazon_rds,omitempty"` }
AddRemoteAmazonRDSNodeOKBody add remote amazon RDS node OK body swagger:model AddRemoteAmazonRDSNodeOKBody
func (*AddRemoteAmazonRDSNodeOKBody) MarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteAmazonRDSNodeOKBody) UnmarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS ¶
type AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS struct { // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region. Can be changed. Instance string `json:"instance,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Unique across all RemoteAmazonRDS Nodes in combination with instance. Can't be changed. Region string `json:"region,omitempty"` }
AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS RemoteAmazonRDSNode represents a Remote Node for Amazon RDS. Agents can't run on Remote Nodes. swagger:model AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS
func (*AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS) MarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS) UnmarshalBinary ¶
func (o *AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteAmazonRDSNodeParams ¶
type AddRemoteAmazonRDSNodeParams struct { /*Body*/ Body AddRemoteAmazonRDSNodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddRemoteAmazonRDSNodeParams contains all the parameters to send to the API endpoint for the add remote amazon RDS node operation typically these are written to a http.Request
func NewAddRemoteAmazonRDSNodeParams ¶
func NewAddRemoteAmazonRDSNodeParams() *AddRemoteAmazonRDSNodeParams
NewAddRemoteAmazonRDSNodeParams creates a new AddRemoteAmazonRDSNodeParams object with the default values initialized.
func NewAddRemoteAmazonRDSNodeParamsWithContext ¶
func NewAddRemoteAmazonRDSNodeParamsWithContext(ctx context.Context) *AddRemoteAmazonRDSNodeParams
NewAddRemoteAmazonRDSNodeParamsWithContext creates a new AddRemoteAmazonRDSNodeParams object with the default values initialized, and the ability to set a context for a request
func NewAddRemoteAmazonRDSNodeParamsWithHTTPClient ¶
func NewAddRemoteAmazonRDSNodeParamsWithHTTPClient(client *http.Client) *AddRemoteAmazonRDSNodeParams
NewAddRemoteAmazonRDSNodeParamsWithHTTPClient creates a new AddRemoteAmazonRDSNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddRemoteAmazonRDSNodeParamsWithTimeout ¶
func NewAddRemoteAmazonRDSNodeParamsWithTimeout(timeout time.Duration) *AddRemoteAmazonRDSNodeParams
NewAddRemoteAmazonRDSNodeParamsWithTimeout creates a new AddRemoteAmazonRDSNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddRemoteAmazonRDSNodeParams) SetBody ¶
func (o *AddRemoteAmazonRDSNodeParams) SetBody(body AddRemoteAmazonRDSNodeBody)
SetBody adds the body to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) SetContext ¶
func (o *AddRemoteAmazonRDSNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) SetHTTPClient ¶
func (o *AddRemoteAmazonRDSNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) SetTimeout ¶
func (o *AddRemoteAmazonRDSNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) WithBody ¶
func (o *AddRemoteAmazonRDSNodeParams) WithBody(body AddRemoteAmazonRDSNodeBody) *AddRemoteAmazonRDSNodeParams
WithBody adds the body to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) WithContext ¶
func (o *AddRemoteAmazonRDSNodeParams) WithContext(ctx context.Context) *AddRemoteAmazonRDSNodeParams
WithContext adds the context to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) WithHTTPClient ¶
func (o *AddRemoteAmazonRDSNodeParams) WithHTTPClient(client *http.Client) *AddRemoteAmazonRDSNodeParams
WithHTTPClient adds the HTTPClient to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) WithTimeout ¶
func (o *AddRemoteAmazonRDSNodeParams) WithTimeout(timeout time.Duration) *AddRemoteAmazonRDSNodeParams
WithTimeout adds the timeout to the add remote amazon RDS node params
func (*AddRemoteAmazonRDSNodeParams) WriteToRequest ¶
func (o *AddRemoteAmazonRDSNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddRemoteAmazonRDSNodeReader ¶
type AddRemoteAmazonRDSNodeReader struct {
// contains filtered or unexported fields
}
AddRemoteAmazonRDSNodeReader is a Reader for the AddRemoteAmazonRDSNode structure.
func (*AddRemoteAmazonRDSNodeReader) ReadResponse ¶
func (o *AddRemoteAmazonRDSNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddRemoteNodeBody ¶
type AddRemoteNodeBody struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
AddRemoteNodeBody add remote node body swagger:model AddRemoteNodeBody
func (*AddRemoteNodeBody) MarshalBinary ¶
func (o *AddRemoteNodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteNodeBody) UnmarshalBinary ¶
func (o *AddRemoteNodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteNodeDefault ¶
type AddRemoteNodeDefault struct { Payload *AddRemoteNodeDefaultBody // contains filtered or unexported fields }
AddRemoteNodeDefault handles this case with default header values.
An error response.
func NewAddRemoteNodeDefault ¶
func NewAddRemoteNodeDefault(code int) *AddRemoteNodeDefault
NewAddRemoteNodeDefault creates a AddRemoteNodeDefault with default headers values
func (*AddRemoteNodeDefault) Code ¶
func (o *AddRemoteNodeDefault) Code() int
Code gets the status code for the add remote node default response
func (*AddRemoteNodeDefault) Error ¶
func (o *AddRemoteNodeDefault) Error() string
func (*AddRemoteNodeDefault) GetPayload ¶
func (o *AddRemoteNodeDefault) GetPayload() *AddRemoteNodeDefaultBody
type AddRemoteNodeDefaultBody ¶
type AddRemoteNodeDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddRemoteNodeDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddRemoteNodeDefaultBody
func (*AddRemoteNodeDefaultBody) MarshalBinary ¶
func (o *AddRemoteNodeDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteNodeDefaultBody) UnmarshalBinary ¶
func (o *AddRemoteNodeDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteNodeOK ¶
type AddRemoteNodeOK struct {
Payload *AddRemoteNodeOKBody
}
AddRemoteNodeOK handles this case with default header values.
A successful response.
func NewAddRemoteNodeOK ¶
func NewAddRemoteNodeOK() *AddRemoteNodeOK
NewAddRemoteNodeOK creates a AddRemoteNodeOK with default headers values
func (*AddRemoteNodeOK) Error ¶
func (o *AddRemoteNodeOK) Error() string
func (*AddRemoteNodeOK) GetPayload ¶
func (o *AddRemoteNodeOK) GetPayload() *AddRemoteNodeOKBody
type AddRemoteNodeOKBody ¶
type AddRemoteNodeOKBody struct { // remote Remote *AddRemoteNodeOKBodyRemote `json:"remote,omitempty"` }
AddRemoteNodeOKBody add remote node OK body swagger:model AddRemoteNodeOKBody
func (*AddRemoteNodeOKBody) MarshalBinary ¶
func (o *AddRemoteNodeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteNodeOKBody) UnmarshalBinary ¶
func (o *AddRemoteNodeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteNodeOKBodyRemote ¶
type AddRemoteNodeOKBodyRemote struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
AddRemoteNodeOKBodyRemote RemoteNode represents generic remote Node. Agents can't run on Remote Nodes. swagger:model AddRemoteNodeOKBodyRemote
func (*AddRemoteNodeOKBodyRemote) MarshalBinary ¶
func (o *AddRemoteNodeOKBodyRemote) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteNodeOKBodyRemote) UnmarshalBinary ¶
func (o *AddRemoteNodeOKBodyRemote) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteNodeParams ¶
type AddRemoteNodeParams struct { /*Body*/ Body AddRemoteNodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddRemoteNodeParams contains all the parameters to send to the API endpoint for the add remote node operation typically these are written to a http.Request
func NewAddRemoteNodeParams ¶
func NewAddRemoteNodeParams() *AddRemoteNodeParams
NewAddRemoteNodeParams creates a new AddRemoteNodeParams object with the default values initialized.
func NewAddRemoteNodeParamsWithContext ¶
func NewAddRemoteNodeParamsWithContext(ctx context.Context) *AddRemoteNodeParams
NewAddRemoteNodeParamsWithContext creates a new AddRemoteNodeParams object with the default values initialized, and the ability to set a context for a request
func NewAddRemoteNodeParamsWithHTTPClient ¶
func NewAddRemoteNodeParamsWithHTTPClient(client *http.Client) *AddRemoteNodeParams
NewAddRemoteNodeParamsWithHTTPClient creates a new AddRemoteNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddRemoteNodeParamsWithTimeout ¶
func NewAddRemoteNodeParamsWithTimeout(timeout time.Duration) *AddRemoteNodeParams
NewAddRemoteNodeParamsWithTimeout creates a new AddRemoteNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddRemoteNodeParams) SetBody ¶
func (o *AddRemoteNodeParams) SetBody(body AddRemoteNodeBody)
SetBody adds the body to the add remote node params
func (*AddRemoteNodeParams) SetContext ¶
func (o *AddRemoteNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the add remote node params
func (*AddRemoteNodeParams) SetHTTPClient ¶
func (o *AddRemoteNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add remote node params
func (*AddRemoteNodeParams) SetTimeout ¶
func (o *AddRemoteNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add remote node params
func (*AddRemoteNodeParams) WithBody ¶
func (o *AddRemoteNodeParams) WithBody(body AddRemoteNodeBody) *AddRemoteNodeParams
WithBody adds the body to the add remote node params
func (*AddRemoteNodeParams) WithContext ¶
func (o *AddRemoteNodeParams) WithContext(ctx context.Context) *AddRemoteNodeParams
WithContext adds the context to the add remote node params
func (*AddRemoteNodeParams) WithHTTPClient ¶
func (o *AddRemoteNodeParams) WithHTTPClient(client *http.Client) *AddRemoteNodeParams
WithHTTPClient adds the HTTPClient to the add remote node params
func (*AddRemoteNodeParams) WithTimeout ¶
func (o *AddRemoteNodeParams) WithTimeout(timeout time.Duration) *AddRemoteNodeParams
WithTimeout adds the timeout to the add remote node params
func (*AddRemoteNodeParams) WriteToRequest ¶
func (o *AddRemoteNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddRemoteNodeReader ¶
type AddRemoteNodeReader struct {
// contains filtered or unexported fields
}
AddRemoteNodeReader is a Reader for the AddRemoteNode structure.
func (*AddRemoteNodeReader) ReadResponse ¶
func (o *AddRemoteNodeReader) 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 nodes API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new nodes API client.
func (*Client) AddContainerNode ¶
func (a *Client) AddContainerNode(params *AddContainerNodeParams) (*AddContainerNodeOK, error)
AddContainerNode adds container node adds container node
func (*Client) AddGenericNode ¶
func (a *Client) AddGenericNode(params *AddGenericNodeParams) (*AddGenericNodeOK, error)
AddGenericNode adds generic node adds generic node
func (*Client) AddRemoteAmazonRDSNode ¶
func (a *Client) AddRemoteAmazonRDSNode(params *AddRemoteAmazonRDSNodeParams) (*AddRemoteAmazonRDSNodeOK, error)
AddRemoteAmazonRDSNode adds remote amazon RDS node adds amazon AWS RDS remote node
func (*Client) AddRemoteNode ¶
func (a *Client) AddRemoteNode(params *AddRemoteNodeParams) (*AddRemoteNodeOK, error)
AddRemoteNode adds remote node adds remote node
func (*Client) GetNode ¶
func (a *Client) GetNode(params *GetNodeParams) (*GetNodeOK, error)
GetNode gets node returns a single node by ID
func (*Client) ListNodes ¶
func (a *Client) ListNodes(params *ListNodesParams) (*ListNodesOK, error)
ListNodes lists nodes returns a list of all nodes
func (*Client) RemoveNode ¶
func (a *Client) RemoveNode(params *RemoveNodeParams) (*RemoveNodeOK, error)
RemoveNode removes node removes node
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ContainerItems0 ¶
type ContainerItems0 struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Container identifier. If specified, must be a unique Docker container identifier. // Auto-detected and auto-updated. ContainerID string `json:"container_id,omitempty"` // Container name. Auto-detected and auto-updated. ContainerName string `json:"container_name,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated. // If defined, Generic Node with that machine_id must exist. MachineID string `json:"machine_id,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
ContainerItems0 ContainerNode represents a Docker container. swagger:model ContainerItems0
func (*ContainerItems0) MarshalBinary ¶
func (o *ContainerItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ContainerItems0) UnmarshalBinary ¶
func (o *ContainerItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenericItems0 ¶
type GenericItems0 struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux distribution name and version. Auto-detected and auto-updated. Distro string `json:"distro,omitempty"` // Linux machine-id. Auto-detected and auto-updated. // Must be unique across all Generic Nodes if specified. MachineID string `json:"machine_id,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
GenericItems0 GenericNode represents a bare metal server or virtual machine. swagger:model GenericItems0
func (*GenericItems0) MarshalBinary ¶
func (o *GenericItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenericItems0) UnmarshalBinary ¶
func (o *GenericItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeBody ¶
type GetNodeBody struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` }
GetNodeBody get node body swagger:model GetNodeBody
func (*GetNodeBody) MarshalBinary ¶
func (o *GetNodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeBody) UnmarshalBinary ¶
func (o *GetNodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeDefault ¶
type GetNodeDefault struct { Payload *GetNodeDefaultBody // contains filtered or unexported fields }
GetNodeDefault handles this case with default header values.
An error response.
func NewGetNodeDefault ¶
func NewGetNodeDefault(code int) *GetNodeDefault
NewGetNodeDefault creates a GetNodeDefault with default headers values
func (*GetNodeDefault) Code ¶
func (o *GetNodeDefault) Code() int
Code gets the status code for the get node default response
func (*GetNodeDefault) Error ¶
func (o *GetNodeDefault) Error() string
func (*GetNodeDefault) GetPayload ¶
func (o *GetNodeDefault) GetPayload() *GetNodeDefaultBody
type GetNodeDefaultBody ¶
type GetNodeDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
GetNodeDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model GetNodeDefaultBody
func (*GetNodeDefaultBody) MarshalBinary ¶
func (o *GetNodeDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeDefaultBody) UnmarshalBinary ¶
func (o *GetNodeDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeOK ¶
type GetNodeOK struct {
Payload *GetNodeOKBody
}
GetNodeOK handles this case with default header values.
A successful response.
func NewGetNodeOK ¶
func NewGetNodeOK() *GetNodeOK
NewGetNodeOK creates a GetNodeOK with default headers values
func (*GetNodeOK) GetPayload ¶
func (o *GetNodeOK) GetPayload() *GetNodeOKBody
type GetNodeOKBody ¶
type GetNodeOKBody struct { // container Container *GetNodeOKBodyContainer `json:"container,omitempty"` // generic Generic *GetNodeOKBodyGeneric `json:"generic,omitempty"` // remote Remote *GetNodeOKBodyRemote `json:"remote,omitempty"` // remote amazon rds RemoteAmazonRDS *GetNodeOKBodyRemoteAmazonRDS `json:"remote_amazon_rds,omitempty"` }
GetNodeOKBody get node OK body swagger:model GetNodeOKBody
func (*GetNodeOKBody) MarshalBinary ¶
func (o *GetNodeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeOKBody) UnmarshalBinary ¶
func (o *GetNodeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeOKBodyContainer ¶
type GetNodeOKBodyContainer struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Container identifier. If specified, must be a unique Docker container identifier. // Auto-detected and auto-updated. ContainerID string `json:"container_id,omitempty"` // Container name. Auto-detected and auto-updated. ContainerName string `json:"container_name,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated. // If defined, Generic Node with that machine_id must exist. MachineID string `json:"machine_id,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
GetNodeOKBodyContainer ContainerNode represents a Docker container. swagger:model GetNodeOKBodyContainer
func (*GetNodeOKBodyContainer) MarshalBinary ¶
func (o *GetNodeOKBodyContainer) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeOKBodyContainer) UnmarshalBinary ¶
func (o *GetNodeOKBodyContainer) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeOKBodyGeneric ¶
type GetNodeOKBodyGeneric struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Linux distribution name and version. Auto-detected and auto-updated. Distro string `json:"distro,omitempty"` // Linux machine-id. Auto-detected and auto-updated. // Must be unique across all Generic Nodes if specified. MachineID string `json:"machine_id,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Node model. Auto-detected and auto-updated. NodeModel string `json:"node_model,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
GetNodeOKBodyGeneric GenericNode represents a bare metal server or virtual machine. swagger:model GetNodeOKBodyGeneric
func (*GetNodeOKBodyGeneric) MarshalBinary ¶
func (o *GetNodeOKBodyGeneric) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeOKBodyGeneric) UnmarshalBinary ¶
func (o *GetNodeOKBodyGeneric) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeOKBodyRemote ¶
type GetNodeOKBodyRemote struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
GetNodeOKBodyRemote RemoteNode represents generic remote Node. Agents can't run on Remote Nodes. swagger:model GetNodeOKBodyRemote
func (*GetNodeOKBodyRemote) MarshalBinary ¶
func (o *GetNodeOKBodyRemote) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeOKBodyRemote) UnmarshalBinary ¶
func (o *GetNodeOKBodyRemote) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeOKBodyRemoteAmazonRDS ¶
type GetNodeOKBodyRemoteAmazonRDS struct { // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region. Can be changed. Instance string `json:"instance,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Unique across all RemoteAmazonRDS Nodes in combination with instance. Can't be changed. Region string `json:"region,omitempty"` }
GetNodeOKBodyRemoteAmazonRDS RemoteAmazonRDSNode represents a Remote Node for Amazon RDS. Agents can't run on Remote Nodes. swagger:model GetNodeOKBodyRemoteAmazonRDS
func (*GetNodeOKBodyRemoteAmazonRDS) MarshalBinary ¶
func (o *GetNodeOKBodyRemoteAmazonRDS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeOKBodyRemoteAmazonRDS) UnmarshalBinary ¶
func (o *GetNodeOKBodyRemoteAmazonRDS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNodeParams ¶
type GetNodeParams struct { /*Body*/ Body GetNodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNodeParams contains all the parameters to send to the API endpoint for the get node operation typically these are written to a http.Request
func NewGetNodeParams ¶
func NewGetNodeParams() *GetNodeParams
NewGetNodeParams creates a new GetNodeParams object with the default values initialized.
func NewGetNodeParamsWithContext ¶
func NewGetNodeParamsWithContext(ctx context.Context) *GetNodeParams
NewGetNodeParamsWithContext creates a new GetNodeParams object with the default values initialized, and the ability to set a context for a request
func NewGetNodeParamsWithHTTPClient ¶
func NewGetNodeParamsWithHTTPClient(client *http.Client) *GetNodeParams
NewGetNodeParamsWithHTTPClient creates a new GetNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNodeParamsWithTimeout ¶
func NewGetNodeParamsWithTimeout(timeout time.Duration) *GetNodeParams
NewGetNodeParamsWithTimeout creates a new GetNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNodeParams) SetBody ¶
func (o *GetNodeParams) SetBody(body GetNodeBody)
SetBody adds the body to the get node params
func (*GetNodeParams) SetContext ¶
func (o *GetNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the get node params
func (*GetNodeParams) SetHTTPClient ¶
func (o *GetNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get node params
func (*GetNodeParams) SetTimeout ¶
func (o *GetNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get node params
func (*GetNodeParams) WithBody ¶
func (o *GetNodeParams) WithBody(body GetNodeBody) *GetNodeParams
WithBody adds the body to the get node params
func (*GetNodeParams) WithContext ¶
func (o *GetNodeParams) WithContext(ctx context.Context) *GetNodeParams
WithContext adds the context to the get node params
func (*GetNodeParams) WithHTTPClient ¶
func (o *GetNodeParams) WithHTTPClient(client *http.Client) *GetNodeParams
WithHTTPClient adds the HTTPClient to the get node params
func (*GetNodeParams) WithTimeout ¶
func (o *GetNodeParams) WithTimeout(timeout time.Duration) *GetNodeParams
WithTimeout adds the timeout to the get node params
func (*GetNodeParams) WriteToRequest ¶
func (o *GetNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNodeReader ¶
type GetNodeReader struct {
// contains filtered or unexported fields
}
GetNodeReader is a Reader for the GetNode structure.
func (*GetNodeReader) ReadResponse ¶
func (o *GetNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListNodesDefault ¶
type ListNodesDefault struct { Payload *ListNodesDefaultBody // contains filtered or unexported fields }
ListNodesDefault handles this case with default header values.
An error response.
func NewListNodesDefault ¶
func NewListNodesDefault(code int) *ListNodesDefault
NewListNodesDefault creates a ListNodesDefault with default headers values
func (*ListNodesDefault) Code ¶
func (o *ListNodesDefault) Code() int
Code gets the status code for the list nodes default response
func (*ListNodesDefault) Error ¶
func (o *ListNodesDefault) Error() string
func (*ListNodesDefault) GetPayload ¶
func (o *ListNodesDefault) GetPayload() *ListNodesDefaultBody
type ListNodesDefaultBody ¶
type ListNodesDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
ListNodesDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model ListNodesDefaultBody
func (*ListNodesDefaultBody) MarshalBinary ¶
func (o *ListNodesDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListNodesDefaultBody) UnmarshalBinary ¶
func (o *ListNodesDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListNodesOK ¶
type ListNodesOK struct {
Payload *ListNodesOKBody
}
ListNodesOK handles this case with default header values.
A successful response.
func NewListNodesOK ¶
func NewListNodesOK() *ListNodesOK
NewListNodesOK creates a ListNodesOK with default headers values
func (*ListNodesOK) Error ¶
func (o *ListNodesOK) Error() string
func (*ListNodesOK) GetPayload ¶
func (o *ListNodesOK) GetPayload() *ListNodesOKBody
type ListNodesOKBody ¶
type ListNodesOKBody struct { // container Container []*ContainerItems0 `json:"container"` // generic Generic []*GenericItems0 `json:"generic"` // remote Remote []*RemoteItems0 `json:"remote"` // remote amazon rds RemoteAmazonRDS []*RemoteAmazonRDSItems0 `json:"remote_amazon_rds"` }
ListNodesOKBody list nodes OK body swagger:model ListNodesOKBody
func (*ListNodesOKBody) MarshalBinary ¶
func (o *ListNodesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListNodesOKBody) UnmarshalBinary ¶
func (o *ListNodesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListNodesParams ¶
type ListNodesParams struct { /*Body*/ Body interface{} Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListNodesParams contains all the parameters to send to the API endpoint for the list nodes operation typically these are written to a http.Request
func NewListNodesParams ¶
func NewListNodesParams() *ListNodesParams
NewListNodesParams creates a new ListNodesParams object with the default values initialized.
func NewListNodesParamsWithContext ¶
func NewListNodesParamsWithContext(ctx context.Context) *ListNodesParams
NewListNodesParamsWithContext creates a new ListNodesParams object with the default values initialized, and the ability to set a context for a request
func NewListNodesParamsWithHTTPClient ¶
func NewListNodesParamsWithHTTPClient(client *http.Client) *ListNodesParams
NewListNodesParamsWithHTTPClient creates a new ListNodesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListNodesParamsWithTimeout ¶
func NewListNodesParamsWithTimeout(timeout time.Duration) *ListNodesParams
NewListNodesParamsWithTimeout creates a new ListNodesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListNodesParams) SetBody ¶
func (o *ListNodesParams) SetBody(body interface{})
SetBody adds the body to the list nodes params
func (*ListNodesParams) SetContext ¶
func (o *ListNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the list nodes params
func (*ListNodesParams) SetHTTPClient ¶
func (o *ListNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list nodes params
func (*ListNodesParams) SetTimeout ¶
func (o *ListNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list nodes params
func (*ListNodesParams) WithBody ¶
func (o *ListNodesParams) WithBody(body interface{}) *ListNodesParams
WithBody adds the body to the list nodes params
func (*ListNodesParams) WithContext ¶
func (o *ListNodesParams) WithContext(ctx context.Context) *ListNodesParams
WithContext adds the context to the list nodes params
func (*ListNodesParams) WithHTTPClient ¶
func (o *ListNodesParams) WithHTTPClient(client *http.Client) *ListNodesParams
WithHTTPClient adds the HTTPClient to the list nodes params
func (*ListNodesParams) WithTimeout ¶
func (o *ListNodesParams) WithTimeout(timeout time.Duration) *ListNodesParams
WithTimeout adds the timeout to the list nodes params
func (*ListNodesParams) WriteToRequest ¶
func (o *ListNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListNodesReader ¶
type ListNodesReader struct {
// contains filtered or unexported fields
}
ListNodesReader is a Reader for the ListNodes structure.
func (*ListNodesReader) ReadResponse ¶
func (o *ListNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoteAmazonRDSItems0 ¶
type RemoteAmazonRDSItems0 struct { // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region. Can be changed. Instance string `json:"instance,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Unique across all RemoteAmazonRDS Nodes in combination with instance. Can't be changed. Region string `json:"region,omitempty"` }
RemoteAmazonRDSItems0 RemoteAmazonRDSNode represents a Remote Node for Amazon RDS. Agents can't run on Remote Nodes. swagger:model RemoteAmazonRDSItems0
func (*RemoteAmazonRDSItems0) MarshalBinary ¶
func (o *RemoteAmazonRDSItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoteAmazonRDSItems0) UnmarshalBinary ¶
func (o *RemoteAmazonRDSItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoteItems0 ¶
type RemoteItems0 struct { // Address FIXME https://jira.percona.com/browse/PMM-3786 Address string `json:"address,omitempty"` // Node availability zone. Auto-detected and auto-updated. Az string `json:"az,omitempty"` // Custom user-assigned labels. Can be changed. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Unique randomly generated instance identifier. Can't be changed. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. Can't be changed. NodeName string `json:"node_name,omitempty"` // Node region. Auto-detected and auto-updated. Region string `json:"region,omitempty"` }
RemoteItems0 RemoteNode represents generic remote Node. Agents can't run on Remote Nodes. swagger:model RemoteItems0
func (*RemoteItems0) MarshalBinary ¶
func (o *RemoteItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoteItems0) UnmarshalBinary ¶
func (o *RemoteItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveNodeBody ¶
type RemoveNodeBody struct { // Remove node with all dependencies. Force bool `json:"force,omitempty"` // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` }
RemoveNodeBody remove node body swagger:model RemoveNodeBody
func (*RemoveNodeBody) MarshalBinary ¶
func (o *RemoveNodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveNodeBody) UnmarshalBinary ¶
func (o *RemoveNodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveNodeDefault ¶
type RemoveNodeDefault struct { Payload *RemoveNodeDefaultBody // contains filtered or unexported fields }
RemoveNodeDefault handles this case with default header values.
An error response.
func NewRemoveNodeDefault ¶
func NewRemoveNodeDefault(code int) *RemoveNodeDefault
NewRemoveNodeDefault creates a RemoveNodeDefault with default headers values
func (*RemoveNodeDefault) Code ¶
func (o *RemoveNodeDefault) Code() int
Code gets the status code for the remove node default response
func (*RemoveNodeDefault) Error ¶
func (o *RemoveNodeDefault) Error() string
func (*RemoveNodeDefault) GetPayload ¶
func (o *RemoveNodeDefault) GetPayload() *RemoveNodeDefaultBody
type RemoveNodeDefaultBody ¶
type RemoveNodeDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
RemoveNodeDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model RemoveNodeDefaultBody
func (*RemoveNodeDefaultBody) MarshalBinary ¶
func (o *RemoveNodeDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveNodeDefaultBody) UnmarshalBinary ¶
func (o *RemoveNodeDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveNodeOK ¶
type RemoveNodeOK struct {
Payload interface{}
}
RemoveNodeOK handles this case with default header values.
A successful response.
func NewRemoveNodeOK ¶
func NewRemoveNodeOK() *RemoveNodeOK
NewRemoveNodeOK creates a RemoveNodeOK with default headers values
func (*RemoveNodeOK) Error ¶
func (o *RemoveNodeOK) Error() string
func (*RemoveNodeOK) GetPayload ¶
func (o *RemoveNodeOK) GetPayload() interface{}
type RemoveNodeParams ¶
type RemoveNodeParams struct { /*Body*/ Body RemoveNodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveNodeParams contains all the parameters to send to the API endpoint for the remove node operation typically these are written to a http.Request
func NewRemoveNodeParams ¶
func NewRemoveNodeParams() *RemoveNodeParams
NewRemoveNodeParams creates a new RemoveNodeParams object with the default values initialized.
func NewRemoveNodeParamsWithContext ¶
func NewRemoveNodeParamsWithContext(ctx context.Context) *RemoveNodeParams
NewRemoveNodeParamsWithContext creates a new RemoveNodeParams object with the default values initialized, and the ability to set a context for a request
func NewRemoveNodeParamsWithHTTPClient ¶
func NewRemoveNodeParamsWithHTTPClient(client *http.Client) *RemoveNodeParams
NewRemoveNodeParamsWithHTTPClient creates a new RemoveNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemoveNodeParamsWithTimeout ¶
func NewRemoveNodeParamsWithTimeout(timeout time.Duration) *RemoveNodeParams
NewRemoveNodeParamsWithTimeout creates a new RemoveNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemoveNodeParams) SetBody ¶
func (o *RemoveNodeParams) SetBody(body RemoveNodeBody)
SetBody adds the body to the remove node params
func (*RemoveNodeParams) SetContext ¶
func (o *RemoveNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the remove node params
func (*RemoveNodeParams) SetHTTPClient ¶
func (o *RemoveNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove node params
func (*RemoveNodeParams) SetTimeout ¶
func (o *RemoveNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove node params
func (*RemoveNodeParams) WithBody ¶
func (o *RemoveNodeParams) WithBody(body RemoveNodeBody) *RemoveNodeParams
WithBody adds the body to the remove node params
func (*RemoveNodeParams) WithContext ¶
func (o *RemoveNodeParams) WithContext(ctx context.Context) *RemoveNodeParams
WithContext adds the context to the remove node params
func (*RemoveNodeParams) WithHTTPClient ¶
func (o *RemoveNodeParams) WithHTTPClient(client *http.Client) *RemoveNodeParams
WithHTTPClient adds the HTTPClient to the remove node params
func (*RemoveNodeParams) WithTimeout ¶
func (o *RemoveNodeParams) WithTimeout(timeout time.Duration) *RemoveNodeParams
WithTimeout adds the timeout to the remove node params
func (*RemoveNodeParams) WriteToRequest ¶
func (o *RemoveNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveNodeReader ¶
type RemoveNodeReader struct {
// contains filtered or unexported fields
}
RemoveNodeReader is a Reader for the RemoveNode structure.
func (*RemoveNodeReader) ReadResponse ¶
func (o *RemoveNodeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- add_container_node_parameters.go
- add_container_node_responses.go
- add_generic_node_parameters.go
- add_generic_node_responses.go
- add_remote_amazon_rds_node_parameters.go
- add_remote_amazon_rds_node_responses.go
- add_remote_node_parameters.go
- add_remote_node_responses.go
- get_node_parameters.go
- get_node_responses.go
- list_nodes_parameters.go
- list_nodes_responses.go
- nodes_client.go
- remove_node_parameters.go
- remove_node_responses.go