Documentation ¶
Index ¶
- Constants
- type AddRDSBody
- type AddRDSDefault
- type AddRDSDefaultBody
- type AddRDSOK
- type AddRDSOKBody
- type AddRDSOKBodyMysql
- type AddRDSOKBodyMysqldExporter
- type AddRDSOKBodyNode
- type AddRDSOKBodyPostgresql
- type AddRDSOKBodyPostgresqlExporter
- type AddRDSOKBodyQANMysqlPerfschema
- type AddRDSOKBodyQANPostgresqlPgstatements
- type AddRDSOKBodyRDSExporter
- type AddRDSParams
- func (o *AddRDSParams) SetBody(body AddRDSBody)
- func (o *AddRDSParams) SetContext(ctx context.Context)
- func (o *AddRDSParams) SetHTTPClient(client *http.Client)
- func (o *AddRDSParams) SetTimeout(timeout time.Duration)
- func (o *AddRDSParams) WithBody(body AddRDSBody) *AddRDSParams
- func (o *AddRDSParams) WithContext(ctx context.Context) *AddRDSParams
- func (o *AddRDSParams) WithHTTPClient(client *http.Client) *AddRDSParams
- func (o *AddRDSParams) WithTimeout(timeout time.Duration) *AddRDSParams
- func (o *AddRDSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRDSReader
- type Client
- type ClientService
- type DetailsItems0
- type DiscoverRDSBody
- type DiscoverRDSDefault
- type DiscoverRDSDefaultBody
- type DiscoverRDSOK
- type DiscoverRDSOKBody
- type DiscoverRDSParams
- func (o *DiscoverRDSParams) SetBody(body DiscoverRDSBody)
- func (o *DiscoverRDSParams) SetContext(ctx context.Context)
- func (o *DiscoverRDSParams) SetHTTPClient(client *http.Client)
- func (o *DiscoverRDSParams) SetTimeout(timeout time.Duration)
- func (o *DiscoverRDSParams) WithBody(body DiscoverRDSBody) *DiscoverRDSParams
- func (o *DiscoverRDSParams) WithContext(ctx context.Context) *DiscoverRDSParams
- func (o *DiscoverRDSParams) WithHTTPClient(client *http.Client) *DiscoverRDSParams
- func (o *DiscoverRDSParams) WithTimeout(timeout time.Duration) *DiscoverRDSParams
- func (o *DiscoverRDSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DiscoverRDSReader
- type RDSInstancesItems0
Constants ¶
const ( // AddRDSBodyEngineDISCOVERRDSENGINEINVALID captures enum value "DISCOVER_RDS_ENGINE_INVALID" AddRDSBodyEngineDISCOVERRDSENGINEINVALID string = "DISCOVER_RDS_ENGINE_INVALID" // AddRDSBodyEngineDISCOVERRDSMYSQL captures enum value "DISCOVER_RDS_MYSQL" AddRDSBodyEngineDISCOVERRDSMYSQL string = "DISCOVER_RDS_MYSQL" // AddRDSBodyEngineDISCOVERRDSPOSTGRESQL captures enum value "DISCOVER_RDS_POSTGRESQL" AddRDSBodyEngineDISCOVERRDSPOSTGRESQL string = "DISCOVER_RDS_POSTGRESQL" )
const ( // AddRDSBodyMetricsModeAUTO captures enum value "AUTO" AddRDSBodyMetricsModeAUTO string = "AUTO" // AddRDSBodyMetricsModePULL captures enum value "PULL" AddRDSBodyMetricsModePULL string = "PULL" // AddRDSBodyMetricsModePUSH captures enum value "PUSH" AddRDSBodyMetricsModePUSH string = "PUSH" )
const ( // AddRDSOKBodyMysqldExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AddRDSOKBodyMysqldExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AddRDSOKBodyMysqldExporterStatusSTARTING captures enum value "STARTING" AddRDSOKBodyMysqldExporterStatusSTARTING string = "STARTING" // AddRDSOKBodyMysqldExporterStatusRUNNING captures enum value "RUNNING" AddRDSOKBodyMysqldExporterStatusRUNNING string = "RUNNING" // AddRDSOKBodyMysqldExporterStatusWAITING captures enum value "WAITING" AddRDSOKBodyMysqldExporterStatusWAITING string = "WAITING" // AddRDSOKBodyMysqldExporterStatusSTOPPING captures enum value "STOPPING" AddRDSOKBodyMysqldExporterStatusSTOPPING string = "STOPPING" // AddRDSOKBodyMysqldExporterStatusDONE captures enum value "DONE" AddRDSOKBodyMysqldExporterStatusDONE string = "DONE" )
const ( // AddRDSOKBodyPostgresqlExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AddRDSOKBodyPostgresqlExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AddRDSOKBodyPostgresqlExporterStatusSTARTING captures enum value "STARTING" AddRDSOKBodyPostgresqlExporterStatusSTARTING string = "STARTING" // AddRDSOKBodyPostgresqlExporterStatusRUNNING captures enum value "RUNNING" AddRDSOKBodyPostgresqlExporterStatusRUNNING string = "RUNNING" // AddRDSOKBodyPostgresqlExporterStatusWAITING captures enum value "WAITING" AddRDSOKBodyPostgresqlExporterStatusWAITING string = "WAITING" // AddRDSOKBodyPostgresqlExporterStatusSTOPPING captures enum value "STOPPING" AddRDSOKBodyPostgresqlExporterStatusSTOPPING string = "STOPPING" // AddRDSOKBodyPostgresqlExporterStatusDONE captures enum value "DONE" AddRDSOKBodyPostgresqlExporterStatusDONE string = "DONE" )
const ( // AddRDSOKBodyQANMysqlPerfschemaStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AddRDSOKBodyQANMysqlPerfschemaStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AddRDSOKBodyQANMysqlPerfschemaStatusSTARTING captures enum value "STARTING" AddRDSOKBodyQANMysqlPerfschemaStatusSTARTING string = "STARTING" // AddRDSOKBodyQANMysqlPerfschemaStatusRUNNING captures enum value "RUNNING" AddRDSOKBodyQANMysqlPerfschemaStatusRUNNING string = "RUNNING" // AddRDSOKBodyQANMysqlPerfschemaStatusWAITING captures enum value "WAITING" AddRDSOKBodyQANMysqlPerfschemaStatusWAITING string = "WAITING" // AddRDSOKBodyQANMysqlPerfschemaStatusSTOPPING captures enum value "STOPPING" AddRDSOKBodyQANMysqlPerfschemaStatusSTOPPING string = "STOPPING" // AddRDSOKBodyQANMysqlPerfschemaStatusDONE captures enum value "DONE" AddRDSOKBodyQANMysqlPerfschemaStatusDONE string = "DONE" )
const ( // AddRDSOKBodyQANPostgresqlPgstatementsStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AddRDSOKBodyQANPostgresqlPgstatementsStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AddRDSOKBodyQANPostgresqlPgstatementsStatusSTARTING captures enum value "STARTING" AddRDSOKBodyQANPostgresqlPgstatementsStatusSTARTING string = "STARTING" // AddRDSOKBodyQANPostgresqlPgstatementsStatusRUNNING captures enum value "RUNNING" AddRDSOKBodyQANPostgresqlPgstatementsStatusRUNNING string = "RUNNING" // AddRDSOKBodyQANPostgresqlPgstatementsStatusWAITING captures enum value "WAITING" AddRDSOKBodyQANPostgresqlPgstatementsStatusWAITING string = "WAITING" // AddRDSOKBodyQANPostgresqlPgstatementsStatusSTOPPING captures enum value "STOPPING" AddRDSOKBodyQANPostgresqlPgstatementsStatusSTOPPING string = "STOPPING" // AddRDSOKBodyQANPostgresqlPgstatementsStatusDONE captures enum value "DONE" AddRDSOKBodyQANPostgresqlPgstatementsStatusDONE string = "DONE" )
const ( // AddRDSOKBodyRDSExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AddRDSOKBodyRDSExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AddRDSOKBodyRDSExporterStatusSTARTING captures enum value "STARTING" AddRDSOKBodyRDSExporterStatusSTARTING string = "STARTING" // AddRDSOKBodyRDSExporterStatusRUNNING captures enum value "RUNNING" AddRDSOKBodyRDSExporterStatusRUNNING string = "RUNNING" // AddRDSOKBodyRDSExporterStatusWAITING captures enum value "WAITING" AddRDSOKBodyRDSExporterStatusWAITING string = "WAITING" // AddRDSOKBodyRDSExporterStatusSTOPPING captures enum value "STOPPING" AddRDSOKBodyRDSExporterStatusSTOPPING string = "STOPPING" // AddRDSOKBodyRDSExporterStatusDONE captures enum value "DONE" AddRDSOKBodyRDSExporterStatusDONE string = "DONE" )
const ( // RDSInstancesItems0EngineDISCOVERRDSENGINEINVALID captures enum value "DISCOVER_RDS_ENGINE_INVALID" RDSInstancesItems0EngineDISCOVERRDSENGINEINVALID string = "DISCOVER_RDS_ENGINE_INVALID" // RDSInstancesItems0EngineDISCOVERRDSMYSQL captures enum value "DISCOVER_RDS_MYSQL" RDSInstancesItems0EngineDISCOVERRDSMYSQL string = "DISCOVER_RDS_MYSQL" // RDSInstancesItems0EngineDISCOVERRDSPOSTGRESQL captures enum value "DISCOVER_RDS_POSTGRESQL" RDSInstancesItems0EngineDISCOVERRDSPOSTGRESQL string = "DISCOVER_RDS_POSTGRESQL" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddRDSBody ¶
type AddRDSBody struct { // AWS region. Region string `json:"region,omitempty"` // AWS availability zone. Az string `json:"az,omitempty"` // AWS instance ID. InstanceID string `json:"instance_id,omitempty"` // AWS instance class. NodeModel string `json:"node_model,omitempty"` // Address used to connect to it. Address string `json:"address,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // DiscoverRDSEngine describes supported RDS instance engines. // Enum: [DISCOVER_RDS_ENGINE_INVALID DISCOVER_RDS_MYSQL DISCOVER_RDS_POSTGRESQL] Engine *string `json:"engine,omitempty"` // Unique across all Nodes user-defined name. Defaults to AWS instance ID. NodeName string `json:"node_name,omitempty"` // Unique across all Services user-defined name. Defaults to AWS instance ID. ServiceName string `json:"service_name,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Username for scraping metrics. Username string `json:"username,omitempty"` // Password for scraping metrics. Password string `json:"password,omitempty"` // AWS Access key. AWSAccessKey string `json:"aws_access_key,omitempty"` // AWS Secret key. AWSSecretKey string `json:"aws_secret_key,omitempty"` // If true, adds rds_exporter. RDSExporter bool `json:"rds_exporter,omitempty"` // If true, adds qan-mysql-perfschema-agent. QANMysqlPerfschema bool `json:"qan_mysql_perfschema,omitempty"` // Custom user-assigned labels for Node and Service. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Skip connection check. SkipConnectionCheck bool `json:"skip_connection_check,omitempty"` // Use TLS for database connections. TLS bool `json:"tls,omitempty"` // Skip TLS certificate and hostname validation. TLSSkipVerify bool `json:"tls_skip_verify,omitempty"` // Disable query examples. DisableQueryExamples bool `json:"disable_query_examples,omitempty"` // Tablestats group collectors will be disabled if there are more than that number of tables. // If zero, server's default value is used. // Use negative value to disable them. TablestatsGroupTableLimit int32 `json:"tablestats_group_table_limit,omitempty"` // Disable basic metrics. DisableBasicMetrics bool `json:"disable_basic_metrics,omitempty"` // Disable enhanced metrics. DisableEnhancedMetrics bool `json:"disable_enhanced_metrics,omitempty"` // MetricsMode defines desired metrics mode for agent, // it can be pull, push or auto mode chosen by server. // Enum: [AUTO PULL PUSH] MetricsMode *string `json:"metrics_mode,omitempty"` // If true, add qan-pgstatements QANPostgresqlPgstatements bool `json:"qan_postgresql_pgstatements,omitempty"` }
AddRDSBody add RDS body swagger:model AddRDSBody
func (*AddRDSBody) MarshalBinary ¶
func (o *AddRDSBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSBody) UnmarshalBinary ¶
func (o *AddRDSBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSDefault ¶
type AddRDSDefault struct { Payload *AddRDSDefaultBody // contains filtered or unexported fields }
AddRDSDefault handles this case with default header values.
An unexpected error response.
func NewAddRDSDefault ¶
func NewAddRDSDefault(code int) *AddRDSDefault
NewAddRDSDefault creates a AddRDSDefault with default headers values
func (*AddRDSDefault) Code ¶
func (o *AddRDSDefault) Code() int
Code gets the status code for the add RDS default response
func (*AddRDSDefault) Error ¶
func (o *AddRDSDefault) Error() string
func (*AddRDSDefault) GetPayload ¶
func (o *AddRDSDefault) GetPayload() *AddRDSDefaultBody
type AddRDSDefaultBody ¶
type AddRDSDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddRDSDefaultBody add RDS default body swagger:model AddRDSDefaultBody
func (*AddRDSDefaultBody) MarshalBinary ¶
func (o *AddRDSDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSDefaultBody) UnmarshalBinary ¶
func (o *AddRDSDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOK ¶
type AddRDSOK struct {
Payload *AddRDSOKBody
}
AddRDSOK handles this case with default header values.
A successful response.
func NewAddRDSOK ¶
func NewAddRDSOK() *AddRDSOK
NewAddRDSOK creates a AddRDSOK with default headers values
func (*AddRDSOK) GetPayload ¶
func (o *AddRDSOK) GetPayload() *AddRDSOKBody
type AddRDSOKBody ¶
type AddRDSOKBody struct { // Actual table count at the moment of adding. TableCount int32 `json:"table_count,omitempty"` // mysql Mysql *AddRDSOKBodyMysql `json:"mysql,omitempty"` // mysqld exporter MysqldExporter *AddRDSOKBodyMysqldExporter `json:"mysqld_exporter,omitempty"` // node Node *AddRDSOKBodyNode `json:"node,omitempty"` // postgresql Postgresql *AddRDSOKBodyPostgresql `json:"postgresql,omitempty"` // postgresql exporter PostgresqlExporter *AddRDSOKBodyPostgresqlExporter `json:"postgresql_exporter,omitempty"` // qan mysql perfschema QANMysqlPerfschema *AddRDSOKBodyQANMysqlPerfschema `json:"qan_mysql_perfschema,omitempty"` // qan postgresql pgstatements QANPostgresqlPgstatements *AddRDSOKBodyQANPostgresqlPgstatements `json:"qan_postgresql_pgstatements,omitempty"` // rds exporter RDSExporter *AddRDSOKBodyRDSExporter `json:"rds_exporter,omitempty"` }
AddRDSOKBody add RDS OK body swagger:model AddRDSOKBody
func (*AddRDSOKBody) MarshalBinary ¶
func (o *AddRDSOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBody) UnmarshalBinary ¶
func (o *AddRDSOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyMysql ¶
type AddRDSOKBodyMysql struct { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
AddRDSOKBodyMysql MySQLService represents a generic MySQL instance. swagger:model AddRDSOKBodyMysql
func (*AddRDSOKBodyMysql) MarshalBinary ¶
func (o *AddRDSOKBodyMysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyMysql) UnmarshalBinary ¶
func (o *AddRDSOKBodyMysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyMysqldExporter ¶
type AddRDSOKBodyMysqldExporter struct { // Unique randomly generated instance identifier. AgentID string `json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Desired Agent status: enabled (false) or disabled (true). Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // MySQL username for scraping metrics. Username string `json:"username,omitempty"` // Use TLS for database connections. TLS bool `json:"tls,omitempty"` // Skip TLS certificate and hostname validation. TLSSkipVerify bool `json:"tls_skip_verify,omitempty"` // Tablestats group collectors are disabled if there are more than that number of tables. // 0 means tablestats group collectors are always enabled (no limit). // Negative value means tablestats group collectors are always disabled. TablestatsGroupTableLimit int32 `json:"tablestats_group_table_limit,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if tablestats group collectors are currently disabled. TablestatsGroupDisabled bool `json:"tablestats_group_disabled,omitempty"` }
AddRDSOKBodyMysqldExporter MySQLdExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model AddRDSOKBodyMysqldExporter
func (*AddRDSOKBodyMysqldExporter) MarshalBinary ¶
func (o *AddRDSOKBodyMysqldExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyMysqldExporter) UnmarshalBinary ¶
func (o *AddRDSOKBodyMysqldExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyNode ¶
type AddRDSOKBodyNode 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"` }
AddRDSOKBodyNode RemoteRDSNode represents remote RDS Node. Agents can't run on Remote RDS Nodes. swagger:model AddRDSOKBodyNode
func (*AddRDSOKBodyNode) MarshalBinary ¶
func (o *AddRDSOKBodyNode) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyNode) UnmarshalBinary ¶
func (o *AddRDSOKBodyNode) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyPostgresql ¶
type AddRDSOKBodyPostgresql struct { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
AddRDSOKBodyPostgresql PostgreSQLService represents a generic PostgreSQL instance. swagger:model AddRDSOKBodyPostgresql
func (*AddRDSOKBodyPostgresql) MarshalBinary ¶
func (o *AddRDSOKBodyPostgresql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyPostgresql) UnmarshalBinary ¶
func (o *AddRDSOKBodyPostgresql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyPostgresqlExporter ¶
type AddRDSOKBodyPostgresqlExporter struct { // Unique randomly generated instance identifier. AgentID string `json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Desired Agent status: enabled (false) or disabled (true). Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // PostgreSQL username for scraping metrics. Username string `json:"username,omitempty"` // Use TLS for database connections. TLS bool `json:"tls,omitempty"` // Skip TLS certificate and hostname validation. Uses sslmode=required instead of verify-full. TLSSkipVerify bool `json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
AddRDSOKBodyPostgresqlExporter PostgresExporter runs on Generic or Container Node and exposes PostgreSQL Service metrics. swagger:model AddRDSOKBodyPostgresqlExporter
func (*AddRDSOKBodyPostgresqlExporter) MarshalBinary ¶
func (o *AddRDSOKBodyPostgresqlExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyPostgresqlExporter) UnmarshalBinary ¶
func (o *AddRDSOKBodyPostgresqlExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyQANMysqlPerfschema ¶
type AddRDSOKBodyQANMysqlPerfschema struct { // Unique randomly generated instance identifier. AgentID string `json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Desired Agent status: enabled (false) or disabled (true). Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // MySQL username for getting performance data. Username string `json:"username,omitempty"` // Use TLS for database connections. TLS bool `json:"tls,omitempty"` // Skip TLS certificate and hostname validation. TLSSkipVerify bool `json:"tls_skip_verify,omitempty"` // True if query examples are disabled. QueryExamplesDisabled bool `json:"query_examples_disabled,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` }
AddRDSOKBodyQANMysqlPerfschema QANMySQLPerfSchemaAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model AddRDSOKBodyQANMysqlPerfschema
func (*AddRDSOKBodyQANMysqlPerfschema) MarshalBinary ¶
func (o *AddRDSOKBodyQANMysqlPerfschema) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyQANMysqlPerfschema) UnmarshalBinary ¶
func (o *AddRDSOKBodyQANMysqlPerfschema) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyQANPostgresqlPgstatements ¶
type AddRDSOKBodyQANPostgresqlPgstatements struct { // Unique randomly generated instance identifier. AgentID string `json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Desired Agent status: enabled (false) or disabled (true). Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // PostgreSQL username for getting pg stat statements data. Username string `json:"username,omitempty"` // Use TLS for database connections. TLS bool `json:"tls,omitempty"` // Skip TLS certificate and hostname validation. TLSSkipVerify bool `json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` }
AddRDSOKBodyQANPostgresqlPgstatements QANPostgreSQLPgStatementsAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model AddRDSOKBodyQANPostgresqlPgstatements
func (*AddRDSOKBodyQANPostgresqlPgstatements) MarshalBinary ¶
func (o *AddRDSOKBodyQANPostgresqlPgstatements) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyQANPostgresqlPgstatements) UnmarshalBinary ¶
func (o *AddRDSOKBodyQANPostgresqlPgstatements) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSOKBodyRDSExporter ¶
type AddRDSOKBodyRDSExporter struct { // Unique randomly generated instance identifier. AgentID string `json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Desired Agent status: enabled (false) or disabled (true). Disabled bool `json:"disabled,omitempty"` // Node identifier. NodeID string `json:"node_id,omitempty"` // AWS Access Key. AWSAccessKey string `json:"aws_access_key,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics (the same for several configurations). ListenPort int64 `json:"listen_port,omitempty"` // Basic metrics are disabled. BasicMetricsDisabled bool `json:"basic_metrics_disabled,omitempty"` // Enhanced metrics are disabled. EnhancedMetricsDisabled bool `json:"enhanced_metrics_disabled,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
AddRDSOKBodyRDSExporter RDSExporter runs on Generic or Container Node and exposes RemoteRDS Node metrics. swagger:model AddRDSOKBodyRDSExporter
func (*AddRDSOKBodyRDSExporter) MarshalBinary ¶
func (o *AddRDSOKBodyRDSExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddRDSOKBodyRDSExporter) UnmarshalBinary ¶
func (o *AddRDSOKBodyRDSExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddRDSParams ¶
type AddRDSParams struct { /*Body*/ Body AddRDSBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddRDSParams contains all the parameters to send to the API endpoint for the add RDS operation typically these are written to a http.Request
func NewAddRDSParams ¶
func NewAddRDSParams() *AddRDSParams
NewAddRDSParams creates a new AddRDSParams object with the default values initialized.
func NewAddRDSParamsWithContext ¶
func NewAddRDSParamsWithContext(ctx context.Context) *AddRDSParams
NewAddRDSParamsWithContext creates a new AddRDSParams object with the default values initialized, and the ability to set a context for a request
func NewAddRDSParamsWithHTTPClient ¶
func NewAddRDSParamsWithHTTPClient(client *http.Client) *AddRDSParams
NewAddRDSParamsWithHTTPClient creates a new AddRDSParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddRDSParamsWithTimeout ¶
func NewAddRDSParamsWithTimeout(timeout time.Duration) *AddRDSParams
NewAddRDSParamsWithTimeout creates a new AddRDSParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddRDSParams) SetBody ¶
func (o *AddRDSParams) SetBody(body AddRDSBody)
SetBody adds the body to the add RDS params
func (*AddRDSParams) SetContext ¶
func (o *AddRDSParams) SetContext(ctx context.Context)
SetContext adds the context to the add RDS params
func (*AddRDSParams) SetHTTPClient ¶
func (o *AddRDSParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add RDS params
func (*AddRDSParams) SetTimeout ¶
func (o *AddRDSParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add RDS params
func (*AddRDSParams) WithBody ¶
func (o *AddRDSParams) WithBody(body AddRDSBody) *AddRDSParams
WithBody adds the body to the add RDS params
func (*AddRDSParams) WithContext ¶
func (o *AddRDSParams) WithContext(ctx context.Context) *AddRDSParams
WithContext adds the context to the add RDS params
func (*AddRDSParams) WithHTTPClient ¶
func (o *AddRDSParams) WithHTTPClient(client *http.Client) *AddRDSParams
WithHTTPClient adds the HTTPClient to the add RDS params
func (*AddRDSParams) WithTimeout ¶
func (o *AddRDSParams) WithTimeout(timeout time.Duration) *AddRDSParams
WithTimeout adds the timeout to the add RDS params
func (*AddRDSParams) WriteToRequest ¶
func (o *AddRDSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddRDSReader ¶
type AddRDSReader struct {
// contains filtered or unexported fields
}
AddRDSReader is a Reader for the AddRDS structure.
func (*AddRDSReader) ReadResponse ¶
func (o *AddRDSReader) 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 rds API
func (*Client) AddRDS ¶
func (a *Client) AddRDS(params *AddRDSParams) (*AddRDSOK, error)
AddRDS adds RDS adds RDS instance
func (*Client) DiscoverRDS ¶
func (a *Client) DiscoverRDS(params *DiscoverRDSParams) (*DiscoverRDSOK, error)
DiscoverRDS discovers RDS discovers RDS instances
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AddRDS(params *AddRDSParams) (*AddRDSOK, error) DiscoverRDS(params *DiscoverRDSParams) (*DiscoverRDSOK, 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 rds API client.
type DetailsItems0 ¶
type DetailsItems0 struct { // A URL/resource name that uniquely identifies the type of the serialized // protocol buffer message. This string must contain at least // one "/" character. The last segment of the URL's path must represent // the fully qualified name of the type (as in // `path/google.protobuf.Duration`). The name should be in a canonical form // (e.g., leading "." is not accepted). // // In practice, teams usually precompile into the binary all types that they // expect it to use in the context of Any. However, for URLs which use the // scheme `http`, `https`, or no scheme, one can optionally set up a type // server that maps type URLs to message definitions as follows: // // * If no scheme is provided, `https` is assumed. // * An HTTP GET on the URL must yield a [google.protobuf.Type][] // value in binary format, or produce an error. // * Applications are allowed to cache lookup results based on the // URL, or have them precompiled into a binary to avoid any // lookup. Therefore, binary compatibility needs to be preserved // on changes to types. (Use versioned type names to manage // breaking changes.) // // Note: this functionality is not currently available in the official // protobuf release, and it is not used for type URLs beginning with // type.googleapis.com. // // Schemes other than `http`, `https` (or the empty scheme) might be // used with implementation specific semantics. TypeURL string `json:"type_url,omitempty"` // Must be a valid serialized protocol buffer of the above specified type. // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message. // // Protobuf library provides support to pack/unpack Any values in the form // of utility functions or additional generated methods of the Any type. // // Example 1: Pack and unpack a message in C++. // // Foo foo = ...; // Any any; // any.PackFrom(foo); // ... // if (any.UnpackTo(&foo)) { // ... // } // // Example 2: Pack and unpack a message in Java. // // Foo foo = ...; // Any any = Any.pack(foo); // ... // if (any.is(Foo.class)) { // foo = any.unpack(Foo.class); // } // // Example 3: Pack and unpack a message in Python. // // foo = Foo(...) // any = Any() // any.Pack(foo) // ... // if any.Is(Foo.DESCRIPTOR): // any.Unpack(foo) // ... // // Example 4: Pack and unpack a message in Go // // foo := &pb.Foo{...} // any, err := ptypes.MarshalAny(foo) // ... // foo := &pb.Foo{} // if err := ptypes.UnmarshalAny(any, foo); err != nil { // ... // } // // The pack methods provided by protobuf library will by default use // 'type.googleapis.com/full.type.name' as the type URL and the unpack // methods only use the fully qualified type name after the last '/' // in the type URL, for example "foo.bar.com/x/y.z" will yield type // name "y.z". // // // JSON // ==== // The JSON representation of an `Any` value uses the regular // representation of the deserialized, embedded message, with an // additional field `@type` which contains the type URL. Example: // // package google.profile; // message Person { // string first_name = 1; // string last_name = 2; // } // // { // "@type": "type.googleapis.com/google.profile.Person", // "firstName": <string>, // "lastName": <string> // } // // If the embedded message type is well-known and has a custom JSON // representation, that representation will be embedded adding a field // `value` which holds the custom JSON in addition to the `@type` // field. Example (for message [google.protobuf.Duration][]): // // { // "@type": "type.googleapis.com/google.protobuf.Duration", // "value": "1.212s" // } swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverRDSBody ¶
type DiscoverRDSBody struct { // AWS Access key. Optional. AWSAccessKey string `json:"aws_access_key,omitempty"` // AWS Secret key. Optional. AWSSecretKey string `json:"aws_secret_key,omitempty"` }
DiscoverRDSBody discover RDS body swagger:model DiscoverRDSBody
func (*DiscoverRDSBody) MarshalBinary ¶
func (o *DiscoverRDSBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoverRDSBody) UnmarshalBinary ¶
func (o *DiscoverRDSBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverRDSDefault ¶
type DiscoverRDSDefault struct { Payload *DiscoverRDSDefaultBody // contains filtered or unexported fields }
DiscoverRDSDefault handles this case with default header values.
An unexpected error response.
func NewDiscoverRDSDefault ¶
func NewDiscoverRDSDefault(code int) *DiscoverRDSDefault
NewDiscoverRDSDefault creates a DiscoverRDSDefault with default headers values
func (*DiscoverRDSDefault) Code ¶
func (o *DiscoverRDSDefault) Code() int
Code gets the status code for the discover RDS default response
func (*DiscoverRDSDefault) Error ¶
func (o *DiscoverRDSDefault) Error() string
func (*DiscoverRDSDefault) GetPayload ¶
func (o *DiscoverRDSDefault) GetPayload() *DiscoverRDSDefaultBody
type DiscoverRDSDefaultBody ¶
type DiscoverRDSDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
DiscoverRDSDefaultBody discover RDS default body swagger:model DiscoverRDSDefaultBody
func (*DiscoverRDSDefaultBody) MarshalBinary ¶
func (o *DiscoverRDSDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoverRDSDefaultBody) UnmarshalBinary ¶
func (o *DiscoverRDSDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverRDSOK ¶
type DiscoverRDSOK struct {
Payload *DiscoverRDSOKBody
}
DiscoverRDSOK handles this case with default header values.
A successful response.
func NewDiscoverRDSOK ¶
func NewDiscoverRDSOK() *DiscoverRDSOK
NewDiscoverRDSOK creates a DiscoverRDSOK with default headers values
func (*DiscoverRDSOK) Error ¶
func (o *DiscoverRDSOK) Error() string
func (*DiscoverRDSOK) GetPayload ¶
func (o *DiscoverRDSOK) GetPayload() *DiscoverRDSOKBody
type DiscoverRDSOKBody ¶
type DiscoverRDSOKBody struct { // rds instances RDSInstances []*RDSInstancesItems0 `json:"rds_instances"` }
DiscoverRDSOKBody discover RDS OK body swagger:model DiscoverRDSOKBody
func (*DiscoverRDSOKBody) MarshalBinary ¶
func (o *DiscoverRDSOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DiscoverRDSOKBody) UnmarshalBinary ¶
func (o *DiscoverRDSOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DiscoverRDSParams ¶
type DiscoverRDSParams struct { /*Body*/ Body DiscoverRDSBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DiscoverRDSParams contains all the parameters to send to the API endpoint for the discover RDS operation typically these are written to a http.Request
func NewDiscoverRDSParams ¶
func NewDiscoverRDSParams() *DiscoverRDSParams
NewDiscoverRDSParams creates a new DiscoverRDSParams object with the default values initialized.
func NewDiscoverRDSParamsWithContext ¶
func NewDiscoverRDSParamsWithContext(ctx context.Context) *DiscoverRDSParams
NewDiscoverRDSParamsWithContext creates a new DiscoverRDSParams object with the default values initialized, and the ability to set a context for a request
func NewDiscoverRDSParamsWithHTTPClient ¶
func NewDiscoverRDSParamsWithHTTPClient(client *http.Client) *DiscoverRDSParams
NewDiscoverRDSParamsWithHTTPClient creates a new DiscoverRDSParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDiscoverRDSParamsWithTimeout ¶
func NewDiscoverRDSParamsWithTimeout(timeout time.Duration) *DiscoverRDSParams
NewDiscoverRDSParamsWithTimeout creates a new DiscoverRDSParams object with the default values initialized, and the ability to set a timeout on a request
func (*DiscoverRDSParams) SetBody ¶
func (o *DiscoverRDSParams) SetBody(body DiscoverRDSBody)
SetBody adds the body to the discover RDS params
func (*DiscoverRDSParams) SetContext ¶
func (o *DiscoverRDSParams) SetContext(ctx context.Context)
SetContext adds the context to the discover RDS params
func (*DiscoverRDSParams) SetHTTPClient ¶
func (o *DiscoverRDSParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the discover RDS params
func (*DiscoverRDSParams) SetTimeout ¶
func (o *DiscoverRDSParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the discover RDS params
func (*DiscoverRDSParams) WithBody ¶
func (o *DiscoverRDSParams) WithBody(body DiscoverRDSBody) *DiscoverRDSParams
WithBody adds the body to the discover RDS params
func (*DiscoverRDSParams) WithContext ¶
func (o *DiscoverRDSParams) WithContext(ctx context.Context) *DiscoverRDSParams
WithContext adds the context to the discover RDS params
func (*DiscoverRDSParams) WithHTTPClient ¶
func (o *DiscoverRDSParams) WithHTTPClient(client *http.Client) *DiscoverRDSParams
WithHTTPClient adds the HTTPClient to the discover RDS params
func (*DiscoverRDSParams) WithTimeout ¶
func (o *DiscoverRDSParams) WithTimeout(timeout time.Duration) *DiscoverRDSParams
WithTimeout adds the timeout to the discover RDS params
func (*DiscoverRDSParams) WriteToRequest ¶
func (o *DiscoverRDSParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DiscoverRDSReader ¶
type DiscoverRDSReader struct {
// contains filtered or unexported fields
}
DiscoverRDSReader is a Reader for the DiscoverRDS structure.
func (*DiscoverRDSReader) ReadResponse ¶
func (o *DiscoverRDSReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RDSInstancesItems0 ¶
type RDSInstancesItems0 struct { // AWS region. Region string `json:"region,omitempty"` // AWS availability zone. Az string `json:"az,omitempty"` // AWS instance ID. InstanceID string `json:"instance_id,omitempty"` // AWS instance class. NodeModel string `json:"node_model,omitempty"` // Address used to connect to it. Address string `json:"address,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // DiscoverRDSEngine describes supported RDS instance engines. // Enum: [DISCOVER_RDS_ENGINE_INVALID DISCOVER_RDS_MYSQL DISCOVER_RDS_POSTGRESQL] Engine *string `json:"engine,omitempty"` // Engine version. EngineVersion string `json:"engine_version,omitempty"` }
RDSInstancesItems0 DiscoverRDSInstance models an unique RDS instance for the list of instances returned by Discovery. swagger:model RDSInstancesItems0
func (*RDSInstancesItems0) MarshalBinary ¶
func (o *RDSInstancesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RDSInstancesItems0) UnmarshalBinary ¶
func (o *RDSInstancesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation