Documentation ¶
Index ¶
- Constants
- 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 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 AddRemoteRDSNodeBody
- type AddRemoteRDSNodeDefault
- type AddRemoteRDSNodeDefaultBody
- type AddRemoteRDSNodeOK
- type AddRemoteRDSNodeOKBody
- type AddRemoteRDSNodeOKBodyRemoteRDS
- type AddRemoteRDSNodeParams
- func NewAddRemoteRDSNodeParams() *AddRemoteRDSNodeParams
- func NewAddRemoteRDSNodeParamsWithContext(ctx context.Context) *AddRemoteRDSNodeParams
- func NewAddRemoteRDSNodeParamsWithHTTPClient(client *http.Client) *AddRemoteRDSNodeParams
- func NewAddRemoteRDSNodeParamsWithTimeout(timeout time.Duration) *AddRemoteRDSNodeParams
- func (o *AddRemoteRDSNodeParams) SetBody(body AddRemoteRDSNodeBody)
- func (o *AddRemoteRDSNodeParams) SetContext(ctx context.Context)
- func (o *AddRemoteRDSNodeParams) SetHTTPClient(client *http.Client)
- func (o *AddRemoteRDSNodeParams) SetTimeout(timeout time.Duration)
- func (o *AddRemoteRDSNodeParams) WithBody(body AddRemoteRDSNodeBody) *AddRemoteRDSNodeParams
- func (o *AddRemoteRDSNodeParams) WithContext(ctx context.Context) *AddRemoteRDSNodeParams
- func (o *AddRemoteRDSNodeParams) WithHTTPClient(client *http.Client) *AddRemoteRDSNodeParams
- func (o *AddRemoteRDSNodeParams) WithTimeout(timeout time.Duration) *AddRemoteRDSNodeParams
- func (o *AddRemoteRDSNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRemoteRDSNodeReader
- type Client
- func (a *Client) AddContainerNode(params *AddContainerNodeParams) (*AddContainerNodeOK, error)
- func (a *Client) AddGenericNode(params *AddGenericNodeParams) (*AddGenericNodeOK, error)
- func (a *Client) AddRemoteNode(params *AddRemoteNodeParams) (*AddRemoteNodeOK, error)
- func (a *Client) AddRemoteRDSNode(params *AddRemoteRDSNodeParams) (*AddRemoteRDSNodeOK, 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 ClientService
- type ContainerItems0
- type DetailsItems0
- type GenericItems0
- type GetNodeBody
- type GetNodeDefault
- type GetNodeDefaultBody
- type GetNodeOK
- type GetNodeOKBody
- type GetNodeOKBodyContainer
- type GetNodeOKBodyGeneric
- type GetNodeOKBodyRemote
- type GetNodeOKBodyRemoteRDS
- 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 ListNodesBody
- type ListNodesDefault
- type ListNodesDefaultBody
- type ListNodesOK
- type ListNodesOKBody
- type ListNodesParams
- func (o *ListNodesParams) SetBody(body ListNodesBody)
- 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 ListNodesBody) *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 RemoteItems0
- type RemoteRDSItems0
- 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 ¶
const ( // ListNodesBodyNodeTypeNODETYPEINVALID captures enum value "NODE_TYPE_INVALID" ListNodesBodyNodeTypeNODETYPEINVALID string = "NODE_TYPE_INVALID" // ListNodesBodyNodeTypeGENERICNODE captures enum value "GENERIC_NODE" ListNodesBodyNodeTypeGENERICNODE string = "GENERIC_NODE" // ListNodesBodyNodeTypeCONTAINERNODE captures enum value "CONTAINER_NODE" ListNodesBodyNodeTypeCONTAINERNODE string = "CONTAINER_NODE" // ListNodesBodyNodeTypeREMOTENODE captures enum value "REMOTE_NODE" ListNodesBodyNodeTypeREMOTENODE string = "REMOTE_NODE" // ListNodesBodyNodeTypeREMOTERDSNODE captures enum value "REMOTE_RDS_NODE" ListNodesBodyNodeTypeREMOTERDSNODE string = "REMOTE_RDS_NODE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddContainerNodeBody ¶
type AddContainerNodeBody struct { // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. MachineID string `json:"machine_id,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"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddContainerNodeDefaultBody add container node default body 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 { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. MachineID string `json:"machine_id,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"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id. MachineID string `json:"machine_id,omitempty"` // Linux distribution name and version. Distro string `json:"distro,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddGenericNodeDefaultBody add generic node default body 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 { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id. MachineID string `json:"machine_id,omitempty"` // Linux distribution name and version. Distro string `json:"distro,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 AddRemoteNodeBody ¶
type AddRemoteNodeBody struct { // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddRemoteNodeDefaultBody add remote node default body 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 { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
AddRemoteNodeOKBodyRemote RemoteNode represents generic remote Node. It's a node where we don't run pmm-agents. Only external exporters can 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 AddRemoteRDSNodeBody ¶
type AddRemoteRDSNodeBody struct { // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // DB instance identifier. Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
AddRemoteRDSNodeBody add remote RDS node body swagger:model AddRemoteRDSNodeBody
func (*AddRemoteRDSNodeBody) MarshalBinary ¶
func (o *AddRemoteRDSNodeBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteRDSNodeBody) UnmarshalBinary ¶
func (o *AddRemoteRDSNodeBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteRDSNodeDefault ¶
type AddRemoteRDSNodeDefault struct { Payload *AddRemoteRDSNodeDefaultBody // contains filtered or unexported fields }
AddRemoteRDSNodeDefault handles this case with default header values.
An unexpected error response
func NewAddRemoteRDSNodeDefault ¶
func NewAddRemoteRDSNodeDefault(code int) *AddRemoteRDSNodeDefault
NewAddRemoteRDSNodeDefault creates a AddRemoteRDSNodeDefault with default headers values
func (*AddRemoteRDSNodeDefault) Code ¶
func (o *AddRemoteRDSNodeDefault) Code() int
Code gets the status code for the add remote RDS node default response
func (*AddRemoteRDSNodeDefault) Error ¶
func (o *AddRemoteRDSNodeDefault) Error() string
func (*AddRemoteRDSNodeDefault) GetPayload ¶
func (o *AddRemoteRDSNodeDefault) GetPayload() *AddRemoteRDSNodeDefaultBody
type AddRemoteRDSNodeDefaultBody ¶
type AddRemoteRDSNodeDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddRemoteRDSNodeDefaultBody add remote RDS node default body swagger:model AddRemoteRDSNodeDefaultBody
func (*AddRemoteRDSNodeDefaultBody) MarshalBinary ¶
func (o *AddRemoteRDSNodeDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteRDSNodeDefaultBody) UnmarshalBinary ¶
func (o *AddRemoteRDSNodeDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteRDSNodeOK ¶
type AddRemoteRDSNodeOK struct {
Payload *AddRemoteRDSNodeOKBody
}
AddRemoteRDSNodeOK handles this case with default header values.
A successful response.
func NewAddRemoteRDSNodeOK ¶
func NewAddRemoteRDSNodeOK() *AddRemoteRDSNodeOK
NewAddRemoteRDSNodeOK creates a AddRemoteRDSNodeOK with default headers values
func (*AddRemoteRDSNodeOK) Error ¶
func (o *AddRemoteRDSNodeOK) Error() string
func (*AddRemoteRDSNodeOK) GetPayload ¶
func (o *AddRemoteRDSNodeOK) GetPayload() *AddRemoteRDSNodeOKBody
type AddRemoteRDSNodeOKBody ¶
type AddRemoteRDSNodeOKBody struct { // remote rds RemoteRDS *AddRemoteRDSNodeOKBodyRemoteRDS `json:"remote_rds,omitempty"` }
AddRemoteRDSNodeOKBody add remote RDS node OK body swagger:model AddRemoteRDSNodeOKBody
func (*AddRemoteRDSNodeOKBody) MarshalBinary ¶
func (o *AddRemoteRDSNodeOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteRDSNodeOKBody) UnmarshalBinary ¶
func (o *AddRemoteRDSNodeOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteRDSNodeOKBodyRemoteRDS ¶
type AddRemoteRDSNodeOKBodyRemoteRDS struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // DB instance identifier. Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
AddRemoteRDSNodeOKBodyRemoteRDS RemoteRDSNode represents remote RDS Node. Agents can't run on Remote RDS Nodes. swagger:model AddRemoteRDSNodeOKBodyRemoteRDS
func (*AddRemoteRDSNodeOKBodyRemoteRDS) MarshalBinary ¶
func (o *AddRemoteRDSNodeOKBodyRemoteRDS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRemoteRDSNodeOKBodyRemoteRDS) UnmarshalBinary ¶
func (o *AddRemoteRDSNodeOKBodyRemoteRDS) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRemoteRDSNodeParams ¶
type AddRemoteRDSNodeParams struct { /*Body*/ Body AddRemoteRDSNodeBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddRemoteRDSNodeParams contains all the parameters to send to the API endpoint for the add remote RDS node operation typically these are written to a http.Request
func NewAddRemoteRDSNodeParams ¶
func NewAddRemoteRDSNodeParams() *AddRemoteRDSNodeParams
NewAddRemoteRDSNodeParams creates a new AddRemoteRDSNodeParams object with the default values initialized.
func NewAddRemoteRDSNodeParamsWithContext ¶
func NewAddRemoteRDSNodeParamsWithContext(ctx context.Context) *AddRemoteRDSNodeParams
NewAddRemoteRDSNodeParamsWithContext creates a new AddRemoteRDSNodeParams object with the default values initialized, and the ability to set a context for a request
func NewAddRemoteRDSNodeParamsWithHTTPClient ¶
func NewAddRemoteRDSNodeParamsWithHTTPClient(client *http.Client) *AddRemoteRDSNodeParams
NewAddRemoteRDSNodeParamsWithHTTPClient creates a new AddRemoteRDSNodeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddRemoteRDSNodeParamsWithTimeout ¶
func NewAddRemoteRDSNodeParamsWithTimeout(timeout time.Duration) *AddRemoteRDSNodeParams
NewAddRemoteRDSNodeParamsWithTimeout creates a new AddRemoteRDSNodeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddRemoteRDSNodeParams) SetBody ¶
func (o *AddRemoteRDSNodeParams) SetBody(body AddRemoteRDSNodeBody)
SetBody adds the body to the add remote RDS node params
func (*AddRemoteRDSNodeParams) SetContext ¶
func (o *AddRemoteRDSNodeParams) SetContext(ctx context.Context)
SetContext adds the context to the add remote RDS node params
func (*AddRemoteRDSNodeParams) SetHTTPClient ¶
func (o *AddRemoteRDSNodeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add remote RDS node params
func (*AddRemoteRDSNodeParams) SetTimeout ¶
func (o *AddRemoteRDSNodeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add remote RDS node params
func (*AddRemoteRDSNodeParams) WithBody ¶
func (o *AddRemoteRDSNodeParams) WithBody(body AddRemoteRDSNodeBody) *AddRemoteRDSNodeParams
WithBody adds the body to the add remote RDS node params
func (*AddRemoteRDSNodeParams) WithContext ¶
func (o *AddRemoteRDSNodeParams) WithContext(ctx context.Context) *AddRemoteRDSNodeParams
WithContext adds the context to the add remote RDS node params
func (*AddRemoteRDSNodeParams) WithHTTPClient ¶
func (o *AddRemoteRDSNodeParams) WithHTTPClient(client *http.Client) *AddRemoteRDSNodeParams
WithHTTPClient adds the HTTPClient to the add remote RDS node params
func (*AddRemoteRDSNodeParams) WithTimeout ¶
func (o *AddRemoteRDSNodeParams) WithTimeout(timeout time.Duration) *AddRemoteRDSNodeParams
WithTimeout adds the timeout to the add remote RDS node params
func (*AddRemoteRDSNodeParams) WriteToRequest ¶
func (o *AddRemoteRDSNodeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddRemoteRDSNodeReader ¶
type AddRemoteRDSNodeReader struct {
// contains filtered or unexported fields
}
AddRemoteRDSNodeReader is a Reader for the AddRemoteRDSNode structure.
func (*AddRemoteRDSNodeReader) ReadResponse ¶
func (o *AddRemoteRDSNodeReader) 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 (*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) AddRemoteNode ¶
func (a *Client) AddRemoteNode(params *AddRemoteNodeParams) (*AddRemoteNodeOK, error)
AddRemoteNode adds remote node adds remote node
func (*Client) AddRemoteRDSNode ¶
func (a *Client) AddRemoteRDSNode(params *AddRemoteRDSNodeParams) (*AddRemoteRDSNodeOK, error)
AddRemoteRDSNode adds remote RDS node adds remote RDS 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 ClientService ¶
type ClientService interface { AddContainerNode(params *AddContainerNodeParams) (*AddContainerNodeOK, error) AddGenericNode(params *AddGenericNodeParams) (*AddGenericNodeOK, error) AddRemoteNode(params *AddRemoteNodeParams) (*AddRemoteNodeOK, error) AddRemoteRDSNode(params *AddRemoteRDSNodeParams) (*AddRemoteRDSNodeOK, error) GetNode(params *GetNodeParams) (*GetNodeOK, error) ListNodes(params *ListNodesParams) (*ListNodesOK, error) RemoveNode(params *RemoveNodeParams) (*RemoveNodeOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new nodes API client.
type ContainerItems0 ¶
type ContainerItems0 struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. MachineID string `json:"machine_id,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"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 DetailsItems0 ¶
type DetailsItems0 struct { // type url TypeURL string `json:"type_url,omitempty"` // value // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 details items0 swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenericItems0 ¶
type GenericItems0 struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id. MachineID string `json:"machine_id,omitempty"` // Linux distribution name and version. Distro string `json:"distro,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
GetNodeDefaultBody get node default body 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 rds RemoteRDS *GetNodeOKBodyRemoteRDS `json:"remote_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 { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id of the Generic Node where this Container Node runs. MachineID string `json:"machine_id,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"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Linux machine-id. MachineID string `json:"machine_id,omitempty"` // Linux distribution name and version. Distro string `json:"distro,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
GetNodeOKBodyRemote RemoteNode represents generic remote Node. It's a node where we don't run pmm-agents. Only external exporters can 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 GetNodeOKBodyRemoteRDS ¶
type GetNodeOKBodyRemoteRDS struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // DB instance identifier. Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
GetNodeOKBodyRemoteRDS RemoteRDSNode represents remote RDS Node. Agents can't run on Remote RDS Nodes. swagger:model GetNodeOKBodyRemoteRDS
func (*GetNodeOKBodyRemoteRDS) MarshalBinary ¶
func (o *GetNodeOKBodyRemoteRDS) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNodeOKBodyRemoteRDS) UnmarshalBinary ¶
func (o *GetNodeOKBodyRemoteRDS) 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 ListNodesBody ¶
type ListNodesBody struct { // NodeType describes supported Node types. // Enum: [NODE_TYPE_INVALID GENERIC_NODE CONTAINER_NODE REMOTE_NODE REMOTE_RDS_NODE] NodeType *string `json:"node_type,omitempty"` }
ListNodesBody list nodes body swagger:model ListNodesBody
func (*ListNodesBody) MarshalBinary ¶
func (o *ListNodesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListNodesBody) UnmarshalBinary ¶
func (o *ListNodesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListNodesDefault ¶
type ListNodesDefault struct { Payload *ListNodesDefaultBody // contains filtered or unexported fields }
ListNodesDefault handles this case with default header values.
An unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ListNodesDefaultBody list nodes default body 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 { // generic Generic []*GenericItems0 `json:"generic"` // container Container []*ContainerItems0 `json:"container"` // remote Remote []*RemoteItems0 `json:"remote"` // remote rds RemoteRDS []*RemoteRDSItems0 `json:"remote_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 ListNodesBody 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 ListNodesBody)
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 ListNodesBody) *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 RemoteItems0 ¶
type RemoteItems0 struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // Node address (DNS name or IP). Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
RemoteItems0 RemoteNode represents generic remote Node. It's a node where we don't run pmm-agents. Only external exporters can 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 RemoteRDSItems0 ¶
type RemoteRDSItems0 struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Unique across all Nodes user-defined name. NodeName string `json:"node_name,omitempty"` // DB instance identifier. Address string `json:"address,omitempty"` // Node model. NodeModel string `json:"node_model,omitempty"` // Node region. Region string `json:"region,omitempty"` // Node availability zone. Az string `json:"az,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
RemoteRDSItems0 RemoteRDSNode represents remote RDS Node. Agents can't run on Remote RDS Nodes. swagger:model RemoteRDSItems0
func (*RemoteRDSItems0) MarshalBinary ¶
func (o *RemoteRDSItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoteRDSItems0) UnmarshalBinary ¶
func (o *RemoteRDSItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveNodeBody ¶
type RemoveNodeBody struct { // Unique randomly generated instance identifier. NodeID string `json:"node_id,omitempty"` // Remove node with all dependencies. Force bool `json:"force,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
RemoveNodeDefaultBody remove node default body 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_node_parameters.go
- add_remote_node_responses.go
- add_remote_rds_node_parameters.go
- add_remote_rds_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