nodes

package
v2.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
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"

	// ListNodesBodyNodeTypeREMOTEAZUREDATABASENODE captures enum value "REMOTE_AZURE_DATABASE_NODE"
	ListNodesBodyNodeTypeREMOTEAZUREDATABASENODE string = "REMOTE_AZURE_DATABASE_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

func (*AddContainerNodeBody) Validate

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

Validate validates this add container node body

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

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

func (*AddContainerNodeDefaultBody) Validate

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

Validate validates this add container node default body

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

func (*AddContainerNodeOKBody) Validate

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

Validate validates this add container node OK body

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

func (*AddContainerNodeOKBodyContainer) Validate

Validate validates this add container node OK body container

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

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

WithBody adds the body to the add container node params

func (*AddContainerNodeParams) WithContext

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

WithTimeout adds the timeout to the add container node params

func (*AddContainerNodeParams) WriteToRequest

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

func (*AddGenericNodeBody) Validate

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

Validate validates this add generic node body

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

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

func (*AddGenericNodeDefaultBody) Validate

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

Validate validates this add generic node default body

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

func (*AddGenericNodeOKBody) Validate

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

Validate validates this add generic node OK body

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

func (*AddGenericNodeOKBodyGeneric) Validate

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

Validate validates this add generic node OK body generic

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

WithBody adds the body to the add generic node params

func (*AddGenericNodeParams) WithContext

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 AddRemoteAzureDatabaseNodeBody

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

AddRemoteAzureDatabaseNodeBody add remote azure database node body swagger:model AddRemoteAzureDatabaseNodeBody

func (*AddRemoteAzureDatabaseNodeBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeBody) Validate

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

Validate validates this add remote azure database node body

type AddRemoteAzureDatabaseNodeDefault

type AddRemoteAzureDatabaseNodeDefault struct {
	Payload *AddRemoteAzureDatabaseNodeDefaultBody
	// contains filtered or unexported fields
}

AddRemoteAzureDatabaseNodeDefault handles this case with default header values.

An unexpected error response.

func NewAddRemoteAzureDatabaseNodeDefault

func NewAddRemoteAzureDatabaseNodeDefault(code int) *AddRemoteAzureDatabaseNodeDefault

NewAddRemoteAzureDatabaseNodeDefault creates a AddRemoteAzureDatabaseNodeDefault with default headers values

func (*AddRemoteAzureDatabaseNodeDefault) Code

Code gets the status code for the add remote azure database node default response

func (*AddRemoteAzureDatabaseNodeDefault) Error

func (*AddRemoteAzureDatabaseNodeDefault) GetPayload

type AddRemoteAzureDatabaseNodeDefaultBody

type AddRemoteAzureDatabaseNodeDefaultBody struct {

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

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

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

	// details
	Details []*DetailsItems0 `json:"details"`
}

AddRemoteAzureDatabaseNodeDefaultBody add remote azure database node default body swagger:model AddRemoteAzureDatabaseNodeDefaultBody

func (*AddRemoteAzureDatabaseNodeDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeDefaultBody) Validate

Validate validates this add remote azure database node default body

type AddRemoteAzureDatabaseNodeOK

type AddRemoteAzureDatabaseNodeOK struct {
	Payload *AddRemoteAzureDatabaseNodeOKBody
}

AddRemoteAzureDatabaseNodeOK handles this case with default header values.

A successful response.

func NewAddRemoteAzureDatabaseNodeOK

func NewAddRemoteAzureDatabaseNodeOK() *AddRemoteAzureDatabaseNodeOK

NewAddRemoteAzureDatabaseNodeOK creates a AddRemoteAzureDatabaseNodeOK with default headers values

func (*AddRemoteAzureDatabaseNodeOK) Error

func (*AddRemoteAzureDatabaseNodeOK) GetPayload

type AddRemoteAzureDatabaseNodeOKBody

