nodes

package
v2.0.0-beta5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddContainerNodeBody

type AddContainerNodeBody struct {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Container identifier. If specified, must be a unique Docker container identifier.
	ContainerID string `json:"container_id,omitempty"`

	// Container name.
	ContainerName string `json:"container_name,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated.
	// If defined, Generic Node with that machine_id must exist.
	MachineID string `json:"machine_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

AddContainerNodeBody add container node body swagger:model AddContainerNodeBody

func (*AddContainerNodeBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddContainerNodeBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

type AddContainerNodeDefaultBody

type AddContainerNodeDefaultBody struct {

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

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

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

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

func (*AddContainerNodeDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddContainerNodeDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

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 {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Container identifier. If specified, must be a unique Docker container identifier.
	// Auto-detected and auto-updated.
	ContainerID string `json:"container_id,omitempty"`

	// Container name. Auto-detected and auto-updated.
	ContainerName string `json:"container_name,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated.
	// If defined, Generic Node with that machine_id must exist.
	MachineID string `json:"machine_id,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

AddContainerNodeOKBodyContainer ContainerNode represents a Docker container. swagger:model AddContainerNodeOKBodyContainer

func (*AddContainerNodeOKBodyContainer) MarshalBinary

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

MarshalBinary interface implementation

func (*AddContainerNodeOKBodyContainer) UnmarshalBinary

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

UnmarshalBinary interface implementation

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 {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux distribution name and version. Auto-detected and auto-updated.
	Distro string `json:"distro,omitempty"`

	// Linux machine-id. Auto-detected and auto-updated.
	// Must be unique across all Generic Nodes if specified.
	MachineID string `json:"machine_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

AddGenericNodeBody add generic node body swagger:model AddGenericNodeBody

func (*AddGenericNodeBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddGenericNodeBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

type AddGenericNodeDefaultBody

type AddGenericNodeDefaultBody struct {

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

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

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

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

func (*AddGenericNodeDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddGenericNodeDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

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 {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux distribution name and version. Auto-detected and auto-updated.
	Distro string `json:"distro,omitempty"`

	// Linux machine-id. Auto-detected and auto-updated.
	// Must be unique across all Generic Nodes if specified.
	MachineID string `json:"machine_id,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

AddGenericNodeOKBodyGeneric GenericNode represents a bare metal server or virtual machine. swagger:model AddGenericNodeOKBodyGeneric

func (*AddGenericNodeOKBodyGeneric) MarshalBinary

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

MarshalBinary interface implementation

func (*AddGenericNodeOKBodyGeneric) UnmarshalBinary

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

UnmarshalBinary interface implementation

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 AddRemoteAmazonRDSNodeBody

type AddRemoteAmazonRDSNodeBody struct {

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region.
	Instance string `json:"instance,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Unique across all RemoteAmazonRDS Nodes in combination with instance.
	Region string `json:"region,omitempty"`
}

AddRemoteAmazonRDSNodeBody add remote amazon RDS node body swagger:model AddRemoteAmazonRDSNodeBody

func (*AddRemoteAmazonRDSNodeBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeBody) Validate

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

Validate validates this add remote amazon RDS node body

type AddRemoteAmazonRDSNodeDefault

type AddRemoteAmazonRDSNodeDefault struct {
	Payload *AddRemoteAmazonRDSNodeDefaultBody
	// contains filtered or unexported fields
}

AddRemoteAmazonRDSNodeDefault handles this case with default header values.

An error response.

func NewAddRemoteAmazonRDSNodeDefault

func NewAddRemoteAmazonRDSNodeDefault(code int) *AddRemoteAmazonRDSNodeDefault

NewAddRemoteAmazonRDSNodeDefault creates a AddRemoteAmazonRDSNodeDefault with default headers values

func (*AddRemoteAmazonRDSNodeDefault) Code

Code gets the status code for the add remote amazon RDS node default response

func (*AddRemoteAmazonRDSNodeDefault) Error

type AddRemoteAmazonRDSNodeDefaultBody

type AddRemoteAmazonRDSNodeDefaultBody struct {

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

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

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

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

func (*AddRemoteAmazonRDSNodeDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeDefaultBody) Validate

Validate validates this add remote amazon RDS node default body

type AddRemoteAmazonRDSNodeOK

type AddRemoteAmazonRDSNodeOK struct {
	Payload *AddRemoteAmazonRDSNodeOKBody
}

AddRemoteAmazonRDSNodeOK handles this case with default header values.

A successful response.

func NewAddRemoteAmazonRDSNodeOK

func NewAddRemoteAmazonRDSNodeOK() *AddRemoteAmazonRDSNodeOK

NewAddRemoteAmazonRDSNodeOK creates a AddRemoteAmazonRDSNodeOK with default headers values

func (*AddRemoteAmazonRDSNodeOK) Error

func (o *AddRemoteAmazonRDSNodeOK) Error() string

type AddRemoteAmazonRDSNodeOKBody

type AddRemoteAmazonRDSNodeOKBody struct {

	// remote amazon rds
	RemoteAmazonRDS *AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS `json:"remote_amazon_rds,omitempty"`
}

AddRemoteAmazonRDSNodeOKBody add remote amazon RDS node OK body swagger:model AddRemoteAmazonRDSNodeOKBody

func (*AddRemoteAmazonRDSNodeOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeOKBody) Validate

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

Validate validates this add remote amazon RDS node OK body

type AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS

type AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS struct {

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region. Can be changed.
	Instance string `json:"instance,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Unique across all RemoteAmazonRDS Nodes in combination with instance. Can't be changed.
	Region string `json:"region,omitempty"`
}

AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS RemoteAmazonRDSNode represents a Remote Node for Amazon RDS. Agents can't run on Remote Nodes. swagger:model AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS

func (*AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRemoteAmazonRDSNodeOKBodyRemoteAmazonRDS) Validate

Validate validates this add remote amazon RDS node OK body remote amazon RDS

type AddRemoteAmazonRDSNodeParams

type AddRemoteAmazonRDSNodeParams struct {

	/*Body*/
	Body AddRemoteAmazonRDSNodeBody

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

AddRemoteAmazonRDSNodeParams contains all the parameters to send to the API endpoint for the add remote amazon RDS node operation typically these are written to a http.Request

func NewAddRemoteAmazonRDSNodeParams

func NewAddRemoteAmazonRDSNodeParams() *AddRemoteAmazonRDSNodeParams

NewAddRemoteAmazonRDSNodeParams creates a new AddRemoteAmazonRDSNodeParams object with the default values initialized.

func NewAddRemoteAmazonRDSNodeParamsWithContext

func NewAddRemoteAmazonRDSNodeParamsWithContext(ctx context.Context) *AddRemoteAmazonRDSNodeParams

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

func NewAddRemoteAmazonRDSNodeParamsWithHTTPClient

func NewAddRemoteAmazonRDSNodeParamsWithHTTPClient(client *http.Client) *AddRemoteAmazonRDSNodeParams

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

func NewAddRemoteAmazonRDSNodeParamsWithTimeout

func NewAddRemoteAmazonRDSNodeParamsWithTimeout(timeout time.Duration) *AddRemoteAmazonRDSNodeParams

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

func (*AddRemoteAmazonRDSNodeParams) SetBody

SetBody adds the body to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) SetContext

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

SetContext adds the context to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) SetTimeout

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

SetTimeout adds the timeout to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) WithBody

WithBody adds the body to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) WithContext

WithContext adds the context to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) WithTimeout

WithTimeout adds the timeout to the add remote amazon RDS node params

func (*AddRemoteAmazonRDSNodeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddRemoteAmazonRDSNodeReader

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

AddRemoteAmazonRDSNodeReader is a Reader for the AddRemoteAmazonRDSNode structure.

func (*AddRemoteAmazonRDSNodeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddRemoteNodeBody

type AddRemoteNodeBody struct {

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`
}

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

type AddRemoteNodeDefaultBody

type AddRemoteNodeDefaultBody struct {

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

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

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

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

func (*AddRemoteNodeDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteNodeDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

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 {

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`
}

AddRemoteNodeOKBodyRemote RemoteNode represents generic remote Node. Agents can't run on Remote Nodes. swagger:model AddRemoteNodeOKBodyRemote

func (*AddRemoteNodeOKBodyRemote) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRemoteNodeOKBodyRemote) UnmarshalBinary

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

UnmarshalBinary interface implementation

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 Client

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

Client for nodes API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new nodes API client.

func (*Client) AddContainerNode

func (a *Client) AddContainerNode(params *AddContainerNodeParams) (*AddContainerNodeOK, error)

AddContainerNode adds container node adds container node

func (*Client) AddGenericNode

func (a *Client) AddGenericNode(params *AddGenericNodeParams) (*AddGenericNodeOK, error)

AddGenericNode adds generic node adds generic node

func (*Client) AddRemoteAmazonRDSNode

func (a *Client) AddRemoteAmazonRDSNode(params *AddRemoteAmazonRDSNodeParams) (*AddRemoteAmazonRDSNodeOK, error)

AddRemoteAmazonRDSNode adds remote amazon RDS node adds amazon AWS RDS remote node

func (*Client) AddRemoteNode

func (a *Client) AddRemoteNode(params *AddRemoteNodeParams) (*AddRemoteNodeOK, error)

AddRemoteNode adds remote node adds remote node

func (*Client) GetNode

func (a *Client) GetNode(params *GetNodeParams) (*GetNodeOK, error)

GetNode gets node returns a single node by ID

func (*Client) ListNodes

func (a *Client) ListNodes(params *ListNodesParams) (*ListNodesOK, error)

ListNodes lists nodes returns a list of all nodes

func (*Client) RemoveNode

func (a *Client) RemoveNode(params *RemoveNodeParams) (*RemoveNodeOK, error)

RemoveNode removes node removes node

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ContainerItems0

type ContainerItems0 struct {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Container identifier. If specified, must be a unique Docker container identifier.
	// Auto-detected and auto-updated.
	ContainerID string `json:"container_id,omitempty"`

	// Container name. Auto-detected and auto-updated.
	ContainerName string `json:"container_name,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated.
	// If defined, Generic Node with that machine_id must exist.
	MachineID string `json:"machine_id,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

ContainerItems0 ContainerNode represents a Docker container. swagger:model ContainerItems0

func (*ContainerItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerItems0) Validate

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

Validate validates this container items0

type GenericItems0

type GenericItems0 struct {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux distribution name and version. Auto-detected and auto-updated.
	Distro string `json:"distro,omitempty"`

	// Linux machine-id. Auto-detected and auto-updated.
	// Must be unique across all Generic Nodes if specified.
	MachineID string `json:"machine_id,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

GenericItems0 GenericNode represents a bare metal server or virtual machine. swagger:model GenericItems0

func (*GenericItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*GenericItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

type GetNodeDefaultBody

type GetNodeDefaultBody struct {

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

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

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

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

func (*GetNodeDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetNodeDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

type GetNodeOKBody

type GetNodeOKBody struct {

	// container
	Container *GetNodeOKBodyContainer `json:"container,omitempty"`

	// generic
	Generic *GetNodeOKBodyGeneric `json:"generic,omitempty"`

	// remote
	Remote *GetNodeOKBodyRemote `json:"remote,omitempty"`

	// remote amazon rds
	RemoteAmazonRDS *GetNodeOKBodyRemoteAmazonRDS `json:"remote_amazon_rds,omitempty"`
}

GetNodeOKBody get node OK body swagger:model GetNodeOKBody

func (*GetNodeOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetNodeOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetNodeOKBody) Validate

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

Validate validates this get node OK body

type GetNodeOKBodyContainer

type GetNodeOKBodyContainer struct {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Container identifier. If specified, must be a unique Docker container identifier.
	// Auto-detected and auto-updated.
	ContainerID string `json:"container_id,omitempty"`

	// Container name. Auto-detected and auto-updated.
	ContainerName string `json:"container_name,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux machine-id of the Generic Node where this Container Node runs. Auto-detected and auto-updated.
	// If defined, Generic Node with that machine_id must exist.
	MachineID string `json:"machine_id,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

GetNodeOKBodyContainer ContainerNode represents a Docker container. swagger:model GetNodeOKBodyContainer

func (*GetNodeOKBodyContainer) MarshalBinary

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

MarshalBinary interface implementation

func (*GetNodeOKBodyContainer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetNodeOKBodyContainer) Validate

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

Validate validates this get node OK body container

type GetNodeOKBodyGeneric

type GetNodeOKBodyGeneric struct {

	// Address FIXME https://jira.percona.com/browse/PMM-3786
	Address string `json:"address,omitempty"`

	// Node availability zone. Auto-detected and auto-updated.
	Az string `json:"az,omitempty"`

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Linux distribution name and version. Auto-detected and auto-updated.
	Distro string `json:"distro,omitempty"`

	// Linux machine-id. Auto-detected and auto-updated.
	// Must be unique across all Generic Nodes if specified.
	MachineID string `json:"machine_id,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Node model. Auto-detected and auto-updated.
	NodeModel string `json:"node_model,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Node region. Auto-detected and auto-updated.
	Region string `json:"region,omitempty"`
}

GetNodeOKBodyGeneric GenericNode represents a bare metal server or virtual machine. swagger:model GetNodeOKBodyGeneric

func (*GetNodeOKBodyGeneric) MarshalBinary

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

MarshalBinary interface implementation

func (*GetNodeOKBodyGeneric) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetNodeOKBodyGeneric) Validate

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

Validate validates this get node OK body generic

type GetNodeOKBodyRemote

type GetNodeOKBodyRemote struct {

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`
}

GetNodeOKBodyRemote RemoteNode represents generic remote Node. Agents can't run on Remote Nodes. swagger:model GetNodeOKBodyRemote

func (*GetNodeOKBodyRemote) MarshalBinary

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

MarshalBinary interface implementation

func (*GetNodeOKBodyRemote) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetNodeOKBodyRemote) Validate

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

Validate validates this get node OK body remote

type GetNodeOKBodyRemoteAmazonRDS

type GetNodeOKBodyRemoteAmazonRDS struct {

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region. Can be changed.
	Instance string `json:"instance,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Unique across all RemoteAmazonRDS Nodes in combination with instance. Can't be changed.
	Region string `json:"region,omitempty"`
}

GetNodeOKBodyRemoteAmazonRDS RemoteAmazonRDSNode represents a Remote Node for Amazon RDS. Agents can't run on Remote Nodes. swagger:model GetNodeOKBodyRemoteAmazonRDS

func (*GetNodeOKBodyRemoteAmazonRDS) MarshalBinary

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

MarshalBinary interface implementation

func (*GetNodeOKBodyRemoteAmazonRDS) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetNodeOKBodyRemoteAmazonRDS) Validate

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

Validate validates this get node OK body remote amazon 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 ListNodesDefault

type ListNodesDefault struct {
	Payload *ListNodesDefaultBody
	// contains filtered or unexported fields
}

ListNodesDefault handles this case with default header values.

An error response.

func NewListNodesDefault

func NewListNodesDefault(code int) *ListNodesDefault

NewListNodesDefault creates a ListNodesDefault with default headers values

func (*ListNodesDefault) Code

func (o *ListNodesDefault) Code() int

Code gets the status code for the list nodes default response

func (*ListNodesDefault) Error

func (o *ListNodesDefault) Error() string

type ListNodesDefaultBody

type ListNodesDefaultBody struct {

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

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

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

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

func (*ListNodesDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListNodesDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

type ListNodesOKBody

type ListNodesOKBody struct {

	// container
	Container []*ContainerItems0 `json:"container"`

	// generic
	Generic []*GenericItems0 `json:"generic"`

	// remote
	Remote []*RemoteItems0 `json:"remote"`

	// remote amazon rds
	RemoteAmazonRDS []*RemoteAmazonRDSItems0 `json:"remote_amazon_rds"`
}

ListNodesOKBody list nodes OK body swagger:model ListNodesOKBody

func (*ListNodesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListNodesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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 interface{}

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

ListNodesParams contains all the parameters to send to the API endpoint for the list nodes operation typically these are written to a http.Request

func NewListNodesParams

func NewListNodesParams() *ListNodesParams

NewListNodesParams creates a new ListNodesParams object with the default values initialized.

func NewListNodesParamsWithContext

func NewListNodesParamsWithContext(ctx context.Context) *ListNodesParams

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

func NewListNodesParamsWithHTTPClient

func NewListNodesParamsWithHTTPClient(client *http.Client) *ListNodesParams

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

func NewListNodesParamsWithTimeout

func NewListNodesParamsWithTimeout(timeout time.Duration) *ListNodesParams

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

func (*ListNodesParams) SetBody

func (o *ListNodesParams) SetBody(body interface{})

SetBody adds the body to the list nodes params

func (*ListNodesParams) SetContext

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

SetContext adds the context to the list nodes params

func (*ListNodesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list nodes params

func (*ListNodesParams) SetTimeout

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

SetTimeout adds the timeout to the list nodes params

func (*ListNodesParams) WithBody

func (o *ListNodesParams) WithBody(body interface{}) *ListNodesParams

WithBody adds the body to the list nodes params

func (*ListNodesParams) WithContext

func (o *ListNodesParams) WithContext(ctx context.Context) *ListNodesParams

WithContext adds the context to the list nodes params

func (*ListNodesParams) WithHTTPClient

func (o *ListNodesParams) WithHTTPClient(client *http.Client) *ListNodesParams

WithHTTPClient adds the HTTPClient to the list nodes params

func (*ListNodesParams) WithTimeout

func (o *ListNodesParams) WithTimeout(timeout time.Duration) *ListNodesParams

WithTimeout adds the timeout to the list nodes params

func (*ListNodesParams) WriteToRequest

func (o *ListNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListNodesReader

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

ListNodesReader is a Reader for the ListNodes structure.

func (*ListNodesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RemoteAmazonRDSItems0

type RemoteAmazonRDSItems0 struct {

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// DB instance identifier. Unique across all RemoteAmazonRDS Nodes in combination with region. Can be changed.
	Instance string `json:"instance,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`

	// Unique across all RemoteAmazonRDS Nodes in combination with instance. Can't be changed.
	Region string `json:"region,omitempty"`
}

RemoteAmazonRDSItems0 RemoteAmazonRDSNode represents a Remote Node for Amazon RDS. Agents can't run on Remote Nodes. swagger:model RemoteAmazonRDSItems0

func (*RemoteAmazonRDSItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoteAmazonRDSItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoteAmazonRDSItems0) Validate

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

Validate validates this remote amazon RDS items0

type RemoteItems0

type RemoteItems0 struct {

	// Custom user-assigned labels. Can be changed.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Unique randomly generated instance identifier. Can't be changed.
	NodeID string `json:"node_id,omitempty"`

	// Unique across all Nodes user-defined name. Can't be changed.
	NodeName string `json:"node_name,omitempty"`
}

RemoteItems0 RemoteNode represents generic remote Node. Agents can't run on Remote Nodes. swagger:model RemoteItems0

func (*RemoteItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoteItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoteItems0) Validate

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

Validate validates this remote items0

type RemoveNodeBody

type RemoveNodeBody struct {

	// Remove node with all dependencies.
	Force bool `json:"force,omitempty"`

	// Unique randomly generated instance identifier.
	NodeID string `json:"node_id,omitempty"`
}

RemoveNodeBody remove node body swagger:model RemoveNodeBody

func (*RemoveNodeBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveNodeBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

type RemoveNodeDefaultBody

type RemoveNodeDefaultBody struct {

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

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

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

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

func (*RemoveNodeDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveNodeDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

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

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