type AddRemoteAzureDatabaseNodeOKBody struct {

	// remote azure database
	RemoteAzureDatabase *AddRemoteAzureDatabaseNodeOKBodyRemoteAzureDatabase `json:"remote_azure_database,omitempty"`
}

AddRemoteAzureDatabaseNodeOKBody add remote azure database node OK body swagger:model AddRemoteAzureDatabaseNodeOKBody

func (*AddRemoteAzureDatabaseNodeOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeOKBody) Validate

Validate validates this add remote azure database node OK body

type AddRemoteAzureDatabaseNodeOKBodyRemoteAzureDatabase

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

AddRemoteAzureDatabaseNodeOKBodyRemoteAzureDatabase RemoteAzureDatabaseNode represents remote AzureDatabase Node. Agents can't run on Remote AzureDatabase Nodes. swagger:model AddRemoteAzureDatabaseNodeOKBodyRemoteAzureDatabase

func (*AddRemoteAzureDatabaseNodeOKBodyRemoteAzureDatabase) MarshalBinary

MarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeOKBodyRemoteAzureDatabase) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddRemoteAzureDatabaseNodeOKBodyRemoteAzureDatabase) Validate

Validate validates this add remote azure database node OK body remote azure database

type AddRemoteAzureDatabaseNodeParams

type AddRemoteAzureDatabaseNodeParams struct {

	/*Body*/
	Body AddRemoteAzureDatabaseNodeBody

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

AddRemoteAzureDatabaseNodeParams contains all the parameters to send to the API endpoint for the add remote azure database node operation typically these are written to a http.Request

func NewAddRemoteAzureDatabaseNodeParams

func NewAddRemoteAzureDatabaseNodeParams() *AddRemoteAzureDatabaseNodeParams

NewAddRemoteAzureDatabaseNodeParams creates a new AddRemoteAzureDatabaseNodeParams object with the default values initialized.

func NewAddRemoteAzureDatabaseNodeParamsWithContext

func NewAddRemoteAzureDatabaseNodeParamsWithContext(ctx context.Context) *AddRemoteAzureDatabaseNodeParams

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

func NewAddRemoteAzureDatabaseNodeParamsWithHTTPClient

func NewAddRemoteAzureDatabaseNodeParamsWithHTTPClient(client *http.Client) *AddRemoteAzureDatabaseNodeParams

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

func NewAddRemoteAzureDatabaseNodeParamsWithTimeout

func NewAddRemoteAzureDatabaseNodeParamsWithTimeout(timeout time.Duration) *AddRemoteAzureDatabaseNodeParams

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

func (*AddRemoteAzureDatabaseNodeParams) SetBody

SetBody adds the body to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) SetContext

SetContext adds the context to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) SetTimeout

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

SetTimeout adds the timeout to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) WithBody

WithBody adds the body to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) WithContext

WithContext adds the context to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) WithTimeout

WithTimeout adds the timeout to the add remote azure database node params

func (*AddRemoteAzureDatabaseNodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddRemoteAzureDatabaseNodeReader

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

AddRemoteAzureDatabaseNodeReader is a Reader for the AddRemoteAzureDatabaseNode structure.

func (*AddRemoteAzureDatabaseNodeReader) ReadResponse

func (o *AddRemoteAzureDatabaseNodeReader) 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

func (*AddRemoteNodeBody) Validate

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

Validate validates this add remote node body

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

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

func (*AddRemoteNodeDefaultBody) Validate

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

Validate validates this add remote node default body

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

func (*AddRemoteNodeOKBody) Validate

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

Validate validates this add remote node OK body

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

func (*AddRemoteNodeOKBodyRemote) Validate

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

Validate validates this add remote node OK body remote

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

WithBody adds the body to the add remote node params

func (*AddRemoteNodeParams) WithContext

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

func (*AddRemoteRDSNodeBody) Validate

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

Validate validates this add remote RDS node body

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

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

func (*AddRemoteRDSNodeDefaultBody) Validate

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

Validate validates this add remote RDS node default body

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

func (*AddRemoteRDSNodeOKBody) Validate

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

Validate validates this add remote RDS node OK body

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

func (*AddRemoteRDSNodeOKBodyRemoteRDS) Validate

Validate validates this add remote RDS node OK body remote RDS

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

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

WithBody adds the body to the add remote RDS node params

func (*AddRemoteRDSNodeParams) WithContext

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

WithTimeout adds the timeout to the add remote RDS node params

func (*AddRemoteRDSNodeParams) WriteToRequest

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) AddRemoteAzureDatabaseNode

func (a *Client) AddRemoteAzureDatabaseNode(params *AddRemoteAzureDatabaseNodeParams) (*AddRemoteAzureDatabaseNodeOK, error)

AddRemoteAzureDatabaseNode adds remote azure database node adds remote azure database 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)

	AddRemoteAzureDatabaseNode(params *AddRemoteAzureDatabaseNodeParams) (*AddRemoteAzureDatabaseNodeOK, 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

func (*ContainerItems0) Validate

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

Validate validates this container items0

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

func (*DetailsItems0) Validate

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

Validate validates this details items0

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

func (*GenericItems0) Validate

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

Validate validates this generic items0

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

func (*GetNodeBody) Validate

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

Validate validates this get node body

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

func (*GetNodeDefaultBody) Validate

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

Validate validates this get node default body

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) Error

func (o *GetNodeOK) Error() string

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 azure database
	RemoteAzureDatabase *GetNodeOKBodyRemoteAzureDatabase `json:"remote_azure_database,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

func (*GetNodeOKBody) Validate

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

Validate validates this get node OK body

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

func (*GetNodeOKBodyContainer) Validate

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

Validate validates this get node OK body container

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

func (*GetNodeOKBodyGeneric) Validate

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

Validate validates this get node OK body generic

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

func (*GetNodeOKBodyRemote) Validate

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

Validate validates this get node OK body remote

type GetNodeOKBodyRemoteAzureDatabase

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

GetNodeOKBodyRemoteAzureDatabase RemoteAzureDatabaseNode represents remote AzureDatabase Node. Agents can't run on Remote AzureDatabase Nodes. swagger:model GetNodeOKBodyRemoteAzureDatabase

func (*GetNodeOKBodyRemoteAzureDatabase) MarshalBinary

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

MarshalBinary interface implementation

func (*GetNodeOKBodyRemoteAzureDatabase) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetNodeOKBodyRemoteAzureDatabase) Validate

Validate validates this get node OK body remote azure database

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

func (*GetNodeOKBodyRemoteRDS) Validate

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

Validate validates this get node OK body remote RDS

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 REMOTE_AZURE_DATABASE_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

func (*ListNodesBody) Validate

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

Validate validates this list nodes body

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

func (*ListNodesDefaultBody) Validate

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

Validate validates this list nodes default body

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

	// remote azure database
	RemoteAzureDatabase []*RemoteAzureDatabaseItems0 `json:"remote_azure_database"`
}

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

func (*ListNodesOKBody) Validate

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

Validate validates this list nodes OK body

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 RemoteAzureDatabaseItems0

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

RemoteAzureDatabaseItems0 RemoteAzureDatabaseNode represents remote AzureDatabase Node. Agents can't run on Remote AzureDatabase Nodes. swagger:model RemoteAzureDatabaseItems0

func (*RemoteAzureDatabaseItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoteAzureDatabaseItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoteAzureDatabaseItems0) Validate

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

Validate validates this remote azure database items0

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

func (*RemoteItems0) Validate

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

Validate validates this remote items0

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

func (*RemoteRDSItems0) Validate

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

Validate validates this remote RDS items0

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

func (*RemoveNodeBody) Validate

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

Validate validates this remove node body

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

func (*RemoveNodeDefaultBody) Validate

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

Validate validates this remove node default body

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

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.

Jump to

Keyboard shortcuts

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