agents

package
v2.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// AddMongoDBExporterOKBodyMongodbExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddMongoDBExporterOKBodyMongodbExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddMongoDBExporterOKBodyMongodbExporterStatusSTARTING captures enum value "STARTING"
	AddMongoDBExporterOKBodyMongodbExporterStatusSTARTING string = "STARTING"

	// AddMongoDBExporterOKBodyMongodbExporterStatusRUNNING captures enum value "RUNNING"
	AddMongoDBExporterOKBodyMongodbExporterStatusRUNNING string = "RUNNING"

	// AddMongoDBExporterOKBodyMongodbExporterStatusWAITING captures enum value "WAITING"
	AddMongoDBExporterOKBodyMongodbExporterStatusWAITING string = "WAITING"

	// AddMongoDBExporterOKBodyMongodbExporterStatusSTOPPING captures enum value "STOPPING"
	AddMongoDBExporterOKBodyMongodbExporterStatusSTOPPING string = "STOPPING"

	// AddMongoDBExporterOKBodyMongodbExporterStatusDONE captures enum value "DONE"
	AddMongoDBExporterOKBodyMongodbExporterStatusDONE string = "DONE"
)
View Source
const (

	// AddMySQLdExporterOKBodyMysqldExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddMySQLdExporterOKBodyMysqldExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddMySQLdExporterOKBodyMysqldExporterStatusSTARTING captures enum value "STARTING"
	AddMySQLdExporterOKBodyMysqldExporterStatusSTARTING string = "STARTING"

	// AddMySQLdExporterOKBodyMysqldExporterStatusRUNNING captures enum value "RUNNING"
	AddMySQLdExporterOKBodyMysqldExporterStatusRUNNING string = "RUNNING"

	// AddMySQLdExporterOKBodyMysqldExporterStatusWAITING captures enum value "WAITING"
	AddMySQLdExporterOKBodyMysqldExporterStatusWAITING string = "WAITING"

	// AddMySQLdExporterOKBodyMysqldExporterStatusSTOPPING captures enum value "STOPPING"
	AddMySQLdExporterOKBodyMysqldExporterStatusSTOPPING string = "STOPPING"

	// AddMySQLdExporterOKBodyMysqldExporterStatusDONE captures enum value "DONE"
	AddMySQLdExporterOKBodyMysqldExporterStatusDONE string = "DONE"
)
View Source
const (

	// AddNodeExporterOKBodyNodeExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddNodeExporterOKBodyNodeExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddNodeExporterOKBodyNodeExporterStatusSTARTING captures enum value "STARTING"
	AddNodeExporterOKBodyNodeExporterStatusSTARTING string = "STARTING"

	// AddNodeExporterOKBodyNodeExporterStatusRUNNING captures enum value "RUNNING"
	AddNodeExporterOKBodyNodeExporterStatusRUNNING string = "RUNNING"

	// AddNodeExporterOKBodyNodeExporterStatusWAITING captures enum value "WAITING"
	AddNodeExporterOKBodyNodeExporterStatusWAITING string = "WAITING"

	// AddNodeExporterOKBodyNodeExporterStatusSTOPPING captures enum value "STOPPING"
	AddNodeExporterOKBodyNodeExporterStatusSTOPPING string = "STOPPING"

	// AddNodeExporterOKBodyNodeExporterStatusDONE captures enum value "DONE"
	AddNodeExporterOKBodyNodeExporterStatusDONE string = "DONE"
)
View Source
const (

	// AddPostgresExporterOKBodyPostgresExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddPostgresExporterOKBodyPostgresExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddPostgresExporterOKBodyPostgresExporterStatusSTARTING captures enum value "STARTING"
	AddPostgresExporterOKBodyPostgresExporterStatusSTARTING string = "STARTING"

	// AddPostgresExporterOKBodyPostgresExporterStatusRUNNING captures enum value "RUNNING"
	AddPostgresExporterOKBodyPostgresExporterStatusRUNNING string = "RUNNING"

	// AddPostgresExporterOKBodyPostgresExporterStatusWAITING captures enum value "WAITING"
	AddPostgresExporterOKBodyPostgresExporterStatusWAITING string = "WAITING"

	// AddPostgresExporterOKBodyPostgresExporterStatusSTOPPING captures enum value "STOPPING"
	AddPostgresExporterOKBodyPostgresExporterStatusSTOPPING string = "STOPPING"

	// AddPostgresExporterOKBodyPostgresExporterStatusDONE captures enum value "DONE"
	AddPostgresExporterOKBodyPostgresExporterStatusDONE string = "DONE"
)
View Source
const (

	// AddProxySQLExporterOKBodyProxysqlExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddProxySQLExporterOKBodyProxysqlExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddProxySQLExporterOKBodyProxysqlExporterStatusSTARTING captures enum value "STARTING"
	AddProxySQLExporterOKBodyProxysqlExporterStatusSTARTING string = "STARTING"

	// AddProxySQLExporterOKBodyProxysqlExporterStatusRUNNING captures enum value "RUNNING"
	AddProxySQLExporterOKBodyProxysqlExporterStatusRUNNING string = "RUNNING"

	// AddProxySQLExporterOKBodyProxysqlExporterStatusWAITING captures enum value "WAITING"
	AddProxySQLExporterOKBodyProxysqlExporterStatusWAITING string = "WAITING"

	// AddProxySQLExporterOKBodyProxysqlExporterStatusSTOPPING captures enum value "STOPPING"
	AddProxySQLExporterOKBodyProxysqlExporterStatusSTOPPING string = "STOPPING"

	// AddProxySQLExporterOKBodyProxysqlExporterStatusDONE captures enum value "DONE"
	AddProxySQLExporterOKBodyProxysqlExporterStatusDONE string = "DONE"
)
View Source
const (

	// AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTARTING captures enum value "STARTING"
	AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTARTING string = "STARTING"

	// AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusRUNNING captures enum value "RUNNING"
	AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusRUNNING string = "RUNNING"

	// AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusWAITING captures enum value "WAITING"
	AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusWAITING string = "WAITING"

	// AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTOPPING captures enum value "STOPPING"
	AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTOPPING string = "STOPPING"

	// AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusDONE captures enum value "DONE"
	AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusDONE string = "DONE"
)
View Source
const (

	// AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTARTING captures enum value "STARTING"
	AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTARTING string = "STARTING"

	// AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusRUNNING captures enum value "RUNNING"
	AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusRUNNING string = "RUNNING"

	// AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusWAITING captures enum value "WAITING"
	AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusWAITING string = "WAITING"

	// AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTOPPING captures enum value "STOPPING"
	AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTOPPING string = "STOPPING"

	// AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusDONE captures enum value "DONE"
	AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusDONE string = "DONE"
)
View Source
const (

	// AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTARTING captures enum value "STARTING"
	AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTARTING string = "STARTING"

	// AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusRUNNING captures enum value "RUNNING"
	AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusRUNNING string = "RUNNING"

	// AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusWAITING captures enum value "WAITING"
	AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusWAITING string = "WAITING"

	// AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTOPPING captures enum value "STOPPING"
	AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTOPPING string = "STOPPING"

	// AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusDONE captures enum value "DONE"
	AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusDONE string = "DONE"
)
View Source
const (

	// AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTARTING captures enum value "STARTING"
	AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTARTING string = "STARTING"

	// AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusRUNNING captures enum value "RUNNING"
	AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusRUNNING string = "RUNNING"

	// AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusWAITING captures enum value "WAITING"
	AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusWAITING string = "WAITING"

	// AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTOPPING captures enum value "STOPPING"
	AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTOPPING string = "STOPPING"

	// AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusDONE captures enum value "DONE"
	AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusDONE string = "DONE"
)
View Source
const (

	// AddRDSExporterOKBodyRDSExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	AddRDSExporterOKBodyRDSExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// AddRDSExporterOKBodyRDSExporterStatusSTARTING captures enum value "STARTING"
	AddRDSExporterOKBodyRDSExporterStatusSTARTING string = "STARTING"

	// AddRDSExporterOKBodyRDSExporterStatusRUNNING captures enum value "RUNNING"
	AddRDSExporterOKBodyRDSExporterStatusRUNNING string = "RUNNING"

	// AddRDSExporterOKBodyRDSExporterStatusWAITING captures enum value "WAITING"
	AddRDSExporterOKBodyRDSExporterStatusWAITING string = "WAITING"

	// AddRDSExporterOKBodyRDSExporterStatusSTOPPING captures enum value "STOPPING"
	AddRDSExporterOKBodyRDSExporterStatusSTOPPING string = "STOPPING"

	// AddRDSExporterOKBodyRDSExporterStatusDONE captures enum value "DONE"
	AddRDSExporterOKBodyRDSExporterStatusDONE string = "DONE"
)
View Source
const (

	// ChangeMongoDBExporterOKBodyMongodbExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeMongoDBExporterOKBodyMongodbExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeMongoDBExporterOKBodyMongodbExporterStatusSTARTING captures enum value "STARTING"
	ChangeMongoDBExporterOKBodyMongodbExporterStatusSTARTING string = "STARTING"

	// ChangeMongoDBExporterOKBodyMongodbExporterStatusRUNNING captures enum value "RUNNING"
	ChangeMongoDBExporterOKBodyMongodbExporterStatusRUNNING string = "RUNNING"

	// ChangeMongoDBExporterOKBodyMongodbExporterStatusWAITING captures enum value "WAITING"
	ChangeMongoDBExporterOKBodyMongodbExporterStatusWAITING string = "WAITING"

	// ChangeMongoDBExporterOKBodyMongodbExporterStatusSTOPPING captures enum value "STOPPING"
	ChangeMongoDBExporterOKBodyMongodbExporterStatusSTOPPING string = "STOPPING"

	// ChangeMongoDBExporterOKBodyMongodbExporterStatusDONE captures enum value "DONE"
	ChangeMongoDBExporterOKBodyMongodbExporterStatusDONE string = "DONE"
)
View Source
const (

	// ChangeMySQLdExporterOKBodyMysqldExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeMySQLdExporterOKBodyMysqldExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeMySQLdExporterOKBodyMysqldExporterStatusSTARTING captures enum value "STARTING"
	ChangeMySQLdExporterOKBodyMysqldExporterStatusSTARTING string = "STARTING"

	// ChangeMySQLdExporterOKBodyMysqldExporterStatusRUNNING captures enum value "RUNNING"
	ChangeMySQLdExporterOKBodyMysqldExporterStatusRUNNING string = "RUNNING"

	// ChangeMySQLdExporterOKBodyMysqldExporterStatusWAITING captures enum value "WAITING"
	ChangeMySQLdExporterOKBodyMysqldExporterStatusWAITING string = "WAITING"

	// ChangeMySQLdExporterOKBodyMysqldExporterStatusSTOPPING captures enum value "STOPPING"
	ChangeMySQLdExporterOKBodyMysqldExporterStatusSTOPPING string = "STOPPING"

	// ChangeMySQLdExporterOKBodyMysqldExporterStatusDONE captures enum value "DONE"
	ChangeMySQLdExporterOKBodyMysqldExporterStatusDONE string = "DONE"
)
View Source
const (

	// ChangeNodeExporterOKBodyNodeExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeNodeExporterOKBodyNodeExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeNodeExporterOKBodyNodeExporterStatusSTARTING captures enum value "STARTING"
	ChangeNodeExporterOKBodyNodeExporterStatusSTARTING string = "STARTING"

	// ChangeNodeExporterOKBodyNodeExporterStatusRUNNING captures enum value "RUNNING"
	ChangeNodeExporterOKBodyNodeExporterStatusRUNNING string = "RUNNING"

	// ChangeNodeExporterOKBodyNodeExporterStatusWAITING captures enum value "WAITING"
	ChangeNodeExporterOKBodyNodeExporterStatusWAITING string = "WAITING"

	// ChangeNodeExporterOKBodyNodeExporterStatusSTOPPING captures enum value "STOPPING"
	ChangeNodeExporterOKBodyNodeExporterStatusSTOPPING string = "STOPPING"

	// ChangeNodeExporterOKBodyNodeExporterStatusDONE captures enum value "DONE"
	ChangeNodeExporterOKBodyNodeExporterStatusDONE string = "DONE"
)
View Source
const (

	// ChangePostgresExporterOKBodyPostgresExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangePostgresExporterOKBodyPostgresExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangePostgresExporterOKBodyPostgresExporterStatusSTARTING captures enum value "STARTING"
	ChangePostgresExporterOKBodyPostgresExporterStatusSTARTING string = "STARTING"

	// ChangePostgresExporterOKBodyPostgresExporterStatusRUNNING captures enum value "RUNNING"
	ChangePostgresExporterOKBodyPostgresExporterStatusRUNNING string = "RUNNING"

	// ChangePostgresExporterOKBodyPostgresExporterStatusWAITING captures enum value "WAITING"
	ChangePostgresExporterOKBodyPostgresExporterStatusWAITING string = "WAITING"

	// ChangePostgresExporterOKBodyPostgresExporterStatusSTOPPING captures enum value "STOPPING"
	ChangePostgresExporterOKBodyPostgresExporterStatusSTOPPING string = "STOPPING"

	// ChangePostgresExporterOKBodyPostgresExporterStatusDONE captures enum value "DONE"
	ChangePostgresExporterOKBodyPostgresExporterStatusDONE string = "DONE"
)
View Source
const (

	// ChangeProxySQLExporterOKBodyProxysqlExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeProxySQLExporterOKBodyProxysqlExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeProxySQLExporterOKBodyProxysqlExporterStatusSTARTING captures enum value "STARTING"
	ChangeProxySQLExporterOKBodyProxysqlExporterStatusSTARTING string = "STARTING"

	// ChangeProxySQLExporterOKBodyProxysqlExporterStatusRUNNING captures enum value "RUNNING"
	ChangeProxySQLExporterOKBodyProxysqlExporterStatusRUNNING string = "RUNNING"

	// ChangeProxySQLExporterOKBodyProxysqlExporterStatusWAITING captures enum value "WAITING"
	ChangeProxySQLExporterOKBodyProxysqlExporterStatusWAITING string = "WAITING"

	// ChangeProxySQLExporterOKBodyProxysqlExporterStatusSTOPPING captures enum value "STOPPING"
	ChangeProxySQLExporterOKBodyProxysqlExporterStatusSTOPPING string = "STOPPING"

	// ChangeProxySQLExporterOKBodyProxysqlExporterStatusDONE captures enum value "DONE"
	ChangeProxySQLExporterOKBodyProxysqlExporterStatusDONE string = "DONE"
)
View Source
const (

	// ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTARTING captures enum value "STARTING"
	ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTARTING string = "STARTING"

	// ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusRUNNING captures enum value "RUNNING"
	ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusRUNNING string = "RUNNING"

	// ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusWAITING captures enum value "WAITING"
	ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusWAITING string = "WAITING"

	// ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTOPPING captures enum value "STOPPING"
	ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusSTOPPING string = "STOPPING"

	// ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusDONE captures enum value "DONE"
	ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgentStatusDONE string = "DONE"
)
View Source
const (

	// ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTARTING captures enum value "STARTING"
	ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTARTING string = "STARTING"

	// ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusRUNNING captures enum value "RUNNING"
	ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusRUNNING string = "RUNNING"

	// ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusWAITING captures enum value "WAITING"
	ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusWAITING string = "WAITING"

	// ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTOPPING captures enum value "STOPPING"
	ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusSTOPPING string = "STOPPING"

	// ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusDONE captures enum value "DONE"
	ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgentStatusDONE string = "DONE"
)
View Source
const (

	// ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTARTING captures enum value "STARTING"
	ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTARTING string = "STARTING"

	// ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusRUNNING captures enum value "RUNNING"
	ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusRUNNING string = "RUNNING"

	// ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusWAITING captures enum value "WAITING"
	ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusWAITING string = "WAITING"

	// ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTOPPING captures enum value "STOPPING"
	ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusSTOPPING string = "STOPPING"

	// ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusDONE captures enum value "DONE"
	ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgentStatusDONE string = "DONE"
)
View Source
const (

	// ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTARTING captures enum value "STARTING"
	ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTARTING string = "STARTING"

	// ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusRUNNING captures enum value "RUNNING"
	ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusRUNNING string = "RUNNING"

	// ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusWAITING captures enum value "WAITING"
	ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusWAITING string = "WAITING"

	// ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTOPPING captures enum value "STOPPING"
	ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTOPPING string = "STOPPING"

	// ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusDONE captures enum value "DONE"
	ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgentStatusDONE string = "DONE"
)
View Source
const (

	// ChangeRDSExporterOKBodyRDSExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ChangeRDSExporterOKBodyRDSExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ChangeRDSExporterOKBodyRDSExporterStatusSTARTING captures enum value "STARTING"
	ChangeRDSExporterOKBodyRDSExporterStatusSTARTING string = "STARTING"

	// ChangeRDSExporterOKBodyRDSExporterStatusRUNNING captures enum value "RUNNING"
	ChangeRDSExporterOKBodyRDSExporterStatusRUNNING string = "RUNNING"

	// ChangeRDSExporterOKBodyRDSExporterStatusWAITING captures enum value "WAITING"
	ChangeRDSExporterOKBodyRDSExporterStatusWAITING string = "WAITING"

	// ChangeRDSExporterOKBodyRDSExporterStatusSTOPPING captures enum value "STOPPING"
	ChangeRDSExporterOKBodyRDSExporterStatusSTOPPING string = "STOPPING"

	// ChangeRDSExporterOKBodyRDSExporterStatusDONE captures enum value "DONE"
	ChangeRDSExporterOKBodyRDSExporterStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyMongodbExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyMongodbExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyMongodbExporterStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyMongodbExporterStatusSTARTING string = "STARTING"

	// GetAgentOKBodyMongodbExporterStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyMongodbExporterStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyMongodbExporterStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyMongodbExporterStatusWAITING string = "WAITING"

	// GetAgentOKBodyMongodbExporterStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyMongodbExporterStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyMongodbExporterStatusDONE captures enum value "DONE"
	GetAgentOKBodyMongodbExporterStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyMysqldExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyMysqldExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyMysqldExporterStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyMysqldExporterStatusSTARTING string = "STARTING"

	// GetAgentOKBodyMysqldExporterStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyMysqldExporterStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyMysqldExporterStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyMysqldExporterStatusWAITING string = "WAITING"

	// GetAgentOKBodyMysqldExporterStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyMysqldExporterStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyMysqldExporterStatusDONE captures enum value "DONE"
	GetAgentOKBodyMysqldExporterStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyNodeExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyNodeExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyNodeExporterStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyNodeExporterStatusSTARTING string = "STARTING"

	// GetAgentOKBodyNodeExporterStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyNodeExporterStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyNodeExporterStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyNodeExporterStatusWAITING string = "WAITING"

	// GetAgentOKBodyNodeExporterStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyNodeExporterStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyNodeExporterStatusDONE captures enum value "DONE"
	GetAgentOKBodyNodeExporterStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyPostgresExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyPostgresExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyPostgresExporterStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyPostgresExporterStatusSTARTING string = "STARTING"

	// GetAgentOKBodyPostgresExporterStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyPostgresExporterStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyPostgresExporterStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyPostgresExporterStatusWAITING string = "WAITING"

	// GetAgentOKBodyPostgresExporterStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyPostgresExporterStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyPostgresExporterStatusDONE captures enum value "DONE"
	GetAgentOKBodyPostgresExporterStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyProxysqlExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyProxysqlExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyProxysqlExporterStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyProxysqlExporterStatusSTARTING string = "STARTING"

	// GetAgentOKBodyProxysqlExporterStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyProxysqlExporterStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyProxysqlExporterStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyProxysqlExporterStatusWAITING string = "WAITING"

	// GetAgentOKBodyProxysqlExporterStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyProxysqlExporterStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyProxysqlExporterStatusDONE captures enum value "DONE"
	GetAgentOKBodyProxysqlExporterStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyQANMongodbProfilerAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyQANMongodbProfilerAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyQANMongodbProfilerAgentStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyQANMongodbProfilerAgentStatusSTARTING string = "STARTING"

	// GetAgentOKBodyQANMongodbProfilerAgentStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyQANMongodbProfilerAgentStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyQANMongodbProfilerAgentStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyQANMongodbProfilerAgentStatusWAITING string = "WAITING"

	// GetAgentOKBodyQANMongodbProfilerAgentStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyQANMongodbProfilerAgentStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyQANMongodbProfilerAgentStatusDONE captures enum value "DONE"
	GetAgentOKBodyQANMongodbProfilerAgentStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyQANMysqlPerfschemaAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyQANMysqlPerfschemaAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyQANMysqlPerfschemaAgentStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyQANMysqlPerfschemaAgentStatusSTARTING string = "STARTING"

	// GetAgentOKBodyQANMysqlPerfschemaAgentStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyQANMysqlPerfschemaAgentStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyQANMysqlPerfschemaAgentStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyQANMysqlPerfschemaAgentStatusWAITING string = "WAITING"

	// GetAgentOKBodyQANMysqlPerfschemaAgentStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyQANMysqlPerfschemaAgentStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyQANMysqlPerfschemaAgentStatusDONE captures enum value "DONE"
	GetAgentOKBodyQANMysqlPerfschemaAgentStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyQANMysqlSlowlogAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyQANMysqlSlowlogAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyQANMysqlSlowlogAgentStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyQANMysqlSlowlogAgentStatusSTARTING string = "STARTING"

	// GetAgentOKBodyQANMysqlSlowlogAgentStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyQANMysqlSlowlogAgentStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyQANMysqlSlowlogAgentStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyQANMysqlSlowlogAgentStatusWAITING string = "WAITING"

	// GetAgentOKBodyQANMysqlSlowlogAgentStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyQANMysqlSlowlogAgentStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyQANMysqlSlowlogAgentStatusDONE captures enum value "DONE"
	GetAgentOKBodyQANMysqlSlowlogAgentStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTARTING string = "STARTING"

	// GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusWAITING string = "WAITING"

	// GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusDONE captures enum value "DONE"
	GetAgentOKBodyQANPostgresqlPgstatementsAgentStatusDONE string = "DONE"
)
View Source
const (

	// GetAgentOKBodyRDSExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	GetAgentOKBodyRDSExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// GetAgentOKBodyRDSExporterStatusSTARTING captures enum value "STARTING"
	GetAgentOKBodyRDSExporterStatusSTARTING string = "STARTING"

	// GetAgentOKBodyRDSExporterStatusRUNNING captures enum value "RUNNING"
	GetAgentOKBodyRDSExporterStatusRUNNING string = "RUNNING"

	// GetAgentOKBodyRDSExporterStatusWAITING captures enum value "WAITING"
	GetAgentOKBodyRDSExporterStatusWAITING string = "WAITING"

	// GetAgentOKBodyRDSExporterStatusSTOPPING captures enum value "STOPPING"
	GetAgentOKBodyRDSExporterStatusSTOPPING string = "STOPPING"

	// GetAgentOKBodyRDSExporterStatusDONE captures enum value "DONE"
	GetAgentOKBodyRDSExporterStatusDONE string = "DONE"
)
View Source
const (

	// ListAgentsBodyAgentTypeAGENTTYPEINVALID captures enum value "AGENT_TYPE_INVALID"
	ListAgentsBodyAgentTypeAGENTTYPEINVALID string = "AGENT_TYPE_INVALID"

	// ListAgentsBodyAgentTypePMMAGENT captures enum value "PMM_AGENT"
	ListAgentsBodyAgentTypePMMAGENT string = "PMM_AGENT"

	// ListAgentsBodyAgentTypeNODEEXPORTER captures enum value "NODE_EXPORTER"
	ListAgentsBodyAgentTypeNODEEXPORTER string = "NODE_EXPORTER"

	// ListAgentsBodyAgentTypeMYSQLDEXPORTER captures enum value "MYSQLD_EXPORTER"
	ListAgentsBodyAgentTypeMYSQLDEXPORTER string = "MYSQLD_EXPORTER"

	// ListAgentsBodyAgentTypeMONGODBEXPORTER captures enum value "MONGODB_EXPORTER"
	ListAgentsBodyAgentTypeMONGODBEXPORTER string = "MONGODB_EXPORTER"

	// ListAgentsBodyAgentTypePOSTGRESEXPORTER captures enum value "POSTGRES_EXPORTER"
	ListAgentsBodyAgentTypePOSTGRESEXPORTER string = "POSTGRES_EXPORTER"

	// ListAgentsBodyAgentTypePROXYSQLEXPORTER captures enum value "PROXYSQL_EXPORTER"
	ListAgentsBodyAgentTypePROXYSQLEXPORTER string = "PROXYSQL_EXPORTER"

	// ListAgentsBodyAgentTypeQANMYSQLPERFSCHEMAAGENT captures enum value "QAN_MYSQL_PERFSCHEMA_AGENT"
	ListAgentsBodyAgentTypeQANMYSQLPERFSCHEMAAGENT string = "QAN_MYSQL_PERFSCHEMA_AGENT"

	// ListAgentsBodyAgentTypeQANMYSQLSLOWLOGAGENT captures enum value "QAN_MYSQL_SLOWLOG_AGENT"
	ListAgentsBodyAgentTypeQANMYSQLSLOWLOGAGENT string = "QAN_MYSQL_SLOWLOG_AGENT"

	// ListAgentsBodyAgentTypeQANMONGODBPROFILERAGENT captures enum value "QAN_MONGODB_PROFILER_AGENT"
	ListAgentsBodyAgentTypeQANMONGODBPROFILERAGENT string = "QAN_MONGODB_PROFILER_AGENT"

	// ListAgentsBodyAgentTypeQANPOSTGRESQLPGSTATEMENTSAGENT captures enum value "QAN_POSTGRESQL_PGSTATEMENTS_AGENT"
	ListAgentsBodyAgentTypeQANPOSTGRESQLPGSTATEMENTSAGENT string = "QAN_POSTGRESQL_PGSTATEMENTS_AGENT"

	// ListAgentsBodyAgentTypeRDSEXPORTER captures enum value "RDS_EXPORTER"
	ListAgentsBodyAgentTypeRDSEXPORTER string = "RDS_EXPORTER"
)
View Source
const (

	// MongodbExporterItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	MongodbExporterItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// MongodbExporterItems0StatusSTARTING captures enum value "STARTING"
	MongodbExporterItems0StatusSTARTING string = "STARTING"

	// MongodbExporterItems0StatusRUNNING captures enum value "RUNNING"
	MongodbExporterItems0StatusRUNNING string = "RUNNING"

	// MongodbExporterItems0StatusWAITING captures enum value "WAITING"
	MongodbExporterItems0StatusWAITING string = "WAITING"

	// MongodbExporterItems0StatusSTOPPING captures enum value "STOPPING"
	MongodbExporterItems0StatusSTOPPING string = "STOPPING"

	// MongodbExporterItems0StatusDONE captures enum value "DONE"
	MongodbExporterItems0StatusDONE string = "DONE"
)
View Source
const (

	// MysqldExporterItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	MysqldExporterItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// MysqldExporterItems0StatusSTARTING captures enum value "STARTING"
	MysqldExporterItems0StatusSTARTING string = "STARTING"

	// MysqldExporterItems0StatusRUNNING captures enum value "RUNNING"
	MysqldExporterItems0StatusRUNNING string = "RUNNING"

	// MysqldExporterItems0StatusWAITING captures enum value "WAITING"
	MysqldExporterItems0StatusWAITING string = "WAITING"

	// MysqldExporterItems0StatusSTOPPING captures enum value "STOPPING"
	MysqldExporterItems0StatusSTOPPING string = "STOPPING"

	// MysqldExporterItems0StatusDONE captures enum value "DONE"
	MysqldExporterItems0StatusDONE string = "DONE"
)
View Source
const (

	// NodeExporterItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	NodeExporterItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// NodeExporterItems0StatusSTARTING captures enum value "STARTING"
	NodeExporterItems0StatusSTARTING string = "STARTING"

	// NodeExporterItems0StatusRUNNING captures enum value "RUNNING"
	NodeExporterItems0StatusRUNNING string = "RUNNING"

	// NodeExporterItems0StatusWAITING captures enum value "WAITING"
	NodeExporterItems0StatusWAITING string = "WAITING"

	// NodeExporterItems0StatusSTOPPING captures enum value "STOPPING"
	NodeExporterItems0StatusSTOPPING string = "STOPPING"

	// NodeExporterItems0StatusDONE captures enum value "DONE"
	NodeExporterItems0StatusDONE string = "DONE"
)
View Source
const (

	// PostgresExporterItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	PostgresExporterItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// PostgresExporterItems0StatusSTARTING captures enum value "STARTING"
	PostgresExporterItems0StatusSTARTING string = "STARTING"

	// PostgresExporterItems0StatusRUNNING captures enum value "RUNNING"
	PostgresExporterItems0StatusRUNNING string = "RUNNING"

	// PostgresExporterItems0StatusWAITING captures enum value "WAITING"
	PostgresExporterItems0StatusWAITING string = "WAITING"

	// PostgresExporterItems0StatusSTOPPING captures enum value "STOPPING"
	PostgresExporterItems0StatusSTOPPING string = "STOPPING"

	// PostgresExporterItems0StatusDONE captures enum value "DONE"
	PostgresExporterItems0StatusDONE string = "DONE"
)
View Source
const (

	// ProxysqlExporterItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	ProxysqlExporterItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// ProxysqlExporterItems0StatusSTARTING captures enum value "STARTING"
	ProxysqlExporterItems0StatusSTARTING string = "STARTING"

	// ProxysqlExporterItems0StatusRUNNING captures enum value "RUNNING"
	ProxysqlExporterItems0StatusRUNNING string = "RUNNING"

	// ProxysqlExporterItems0StatusWAITING captures enum value "WAITING"
	ProxysqlExporterItems0StatusWAITING string = "WAITING"

	// ProxysqlExporterItems0StatusSTOPPING captures enum value "STOPPING"
	ProxysqlExporterItems0StatusSTOPPING string = "STOPPING"

	// ProxysqlExporterItems0StatusDONE captures enum value "DONE"
	ProxysqlExporterItems0StatusDONE string = "DONE"
)
View Source
const (

	// QANMongodbProfilerAgentItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	QANMongodbProfilerAgentItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// QANMongodbProfilerAgentItems0StatusSTARTING captures enum value "STARTING"
	QANMongodbProfilerAgentItems0StatusSTARTING string = "STARTING"

	// QANMongodbProfilerAgentItems0StatusRUNNING captures enum value "RUNNING"
	QANMongodbProfilerAgentItems0StatusRUNNING string = "RUNNING"

	// QANMongodbProfilerAgentItems0StatusWAITING captures enum value "WAITING"
	QANMongodbProfilerAgentItems0StatusWAITING string = "WAITING"

	// QANMongodbProfilerAgentItems0StatusSTOPPING captures enum value "STOPPING"
	QANMongodbProfilerAgentItems0StatusSTOPPING string = "STOPPING"

	// QANMongodbProfilerAgentItems0StatusDONE captures enum value "DONE"
	QANMongodbProfilerAgentItems0StatusDONE string = "DONE"
)
View Source
const (

	// QANMysqlPerfschemaAgentItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	QANMysqlPerfschemaAgentItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// QANMysqlPerfschemaAgentItems0StatusSTARTING captures enum value "STARTING"
	QANMysqlPerfschemaAgentItems0StatusSTARTING string = "STARTING"

	// QANMysqlPerfschemaAgentItems0StatusRUNNING captures enum value "RUNNING"
	QANMysqlPerfschemaAgentItems0StatusRUNNING string = "RUNNING"

	// QANMysqlPerfschemaAgentItems0StatusWAITING captures enum value "WAITING"
	QANMysqlPerfschemaAgentItems0StatusWAITING string = "WAITING"

	// QANMysqlPerfschemaAgentItems0StatusSTOPPING captures enum value "STOPPING"
	QANMysqlPerfschemaAgentItems0StatusSTOPPING string = "STOPPING"

	// QANMysqlPerfschemaAgentItems0StatusDONE captures enum value "DONE"
	QANMysqlPerfschemaAgentItems0StatusDONE string = "DONE"
)
View Source
const (

	// QANMysqlSlowlogAgentItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	QANMysqlSlowlogAgentItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// QANMysqlSlowlogAgentItems0StatusSTARTING captures enum value "STARTING"
	QANMysqlSlowlogAgentItems0StatusSTARTING string = "STARTING"

	// QANMysqlSlowlogAgentItems0StatusRUNNING captures enum value "RUNNING"
	QANMysqlSlowlogAgentItems0StatusRUNNING string = "RUNNING"

	// QANMysqlSlowlogAgentItems0StatusWAITING captures enum value "WAITING"
	QANMysqlSlowlogAgentItems0StatusWAITING string = "WAITING"

	// QANMysqlSlowlogAgentItems0StatusSTOPPING captures enum value "STOPPING"
	QANMysqlSlowlogAgentItems0StatusSTOPPING string = "STOPPING"

	// QANMysqlSlowlogAgentItems0StatusDONE captures enum value "DONE"
	QANMysqlSlowlogAgentItems0StatusDONE string = "DONE"
)
View Source
const (

	// QANPostgresqlPgstatementsAgentItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	QANPostgresqlPgstatementsAgentItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// QANPostgresqlPgstatementsAgentItems0StatusSTARTING captures enum value "STARTING"
	QANPostgresqlPgstatementsAgentItems0StatusSTARTING string = "STARTING"

	// QANPostgresqlPgstatementsAgentItems0StatusRUNNING captures enum value "RUNNING"
	QANPostgresqlPgstatementsAgentItems0StatusRUNNING string = "RUNNING"

	// QANPostgresqlPgstatementsAgentItems0StatusWAITING captures enum value "WAITING"
	QANPostgresqlPgstatementsAgentItems0StatusWAITING string = "WAITING"

	// QANPostgresqlPgstatementsAgentItems0StatusSTOPPING captures enum value "STOPPING"
	QANPostgresqlPgstatementsAgentItems0StatusSTOPPING string = "STOPPING"

	// QANPostgresqlPgstatementsAgentItems0StatusDONE captures enum value "DONE"
	QANPostgresqlPgstatementsAgentItems0StatusDONE string = "DONE"
)
View Source
const (

	// RDSExporterItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID"
	RDSExporterItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID"

	// RDSExporterItems0StatusSTARTING captures enum value "STARTING"
	RDSExporterItems0StatusSTARTING string = "STARTING"

	// RDSExporterItems0StatusRUNNING captures enum value "RUNNING"
	RDSExporterItems0StatusRUNNING string = "RUNNING"

	// RDSExporterItems0StatusWAITING captures enum value "WAITING"
	RDSExporterItems0StatusWAITING string = "WAITING"

	// RDSExporterItems0StatusSTOPPING captures enum value "STOPPING"
	RDSExporterItems0StatusSTOPPING string = "STOPPING"

	// RDSExporterItems0StatusDONE captures enum value "DONE"
	RDSExporterItems0StatusDONE string = "DONE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddMongoDBExporterBody

type AddMongoDBExporterBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// MongoDB username for scraping metrics.
	Username string `json:"username,omitempty"`

	// MongoDB password for scraping metrics.
	Password string `json:"password,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"`

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddMongoDBExporterBody add mongo DB exporter body swagger:model AddMongoDBExporterBody

func (*AddMongoDBExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBExporterBody) Validate

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

Validate validates this add mongo DB exporter body

type AddMongoDBExporterDefault

type AddMongoDBExporterDefault struct {
	Payload *AddMongoDBExporterDefaultBody
	// contains filtered or unexported fields
}

AddMongoDBExporterDefault handles this case with default header values.

An unexpected error response

func NewAddMongoDBExporterDefault

func NewAddMongoDBExporterDefault(code int) *AddMongoDBExporterDefault

NewAddMongoDBExporterDefault creates a AddMongoDBExporterDefault with default headers values

func (*AddMongoDBExporterDefault) Code

func (o *AddMongoDBExporterDefault) Code() int

Code gets the status code for the add mongo DB exporter default response

func (*AddMongoDBExporterDefault) Error

func (o *AddMongoDBExporterDefault) Error() string

func (*AddMongoDBExporterDefault) GetPayload

type AddMongoDBExporterDefaultBody

type AddMongoDBExporterDefaultBody struct {

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

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

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

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

AddMongoDBExporterDefaultBody add mongo DB exporter default body swagger:model AddMongoDBExporterDefaultBody

func (*AddMongoDBExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBExporterDefaultBody) Validate

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

Validate validates this add mongo DB exporter default body

type AddMongoDBExporterOK

type AddMongoDBExporterOK struct {
	Payload *AddMongoDBExporterOKBody
}

AddMongoDBExporterOK handles this case with default header values.

A successful response.

func NewAddMongoDBExporterOK

func NewAddMongoDBExporterOK() *AddMongoDBExporterOK

NewAddMongoDBExporterOK creates a AddMongoDBExporterOK with default headers values

func (*AddMongoDBExporterOK) Error

func (o *AddMongoDBExporterOK) Error() string

func (*AddMongoDBExporterOK) GetPayload

type AddMongoDBExporterOKBody

type AddMongoDBExporterOKBody struct {

	// mongodb exporter
	MongodbExporter *AddMongoDBExporterOKBodyMongodbExporter `json:"mongodb_exporter,omitempty"`
}

AddMongoDBExporterOKBody add mongo DB exporter OK body swagger:model AddMongoDBExporterOKBody

func (*AddMongoDBExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBExporterOKBody) Validate

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

Validate validates this add mongo DB exporter OK body

type AddMongoDBExporterOKBodyMongodbExporter

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

AddMongoDBExporterOKBodyMongodbExporter MongoDBExporter runs on Generic or Container Node and exposes MongoDB Service metrics. swagger:model AddMongoDBExporterOKBodyMongodbExporter

func (*AddMongoDBExporterOKBodyMongodbExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBExporterOKBodyMongodbExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBExporterOKBodyMongodbExporter) Validate

Validate validates this add mongo DB exporter OK body mongodb exporter

type AddMongoDBExporterParams

type AddMongoDBExporterParams struct {

	/*Body*/
	Body AddMongoDBExporterBody

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

AddMongoDBExporterParams contains all the parameters to send to the API endpoint for the add mongo DB exporter operation typically these are written to a http.Request

func NewAddMongoDBExporterParams

func NewAddMongoDBExporterParams() *AddMongoDBExporterParams

NewAddMongoDBExporterParams creates a new AddMongoDBExporterParams object with the default values initialized.

func NewAddMongoDBExporterParamsWithContext

func NewAddMongoDBExporterParamsWithContext(ctx context.Context) *AddMongoDBExporterParams

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

func NewAddMongoDBExporterParamsWithHTTPClient

func NewAddMongoDBExporterParamsWithHTTPClient(client *http.Client) *AddMongoDBExporterParams

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

func NewAddMongoDBExporterParamsWithTimeout

func NewAddMongoDBExporterParamsWithTimeout(timeout time.Duration) *AddMongoDBExporterParams

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

func (*AddMongoDBExporterParams) SetBody

SetBody adds the body to the add mongo DB exporter params

func (*AddMongoDBExporterParams) SetContext

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

SetContext adds the context to the add mongo DB exporter params

func (*AddMongoDBExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add mongo DB exporter params

func (*AddMongoDBExporterParams) SetTimeout

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

SetTimeout adds the timeout to the add mongo DB exporter params

func (*AddMongoDBExporterParams) WithBody

WithBody adds the body to the add mongo DB exporter params

func (*AddMongoDBExporterParams) WithContext

WithContext adds the context to the add mongo DB exporter params

func (*AddMongoDBExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add mongo DB exporter params

func (*AddMongoDBExporterParams) WithTimeout

WithTimeout adds the timeout to the add mongo DB exporter params

func (*AddMongoDBExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddMongoDBExporterReader

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

AddMongoDBExporterReader is a Reader for the AddMongoDBExporter structure.

func (*AddMongoDBExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddMySQLdExporterBody

type AddMySQLdExporterBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// MySQL username for scraping metrics.
	Username string `json:"username,omitempty"`

	// MySQL password for scraping metrics.
	Password string `json:"password,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 will be 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"`

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddMySQLdExporterBody add my s q ld exporter body swagger:model AddMySQLdExporterBody

func (*AddMySQLdExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLdExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLdExporterBody) Validate

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

Validate validates this add my s q ld exporter body

type AddMySQLdExporterDefault

type AddMySQLdExporterDefault struct {
	Payload *AddMySQLdExporterDefaultBody
	// contains filtered or unexported fields
}

AddMySQLdExporterDefault handles this case with default header values.

An unexpected error response

func NewAddMySQLdExporterDefault

func NewAddMySQLdExporterDefault(code int) *AddMySQLdExporterDefault

NewAddMySQLdExporterDefault creates a AddMySQLdExporterDefault with default headers values

func (*AddMySQLdExporterDefault) Code

func (o *AddMySQLdExporterDefault) Code() int

Code gets the status code for the add my s q ld exporter default response

func (*AddMySQLdExporterDefault) Error

func (o *AddMySQLdExporterDefault) Error() string

func (*AddMySQLdExporterDefault) GetPayload

type AddMySQLdExporterDefaultBody

type AddMySQLdExporterDefaultBody struct {

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

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

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

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

AddMySQLdExporterDefaultBody add my s q ld exporter default body swagger:model AddMySQLdExporterDefaultBody

func (*AddMySQLdExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLdExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLdExporterDefaultBody) Validate

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

Validate validates this add my s q ld exporter default body

type AddMySQLdExporterOK

type AddMySQLdExporterOK struct {
	Payload *AddMySQLdExporterOKBody
}

AddMySQLdExporterOK handles this case with default header values.

A successful response.

func NewAddMySQLdExporterOK

func NewAddMySQLdExporterOK() *AddMySQLdExporterOK

NewAddMySQLdExporterOK creates a AddMySQLdExporterOK with default headers values

func (*AddMySQLdExporterOK) Error

func (o *AddMySQLdExporterOK) Error() string

func (*AddMySQLdExporterOK) GetPayload

type AddMySQLdExporterOKBody

type AddMySQLdExporterOKBody struct {

	// Actual table count at the moment of adding.
	TableCount int32 `json:"table_count,omitempty"`

	// mysqld exporter
	MysqldExporter *AddMySQLdExporterOKBodyMysqldExporter `json:"mysqld_exporter,omitempty"`
}

AddMySQLdExporterOKBody add my s q ld exporter OK body swagger:model AddMySQLdExporterOKBody

func (*AddMySQLdExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLdExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLdExporterOKBody) Validate

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

Validate validates this add my s q ld exporter OK body

type AddMySQLdExporterOKBodyMysqldExporter

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

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

AddMySQLdExporterOKBodyMysqldExporter MySQLdExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model AddMySQLdExporterOKBodyMysqldExporter

func (*AddMySQLdExporterOKBodyMysqldExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLdExporterOKBodyMysqldExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLdExporterOKBodyMysqldExporter) Validate

Validate validates this add my s q ld exporter OK body mysqld exporter

type AddMySQLdExporterParams

type AddMySQLdExporterParams struct {

	/*Body*/
	Body AddMySQLdExporterBody

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

AddMySQLdExporterParams contains all the parameters to send to the API endpoint for the add my s q ld exporter operation typically these are written to a http.Request

func NewAddMySQLdExporterParams

func NewAddMySQLdExporterParams() *AddMySQLdExporterParams

NewAddMySQLdExporterParams creates a new AddMySQLdExporterParams object with the default values initialized.

func NewAddMySQLdExporterParamsWithContext

func NewAddMySQLdExporterParamsWithContext(ctx context.Context) *AddMySQLdExporterParams

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

func NewAddMySQLdExporterParamsWithHTTPClient

func NewAddMySQLdExporterParamsWithHTTPClient(client *http.Client) *AddMySQLdExporterParams

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

func NewAddMySQLdExporterParamsWithTimeout

func NewAddMySQLdExporterParamsWithTimeout(timeout time.Duration) *AddMySQLdExporterParams

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

func (*AddMySQLdExporterParams) SetBody

SetBody adds the body to the add my s q ld exporter params

func (*AddMySQLdExporterParams) SetContext

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

SetContext adds the context to the add my s q ld exporter params

func (*AddMySQLdExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add my s q ld exporter params

func (*AddMySQLdExporterParams) SetTimeout

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

SetTimeout adds the timeout to the add my s q ld exporter params

func (*AddMySQLdExporterParams) WithBody

WithBody adds the body to the add my s q ld exporter params

func (*AddMySQLdExporterParams) WithContext

WithContext adds the context to the add my s q ld exporter params

func (*AddMySQLdExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add my s q ld exporter params

func (*AddMySQLdExporterParams) WithTimeout

WithTimeout adds the timeout to the add my s q ld exporter params

func (*AddMySQLdExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddMySQLdExporterReader

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

AddMySQLdExporterReader is a Reader for the AddMySQLdExporter structure.

func (*AddMySQLdExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddNodeExporterBody

type AddNodeExporterBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

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

AddNodeExporterBody add node exporter body swagger:model AddNodeExporterBody

func (*AddNodeExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddNodeExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddNodeExporterBody) Validate

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

Validate validates this add node exporter body

type AddNodeExporterDefault

type AddNodeExporterDefault struct {
	Payload *AddNodeExporterDefaultBody
	// contains filtered or unexported fields
}

AddNodeExporterDefault handles this case with default header values.

An unexpected error response

func NewAddNodeExporterDefault

func NewAddNodeExporterDefault(code int) *AddNodeExporterDefault

NewAddNodeExporterDefault creates a AddNodeExporterDefault with default headers values

func (*AddNodeExporterDefault) Code

func (o *AddNodeExporterDefault) Code() int

Code gets the status code for the add node exporter default response

func (*AddNodeExporterDefault) Error

func (o *AddNodeExporterDefault) Error() string

func (*AddNodeExporterDefault) GetPayload

type AddNodeExporterDefaultBody

type AddNodeExporterDefaultBody struct {

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

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

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

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

AddNodeExporterDefaultBody add node exporter default body swagger:model AddNodeExporterDefaultBody

func (*AddNodeExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddNodeExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddNodeExporterDefaultBody) Validate

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

Validate validates this add node exporter default body

type AddNodeExporterOK

type AddNodeExporterOK struct {
	Payload *AddNodeExporterOKBody
}

AddNodeExporterOK handles this case with default header values.

A successful response.

func NewAddNodeExporterOK

func NewAddNodeExporterOK() *AddNodeExporterOK

NewAddNodeExporterOK creates a AddNodeExporterOK with default headers values

func (*AddNodeExporterOK) Error

func (o *AddNodeExporterOK) Error() string

func (*AddNodeExporterOK) GetPayload

func (o *AddNodeExporterOK) GetPayload() *AddNodeExporterOKBody

type AddNodeExporterOKBody

type AddNodeExporterOKBody struct {

	// node exporter
	NodeExporter *AddNodeExporterOKBodyNodeExporter `json:"node_exporter,omitempty"`
}

AddNodeExporterOKBody add node exporter OK body swagger:model AddNodeExporterOKBody

func (*AddNodeExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddNodeExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddNodeExporterOKBody) Validate

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

Validate validates this add node exporter OK body

type AddNodeExporterOKBodyNodeExporter

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

AddNodeExporterOKBodyNodeExporter NodeExporter runs on Generic or Container Node and exposes its metrics. swagger:model AddNodeExporterOKBodyNodeExporter

func (*AddNodeExporterOKBodyNodeExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*AddNodeExporterOKBodyNodeExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddNodeExporterOKBodyNodeExporter) Validate

Validate validates this add node exporter OK body node exporter

type AddNodeExporterParams

type AddNodeExporterParams struct {

	/*Body*/
	Body AddNodeExporterBody

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

AddNodeExporterParams contains all the parameters to send to the API endpoint for the add node exporter operation typically these are written to a http.Request

func NewAddNodeExporterParams

func NewAddNodeExporterParams() *AddNodeExporterParams

NewAddNodeExporterParams creates a new AddNodeExporterParams object with the default values initialized.

func NewAddNodeExporterParamsWithContext

func NewAddNodeExporterParamsWithContext(ctx context.Context) *AddNodeExporterParams

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

func NewAddNodeExporterParamsWithHTTPClient

func NewAddNodeExporterParamsWithHTTPClient(client *http.Client) *AddNodeExporterParams

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

func NewAddNodeExporterParamsWithTimeout

func NewAddNodeExporterParamsWithTimeout(timeout time.Duration) *AddNodeExporterParams

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

func (*AddNodeExporterParams) SetBody

func (o *AddNodeExporterParams) SetBody(body AddNodeExporterBody)

SetBody adds the body to the add node exporter params

func (*AddNodeExporterParams) SetContext

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

SetContext adds the context to the add node exporter params

func (*AddNodeExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add node exporter params

func (*AddNodeExporterParams) SetTimeout

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

SetTimeout adds the timeout to the add node exporter params

func (*AddNodeExporterParams) WithBody

WithBody adds the body to the add node exporter params

func (*AddNodeExporterParams) WithContext

WithContext adds the context to the add node exporter params

func (*AddNodeExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add node exporter params

func (*AddNodeExporterParams) WithTimeout

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

WithTimeout adds the timeout to the add node exporter params

func (*AddNodeExporterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddNodeExporterReader

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

AddNodeExporterReader is a Reader for the AddNodeExporter structure.

func (*AddNodeExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddPMMAgentBody

type AddPMMAgentBody struct {

	// Node identifier where this instance runs.
	RunsOnNodeID string `json:"runs_on_node_id,omitempty"`

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

AddPMMAgentBody add PMM agent body swagger:model AddPMMAgentBody

func (*AddPMMAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPMMAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPMMAgentBody) Validate

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

Validate validates this add PMM agent body

type AddPMMAgentDefault

type AddPMMAgentDefault struct {
	Payload *AddPMMAgentDefaultBody
	// contains filtered or unexported fields
}

AddPMMAgentDefault handles this case with default header values.

An unexpected error response

func NewAddPMMAgentDefault

func NewAddPMMAgentDefault(code int) *AddPMMAgentDefault

NewAddPMMAgentDefault creates a AddPMMAgentDefault with default headers values

func (*AddPMMAgentDefault) Code

func (o *AddPMMAgentDefault) Code() int

Code gets the status code for the add PMM agent default response

func (*AddPMMAgentDefault) Error

func (o *AddPMMAgentDefault) Error() string

func (*AddPMMAgentDefault) GetPayload

func (o *AddPMMAgentDefault) GetPayload() *AddPMMAgentDefaultBody

type AddPMMAgentDefaultBody

type AddPMMAgentDefaultBody struct {

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

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

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

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

AddPMMAgentDefaultBody add PMM agent default body swagger:model AddPMMAgentDefaultBody

func (*AddPMMAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPMMAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPMMAgentDefaultBody) Validate

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

Validate validates this add PMM agent default body

type AddPMMAgentOK

type AddPMMAgentOK struct {
	Payload *AddPMMAgentOKBody
}

AddPMMAgentOK handles this case with default header values.

A successful response.

func NewAddPMMAgentOK

func NewAddPMMAgentOK() *AddPMMAgentOK

NewAddPMMAgentOK creates a AddPMMAgentOK with default headers values

func (*AddPMMAgentOK) Error

func (o *AddPMMAgentOK) Error() string

func (*AddPMMAgentOK) GetPayload

func (o *AddPMMAgentOK) GetPayload() *AddPMMAgentOKBody

type AddPMMAgentOKBody

type AddPMMAgentOKBody struct {

	// pmm agent
	PMMAgent *AddPMMAgentOKBodyPMMAgent `json:"pmm_agent,omitempty"`
}

AddPMMAgentOKBody add PMM agent OK body swagger:model AddPMMAgentOKBody

func (*AddPMMAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPMMAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPMMAgentOKBody) Validate

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

Validate validates this add PMM agent OK body

type AddPMMAgentOKBodyPMMAgent

type AddPMMAgentOKBodyPMMAgent struct {

	// Unique randomly generated instance identifier.
	AgentID string `json:"agent_id,omitempty"`

	// Node identifier where this instance runs.
	RunsOnNodeID string `json:"runs_on_node_id,omitempty"`

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

	// True if Agent is running and connected to pmm-managed.
	Connected bool `json:"connected,omitempty"`
}

AddPMMAgentOKBodyPMMAgent PMMAgent runs on Generic or Container Node. swagger:model AddPMMAgentOKBodyPMMAgent

func (*AddPMMAgentOKBodyPMMAgent) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPMMAgentOKBodyPMMAgent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPMMAgentOKBodyPMMAgent) Validate

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

Validate validates this add PMM agent OK body PMM agent

type AddPMMAgentParams

type AddPMMAgentParams struct {

	/*Body*/
	Body AddPMMAgentBody

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

AddPMMAgentParams contains all the parameters to send to the API endpoint for the add PMM agent operation typically these are written to a http.Request

func NewAddPMMAgentParams

func NewAddPMMAgentParams() *AddPMMAgentParams

NewAddPMMAgentParams creates a new AddPMMAgentParams object with the default values initialized.

func NewAddPMMAgentParamsWithContext

func NewAddPMMAgentParamsWithContext(ctx context.Context) *AddPMMAgentParams

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

func NewAddPMMAgentParamsWithHTTPClient

func NewAddPMMAgentParamsWithHTTPClient(client *http.Client) *AddPMMAgentParams

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

func NewAddPMMAgentParamsWithTimeout

func NewAddPMMAgentParamsWithTimeout(timeout time.Duration) *AddPMMAgentParams

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

func (*AddPMMAgentParams) SetBody

func (o *AddPMMAgentParams) SetBody(body AddPMMAgentBody)

SetBody adds the body to the add PMM agent params

func (*AddPMMAgentParams) SetContext

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

SetContext adds the context to the add PMM agent params

func (*AddPMMAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add PMM agent params

func (*AddPMMAgentParams) SetTimeout

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

SetTimeout adds the timeout to the add PMM agent params

func (*AddPMMAgentParams) WithBody

WithBody adds the body to the add PMM agent params

func (*AddPMMAgentParams) WithContext

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

WithContext adds the context to the add PMM agent params

func (*AddPMMAgentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add PMM agent params

func (*AddPMMAgentParams) WithTimeout

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

WithTimeout adds the timeout to the add PMM agent params

func (*AddPMMAgentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddPMMAgentReader

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

AddPMMAgentReader is a Reader for the AddPMMAgent structure.

func (*AddPMMAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddPostgresExporterBody

type AddPostgresExporterBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// PostgreSQL username for scraping metrics.
	Username string `json:"username,omitempty"`

	// PostgreSQL password for scraping metrics.
	Password string `json:"password,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"`

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddPostgresExporterBody add postgres exporter body swagger:model AddPostgresExporterBody

func (*AddPostgresExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgresExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgresExporterBody) Validate

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

Validate validates this add postgres exporter body

type AddPostgresExporterDefault

type AddPostgresExporterDefault struct {
	Payload *AddPostgresExporterDefaultBody
	// contains filtered or unexported fields
}

AddPostgresExporterDefault handles this case with default header values.

An unexpected error response

func NewAddPostgresExporterDefault

func NewAddPostgresExporterDefault(code int) *AddPostgresExporterDefault

NewAddPostgresExporterDefault creates a AddPostgresExporterDefault with default headers values

func (*AddPostgresExporterDefault) Code

func (o *AddPostgresExporterDefault) Code() int

Code gets the status code for the add postgres exporter default response

func (*AddPostgresExporterDefault) Error

func (*AddPostgresExporterDefault) GetPayload

type AddPostgresExporterDefaultBody

type AddPostgresExporterDefaultBody struct {

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

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

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

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

AddPostgresExporterDefaultBody add postgres exporter default body swagger:model AddPostgresExporterDefaultBody

func (*AddPostgresExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgresExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgresExporterDefaultBody) Validate

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

Validate validates this add postgres exporter default body

type AddPostgresExporterOK

type AddPostgresExporterOK struct {
	Payload *AddPostgresExporterOKBody
}

AddPostgresExporterOK handles this case with default header values.

A successful response.

func NewAddPostgresExporterOK

func NewAddPostgresExporterOK() *AddPostgresExporterOK

NewAddPostgresExporterOK creates a AddPostgresExporterOK with default headers values

func (*AddPostgresExporterOK) Error

func (o *AddPostgresExporterOK) Error() string

func (*AddPostgresExporterOK) GetPayload

type AddPostgresExporterOKBody

type AddPostgresExporterOKBody struct {

	// postgres exporter
	PostgresExporter *AddPostgresExporterOKBodyPostgresExporter `json:"postgres_exporter,omitempty"`
}

AddPostgresExporterOKBody add postgres exporter OK body swagger:model AddPostgresExporterOKBody

func (*AddPostgresExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgresExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgresExporterOKBody) Validate

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

Validate validates this add postgres exporter OK body

type AddPostgresExporterOKBodyPostgresExporter

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

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

AddPostgresExporterOKBodyPostgresExporter PostgresExporter runs on Generic or Container Node and exposes PostgreSQL Service metrics. swagger:model AddPostgresExporterOKBodyPostgresExporter

func (*AddPostgresExporterOKBodyPostgresExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgresExporterOKBodyPostgresExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgresExporterOKBodyPostgresExporter) Validate

Validate validates this add postgres exporter OK body postgres exporter

type AddPostgresExporterParams

type AddPostgresExporterParams struct {

	/*Body*/
	Body AddPostgresExporterBody

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

AddPostgresExporterParams contains all the parameters to send to the API endpoint for the add postgres exporter operation typically these are written to a http.Request

func NewAddPostgresExporterParams

func NewAddPostgresExporterParams() *AddPostgresExporterParams

NewAddPostgresExporterParams creates a new AddPostgresExporterParams object with the default values initialized.

func NewAddPostgresExporterParamsWithContext

func NewAddPostgresExporterParamsWithContext(ctx context.Context) *AddPostgresExporterParams

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

func NewAddPostgresExporterParamsWithHTTPClient

func NewAddPostgresExporterParamsWithHTTPClient(client *http.Client) *AddPostgresExporterParams

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

func NewAddPostgresExporterParamsWithTimeout

func NewAddPostgresExporterParamsWithTimeout(timeout time.Duration) *AddPostgresExporterParams

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

func (*AddPostgresExporterParams) SetBody

SetBody adds the body to the add postgres exporter params

func (*AddPostgresExporterParams) SetContext

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

SetContext adds the context to the add postgres exporter params

func (*AddPostgresExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add postgres exporter params

func (*AddPostgresExporterParams) SetTimeout

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

SetTimeout adds the timeout to the add postgres exporter params

func (*AddPostgresExporterParams) WithBody

WithBody adds the body to the add postgres exporter params

func (*AddPostgresExporterParams) WithContext

WithContext adds the context to the add postgres exporter params

func (*AddPostgresExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add postgres exporter params

func (*AddPostgresExporterParams) WithTimeout

WithTimeout adds the timeout to the add postgres exporter params

func (*AddPostgresExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddPostgresExporterReader

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

AddPostgresExporterReader is a Reader for the AddPostgresExporter structure.

func (*AddPostgresExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddProxySQLExporterBody

type AddProxySQLExporterBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// ProxySQL username for scraping metrics.
	Username string `json:"username,omitempty"`

	// ProxySQL password for scraping metrics.
	Password string `json:"password,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"`

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddProxySQLExporterBody add proxy SQL exporter body swagger:model AddProxySQLExporterBody

func (*AddProxySQLExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLExporterBody) Validate

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

Validate validates this add proxy SQL exporter body

type AddProxySQLExporterDefault

type AddProxySQLExporterDefault struct {
	Payload *AddProxySQLExporterDefaultBody
	// contains filtered or unexported fields
}

AddProxySQLExporterDefault handles this case with default header values.

An unexpected error response

func NewAddProxySQLExporterDefault

func NewAddProxySQLExporterDefault(code int) *AddProxySQLExporterDefault

NewAddProxySQLExporterDefault creates a AddProxySQLExporterDefault with default headers values

func (*AddProxySQLExporterDefault) Code

func (o *AddProxySQLExporterDefault) Code() int

Code gets the status code for the add proxy SQL exporter default response

func (*AddProxySQLExporterDefault) Error

func (*AddProxySQLExporterDefault) GetPayload

type AddProxySQLExporterDefaultBody

type AddProxySQLExporterDefaultBody struct {

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

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

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

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

AddProxySQLExporterDefaultBody add proxy SQL exporter default body swagger:model AddProxySQLExporterDefaultBody

func (*AddProxySQLExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLExporterDefaultBody) Validate

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

Validate validates this add proxy SQL exporter default body

type AddProxySQLExporterOK

type AddProxySQLExporterOK struct {
	Payload *AddProxySQLExporterOKBody
}

AddProxySQLExporterOK handles this case with default header values.

A successful response.

func NewAddProxySQLExporterOK

func NewAddProxySQLExporterOK() *AddProxySQLExporterOK

NewAddProxySQLExporterOK creates a AddProxySQLExporterOK with default headers values

func (*AddProxySQLExporterOK) Error

func (o *AddProxySQLExporterOK) Error() string

func (*AddProxySQLExporterOK) GetPayload

type AddProxySQLExporterOKBody

type AddProxySQLExporterOKBody struct {

	// proxysql exporter
	ProxysqlExporter *AddProxySQLExporterOKBodyProxysqlExporter `json:"proxysql_exporter,omitempty"`
}

AddProxySQLExporterOKBody add proxy SQL exporter OK body swagger:model AddProxySQLExporterOKBody

func (*AddProxySQLExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLExporterOKBody) Validate

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

Validate validates this add proxy SQL exporter OK body

type AddProxySQLExporterOKBodyProxysqlExporter

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

AddProxySQLExporterOKBodyProxysqlExporter ProxySQLExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model AddProxySQLExporterOKBodyProxysqlExporter

func (*AddProxySQLExporterOKBodyProxysqlExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLExporterOKBodyProxysqlExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLExporterOKBodyProxysqlExporter) Validate

Validate validates this add proxy SQL exporter OK body proxysql exporter

type AddProxySQLExporterParams

type AddProxySQLExporterParams struct {

	/*Body*/
	Body AddProxySQLExporterBody

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

AddProxySQLExporterParams contains all the parameters to send to the API endpoint for the add proxy SQL exporter operation typically these are written to a http.Request

func NewAddProxySQLExporterParams

func NewAddProxySQLExporterParams() *AddProxySQLExporterParams

NewAddProxySQLExporterParams creates a new AddProxySQLExporterParams object with the default values initialized.

func NewAddProxySQLExporterParamsWithContext

func NewAddProxySQLExporterParamsWithContext(ctx context.Context) *AddProxySQLExporterParams

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

func NewAddProxySQLExporterParamsWithHTTPClient

func NewAddProxySQLExporterParamsWithHTTPClient(client *http.Client) *AddProxySQLExporterParams

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

func NewAddProxySQLExporterParamsWithTimeout

func NewAddProxySQLExporterParamsWithTimeout(timeout time.Duration) *AddProxySQLExporterParams

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

func (*AddProxySQLExporterParams) SetBody

SetBody adds the body to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) SetContext

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

SetContext adds the context to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) SetTimeout

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

SetTimeout adds the timeout to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) WithBody

WithBody adds the body to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) WithContext

WithContext adds the context to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) WithTimeout

WithTimeout adds the timeout to the add proxy SQL exporter params

func (*AddProxySQLExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddProxySQLExporterReader

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

AddProxySQLExporterReader is a Reader for the AddProxySQLExporter structure.

func (*AddProxySQLExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddQANMongoDBProfilerAgentBody

type AddQANMongoDBProfilerAgentBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// MongoDB username for getting profile data.
	Username string `json:"username,omitempty"`

	// MongoDB password for getting profile data.
	Password string `json:"password,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"`

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddQANMongoDBProfilerAgentBody add QAN mongo DB profiler agent body swagger:model AddQANMongoDBProfilerAgentBody

func (*AddQANMongoDBProfilerAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentBody) Validate

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

Validate validates this add QAN mongo DB profiler agent body

type AddQANMongoDBProfilerAgentDefault

type AddQANMongoDBProfilerAgentDefault struct {
	Payload *AddQANMongoDBProfilerAgentDefaultBody
	// contains filtered or unexported fields
}

AddQANMongoDBProfilerAgentDefault handles this case with default header values.

An unexpected error response

func NewAddQANMongoDBProfilerAgentDefault

func NewAddQANMongoDBProfilerAgentDefault(code int) *AddQANMongoDBProfilerAgentDefault

NewAddQANMongoDBProfilerAgentDefault creates a AddQANMongoDBProfilerAgentDefault with default headers values

func (*AddQANMongoDBProfilerAgentDefault) Code

Code gets the status code for the add QAN mongo DB profiler agent default response

func (*AddQANMongoDBProfilerAgentDefault) Error

func (*AddQANMongoDBProfilerAgentDefault) GetPayload

type AddQANMongoDBProfilerAgentDefaultBody

type AddQANMongoDBProfilerAgentDefaultBody struct {

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

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

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

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

AddQANMongoDBProfilerAgentDefaultBody add QAN mongo DB profiler agent default body swagger:model AddQANMongoDBProfilerAgentDefaultBody

func (*AddQANMongoDBProfilerAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentDefaultBody) Validate

Validate validates this add QAN mongo DB profiler agent default body

type AddQANMongoDBProfilerAgentOK

type AddQANMongoDBProfilerAgentOK struct {
	Payload *AddQANMongoDBProfilerAgentOKBody
}

AddQANMongoDBProfilerAgentOK handles this case with default header values.

A successful response.

func NewAddQANMongoDBProfilerAgentOK

func NewAddQANMongoDBProfilerAgentOK() *AddQANMongoDBProfilerAgentOK

NewAddQANMongoDBProfilerAgentOK creates a AddQANMongoDBProfilerAgentOK with default headers values

func (*AddQANMongoDBProfilerAgentOK) Error

func (*AddQANMongoDBProfilerAgentOK) GetPayload

type AddQANMongoDBProfilerAgentOKBody

type AddQANMongoDBProfilerAgentOKBody struct {

	// qan mongodb profiler agent
	QANMongodbProfilerAgent *AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent `json:"qan_mongodb_profiler_agent,omitempty"`
}

AddQANMongoDBProfilerAgentOKBody add QAN mongo DB profiler agent OK body swagger:model AddQANMongoDBProfilerAgentOKBody

func (*AddQANMongoDBProfilerAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentOKBody) Validate

Validate validates this add QAN mongo DB profiler agent OK body

type AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent

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

	// MongoDB username for getting profiler 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"`
}

AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent QANMongoDBProfilerAgent runs within pmm-agent and sends MongoDB Query Analytics data to the PMM Server. swagger:model AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent

func (*AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) MarshalBinary

MarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) Validate

Validate validates this add QAN mongo DB profiler agent OK body QAN mongodb profiler agent

type AddQANMongoDBProfilerAgentParams

type AddQANMongoDBProfilerAgentParams struct {

	/*Body*/
	Body AddQANMongoDBProfilerAgentBody

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

AddQANMongoDBProfilerAgentParams contains all the parameters to send to the API endpoint for the add QAN mongo DB profiler agent operation typically these are written to a http.Request

func NewAddQANMongoDBProfilerAgentParams

func NewAddQANMongoDBProfilerAgentParams() *AddQANMongoDBProfilerAgentParams

NewAddQANMongoDBProfilerAgentParams creates a new AddQANMongoDBProfilerAgentParams object with the default values initialized.

func NewAddQANMongoDBProfilerAgentParamsWithContext

func NewAddQANMongoDBProfilerAgentParamsWithContext(ctx context.Context) *AddQANMongoDBProfilerAgentParams

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

func NewAddQANMongoDBProfilerAgentParamsWithHTTPClient

func NewAddQANMongoDBProfilerAgentParamsWithHTTPClient(client *http.Client) *AddQANMongoDBProfilerAgentParams

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

func NewAddQANMongoDBProfilerAgentParamsWithTimeout

func NewAddQANMongoDBProfilerAgentParamsWithTimeout(timeout time.Duration) *AddQANMongoDBProfilerAgentParams

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

func (*AddQANMongoDBProfilerAgentParams) SetBody

SetBody adds the body to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) SetContext

SetContext adds the context to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) SetTimeout

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

SetTimeout adds the timeout to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) WithBody

WithBody adds the body to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) WithContext

WithContext adds the context to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) WithTimeout

WithTimeout adds the timeout to the add QAN mongo DB profiler agent params

func (*AddQANMongoDBProfilerAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddQANMongoDBProfilerAgentReader

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

AddQANMongoDBProfilerAgentReader is a Reader for the AddQANMongoDBProfilerAgent structure.

func (*AddQANMongoDBProfilerAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddQANMySQLPerfSchemaAgentBody

type AddQANMySQLPerfSchemaAgentBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// MySQL username for getting performance data.
	Username string `json:"username,omitempty"`

	// MySQL password for getting performance data.
	Password string `json:"password,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"`

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

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddQANMySQLPerfSchemaAgentBody add QAN my SQL perf schema agent body swagger:model AddQANMySQLPerfSchemaAgentBody

func (*AddQANMySQLPerfSchemaAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentBody) Validate

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

Validate validates this add QAN my SQL perf schema agent body

type AddQANMySQLPerfSchemaAgentDefault

type AddQANMySQLPerfSchemaAgentDefault struct {
	Payload *AddQANMySQLPerfSchemaAgentDefaultBody
	// contains filtered or unexported fields
}

AddQANMySQLPerfSchemaAgentDefault handles this case with default header values.

An unexpected error response

func NewAddQANMySQLPerfSchemaAgentDefault

func NewAddQANMySQLPerfSchemaAgentDefault(code int) *AddQANMySQLPerfSchemaAgentDefault

NewAddQANMySQLPerfSchemaAgentDefault creates a AddQANMySQLPerfSchemaAgentDefault with default headers values

func (*AddQANMySQLPerfSchemaAgentDefault) Code

Code gets the status code for the add QAN my SQL perf schema agent default response

func (*AddQANMySQLPerfSchemaAgentDefault) Error

func (*AddQANMySQLPerfSchemaAgentDefault) GetPayload

type AddQANMySQLPerfSchemaAgentDefaultBody

type AddQANMySQLPerfSchemaAgentDefaultBody struct {

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

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

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

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

AddQANMySQLPerfSchemaAgentDefaultBody add QAN my SQL perf schema agent default body swagger:model AddQANMySQLPerfSchemaAgentDefaultBody

func (*AddQANMySQLPerfSchemaAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentDefaultBody) Validate

Validate validates this add QAN my SQL perf schema agent default body

type AddQANMySQLPerfSchemaAgentOK

type AddQANMySQLPerfSchemaAgentOK struct {
	Payload *AddQANMySQLPerfSchemaAgentOKBody
}

AddQANMySQLPerfSchemaAgentOK handles this case with default header values.

A successful response.

func NewAddQANMySQLPerfSchemaAgentOK

func NewAddQANMySQLPerfSchemaAgentOK() *AddQANMySQLPerfSchemaAgentOK

NewAddQANMySQLPerfSchemaAgentOK creates a AddQANMySQLPerfSchemaAgentOK with default headers values

func (*AddQANMySQLPerfSchemaAgentOK) Error

func (*AddQANMySQLPerfSchemaAgentOK) GetPayload

type AddQANMySQLPerfSchemaAgentOKBody

type AddQANMySQLPerfSchemaAgentOKBody struct {

	// qan mysql perfschema agent
	QANMysqlPerfschemaAgent *AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent `json:"qan_mysql_perfschema_agent,omitempty"`
}

AddQANMySQLPerfSchemaAgentOKBody add QAN my SQL perf schema agent OK body swagger:model AddQANMySQLPerfSchemaAgentOKBody

func (*AddQANMySQLPerfSchemaAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentOKBody) Validate

Validate validates this add QAN my SQL perf schema agent OK body

type AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent

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

AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent QANMySQLPerfSchemaAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent

func (*AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) MarshalBinary

MarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) Validate

Validate validates this add QAN my SQL perf schema agent OK body QAN mysql perfschema agent

type AddQANMySQLPerfSchemaAgentParams

type AddQANMySQLPerfSchemaAgentParams struct {

	/*Body*/
	Body AddQANMySQLPerfSchemaAgentBody

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

AddQANMySQLPerfSchemaAgentParams contains all the parameters to send to the API endpoint for the add QAN my SQL perf schema agent operation typically these are written to a http.Request

func NewAddQANMySQLPerfSchemaAgentParams

func NewAddQANMySQLPerfSchemaAgentParams() *AddQANMySQLPerfSchemaAgentParams

NewAddQANMySQLPerfSchemaAgentParams creates a new AddQANMySQLPerfSchemaAgentParams object with the default values initialized.

func NewAddQANMySQLPerfSchemaAgentParamsWithContext

func NewAddQANMySQLPerfSchemaAgentParamsWithContext(ctx context.Context) *AddQANMySQLPerfSchemaAgentParams

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

func NewAddQANMySQLPerfSchemaAgentParamsWithHTTPClient

func NewAddQANMySQLPerfSchemaAgentParamsWithHTTPClient(client *http.Client) *AddQANMySQLPerfSchemaAgentParams

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

func NewAddQANMySQLPerfSchemaAgentParamsWithTimeout

func NewAddQANMySQLPerfSchemaAgentParamsWithTimeout(timeout time.Duration) *AddQANMySQLPerfSchemaAgentParams

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

func (*AddQANMySQLPerfSchemaAgentParams) SetBody

SetBody adds the body to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) SetContext

SetContext adds the context to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) SetTimeout

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

SetTimeout adds the timeout to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) WithBody

WithBody adds the body to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) WithContext

WithContext adds the context to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) WithTimeout

WithTimeout adds the timeout to the add QAN my SQL perf schema agent params

func (*AddQANMySQLPerfSchemaAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddQANMySQLPerfSchemaAgentReader

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

AddQANMySQLPerfSchemaAgentReader is a Reader for the AddQANMySQLPerfSchemaAgent structure.

func (*AddQANMySQLPerfSchemaAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddQANMySQLSlowlogAgentBody

type AddQANMySQLSlowlogAgentBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// MySQL username for getting slowlog data.
	Username string `json:"username,omitempty"`

	// MySQL password for getting slowlog data.
	Password string `json:"password,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"`

	// Rotate slowlog file at this size if > 0.
	// Use zero or negative value to disable rotation.
	MaxSlowlogFileSize string `json:"max_slowlog_file_size,omitempty"`

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

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddQANMySQLSlowlogAgentBody add QAN my SQL slowlog agent body swagger:model AddQANMySQLSlowlogAgentBody

func (*AddQANMySQLSlowlogAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentBody) Validate

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

Validate validates this add QAN my SQL slowlog agent body

type AddQANMySQLSlowlogAgentDefault

type AddQANMySQLSlowlogAgentDefault struct {
	Payload *AddQANMySQLSlowlogAgentDefaultBody
	// contains filtered or unexported fields
}

AddQANMySQLSlowlogAgentDefault handles this case with default header values.

An unexpected error response

func NewAddQANMySQLSlowlogAgentDefault

func NewAddQANMySQLSlowlogAgentDefault(code int) *AddQANMySQLSlowlogAgentDefault

NewAddQANMySQLSlowlogAgentDefault creates a AddQANMySQLSlowlogAgentDefault with default headers values

func (*AddQANMySQLSlowlogAgentDefault) Code

Code gets the status code for the add QAN my SQL slowlog agent default response

func (*AddQANMySQLSlowlogAgentDefault) Error

func (*AddQANMySQLSlowlogAgentDefault) GetPayload

type AddQANMySQLSlowlogAgentDefaultBody

type AddQANMySQLSlowlogAgentDefaultBody struct {

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

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

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

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

AddQANMySQLSlowlogAgentDefaultBody add QAN my SQL slowlog agent default body swagger:model AddQANMySQLSlowlogAgentDefaultBody

func (*AddQANMySQLSlowlogAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentDefaultBody) Validate

Validate validates this add QAN my SQL slowlog agent default body

type AddQANMySQLSlowlogAgentOK

type AddQANMySQLSlowlogAgentOK struct {
	Payload *AddQANMySQLSlowlogAgentOKBody
}

AddQANMySQLSlowlogAgentOK handles this case with default header values.

A successful response.

func NewAddQANMySQLSlowlogAgentOK

func NewAddQANMySQLSlowlogAgentOK() *AddQANMySQLSlowlogAgentOK

NewAddQANMySQLSlowlogAgentOK creates a AddQANMySQLSlowlogAgentOK with default headers values

func (*AddQANMySQLSlowlogAgentOK) Error

func (o *AddQANMySQLSlowlogAgentOK) Error() string

func (*AddQANMySQLSlowlogAgentOK) GetPayload

type AddQANMySQLSlowlogAgentOKBody

type AddQANMySQLSlowlogAgentOKBody struct {

	// qan mysql slowlog agent
	QANMysqlSlowlogAgent *AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent `json:"qan_mysql_slowlog_agent,omitempty"`
}

AddQANMySQLSlowlogAgentOKBody add QAN my SQL slowlog agent OK body swagger:model AddQANMySQLSlowlogAgentOKBody

func (*AddQANMySQLSlowlogAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentOKBody) Validate

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

Validate validates this add QAN my SQL slowlog agent OK body

type AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent

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

	// Slowlog file is rotated at this size if > 0.
	MaxSlowlogFileSize string `json:"max_slowlog_file_size,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"`
}

AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent QANMySQLSlowlogAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent

func (*AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) MarshalBinary

MarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) Validate

Validate validates this add QAN my SQL slowlog agent OK body QAN mysql slowlog agent

type AddQANMySQLSlowlogAgentParams

type AddQANMySQLSlowlogAgentParams struct {

	/*Body*/
	Body AddQANMySQLSlowlogAgentBody

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

AddQANMySQLSlowlogAgentParams contains all the parameters to send to the API endpoint for the add QAN my SQL slowlog agent operation typically these are written to a http.Request

func NewAddQANMySQLSlowlogAgentParams

func NewAddQANMySQLSlowlogAgentParams() *AddQANMySQLSlowlogAgentParams

NewAddQANMySQLSlowlogAgentParams creates a new AddQANMySQLSlowlogAgentParams object with the default values initialized.

func NewAddQANMySQLSlowlogAgentParamsWithContext

func NewAddQANMySQLSlowlogAgentParamsWithContext(ctx context.Context) *AddQANMySQLSlowlogAgentParams

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

func NewAddQANMySQLSlowlogAgentParamsWithHTTPClient

func NewAddQANMySQLSlowlogAgentParamsWithHTTPClient(client *http.Client) *AddQANMySQLSlowlogAgentParams

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

func NewAddQANMySQLSlowlogAgentParamsWithTimeout

func NewAddQANMySQLSlowlogAgentParamsWithTimeout(timeout time.Duration) *AddQANMySQLSlowlogAgentParams

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

func (*AddQANMySQLSlowlogAgentParams) SetBody

SetBody adds the body to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) SetContext

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

SetContext adds the context to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) SetTimeout

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

SetTimeout adds the timeout to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) WithBody

WithBody adds the body to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) WithContext

WithContext adds the context to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) WithTimeout

WithTimeout adds the timeout to the add QAN my SQL slowlog agent params

func (*AddQANMySQLSlowlogAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddQANMySQLSlowlogAgentReader

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

AddQANMySQLSlowlogAgentReader is a Reader for the AddQANMySQLSlowlogAgent structure.

func (*AddQANMySQLSlowlogAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddQANPostgreSQLPgStatementsAgentBody

type AddQANPostgreSQLPgStatementsAgentBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Service identifier.
	ServiceID string `json:"service_id,omitempty"`

	// PostgreSQL username for getting pg stat statements data.
	Username string `json:"username,omitempty"`

	// PostgreSQL password for getting pg stat statements data.
	Password string `json:"password,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"`

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`
}

AddQANPostgreSQLPgStatementsAgentBody add QAN postgre SQL pg statements agent body swagger:model AddQANPostgreSQLPgStatementsAgentBody

func (*AddQANPostgreSQLPgStatementsAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentBody) Validate

Validate validates this add QAN postgre SQL pg statements agent body

type AddQANPostgreSQLPgStatementsAgentDefault

type AddQANPostgreSQLPgStatementsAgentDefault struct {
	Payload *AddQANPostgreSQLPgStatementsAgentDefaultBody
	// contains filtered or unexported fields
}

AddQANPostgreSQLPgStatementsAgentDefault handles this case with default header values.

An unexpected error response

func NewAddQANPostgreSQLPgStatementsAgentDefault

func NewAddQANPostgreSQLPgStatementsAgentDefault(code int) *AddQANPostgreSQLPgStatementsAgentDefault

NewAddQANPostgreSQLPgStatementsAgentDefault creates a AddQANPostgreSQLPgStatementsAgentDefault with default headers values

func (*AddQANPostgreSQLPgStatementsAgentDefault) Code

Code gets the status code for the add QAN postgre SQL pg statements agent default response

func (*AddQANPostgreSQLPgStatementsAgentDefault) Error

func (*AddQANPostgreSQLPgStatementsAgentDefault) GetPayload

type AddQANPostgreSQLPgStatementsAgentDefaultBody

type AddQANPostgreSQLPgStatementsAgentDefaultBody struct {

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

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

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

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

AddQANPostgreSQLPgStatementsAgentDefaultBody add QAN postgre SQL pg statements agent default body swagger:model AddQANPostgreSQLPgStatementsAgentDefaultBody

func (*AddQANPostgreSQLPgStatementsAgentDefaultBody) MarshalBinary

MarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentDefaultBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentDefaultBody) Validate

Validate validates this add QAN postgre SQL pg statements agent default body

type AddQANPostgreSQLPgStatementsAgentOK

type AddQANPostgreSQLPgStatementsAgentOK struct {
	Payload *AddQANPostgreSQLPgStatementsAgentOKBody
}

AddQANPostgreSQLPgStatementsAgentOK handles this case with default header values.

A successful response.

func NewAddQANPostgreSQLPgStatementsAgentOK

func NewAddQANPostgreSQLPgStatementsAgentOK() *AddQANPostgreSQLPgStatementsAgentOK

NewAddQANPostgreSQLPgStatementsAgentOK creates a AddQANPostgreSQLPgStatementsAgentOK with default headers values

func (*AddQANPostgreSQLPgStatementsAgentOK) Error

func (*AddQANPostgreSQLPgStatementsAgentOK) GetPayload

type AddQANPostgreSQLPgStatementsAgentOKBody

type AddQANPostgreSQLPgStatementsAgentOKBody struct {

	// qan postgresql pgstatements agent
	QANPostgresqlPgstatementsAgent *AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent `json:"qan_postgresql_pgstatements_agent,omitempty"`
}

AddQANPostgreSQLPgStatementsAgentOKBody add QAN postgre SQL pg statements agent OK body swagger:model AddQANPostgreSQLPgStatementsAgentOKBody

func (*AddQANPostgreSQLPgStatementsAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentOKBody) Validate

Validate validates this add QAN postgre SQL pg statements agent OK body

type AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent

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

AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent QANPostgreSQLPgStatementsAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent

func (*AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary

MarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate

Validate validates this add QAN postgre SQL pg statements agent OK body QAN postgresql pgstatements agent

type AddQANPostgreSQLPgStatementsAgentParams

type AddQANPostgreSQLPgStatementsAgentParams struct {

	/*Body*/
	Body AddQANPostgreSQLPgStatementsAgentBody

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

AddQANPostgreSQLPgStatementsAgentParams contains all the parameters to send to the API endpoint for the add QAN postgre SQL pg statements agent operation typically these are written to a http.Request

func NewAddQANPostgreSQLPgStatementsAgentParams

func NewAddQANPostgreSQLPgStatementsAgentParams() *AddQANPostgreSQLPgStatementsAgentParams

NewAddQANPostgreSQLPgStatementsAgentParams creates a new AddQANPostgreSQLPgStatementsAgentParams object with the default values initialized.

func NewAddQANPostgreSQLPgStatementsAgentParamsWithContext

func NewAddQANPostgreSQLPgStatementsAgentParamsWithContext(ctx context.Context) *AddQANPostgreSQLPgStatementsAgentParams

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

func NewAddQANPostgreSQLPgStatementsAgentParamsWithHTTPClient

func NewAddQANPostgreSQLPgStatementsAgentParamsWithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatementsAgentParams

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

func NewAddQANPostgreSQLPgStatementsAgentParamsWithTimeout

func NewAddQANPostgreSQLPgStatementsAgentParamsWithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatementsAgentParams

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

func (*AddQANPostgreSQLPgStatementsAgentParams) SetBody

SetBody adds the body to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) SetContext

SetContext adds the context to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) SetTimeout

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

SetTimeout adds the timeout to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) WithBody

WithBody adds the body to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) WithContext

WithContext adds the context to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) WithTimeout

WithTimeout adds the timeout to the add QAN postgre SQL pg statements agent params

func (*AddQANPostgreSQLPgStatementsAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddQANPostgreSQLPgStatementsAgentReader

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

AddQANPostgreSQLPgStatementsAgentReader is a Reader for the AddQANPostgreSQLPgStatementsAgent structure.

func (*AddQANPostgreSQLPgStatementsAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddRDSExporterBody

type AddRDSExporterBody struct {

	// The pmm-agent identifier which runs this instance.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Node identifier.
	NodeID string `json:"node_id,omitempty"`

	// AWS Access Key.
	AWSAccessKey string `json:"aws_access_key,omitempty"`

	// AWS Secret Key.
	AWSSecretKey string `json:"aws_secret_key,omitempty"`

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

	// Skip connection check.
	SkipConnectionCheck bool `json:"skip_connection_check,omitempty"`

	// Disable basic metrics.
	DisableBasicMetrics bool `json:"disable_basic_metrics,omitempty"`

	// Disable enhanced metrics.
	DisableEnhancedMetrics bool `json:"disable_enhanced_metrics,omitempty"`
}

AddRDSExporterBody add RDS exporter body swagger:model AddRDSExporterBody

func (*AddRDSExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRDSExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRDSExporterBody) Validate

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

Validate validates this add RDS exporter body

type AddRDSExporterDefault

type AddRDSExporterDefault struct {
	Payload *AddRDSExporterDefaultBody
	// contains filtered or unexported fields
}

AddRDSExporterDefault handles this case with default header values.

An unexpected error response

func NewAddRDSExporterDefault

func NewAddRDSExporterDefault(code int) *AddRDSExporterDefault

NewAddRDSExporterDefault creates a AddRDSExporterDefault with default headers values

func (*AddRDSExporterDefault) Code

func (o *AddRDSExporterDefault) Code() int

Code gets the status code for the add RDS exporter default response

func (*AddRDSExporterDefault) Error

func (o *AddRDSExporterDefault) Error() string

func (*AddRDSExporterDefault) GetPayload

type AddRDSExporterDefaultBody

type AddRDSExporterDefaultBody struct {

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

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

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

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

AddRDSExporterDefaultBody add RDS exporter default body swagger:model AddRDSExporterDefaultBody

func (*AddRDSExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRDSExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRDSExporterDefaultBody) Validate

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

Validate validates this add RDS exporter default body

type AddRDSExporterOK

type AddRDSExporterOK struct {
	Payload *AddRDSExporterOKBody
}

AddRDSExporterOK handles this case with default header values.

A successful response.

func NewAddRDSExporterOK

func NewAddRDSExporterOK() *AddRDSExporterOK

NewAddRDSExporterOK creates a AddRDSExporterOK with default headers values

func (*AddRDSExporterOK) Error

func (o *AddRDSExporterOK) Error() string

func (*AddRDSExporterOK) GetPayload

func (o *AddRDSExporterOK) GetPayload() *AddRDSExporterOKBody

type AddRDSExporterOKBody

type AddRDSExporterOKBody struct {

	// rds exporter
	RDSExporter *AddRDSExporterOKBodyRDSExporter `json:"rds_exporter,omitempty"`
}

AddRDSExporterOKBody add RDS exporter OK body swagger:model AddRDSExporterOKBody

func (*AddRDSExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRDSExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRDSExporterOKBody) Validate

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

Validate validates this add RDS exporter OK body

type AddRDSExporterOKBodyRDSExporter

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

AddRDSExporterOKBodyRDSExporter RDSExporter runs on Generic or Container Node and exposes RemoteRDS Node metrics. swagger:model AddRDSExporterOKBodyRDSExporter

func (*AddRDSExporterOKBodyRDSExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*AddRDSExporterOKBodyRDSExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddRDSExporterOKBodyRDSExporter) Validate

Validate validates this add RDS exporter OK body RDS exporter

type AddRDSExporterParams

type AddRDSExporterParams struct {

	/*Body*/
	Body AddRDSExporterBody

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

AddRDSExporterParams contains all the parameters to send to the API endpoint for the add RDS exporter operation typically these are written to a http.Request

func NewAddRDSExporterParams

func NewAddRDSExporterParams() *AddRDSExporterParams

NewAddRDSExporterParams creates a new AddRDSExporterParams object with the default values initialized.

func NewAddRDSExporterParamsWithContext

func NewAddRDSExporterParamsWithContext(ctx context.Context) *AddRDSExporterParams

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

func NewAddRDSExporterParamsWithHTTPClient

func NewAddRDSExporterParamsWithHTTPClient(client *http.Client) *AddRDSExporterParams

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

func NewAddRDSExporterParamsWithTimeout

func NewAddRDSExporterParamsWithTimeout(timeout time.Duration) *AddRDSExporterParams

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

func (*AddRDSExporterParams) SetBody

func (o *AddRDSExporterParams) SetBody(body AddRDSExporterBody)

SetBody adds the body to the add RDS exporter params

func (*AddRDSExporterParams) SetContext

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

SetContext adds the context to the add RDS exporter params

func (*AddRDSExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add RDS exporter params

func (*AddRDSExporterParams) SetTimeout

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

SetTimeout adds the timeout to the add RDS exporter params

func (*AddRDSExporterParams) WithBody

WithBody adds the body to the add RDS exporter params

func (*AddRDSExporterParams) WithContext

WithContext adds the context to the add RDS exporter params

func (*AddRDSExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add RDS exporter params

func (*AddRDSExporterParams) WithTimeout

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

WithTimeout adds the timeout to the add RDS exporter params

func (*AddRDSExporterParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddRDSExporterReader

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

AddRDSExporterReader is a Reader for the AddRDSExporter structure.

func (*AddRDSExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeMongoDBExporterBody

type ChangeMongoDBExporterBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeMongoDBExporterParamsBodyCommon `json:"common,omitempty"`
}

ChangeMongoDBExporterBody change mongo DB exporter body swagger:model ChangeMongoDBExporterBody

func (*ChangeMongoDBExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMongoDBExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMongoDBExporterBody) Validate

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

Validate validates this change mongo DB exporter body

type ChangeMongoDBExporterDefault

type ChangeMongoDBExporterDefault struct {
	Payload *ChangeMongoDBExporterDefaultBody
	// contains filtered or unexported fields
}

ChangeMongoDBExporterDefault handles this case with default header values.

An unexpected error response

func NewChangeMongoDBExporterDefault

func NewChangeMongoDBExporterDefault(code int) *ChangeMongoDBExporterDefault

NewChangeMongoDBExporterDefault creates a ChangeMongoDBExporterDefault with default headers values

func (*ChangeMongoDBExporterDefault) Code

Code gets the status code for the change mongo DB exporter default response

func (*ChangeMongoDBExporterDefault) Error

func (*ChangeMongoDBExporterDefault) GetPayload

type ChangeMongoDBExporterDefaultBody

type ChangeMongoDBExporterDefaultBody struct {

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

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

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

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

ChangeMongoDBExporterDefaultBody change mongo DB exporter default body swagger:model ChangeMongoDBExporterDefaultBody

func (*ChangeMongoDBExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMongoDBExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMongoDBExporterDefaultBody) Validate

Validate validates this change mongo DB exporter default body

type ChangeMongoDBExporterOK

type ChangeMongoDBExporterOK struct {
	Payload *ChangeMongoDBExporterOKBody
}

ChangeMongoDBExporterOK handles this case with default header values.

A successful response.

func NewChangeMongoDBExporterOK

func NewChangeMongoDBExporterOK() *ChangeMongoDBExporterOK

NewChangeMongoDBExporterOK creates a ChangeMongoDBExporterOK with default headers values

func (*ChangeMongoDBExporterOK) Error

func (o *ChangeMongoDBExporterOK) Error() string

func (*ChangeMongoDBExporterOK) GetPayload

type ChangeMongoDBExporterOKBody

type ChangeMongoDBExporterOKBody struct {

	// mongodb exporter
	MongodbExporter *ChangeMongoDBExporterOKBodyMongodbExporter `json:"mongodb_exporter,omitempty"`
}

ChangeMongoDBExporterOKBody change mongo DB exporter OK body swagger:model ChangeMongoDBExporterOKBody

func (*ChangeMongoDBExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMongoDBExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMongoDBExporterOKBody) Validate

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

Validate validates this change mongo DB exporter OK body

type ChangeMongoDBExporterOKBodyMongodbExporter

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

ChangeMongoDBExporterOKBodyMongodbExporter MongoDBExporter runs on Generic or Container Node and exposes MongoDB Service metrics. swagger:model ChangeMongoDBExporterOKBodyMongodbExporter

func (*ChangeMongoDBExporterOKBodyMongodbExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMongoDBExporterOKBodyMongodbExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMongoDBExporterOKBodyMongodbExporter) Validate

Validate validates this change mongo DB exporter OK body mongodb exporter

type ChangeMongoDBExporterParams

type ChangeMongoDBExporterParams struct {

	/*Body*/
	Body ChangeMongoDBExporterBody

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

ChangeMongoDBExporterParams contains all the parameters to send to the API endpoint for the change mongo DB exporter operation typically these are written to a http.Request

func NewChangeMongoDBExporterParams

func NewChangeMongoDBExporterParams() *ChangeMongoDBExporterParams

NewChangeMongoDBExporterParams creates a new ChangeMongoDBExporterParams object with the default values initialized.

func NewChangeMongoDBExporterParamsWithContext

func NewChangeMongoDBExporterParamsWithContext(ctx context.Context) *ChangeMongoDBExporterParams

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

func NewChangeMongoDBExporterParamsWithHTTPClient

func NewChangeMongoDBExporterParamsWithHTTPClient(client *http.Client) *ChangeMongoDBExporterParams

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

func NewChangeMongoDBExporterParamsWithTimeout

func NewChangeMongoDBExporterParamsWithTimeout(timeout time.Duration) *ChangeMongoDBExporterParams

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

func (*ChangeMongoDBExporterParams) SetBody

SetBody adds the body to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) SetContext

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

SetContext adds the context to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) SetTimeout

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

SetTimeout adds the timeout to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) WithBody

WithBody adds the body to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) WithContext

WithContext adds the context to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) WithTimeout

WithTimeout adds the timeout to the change mongo DB exporter params

func (*ChangeMongoDBExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeMongoDBExporterParamsBodyCommon

type ChangeMongoDBExporterParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeMongoDBExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeMongoDBExporterParamsBodyCommon

func (*ChangeMongoDBExporterParamsBodyCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMongoDBExporterParamsBodyCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMongoDBExporterParamsBodyCommon) Validate

Validate validates this change mongo DB exporter params body common

type ChangeMongoDBExporterReader

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

ChangeMongoDBExporterReader is a Reader for the ChangeMongoDBExporter structure.

func (*ChangeMongoDBExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeMySQLdExporterBody

type ChangeMySQLdExporterBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeMySQLdExporterParamsBodyCommon `json:"common,omitempty"`
}

ChangeMySQLdExporterBody change my s q ld exporter body swagger:model ChangeMySQLdExporterBody

func (*ChangeMySQLdExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMySQLdExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMySQLdExporterBody) Validate

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

Validate validates this change my s q ld exporter body

type ChangeMySQLdExporterDefault

type ChangeMySQLdExporterDefault struct {
	Payload *ChangeMySQLdExporterDefaultBody
	// contains filtered or unexported fields
}

ChangeMySQLdExporterDefault handles this case with default header values.

An unexpected error response

func NewChangeMySQLdExporterDefault

func NewChangeMySQLdExporterDefault(code int) *ChangeMySQLdExporterDefault

NewChangeMySQLdExporterDefault creates a ChangeMySQLdExporterDefault with default headers values

func (*ChangeMySQLdExporterDefault) Code

func (o *ChangeMySQLdExporterDefault) Code() int

Code gets the status code for the change my s q ld exporter default response

func (*ChangeMySQLdExporterDefault) Error

func (*ChangeMySQLdExporterDefault) GetPayload

type ChangeMySQLdExporterDefaultBody

type ChangeMySQLdExporterDefaultBody struct {

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

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

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

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

ChangeMySQLdExporterDefaultBody change my s q ld exporter default body swagger:model ChangeMySQLdExporterDefaultBody

func (*ChangeMySQLdExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMySQLdExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMySQLdExporterDefaultBody) Validate

Validate validates this change my s q ld exporter default body

type ChangeMySQLdExporterOK

type ChangeMySQLdExporterOK struct {
	Payload *ChangeMySQLdExporterOKBody
}

ChangeMySQLdExporterOK handles this case with default header values.

A successful response.

func NewChangeMySQLdExporterOK

func NewChangeMySQLdExporterOK() *ChangeMySQLdExporterOK

NewChangeMySQLdExporterOK creates a ChangeMySQLdExporterOK with default headers values

func (*ChangeMySQLdExporterOK) Error

func (o *ChangeMySQLdExporterOK) Error() string

func (*ChangeMySQLdExporterOK) GetPayload

type ChangeMySQLdExporterOKBody

type ChangeMySQLdExporterOKBody struct {

	// mysqld exporter
	MysqldExporter *ChangeMySQLdExporterOKBodyMysqldExporter `json:"mysqld_exporter,omitempty"`
}

ChangeMySQLdExporterOKBody change my s q ld exporter OK body swagger:model ChangeMySQLdExporterOKBody

func (*ChangeMySQLdExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMySQLdExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMySQLdExporterOKBody) Validate

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

Validate validates this change my s q ld exporter OK body

type ChangeMySQLdExporterOKBodyMysqldExporter

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

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

ChangeMySQLdExporterOKBodyMysqldExporter MySQLdExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model ChangeMySQLdExporterOKBodyMysqldExporter

func (*ChangeMySQLdExporterOKBodyMysqldExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMySQLdExporterOKBodyMysqldExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMySQLdExporterOKBodyMysqldExporter) Validate

Validate validates this change my s q ld exporter OK body mysqld exporter

type ChangeMySQLdExporterParams

type ChangeMySQLdExporterParams struct {

	/*Body*/
	Body ChangeMySQLdExporterBody

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

ChangeMySQLdExporterParams contains all the parameters to send to the API endpoint for the change my s q ld exporter operation typically these are written to a http.Request

func NewChangeMySQLdExporterParams

func NewChangeMySQLdExporterParams() *ChangeMySQLdExporterParams

NewChangeMySQLdExporterParams creates a new ChangeMySQLdExporterParams object with the default values initialized.

func NewChangeMySQLdExporterParamsWithContext

func NewChangeMySQLdExporterParamsWithContext(ctx context.Context) *ChangeMySQLdExporterParams

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

func NewChangeMySQLdExporterParamsWithHTTPClient

func NewChangeMySQLdExporterParamsWithHTTPClient(client *http.Client) *ChangeMySQLdExporterParams

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

func NewChangeMySQLdExporterParamsWithTimeout

func NewChangeMySQLdExporterParamsWithTimeout(timeout time.Duration) *ChangeMySQLdExporterParams

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

func (*ChangeMySQLdExporterParams) SetBody

SetBody adds the body to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) SetContext

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

SetContext adds the context to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) SetTimeout

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

SetTimeout adds the timeout to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) WithBody

WithBody adds the body to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) WithContext

WithContext adds the context to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) WithTimeout

WithTimeout adds the timeout to the change my s q ld exporter params

func (*ChangeMySQLdExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeMySQLdExporterParamsBodyCommon

type ChangeMySQLdExporterParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeMySQLdExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeMySQLdExporterParamsBodyCommon

func (*ChangeMySQLdExporterParamsBodyCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeMySQLdExporterParamsBodyCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeMySQLdExporterParamsBodyCommon) Validate

Validate validates this change my s q ld exporter params body common

type ChangeMySQLdExporterReader

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

ChangeMySQLdExporterReader is a Reader for the ChangeMySQLdExporter structure.

func (*ChangeMySQLdExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeNodeExporterBody

type ChangeNodeExporterBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeNodeExporterParamsBodyCommon `json:"common,omitempty"`
}

ChangeNodeExporterBody change node exporter body swagger:model ChangeNodeExporterBody

func (*ChangeNodeExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeNodeExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeNodeExporterBody) Validate

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

Validate validates this change node exporter body

type ChangeNodeExporterDefault

type ChangeNodeExporterDefault struct {
	Payload *ChangeNodeExporterDefaultBody
	// contains filtered or unexported fields
}

ChangeNodeExporterDefault handles this case with default header values.

An unexpected error response

func NewChangeNodeExporterDefault

func NewChangeNodeExporterDefault(code int) *ChangeNodeExporterDefault

NewChangeNodeExporterDefault creates a ChangeNodeExporterDefault with default headers values

func (*ChangeNodeExporterDefault) Code

func (o *ChangeNodeExporterDefault) Code() int

Code gets the status code for the change node exporter default response

func (*ChangeNodeExporterDefault) Error

func (o *ChangeNodeExporterDefault) Error() string

func (*ChangeNodeExporterDefault) GetPayload

type ChangeNodeExporterDefaultBody

type ChangeNodeExporterDefaultBody struct {

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

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

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

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

ChangeNodeExporterDefaultBody change node exporter default body swagger:model ChangeNodeExporterDefaultBody

func (*ChangeNodeExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeNodeExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeNodeExporterDefaultBody) Validate

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

Validate validates this change node exporter default body

type ChangeNodeExporterOK

type ChangeNodeExporterOK struct {
	Payload *ChangeNodeExporterOKBody
}

ChangeNodeExporterOK handles this case with default header values.

A successful response.

func NewChangeNodeExporterOK

func NewChangeNodeExporterOK() *ChangeNodeExporterOK

NewChangeNodeExporterOK creates a ChangeNodeExporterOK with default headers values

func (*ChangeNodeExporterOK) Error

func (o *ChangeNodeExporterOK) Error() string

func (*ChangeNodeExporterOK) GetPayload

type ChangeNodeExporterOKBody

type ChangeNodeExporterOKBody struct {

	// node exporter
	NodeExporter *ChangeNodeExporterOKBodyNodeExporter `json:"node_exporter,omitempty"`
}

ChangeNodeExporterOKBody change node exporter OK body swagger:model ChangeNodeExporterOKBody

func (*ChangeNodeExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeNodeExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeNodeExporterOKBody) Validate

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

Validate validates this change node exporter OK body

type ChangeNodeExporterOKBodyNodeExporter

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

ChangeNodeExporterOKBodyNodeExporter NodeExporter runs on Generic or Container Node and exposes its metrics. swagger:model ChangeNodeExporterOKBodyNodeExporter

func (*ChangeNodeExporterOKBodyNodeExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeNodeExporterOKBodyNodeExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeNodeExporterOKBodyNodeExporter) Validate

Validate validates this change node exporter OK body node exporter

type ChangeNodeExporterParams

type ChangeNodeExporterParams struct {

	/*Body*/
	Body ChangeNodeExporterBody

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

ChangeNodeExporterParams contains all the parameters to send to the API endpoint for the change node exporter operation typically these are written to a http.Request

func NewChangeNodeExporterParams

func NewChangeNodeExporterParams() *ChangeNodeExporterParams

NewChangeNodeExporterParams creates a new ChangeNodeExporterParams object with the default values initialized.

func NewChangeNodeExporterParamsWithContext

func NewChangeNodeExporterParamsWithContext(ctx context.Context) *ChangeNodeExporterParams

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

func NewChangeNodeExporterParamsWithHTTPClient

func NewChangeNodeExporterParamsWithHTTPClient(client *http.Client) *ChangeNodeExporterParams

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

func NewChangeNodeExporterParamsWithTimeout

func NewChangeNodeExporterParamsWithTimeout(timeout time.Duration) *ChangeNodeExporterParams

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

func (*ChangeNodeExporterParams) SetBody

SetBody adds the body to the change node exporter params

func (*ChangeNodeExporterParams) SetContext

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

SetContext adds the context to the change node exporter params

func (*ChangeNodeExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change node exporter params

func (*ChangeNodeExporterParams) SetTimeout

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

SetTimeout adds the timeout to the change node exporter params

func (*ChangeNodeExporterParams) WithBody

WithBody adds the body to the change node exporter params

func (*ChangeNodeExporterParams) WithContext

WithContext adds the context to the change node exporter params

func (*ChangeNodeExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change node exporter params

func (*ChangeNodeExporterParams) WithTimeout

WithTimeout adds the timeout to the change node exporter params

func (*ChangeNodeExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeNodeExporterParamsBodyCommon

type ChangeNodeExporterParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeNodeExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeNodeExporterParamsBodyCommon

func (*ChangeNodeExporterParamsBodyCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeNodeExporterParamsBodyCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeNodeExporterParamsBodyCommon) Validate

Validate validates this change node exporter params body common

type ChangeNodeExporterReader

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

ChangeNodeExporterReader is a Reader for the ChangeNodeExporter structure.

func (*ChangeNodeExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangePostgresExporterBody

type ChangePostgresExporterBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangePostgresExporterParamsBodyCommon `json:"common,omitempty"`
}

ChangePostgresExporterBody change postgres exporter body swagger:model ChangePostgresExporterBody

func (*ChangePostgresExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangePostgresExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangePostgresExporterBody) Validate

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

Validate validates this change postgres exporter body

type ChangePostgresExporterDefault

type ChangePostgresExporterDefault struct {
	Payload *ChangePostgresExporterDefaultBody
	// contains filtered or unexported fields
}

ChangePostgresExporterDefault handles this case with default header values.

An unexpected error response

func NewChangePostgresExporterDefault

func NewChangePostgresExporterDefault(code int) *ChangePostgresExporterDefault

NewChangePostgresExporterDefault creates a ChangePostgresExporterDefault with default headers values

func (*ChangePostgresExporterDefault) Code

Code gets the status code for the change postgres exporter default response

func (*ChangePostgresExporterDefault) Error

func (*ChangePostgresExporterDefault) GetPayload

type ChangePostgresExporterDefaultBody

type ChangePostgresExporterDefaultBody struct {

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

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

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

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

ChangePostgresExporterDefaultBody change postgres exporter default body swagger:model ChangePostgresExporterDefaultBody

func (*ChangePostgresExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangePostgresExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangePostgresExporterDefaultBody) Validate

Validate validates this change postgres exporter default body

type ChangePostgresExporterOK

type ChangePostgresExporterOK struct {
	Payload *ChangePostgresExporterOKBody
}

ChangePostgresExporterOK handles this case with default header values.

A successful response.

func NewChangePostgresExporterOK

func NewChangePostgresExporterOK() *ChangePostgresExporterOK

NewChangePostgresExporterOK creates a ChangePostgresExporterOK with default headers values

func (*ChangePostgresExporterOK) Error

func (o *ChangePostgresExporterOK) Error() string

func (*ChangePostgresExporterOK) GetPayload

type ChangePostgresExporterOKBody

type ChangePostgresExporterOKBody struct {

	// postgres exporter
	PostgresExporter *ChangePostgresExporterOKBodyPostgresExporter `json:"postgres_exporter,omitempty"`
}

ChangePostgresExporterOKBody change postgres exporter OK body swagger:model ChangePostgresExporterOKBody

func (*ChangePostgresExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangePostgresExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangePostgresExporterOKBody) Validate

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

Validate validates this change postgres exporter OK body

type ChangePostgresExporterOKBodyPostgresExporter

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

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

ChangePostgresExporterOKBodyPostgresExporter PostgresExporter runs on Generic or Container Node and exposes PostgreSQL Service metrics. swagger:model ChangePostgresExporterOKBodyPostgresExporter

func (*ChangePostgresExporterOKBodyPostgresExporter) MarshalBinary

MarshalBinary interface implementation

func (*ChangePostgresExporterOKBodyPostgresExporter) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangePostgresExporterOKBodyPostgresExporter) Validate

Validate validates this change postgres exporter OK body postgres exporter

type ChangePostgresExporterParams

type ChangePostgresExporterParams struct {

	/*Body*/
	Body ChangePostgresExporterBody

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

ChangePostgresExporterParams contains all the parameters to send to the API endpoint for the change postgres exporter operation typically these are written to a http.Request

func NewChangePostgresExporterParams

func NewChangePostgresExporterParams() *ChangePostgresExporterParams

NewChangePostgresExporterParams creates a new ChangePostgresExporterParams object with the default values initialized.

func NewChangePostgresExporterParamsWithContext

func NewChangePostgresExporterParamsWithContext(ctx context.Context) *ChangePostgresExporterParams

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

func NewChangePostgresExporterParamsWithHTTPClient

func NewChangePostgresExporterParamsWithHTTPClient(client *http.Client) *ChangePostgresExporterParams

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

func NewChangePostgresExporterParamsWithTimeout

func NewChangePostgresExporterParamsWithTimeout(timeout time.Duration) *ChangePostgresExporterParams

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

func (*ChangePostgresExporterParams) SetBody

SetBody adds the body to the change postgres exporter params

func (*ChangePostgresExporterParams) SetContext

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

SetContext adds the context to the change postgres exporter params

func (*ChangePostgresExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change postgres exporter params

func (*ChangePostgresExporterParams) SetTimeout

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

SetTimeout adds the timeout to the change postgres exporter params

func (*ChangePostgresExporterParams) WithBody

WithBody adds the body to the change postgres exporter params

func (*ChangePostgresExporterParams) WithContext

WithContext adds the context to the change postgres exporter params

func (*ChangePostgresExporterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change postgres exporter params

func (*ChangePostgresExporterParams) WithTimeout

WithTimeout adds the timeout to the change postgres exporter params

func (*ChangePostgresExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangePostgresExporterParamsBodyCommon

type ChangePostgresExporterParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangePostgresExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangePostgresExporterParamsBodyCommon

func (*ChangePostgresExporterParamsBodyCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangePostgresExporterParamsBodyCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangePostgresExporterParamsBodyCommon) Validate

Validate validates this change postgres exporter params body common

type ChangePostgresExporterReader

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

ChangePostgresExporterReader is a Reader for the ChangePostgresExporter structure.

func (*ChangePostgresExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeProxySQLExporterBody

type ChangeProxySQLExporterBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeProxySQLExporterParamsBodyCommon `json:"common,omitempty"`
}

ChangeProxySQLExporterBody change proxy SQL exporter body swagger:model ChangeProxySQLExporterBody

func (*ChangeProxySQLExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeProxySQLExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeProxySQLExporterBody) Validate

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

Validate validates this change proxy SQL exporter body

type ChangeProxySQLExporterDefault

type ChangeProxySQLExporterDefault struct {
	Payload *ChangeProxySQLExporterDefaultBody
	// contains filtered or unexported fields
}

ChangeProxySQLExporterDefault handles this case with default header values.

An unexpected error response

func NewChangeProxySQLExporterDefault

func NewChangeProxySQLExporterDefault(code int) *ChangeProxySQLExporterDefault

NewChangeProxySQLExporterDefault creates a ChangeProxySQLExporterDefault with default headers values

func (*ChangeProxySQLExporterDefault) Code

Code gets the status code for the change proxy SQL exporter default response

func (*ChangeProxySQLExporterDefault) Error

func (*ChangeProxySQLExporterDefault) GetPayload

type ChangeProxySQLExporterDefaultBody

type ChangeProxySQLExporterDefaultBody struct {

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

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

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

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

ChangeProxySQLExporterDefaultBody change proxy SQL exporter default body swagger:model ChangeProxySQLExporterDefaultBody

func (*ChangeProxySQLExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeProxySQLExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeProxySQLExporterDefaultBody) Validate

Validate validates this change proxy SQL exporter default body

type ChangeProxySQLExporterOK

type ChangeProxySQLExporterOK struct {
	Payload *ChangeProxySQLExporterOKBody
}

ChangeProxySQLExporterOK handles this case with default header values.

A successful response.

func NewChangeProxySQLExporterOK

func NewChangeProxySQLExporterOK() *ChangeProxySQLExporterOK

NewChangeProxySQLExporterOK creates a ChangeProxySQLExporterOK with default headers values

func (*ChangeProxySQLExporterOK) Error

func (o *ChangeProxySQLExporterOK) Error() string

func (*ChangeProxySQLExporterOK) GetPayload

type ChangeProxySQLExporterOKBody

type ChangeProxySQLExporterOKBody struct {

	// proxysql exporter
	ProxysqlExporter *ChangeProxySQLExporterOKBodyProxysqlExporter `json:"proxysql_exporter,omitempty"`
}

ChangeProxySQLExporterOKBody change proxy SQL exporter OK body swagger:model ChangeProxySQLExporterOKBody

func (*ChangeProxySQLExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeProxySQLExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeProxySQLExporterOKBody) Validate

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

Validate validates this change proxy SQL exporter OK body

type ChangeProxySQLExporterOKBodyProxysqlExporter

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

ChangeProxySQLExporterOKBodyProxysqlExporter ProxySQLExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model ChangeProxySQLExporterOKBodyProxysqlExporter

func (*ChangeProxySQLExporterOKBodyProxysqlExporter) MarshalBinary

MarshalBinary interface implementation

func (*ChangeProxySQLExporterOKBodyProxysqlExporter) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeProxySQLExporterOKBodyProxysqlExporter) Validate

Validate validates this change proxy SQL exporter OK body proxysql exporter

type ChangeProxySQLExporterParams

type ChangeProxySQLExporterParams struct {

	/*Body*/
	Body ChangeProxySQLExporterBody

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

ChangeProxySQLExporterParams contains all the parameters to send to the API endpoint for the change proxy SQL exporter operation typically these are written to a http.Request

func NewChangeProxySQLExporterParams

func NewChangeProxySQLExporterParams() *ChangeProxySQLExporterParams

NewChangeProxySQLExporterParams creates a new ChangeProxySQLExporterParams object with the default values initialized.

func NewChangeProxySQLExporterParamsWithContext

func NewChangeProxySQLExporterParamsWithContext(ctx context.Context) *ChangeProxySQLExporterParams

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

func NewChangeProxySQLExporterParamsWithHTTPClient

func NewChangeProxySQLExporterParamsWithHTTPClient(client *http.Client) *ChangeProxySQLExporterParams

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

func NewChangeProxySQLExporterParamsWithTimeout

func NewChangeProxySQLExporterParamsWithTimeout(timeout time.Duration) *ChangeProxySQLExporterParams

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

func (*ChangeProxySQLExporterParams) SetBody

SetBody adds the body to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) SetContext

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

SetContext adds the context to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) SetTimeout

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

SetTimeout adds the timeout to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) WithBody

WithBody adds the body to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) WithContext

WithContext adds the context to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) WithTimeout

WithTimeout adds the timeout to the change proxy SQL exporter params

func (*ChangeProxySQLExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeProxySQLExporterParamsBodyCommon

type ChangeProxySQLExporterParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeProxySQLExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeProxySQLExporterParamsBodyCommon

func (*ChangeProxySQLExporterParamsBodyCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeProxySQLExporterParamsBodyCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeProxySQLExporterParamsBodyCommon) Validate

Validate validates this change proxy SQL exporter params body common

type ChangeProxySQLExporterReader

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

ChangeProxySQLExporterReader is a Reader for the ChangeProxySQLExporter structure.

func (*ChangeProxySQLExporterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeQANMongoDBProfilerAgentBody

type ChangeQANMongoDBProfilerAgentBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeQANMongoDBProfilerAgentParamsBodyCommon `json:"common,omitempty"`
}

ChangeQANMongoDBProfilerAgentBody change QAN mongo DB profiler agent body swagger:model ChangeQANMongoDBProfilerAgentBody

func (*ChangeQANMongoDBProfilerAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentBody) Validate

Validate validates this change QAN mongo DB profiler agent body

type ChangeQANMongoDBProfilerAgentDefault

type ChangeQANMongoDBProfilerAgentDefault struct {
	Payload *ChangeQANMongoDBProfilerAgentDefaultBody
	// contains filtered or unexported fields
}

ChangeQANMongoDBProfilerAgentDefault handles this case with default header values.

An unexpected error response

func NewChangeQANMongoDBProfilerAgentDefault

func NewChangeQANMongoDBProfilerAgentDefault(code int) *ChangeQANMongoDBProfilerAgentDefault

NewChangeQANMongoDBProfilerAgentDefault creates a ChangeQANMongoDBProfilerAgentDefault with default headers values

func (*ChangeQANMongoDBProfilerAgentDefault) Code

Code gets the status code for the change QAN mongo DB profiler agent default response

func (*ChangeQANMongoDBProfilerAgentDefault) Error

func (*ChangeQANMongoDBProfilerAgentDefault) GetPayload

type ChangeQANMongoDBProfilerAgentDefaultBody

type ChangeQANMongoDBProfilerAgentDefaultBody struct {

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

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

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

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

ChangeQANMongoDBProfilerAgentDefaultBody change QAN mongo DB profiler agent default body swagger:model ChangeQANMongoDBProfilerAgentDefaultBody

func (*ChangeQANMongoDBProfilerAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentDefaultBody) Validate

Validate validates this change QAN mongo DB profiler agent default body

type ChangeQANMongoDBProfilerAgentOK

type ChangeQANMongoDBProfilerAgentOK struct {
	Payload *ChangeQANMongoDBProfilerAgentOKBody
}

ChangeQANMongoDBProfilerAgentOK handles this case with default header values.

A successful response.

func NewChangeQANMongoDBProfilerAgentOK

func NewChangeQANMongoDBProfilerAgentOK() *ChangeQANMongoDBProfilerAgentOK

NewChangeQANMongoDBProfilerAgentOK creates a ChangeQANMongoDBProfilerAgentOK with default headers values

func (*ChangeQANMongoDBProfilerAgentOK) Error

func (*ChangeQANMongoDBProfilerAgentOK) GetPayload

type ChangeQANMongoDBProfilerAgentOKBody

type ChangeQANMongoDBProfilerAgentOKBody struct {

	// qan mongodb profiler agent
	QANMongodbProfilerAgent *ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent `json:"qan_mongodb_profiler_agent,omitempty"`
}

ChangeQANMongoDBProfilerAgentOKBody change QAN mongo DB profiler agent OK body swagger:model ChangeQANMongoDBProfilerAgentOKBody

func (*ChangeQANMongoDBProfilerAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentOKBody) Validate

Validate validates this change QAN mongo DB profiler agent OK body

type ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent

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

	// MongoDB username for getting profiler 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"`
}

ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent QANMongoDBProfilerAgent runs within pmm-agent and sends MongoDB Query Analytics data to the PMM Server. swagger:model ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent

func (*ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) Validate

Validate validates this change QAN mongo DB profiler agent OK body QAN mongodb profiler agent

type ChangeQANMongoDBProfilerAgentParams

type ChangeQANMongoDBProfilerAgentParams struct {

	/*Body*/
	Body ChangeQANMongoDBProfilerAgentBody

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

ChangeQANMongoDBProfilerAgentParams contains all the parameters to send to the API endpoint for the change QAN mongo DB profiler agent operation typically these are written to a http.Request

func NewChangeQANMongoDBProfilerAgentParams

func NewChangeQANMongoDBProfilerAgentParams() *ChangeQANMongoDBProfilerAgentParams

NewChangeQANMongoDBProfilerAgentParams creates a new ChangeQANMongoDBProfilerAgentParams object with the default values initialized.

func NewChangeQANMongoDBProfilerAgentParamsWithContext

func NewChangeQANMongoDBProfilerAgentParamsWithContext(ctx context.Context) *ChangeQANMongoDBProfilerAgentParams

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

func NewChangeQANMongoDBProfilerAgentParamsWithHTTPClient

func NewChangeQANMongoDBProfilerAgentParamsWithHTTPClient(client *http.Client) *ChangeQANMongoDBProfilerAgentParams

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

func NewChangeQANMongoDBProfilerAgentParamsWithTimeout

func NewChangeQANMongoDBProfilerAgentParamsWithTimeout(timeout time.Duration) *ChangeQANMongoDBProfilerAgentParams

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

func (*ChangeQANMongoDBProfilerAgentParams) SetBody

SetBody adds the body to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) SetContext

SetContext adds the context to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) SetTimeout

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

SetTimeout adds the timeout to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) WithBody

WithBody adds the body to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) WithContext

WithContext adds the context to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) WithTimeout

WithTimeout adds the timeout to the change QAN mongo DB profiler agent params

func (*ChangeQANMongoDBProfilerAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeQANMongoDBProfilerAgentParamsBodyCommon

type ChangeQANMongoDBProfilerAgentParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeQANMongoDBProfilerAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANMongoDBProfilerAgentParamsBodyCommon

func (*ChangeQANMongoDBProfilerAgentParamsBodyCommon) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentParamsBodyCommon) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANMongoDBProfilerAgentParamsBodyCommon) Validate

Validate validates this change QAN mongo DB profiler agent params body common

type ChangeQANMongoDBProfilerAgentReader

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

ChangeQANMongoDBProfilerAgentReader is a Reader for the ChangeQANMongoDBProfilerAgent structure.

func (*ChangeQANMongoDBProfilerAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeQANMySQLPerfSchemaAgentBody

type ChangeQANMySQLPerfSchemaAgentBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeQANMySQLPerfSchemaAgentParamsBodyCommon `json:"common,omitempty"`
}

ChangeQANMySQLPerfSchemaAgentBody change QAN my SQL perf schema agent body swagger:model ChangeQANMySQLPerfSchemaAgentBody

func (*ChangeQANMySQLPerfSchemaAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentBody) Validate

Validate validates this change QAN my SQL perf schema agent body

type ChangeQANMySQLPerfSchemaAgentDefault

type ChangeQANMySQLPerfSchemaAgentDefault struct {
	Payload *ChangeQANMySQLPerfSchemaAgentDefaultBody
	// contains filtered or unexported fields
}

ChangeQANMySQLPerfSchemaAgentDefault handles this case with default header values.

An unexpected error response

func NewChangeQANMySQLPerfSchemaAgentDefault

func NewChangeQANMySQLPerfSchemaAgentDefault(code int) *ChangeQANMySQLPerfSchemaAgentDefault

NewChangeQANMySQLPerfSchemaAgentDefault creates a ChangeQANMySQLPerfSchemaAgentDefault with default headers values

func (*ChangeQANMySQLPerfSchemaAgentDefault) Code

Code gets the status code for the change QAN my SQL perf schema agent default response

func (*ChangeQANMySQLPerfSchemaAgentDefault) Error

func (*ChangeQANMySQLPerfSchemaAgentDefault) GetPayload

type ChangeQANMySQLPerfSchemaAgentDefaultBody

type ChangeQANMySQLPerfSchemaAgentDefaultBody struct {

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

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

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

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

ChangeQANMySQLPerfSchemaAgentDefaultBody change QAN my SQL perf schema agent default body swagger:model ChangeQANMySQLPerfSchemaAgentDefaultBody

func (*ChangeQANMySQLPerfSchemaAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentDefaultBody) Validate

Validate validates this change QAN my SQL perf schema agent default body

type ChangeQANMySQLPerfSchemaAgentOK

type ChangeQANMySQLPerfSchemaAgentOK struct {
	Payload *ChangeQANMySQLPerfSchemaAgentOKBody
}

ChangeQANMySQLPerfSchemaAgentOK handles this case with default header values.

A successful response.

func NewChangeQANMySQLPerfSchemaAgentOK

func NewChangeQANMySQLPerfSchemaAgentOK() *ChangeQANMySQLPerfSchemaAgentOK

NewChangeQANMySQLPerfSchemaAgentOK creates a ChangeQANMySQLPerfSchemaAgentOK with default headers values

func (*ChangeQANMySQLPerfSchemaAgentOK) Error

func (*ChangeQANMySQLPerfSchemaAgentOK) GetPayload

type ChangeQANMySQLPerfSchemaAgentOKBody

type ChangeQANMySQLPerfSchemaAgentOKBody struct {

	// qan mysql perfschema agent
	QANMysqlPerfschemaAgent *ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent `json:"qan_mysql_perfschema_agent,omitempty"`
}

ChangeQANMySQLPerfSchemaAgentOKBody change QAN my SQL perf schema agent OK body swagger:model ChangeQANMySQLPerfSchemaAgentOKBody

func (*ChangeQANMySQLPerfSchemaAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentOKBody) Validate

Validate validates this change QAN my SQL perf schema agent OK body

type ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent

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

ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent QANMySQLPerfSchemaAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent

func (*ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) Validate

Validate validates this change QAN my SQL perf schema agent OK body QAN mysql perfschema agent

type ChangeQANMySQLPerfSchemaAgentParams

type ChangeQANMySQLPerfSchemaAgentParams struct {

	/*Body*/
	Body ChangeQANMySQLPerfSchemaAgentBody

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

ChangeQANMySQLPerfSchemaAgentParams contains all the parameters to send to the API endpoint for the change QAN my SQL perf schema agent operation typically these are written to a http.Request

func NewChangeQANMySQLPerfSchemaAgentParams

func NewChangeQANMySQLPerfSchemaAgentParams() *ChangeQANMySQLPerfSchemaAgentParams

NewChangeQANMySQLPerfSchemaAgentParams creates a new ChangeQANMySQLPerfSchemaAgentParams object with the default values initialized.

func NewChangeQANMySQLPerfSchemaAgentParamsWithContext

func NewChangeQANMySQLPerfSchemaAgentParamsWithContext(ctx context.Context) *ChangeQANMySQLPerfSchemaAgentParams

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

func NewChangeQANMySQLPerfSchemaAgentParamsWithHTTPClient

func NewChangeQANMySQLPerfSchemaAgentParamsWithHTTPClient(client *http.Client) *ChangeQANMySQLPerfSchemaAgentParams

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

func NewChangeQANMySQLPerfSchemaAgentParamsWithTimeout

func NewChangeQANMySQLPerfSchemaAgentParamsWithTimeout(timeout time.Duration) *ChangeQANMySQLPerfSchemaAgentParams

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

func (*ChangeQANMySQLPerfSchemaAgentParams) SetBody

SetBody adds the body to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) SetContext

SetContext adds the context to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) SetTimeout

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

SetTimeout adds the timeout to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) WithBody

WithBody adds the body to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) WithContext

WithContext adds the context to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) WithTimeout

WithTimeout adds the timeout to the change QAN my SQL perf schema agent params

func (*ChangeQANMySQLPerfSchemaAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeQANMySQLPerfSchemaAgentParamsBodyCommon

type ChangeQANMySQLPerfSchemaAgentParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeQANMySQLPerfSchemaAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANMySQLPerfSchemaAgentParamsBodyCommon

func (*ChangeQANMySQLPerfSchemaAgentParamsBodyCommon) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentParamsBodyCommon) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANMySQLPerfSchemaAgentParamsBodyCommon) Validate

Validate validates this change QAN my SQL perf schema agent params body common

type ChangeQANMySQLPerfSchemaAgentReader

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

ChangeQANMySQLPerfSchemaAgentReader is a Reader for the ChangeQANMySQLPerfSchemaAgent structure.

func (*ChangeQANMySQLPerfSchemaAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeQANMySQLSlowlogAgentBody

type ChangeQANMySQLSlowlogAgentBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeQANMySQLSlowlogAgentParamsBodyCommon `json:"common,omitempty"`
}

ChangeQANMySQLSlowlogAgentBody change QAN my SQL slowlog agent body swagger:model ChangeQANMySQLSlowlogAgentBody

func (*ChangeQANMySQLSlowlogAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentBody) Validate

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

Validate validates this change QAN my SQL slowlog agent body

type ChangeQANMySQLSlowlogAgentDefault

type ChangeQANMySQLSlowlogAgentDefault struct {
	Payload *ChangeQANMySQLSlowlogAgentDefaultBody
	// contains filtered or unexported fields
}

ChangeQANMySQLSlowlogAgentDefault handles this case with default header values.

An unexpected error response

func NewChangeQANMySQLSlowlogAgentDefault

func NewChangeQANMySQLSlowlogAgentDefault(code int) *ChangeQANMySQLSlowlogAgentDefault

NewChangeQANMySQLSlowlogAgentDefault creates a ChangeQANMySQLSlowlogAgentDefault with default headers values

func (*ChangeQANMySQLSlowlogAgentDefault) Code

Code gets the status code for the change QAN my SQL slowlog agent default response

func (*ChangeQANMySQLSlowlogAgentDefault) Error

func (*ChangeQANMySQLSlowlogAgentDefault) GetPayload

type ChangeQANMySQLSlowlogAgentDefaultBody

type ChangeQANMySQLSlowlogAgentDefaultBody struct {

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

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

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

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

ChangeQANMySQLSlowlogAgentDefaultBody change QAN my SQL slowlog agent default body swagger:model ChangeQANMySQLSlowlogAgentDefaultBody

func (*ChangeQANMySQLSlowlogAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentDefaultBody) Validate

Validate validates this change QAN my SQL slowlog agent default body

type ChangeQANMySQLSlowlogAgentOK

type ChangeQANMySQLSlowlogAgentOK struct {
	Payload *ChangeQANMySQLSlowlogAgentOKBody
}

ChangeQANMySQLSlowlogAgentOK handles this case with default header values.

A successful response.

func NewChangeQANMySQLSlowlogAgentOK

func NewChangeQANMySQLSlowlogAgentOK() *ChangeQANMySQLSlowlogAgentOK

NewChangeQANMySQLSlowlogAgentOK creates a ChangeQANMySQLSlowlogAgentOK with default headers values

func (*ChangeQANMySQLSlowlogAgentOK) Error

func (*ChangeQANMySQLSlowlogAgentOK) GetPayload

type ChangeQANMySQLSlowlogAgentOKBody

type ChangeQANMySQLSlowlogAgentOKBody struct {

	// qan mysql slowlog agent
	QANMysqlSlowlogAgent *ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent `json:"qan_mysql_slowlog_agent,omitempty"`
}

ChangeQANMySQLSlowlogAgentOKBody change QAN my SQL slowlog agent OK body swagger:model ChangeQANMySQLSlowlogAgentOKBody

func (*ChangeQANMySQLSlowlogAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentOKBody) Validate

Validate validates this change QAN my SQL slowlog agent OK body

type ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent

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

	// Slowlog file is rotated at this size if > 0.
	MaxSlowlogFileSize string `json:"max_slowlog_file_size,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"`
}

ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent QANMySQLSlowlogAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent

func (*ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) Validate

Validate validates this change QAN my SQL slowlog agent OK body QAN mysql slowlog agent

type ChangeQANMySQLSlowlogAgentParams

type ChangeQANMySQLSlowlogAgentParams struct {

	/*Body*/
	Body ChangeQANMySQLSlowlogAgentBody

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

ChangeQANMySQLSlowlogAgentParams contains all the parameters to send to the API endpoint for the change QAN my SQL slowlog agent operation typically these are written to a http.Request

func NewChangeQANMySQLSlowlogAgentParams

func NewChangeQANMySQLSlowlogAgentParams() *ChangeQANMySQLSlowlogAgentParams

NewChangeQANMySQLSlowlogAgentParams creates a new ChangeQANMySQLSlowlogAgentParams object with the default values initialized.

func NewChangeQANMySQLSlowlogAgentParamsWithContext

func NewChangeQANMySQLSlowlogAgentParamsWithContext(ctx context.Context) *ChangeQANMySQLSlowlogAgentParams

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

func NewChangeQANMySQLSlowlogAgentParamsWithHTTPClient

func NewChangeQANMySQLSlowlogAgentParamsWithHTTPClient(client *http.Client) *ChangeQANMySQLSlowlogAgentParams

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

func NewChangeQANMySQLSlowlogAgentParamsWithTimeout

func NewChangeQANMySQLSlowlogAgentParamsWithTimeout(timeout time.Duration) *ChangeQANMySQLSlowlogAgentParams

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

func (*ChangeQANMySQLSlowlogAgentParams) SetBody

SetBody adds the body to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) SetContext

SetContext adds the context to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) SetTimeout

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

SetTimeout adds the timeout to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) WithBody

WithBody adds the body to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) WithContext

WithContext adds the context to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) WithTimeout

WithTimeout adds the timeout to the change QAN my SQL slowlog agent params

func (*ChangeQANMySQLSlowlogAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeQANMySQLSlowlogAgentParamsBodyCommon

type ChangeQANMySQLSlowlogAgentParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeQANMySQLSlowlogAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANMySQLSlowlogAgentParamsBodyCommon

func (*ChangeQANMySQLSlowlogAgentParamsBodyCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentParamsBodyCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANMySQLSlowlogAgentParamsBodyCommon) Validate

Validate validates this change QAN my SQL slowlog agent params body common

type ChangeQANMySQLSlowlogAgentReader

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

ChangeQANMySQLSlowlogAgentReader is a Reader for the ChangeQANMySQLSlowlogAgent structure.

func (*ChangeQANMySQLSlowlogAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeQANPostgreSQLPgStatementsAgentBody

type ChangeQANPostgreSQLPgStatementsAgentBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon `json:"common,omitempty"`
}

ChangeQANPostgreSQLPgStatementsAgentBody change QAN postgre SQL pg statements agent body swagger:model ChangeQANPostgreSQLPgStatementsAgentBody

func (*ChangeQANPostgreSQLPgStatementsAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentBody) Validate

Validate validates this change QAN postgre SQL pg statements agent body

type ChangeQANPostgreSQLPgStatementsAgentDefault

type ChangeQANPostgreSQLPgStatementsAgentDefault struct {
	Payload *ChangeQANPostgreSQLPgStatementsAgentDefaultBody
	// contains filtered or unexported fields
}

ChangeQANPostgreSQLPgStatementsAgentDefault handles this case with default header values.

An unexpected error response

func NewChangeQANPostgreSQLPgStatementsAgentDefault

func NewChangeQANPostgreSQLPgStatementsAgentDefault(code int) *ChangeQANPostgreSQLPgStatementsAgentDefault

NewChangeQANPostgreSQLPgStatementsAgentDefault creates a ChangeQANPostgreSQLPgStatementsAgentDefault with default headers values

func (*ChangeQANPostgreSQLPgStatementsAgentDefault) Code

Code gets the status code for the change QAN postgre SQL pg statements agent default response

func (*ChangeQANPostgreSQLPgStatementsAgentDefault) Error

func (*ChangeQANPostgreSQLPgStatementsAgentDefault) GetPayload

type ChangeQANPostgreSQLPgStatementsAgentDefaultBody

type ChangeQANPostgreSQLPgStatementsAgentDefaultBody struct {

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

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

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

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

ChangeQANPostgreSQLPgStatementsAgentDefaultBody change QAN postgre SQL pg statements agent default body swagger:model ChangeQANPostgreSQLPgStatementsAgentDefaultBody

func (*ChangeQANPostgreSQLPgStatementsAgentDefaultBody) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentDefaultBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentDefaultBody) Validate

Validate validates this change QAN postgre SQL pg statements agent default body

type ChangeQANPostgreSQLPgStatementsAgentOK

type ChangeQANPostgreSQLPgStatementsAgentOK struct {
	Payload *ChangeQANPostgreSQLPgStatementsAgentOKBody
}

ChangeQANPostgreSQLPgStatementsAgentOK handles this case with default header values.

A successful response.

func NewChangeQANPostgreSQLPgStatementsAgentOK

func NewChangeQANPostgreSQLPgStatementsAgentOK() *ChangeQANPostgreSQLPgStatementsAgentOK

NewChangeQANPostgreSQLPgStatementsAgentOK creates a ChangeQANPostgreSQLPgStatementsAgentOK with default headers values

func (*ChangeQANPostgreSQLPgStatementsAgentOK) Error

func (*ChangeQANPostgreSQLPgStatementsAgentOK) GetPayload

type ChangeQANPostgreSQLPgStatementsAgentOKBody

type ChangeQANPostgreSQLPgStatementsAgentOKBody struct {

	// qan postgresql pgstatements agent
	QANPostgresqlPgstatementsAgent *ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent `json:"qan_postgresql_pgstatements_agent,omitempty"`
}

ChangeQANPostgreSQLPgStatementsAgentOKBody change QAN postgre SQL pg statements agent OK body swagger:model ChangeQANPostgreSQLPgStatementsAgentOKBody

func (*ChangeQANPostgreSQLPgStatementsAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentOKBody) Validate

Validate validates this change QAN postgre SQL pg statements agent OK body

type ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent

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

ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent QANPostgreSQLPgStatementsAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent

func (*ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate

Validate validates this change QAN postgre SQL pg statements agent OK body QAN postgresql pgstatements agent

type ChangeQANPostgreSQLPgStatementsAgentParams

type ChangeQANPostgreSQLPgStatementsAgentParams struct {

	/*Body*/
	Body ChangeQANPostgreSQLPgStatementsAgentBody

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

ChangeQANPostgreSQLPgStatementsAgentParams contains all the parameters to send to the API endpoint for the change QAN postgre SQL pg statements agent operation typically these are written to a http.Request

func NewChangeQANPostgreSQLPgStatementsAgentParams

func NewChangeQANPostgreSQLPgStatementsAgentParams() *ChangeQANPostgreSQLPgStatementsAgentParams

NewChangeQANPostgreSQLPgStatementsAgentParams creates a new ChangeQANPostgreSQLPgStatementsAgentParams object with the default values initialized.

func NewChangeQANPostgreSQLPgStatementsAgentParamsWithContext

func NewChangeQANPostgreSQLPgStatementsAgentParamsWithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatementsAgentParams

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

func NewChangeQANPostgreSQLPgStatementsAgentParamsWithHTTPClient

func NewChangeQANPostgreSQLPgStatementsAgentParamsWithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatementsAgentParams

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

func NewChangeQANPostgreSQLPgStatementsAgentParamsWithTimeout

func NewChangeQANPostgreSQLPgStatementsAgentParamsWithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatementsAgentParams

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

func (*ChangeQANPostgreSQLPgStatementsAgentParams) SetBody

SetBody adds the body to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) SetContext

SetContext adds the context to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) SetTimeout

SetTimeout adds the timeout to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithBody

WithBody adds the body to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithContext

WithContext adds the context to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithTimeout

WithTimeout adds the timeout to the change QAN postgre SQL pg statements agent params

func (*ChangeQANPostgreSQLPgStatementsAgentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon

type ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon

func (*ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon) MarshalBinary

MarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon) Validate

Validate validates this change QAN postgre SQL pg statements agent params body common

type ChangeQANPostgreSQLPgStatementsAgentReader

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

ChangeQANPostgreSQLPgStatementsAgentReader is a Reader for the ChangeQANPostgreSQLPgStatementsAgent structure.

func (*ChangeQANPostgreSQLPgStatementsAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeRDSExporterBody

type ChangeRDSExporterBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

	// common
	Common *ChangeRDSExporterParamsBodyCommon `json:"common,omitempty"`
}

ChangeRDSExporterBody change RDS exporter body swagger:model ChangeRDSExporterBody

func (*ChangeRDSExporterBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeRDSExporterBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeRDSExporterBody) Validate

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

Validate validates this change RDS exporter body

type ChangeRDSExporterDefault

type ChangeRDSExporterDefault struct {
	Payload *ChangeRDSExporterDefaultBody
	// contains filtered or unexported fields
}

ChangeRDSExporterDefault handles this case with default header values.

An unexpected error response

func NewChangeRDSExporterDefault

func NewChangeRDSExporterDefault(code int) *ChangeRDSExporterDefault

NewChangeRDSExporterDefault creates a ChangeRDSExporterDefault with default headers values

func (*ChangeRDSExporterDefault) Code

func (o *ChangeRDSExporterDefault) Code() int

Code gets the status code for the change RDS exporter default response

func (*ChangeRDSExporterDefault) Error

func (o *ChangeRDSExporterDefault) Error() string

func (*ChangeRDSExporterDefault) GetPayload

type ChangeRDSExporterDefaultBody

type ChangeRDSExporterDefaultBody struct {

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

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

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

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

ChangeRDSExporterDefaultBody change RDS exporter default body swagger:model ChangeRDSExporterDefaultBody

func (*ChangeRDSExporterDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeRDSExporterDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeRDSExporterDefaultBody) Validate

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

Validate validates this change RDS exporter default body

type ChangeRDSExporterOK

type ChangeRDSExporterOK struct {
	Payload *ChangeRDSExporterOKBody
}

ChangeRDSExporterOK handles this case with default header values.

A successful response.

func NewChangeRDSExporterOK

func NewChangeRDSExporterOK() *ChangeRDSExporterOK

NewChangeRDSExporterOK creates a ChangeRDSExporterOK with default headers values

func (*ChangeRDSExporterOK) Error

func (o *ChangeRDSExporterOK) Error() string

func (*ChangeRDSExporterOK) GetPayload

type ChangeRDSExporterOKBody

type ChangeRDSExporterOKBody struct {

	// rds exporter
	RDSExporter *ChangeRDSExporterOKBodyRDSExporter `json:"rds_exporter,omitempty"`
}

ChangeRDSExporterOKBody change RDS exporter OK body swagger:model ChangeRDSExporterOKBody

func (*ChangeRDSExporterOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeRDSExporterOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeRDSExporterOKBody) Validate

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

Validate validates this change RDS exporter OK body

type ChangeRDSExporterOKBodyRDSExporter

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

ChangeRDSExporterOKBodyRDSExporter RDSExporter runs on Generic or Container Node and exposes RemoteRDS Node metrics. swagger:model ChangeRDSExporterOKBodyRDSExporter

func (*ChangeRDSExporterOKBodyRDSExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeRDSExporterOKBodyRDSExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeRDSExporterOKBodyRDSExporter) Validate

Validate validates this change RDS exporter OK body RDS exporter

type ChangeRDSExporterParams

type ChangeRDSExporterParams struct {

	/*Body*/
	Body ChangeRDSExporterBody

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

ChangeRDSExporterParams contains all the parameters to send to the API endpoint for the change RDS exporter operation typically these are written to a http.Request

func NewChangeRDSExporterParams

func NewChangeRDSExporterParams() *ChangeRDSExporterParams

NewChangeRDSExporterParams creates a new ChangeRDSExporterParams object with the default values initialized.

func NewChangeRDSExporterParamsWithContext

func NewChangeRDSExporterParamsWithContext(ctx context.Context) *ChangeRDSExporterParams

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

func NewChangeRDSExporterParamsWithHTTPClient

func NewChangeRDSExporterParamsWithHTTPClient(client *http.Client) *ChangeRDSExporterParams

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

func NewChangeRDSExporterParamsWithTimeout

func NewChangeRDSExporterParamsWithTimeout(timeout time.Duration) *ChangeRDSExporterParams

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

func (*ChangeRDSExporterParams) SetBody

SetBody adds the body to the change RDS exporter params

func (*ChangeRDSExporterParams) SetContext

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

SetContext adds the context to the change RDS exporter params

func (*ChangeRDSExporterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change RDS exporter params

func (*ChangeRDSExporterParams) SetTimeout

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

SetTimeout adds the timeout to the change RDS exporter params

func (*ChangeRDSExporterParams) WithBody

WithBody adds the body to the change RDS exporter params

func (*ChangeRDSExporterParams) WithContext

WithContext adds the context to the change RDS exporter params

func (*ChangeRDSExporterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change RDS exporter params

func (*ChangeRDSExporterParams) WithTimeout

WithTimeout adds the timeout to the change RDS exporter params

func (*ChangeRDSExporterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ChangeRDSExporterParamsBodyCommon

type ChangeRDSExporterParamsBodyCommon struct {

	// Enable this Agent. Can't be used with disabled.
	Enable bool `json:"enable,omitempty"`

	// Disable this Agent. Can't be used with enabled.
	Disable bool `json:"disable,omitempty"`

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

	// Remove all custom user-assigned labels.
	RemoveCustomLabels bool `json:"remove_custom_labels,omitempty"`
}

ChangeRDSExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeRDSExporterParamsBodyCommon

func (*ChangeRDSExporterParamsBodyCommon) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeRDSExporterParamsBodyCommon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeRDSExporterParamsBodyCommon) Validate

Validate validates this change RDS exporter params body common

type ChangeRDSExporterReader

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

ChangeRDSExporterReader is a Reader for the ChangeRDSExporter structure.

func (*ChangeRDSExporterReader) ReadResponse

func (o *ChangeRDSExporterReader) 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 agents API

func New

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

New creates a new agents API client.

func (*Client) AddMongoDBExporter

func (a *Client) AddMongoDBExporter(params *AddMongoDBExporterParams) (*AddMongoDBExporterOK, error)

AddMongoDBExporter adds mongo DB exporter adds mongodb exporter agent

func (*Client) AddMySQLdExporter

func (a *Client) AddMySQLdExporter(params *AddMySQLdExporterParams) (*AddMySQLdExporterOK, error)

AddMySQLdExporter adds my s q ld exporter adds mysqld exporter agent

func (*Client) AddNodeExporter

func (a *Client) AddNodeExporter(params *AddNodeExporterParams) (*AddNodeExporterOK, error)

AddNodeExporter adds node exporter adds node exporter agent

func (*Client) AddPMMAgent

func (a *Client) AddPMMAgent(params *AddPMMAgentParams) (*AddPMMAgentOK, error)

AddPMMAgent adds PMM agent adds pmm agent agent

func (*Client) AddPostgresExporter

func (a *Client) AddPostgresExporter(params *AddPostgresExporterParams) (*AddPostgresExporterOK, error)

AddPostgresExporter adds postgres exporter adds postgres exporter agent

func (*Client) AddProxySQLExporter

func (a *Client) AddProxySQLExporter(params *AddProxySQLExporterParams) (*AddProxySQLExporterOK, error)

AddProxySQLExporter adds proxy SQL exporter adds proxysql exporter agent

func (*Client) AddQANMongoDBProfilerAgent

func (a *Client) AddQANMongoDBProfilerAgent(params *AddQANMongoDBProfilerAgentParams) (*AddQANMongoDBProfilerAgentOK, error)

AddQANMongoDBProfilerAgent adds QAN mongo DB profiler agent adds mongo DB profiler QAN agent

func (*Client) AddQANMySQLPerfSchemaAgent

func (a *Client) AddQANMySQLPerfSchemaAgent(params *AddQANMySQLPerfSchemaAgentParams) (*AddQANMySQLPerfSchemaAgentOK, error)

AddQANMySQLPerfSchemaAgent adds QAN my SQL perf schema agent adds my SQL perf schema QAN agent

func (*Client) AddQANMySQLSlowlogAgent

func (a *Client) AddQANMySQLSlowlogAgent(params *AddQANMySQLSlowlogAgentParams) (*AddQANMySQLSlowlogAgentOK, error)

AddQANMySQLSlowlogAgent adds QAN my SQL slowlog agent adds my SQL perf schema QAN agent

func (*Client) AddQANPostgreSQLPgStatementsAgent

func (a *Client) AddQANPostgreSQLPgStatementsAgent(params *AddQANPostgreSQLPgStatementsAgentParams) (*AddQANPostgreSQLPgStatementsAgentOK, error)

AddQANPostgreSQLPgStatementsAgent adds QAN postgre SQL pg statements agent adds postgre SQL pg stat statements QAN agent

func (*Client) AddRDSExporter

func (a *Client) AddRDSExporter(params *AddRDSExporterParams) (*AddRDSExporterOK, error)

AddRDSExporter adds RDS exporter adds rds exporter agent

func (*Client) ChangeMongoDBExporter

func (a *Client) ChangeMongoDBExporter(params *ChangeMongoDBExporterParams) (*ChangeMongoDBExporterOK, error)

ChangeMongoDBExporter changes mongo DB exporter changes mongodb exporter agent

func (*Client) ChangeMySQLdExporter

func (a *Client) ChangeMySQLdExporter(params *ChangeMySQLdExporterParams) (*ChangeMySQLdExporterOK, error)

ChangeMySQLdExporter changes my s q ld exporter changes mysqld exporter agent

func (*Client) ChangeNodeExporter

func (a *Client) ChangeNodeExporter(params *ChangeNodeExporterParams) (*ChangeNodeExporterOK, error)

ChangeNodeExporter changes node exporter changes node exporter agent

func (*Client) ChangePostgresExporter

func (a *Client) ChangePostgresExporter(params *ChangePostgresExporterParams) (*ChangePostgresExporterOK, error)

ChangePostgresExporter changes postgres exporter changes postgres exporter agent

func (*Client) ChangeProxySQLExporter

func (a *Client) ChangeProxySQLExporter(params *ChangeProxySQLExporterParams) (*ChangeProxySQLExporterOK, error)

ChangeProxySQLExporter changes proxy SQL exporter changes proxysql exporter agent

func (*Client) ChangeQANMongoDBProfilerAgent

func (a *Client) ChangeQANMongoDBProfilerAgent(params *ChangeQANMongoDBProfilerAgentParams) (*ChangeQANMongoDBProfilerAgentOK, error)

ChangeQANMongoDBProfilerAgent changes QAN mongo DB profiler agent changes mongo DB profiler QAN agent

func (*Client) ChangeQANMySQLPerfSchemaAgent

func (a *Client) ChangeQANMySQLPerfSchemaAgent(params *ChangeQANMySQLPerfSchemaAgentParams) (*ChangeQANMySQLPerfSchemaAgentOK, error)

ChangeQANMySQLPerfSchemaAgent changes QAN my SQL perf schema agent changes my SQL perf schema QAN agent

func (*Client) ChangeQANMySQLSlowlogAgent

func (a *Client) ChangeQANMySQLSlowlogAgent(params *ChangeQANMySQLSlowlogAgentParams) (*ChangeQANMySQLSlowlogAgentOK, error)

ChangeQANMySQLSlowlogAgent changes QAN my SQL slowlog agent changes my SQL perf schema QAN agent

func (*Client) ChangeQANPostgreSQLPgStatementsAgent

func (a *Client) ChangeQANPostgreSQLPgStatementsAgent(params *ChangeQANPostgreSQLPgStatementsAgentParams) (*ChangeQANPostgreSQLPgStatementsAgentOK, error)

ChangeQANPostgreSQLPgStatementsAgent changes QAN postgre SQL pg statements agent changes postgre SQL pg stat statements QAN agent

func (*Client) ChangeRDSExporter

func (a *Client) ChangeRDSExporter(params *ChangeRDSExporterParams) (*ChangeRDSExporterOK, error)

ChangeRDSExporter changes RDS exporter changes rds exporter agent

func (*Client) GetAgent

func (a *Client) GetAgent(params *GetAgentParams) (*GetAgentOK, error)

GetAgent gets agent returns a single agent by ID

func (*Client) ListAgents

func (a *Client) ListAgents(params *ListAgentsParams) (*ListAgentsOK, error)

ListAgents lists agents returns a list of all agents

func (*Client) RemoveAgent

func (a *Client) RemoveAgent(params *RemoveAgentParams) (*RemoveAgentOK, error)

RemoveAgent removes agent removes agent

func (*Client) SetTransport

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

SetTransport changes the transport on the 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

func (*DetailsItems0) Validate

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

Validate validates this details items0

type GetAgentBody

type GetAgentBody struct {

	// Unique randomly generated instance identifier.
	AgentID string `json:"agent_id,omitempty"`
}

GetAgentBody get agent body swagger:model GetAgentBody

func (*GetAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentBody) Validate

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

Validate validates this get agent body

type GetAgentDefault

type GetAgentDefault struct {
	Payload *GetAgentDefaultBody
	// contains filtered or unexported fields
}

GetAgentDefault handles this case with default header values.

An unexpected error response

func NewGetAgentDefault

func NewGetAgentDefault(code int) *GetAgentDefault

NewGetAgentDefault creates a GetAgentDefault with default headers values

func (*GetAgentDefault) Code

func (o *GetAgentDefault) Code() int

Code gets the status code for the get agent default response

func (*GetAgentDefault) Error

func (o *GetAgentDefault) Error() string

func (*GetAgentDefault) GetPayload

func (o *GetAgentDefault) GetPayload() *GetAgentDefaultBody

type GetAgentDefaultBody

type GetAgentDefaultBody struct {

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

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

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

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

GetAgentDefaultBody get agent default body swagger:model GetAgentDefaultBody

func (*GetAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentDefaultBody) Validate

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

Validate validates this get agent default body

type GetAgentOK

type GetAgentOK struct {
	Payload *GetAgentOKBody
}

GetAgentOK handles this case with default header values.

A successful response.

func NewGetAgentOK

func NewGetAgentOK() *GetAgentOK

NewGetAgentOK creates a GetAgentOK with default headers values

func (*GetAgentOK) Error

func (o *GetAgentOK) Error() string

func (*GetAgentOK) GetPayload

func (o *GetAgentOK) GetPayload() *GetAgentOKBody

type GetAgentOKBody

type GetAgentOKBody struct {

	// mongodb exporter
	MongodbExporter *GetAgentOKBodyMongodbExporter `json:"mongodb_exporter,omitempty"`

	// mysqld exporter
	MysqldExporter *GetAgentOKBodyMysqldExporter `json:"mysqld_exporter,omitempty"`

	// node exporter
	NodeExporter *GetAgentOKBodyNodeExporter `json:"node_exporter,omitempty"`

	// pmm agent
	PMMAgent *GetAgentOKBodyPMMAgent `json:"pmm_agent,omitempty"`

	// postgres exporter
	PostgresExporter *GetAgentOKBodyPostgresExporter `json:"postgres_exporter,omitempty"`

	// proxysql exporter
	ProxysqlExporter *GetAgentOKBodyProxysqlExporter `json:"proxysql_exporter,omitempty"`

	// qan mongodb profiler agent
	QANMongodbProfilerAgent *GetAgentOKBodyQANMongodbProfilerAgent `json:"qan_mongodb_profiler_agent,omitempty"`

	// qan mysql perfschema agent
	QANMysqlPerfschemaAgent *GetAgentOKBodyQANMysqlPerfschemaAgent `json:"qan_mysql_perfschema_agent,omitempty"`

	// qan mysql slowlog agent
	QANMysqlSlowlogAgent *GetAgentOKBodyQANMysqlSlowlogAgent `json:"qan_mysql_slowlog_agent,omitempty"`

	// qan postgresql pgstatements agent
	QANPostgresqlPgstatementsAgent *GetAgentOKBodyQANPostgresqlPgstatementsAgent `json:"qan_postgresql_pgstatements_agent,omitempty"`

	// rds exporter
	RDSExporter *GetAgentOKBodyRDSExporter `json:"rds_exporter,omitempty"`
}

GetAgentOKBody get agent OK body swagger:model GetAgentOKBody

func (*GetAgentOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBody) Validate

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

Validate validates this get agent OK body

type GetAgentOKBodyMongodbExporter

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

GetAgentOKBodyMongodbExporter MongoDBExporter runs on Generic or Container Node and exposes MongoDB Service metrics. swagger:model GetAgentOKBodyMongodbExporter

func (*GetAgentOKBodyMongodbExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyMongodbExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyMongodbExporter) Validate

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

Validate validates this get agent OK body mongodb exporter

type GetAgentOKBodyMysqldExporter

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

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

GetAgentOKBodyMysqldExporter MySQLdExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model GetAgentOKBodyMysqldExporter

func (*GetAgentOKBodyMysqldExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyMysqldExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyMysqldExporter) Validate

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

Validate validates this get agent OK body mysqld exporter

type GetAgentOKBodyNodeExporter

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

GetAgentOKBodyNodeExporter NodeExporter runs on Generic or Container Node and exposes its metrics. swagger:model GetAgentOKBodyNodeExporter

func (*GetAgentOKBodyNodeExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyNodeExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyNodeExporter) Validate

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

Validate validates this get agent OK body node exporter

type GetAgentOKBodyPMMAgent

type GetAgentOKBodyPMMAgent struct {

	// Unique randomly generated instance identifier.
	AgentID string `json:"agent_id,omitempty"`

	// Node identifier where this instance runs.
	RunsOnNodeID string `json:"runs_on_node_id,omitempty"`

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

	// True if Agent is running and connected to pmm-managed.
	Connected bool `json:"connected,omitempty"`
}

GetAgentOKBodyPMMAgent PMMAgent runs on Generic or Container Node. swagger:model GetAgentOKBodyPMMAgent

func (*GetAgentOKBodyPMMAgent) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyPMMAgent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyPMMAgent) Validate

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

Validate validates this get agent OK body PMM agent

type GetAgentOKBodyPostgresExporter

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

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

GetAgentOKBodyPostgresExporter PostgresExporter runs on Generic or Container Node and exposes PostgreSQL Service metrics. swagger:model GetAgentOKBodyPostgresExporter

func (*GetAgentOKBodyPostgresExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyPostgresExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyPostgresExporter) Validate

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

Validate validates this get agent OK body postgres exporter

type GetAgentOKBodyProxysqlExporter

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

GetAgentOKBodyProxysqlExporter ProxySQLExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model GetAgentOKBodyProxysqlExporter

func (*GetAgentOKBodyProxysqlExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyProxysqlExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyProxysqlExporter) Validate

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

Validate validates this get agent OK body proxysql exporter

type GetAgentOKBodyQANMongodbProfilerAgent

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

	// MongoDB username for getting profiler 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"`
}

GetAgentOKBodyQANMongodbProfilerAgent QANMongoDBProfilerAgent runs within pmm-agent and sends MongoDB Query Analytics data to the PMM Server. swagger:model GetAgentOKBodyQANMongodbProfilerAgent

func (*GetAgentOKBodyQANMongodbProfilerAgent) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyQANMongodbProfilerAgent) Validate

Validate validates this get agent OK body QAN mongodb profiler agent

type GetAgentOKBodyQANMysqlPerfschemaAgent

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

GetAgentOKBodyQANMysqlPerfschemaAgent QANMySQLPerfSchemaAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model GetAgentOKBodyQANMysqlPerfschemaAgent

func (*GetAgentOKBodyQANMysqlPerfschemaAgent) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyQANMysqlPerfschemaAgent) Validate

Validate validates this get agent OK body QAN mysql perfschema agent

type GetAgentOKBodyQANMysqlSlowlogAgent

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

	// Slowlog file is rotated at this size if > 0.
	MaxSlowlogFileSize string `json:"max_slowlog_file_size,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"`
}

GetAgentOKBodyQANMysqlSlowlogAgent QANMySQLSlowlogAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model GetAgentOKBodyQANMysqlSlowlogAgent

func (*GetAgentOKBodyQANMysqlSlowlogAgent) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyQANMysqlSlowlogAgent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyQANMysqlSlowlogAgent) Validate

Validate validates this get agent OK body QAN mysql slowlog agent

type GetAgentOKBodyQANPostgresqlPgstatementsAgent

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

GetAgentOKBodyQANPostgresqlPgstatementsAgent QANPostgreSQLPgStatementsAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model GetAgentOKBodyQANPostgresqlPgstatementsAgent

func (*GetAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary

MarshalBinary interface implementation

func (*GetAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetAgentOKBodyQANPostgresqlPgstatementsAgent) Validate

Validate validates this get agent OK body QAN postgresql pgstatements agent

type GetAgentOKBodyRDSExporter

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

GetAgentOKBodyRDSExporter RDSExporter runs on Generic or Container Node and exposes RemoteRDS Node metrics. swagger:model GetAgentOKBodyRDSExporter

func (*GetAgentOKBodyRDSExporter) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAgentOKBodyRDSExporter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAgentOKBodyRDSExporter) Validate

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

Validate validates this get agent OK body RDS exporter

type GetAgentParams

type GetAgentParams struct {

	/*Body*/
	Body GetAgentBody

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

GetAgentParams contains all the parameters to send to the API endpoint for the get agent operation typically these are written to a http.Request

func NewGetAgentParams

func NewGetAgentParams() *GetAgentParams

NewGetAgentParams creates a new GetAgentParams object with the default values initialized.

func NewGetAgentParamsWithContext

func NewGetAgentParamsWithContext(ctx context.Context) *GetAgentParams

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

func NewGetAgentParamsWithHTTPClient

func NewGetAgentParamsWithHTTPClient(client *http.Client) *GetAgentParams

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

func NewGetAgentParamsWithTimeout

func NewGetAgentParamsWithTimeout(timeout time.Duration) *GetAgentParams

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

func (*GetAgentParams) SetBody

func (o *GetAgentParams) SetBody(body GetAgentBody)

SetBody adds the body to the get agent params

func (*GetAgentParams) SetContext

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

SetContext adds the context to the get agent params

func (*GetAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get agent params

func (*GetAgentParams) SetTimeout

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

SetTimeout adds the timeout to the get agent params

func (*GetAgentParams) WithBody

func (o *GetAgentParams) WithBody(body GetAgentBody) *GetAgentParams

WithBody adds the body to the get agent params

func (*GetAgentParams) WithContext

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

WithContext adds the context to the get agent params

func (*GetAgentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get agent params

func (*GetAgentParams) WithTimeout

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

WithTimeout adds the timeout to the get agent params

func (*GetAgentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAgentReader

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

GetAgentReader is a Reader for the GetAgent structure.

func (*GetAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAgentsBody

type ListAgentsBody struct {

	// Return only Agents started by this pmm-agent.
	// Exactly one of these parameters should be present: pmm_agent_id, node_id, service_id.
	PMMAgentID string `json:"pmm_agent_id,omitempty"`

	// Return only Agents that provide insights for that Node.
	// Exactly one of these parameters should be present: pmm_agent_id, node_id, service_id.
	NodeID string `json:"node_id,omitempty"`

	// Return only Agents that provide insights for that Service.
	// Exactly one of these parameters should be present: pmm_agent_id, node_id, service_id.
	ServiceID string `json:"service_id,omitempty"`

	// AgentType describes supported Agent types.
	// Enum: [AGENT_TYPE_INVALID PMM_AGENT NODE_EXPORTER MYSQLD_EXPORTER MONGODB_EXPORTER POSTGRES_EXPORTER PROXYSQL_EXPORTER QAN_MYSQL_PERFSCHEMA_AGENT QAN_MYSQL_SLOWLOG_AGENT QAN_MONGODB_PROFILER_AGENT QAN_POSTGRESQL_PGSTATEMENTS_AGENT RDS_EXPORTER]
	AgentType *string `json:"agent_type,omitempty"`
}

ListAgentsBody list agents body swagger:model ListAgentsBody

func (*ListAgentsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListAgentsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListAgentsBody) Validate

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

Validate validates this list agents body

type ListAgentsDefault

type ListAgentsDefault struct {
	Payload *ListAgentsDefaultBody
	// contains filtered or unexported fields
}

ListAgentsDefault handles this case with default header values.

An unexpected error response

func NewListAgentsDefault

func NewListAgentsDefault(code int) *ListAgentsDefault

NewListAgentsDefault creates a ListAgentsDefault with default headers values

func (*ListAgentsDefault) Code

func (o *ListAgentsDefault) Code() int

Code gets the status code for the list agents default response

func (*ListAgentsDefault) Error

func (o *ListAgentsDefault) Error() string

func (*ListAgentsDefault) GetPayload

func (o *ListAgentsDefault) GetPayload() *ListAgentsDefaultBody

type ListAgentsDefaultBody

type ListAgentsDefaultBody struct {

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

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

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

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

ListAgentsDefaultBody list agents default body swagger:model ListAgentsDefaultBody

func (*ListAgentsDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListAgentsDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListAgentsDefaultBody) Validate

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

Validate validates this list agents default body

type ListAgentsOK

type ListAgentsOK struct {
	Payload *ListAgentsOKBody
}

ListAgentsOK handles this case with default header values.

A successful response.

func NewListAgentsOK

func NewListAgentsOK() *ListAgentsOK

NewListAgentsOK creates a ListAgentsOK with default headers values

func (*ListAgentsOK) Error

func (o *ListAgentsOK) Error() string

func (*ListAgentsOK) GetPayload

func (o *ListAgentsOK) GetPayload() *ListAgentsOKBody

type ListAgentsOKBody

type ListAgentsOKBody struct {

	// pmm agent
	PMMAgent []*PMMAgentItems0 `json:"pmm_agent"`

	// node exporter
	NodeExporter []*NodeExporterItems0 `json:"node_exporter"`

	// mysqld exporter
	MysqldExporter []*MysqldExporterItems0 `json:"mysqld_exporter"`

	// mongodb exporter
	MongodbExporter []*MongodbExporterItems0 `json:"mongodb_exporter"`

	// postgres exporter
	PostgresExporter []*PostgresExporterItems0 `json:"postgres_exporter"`

	// proxysql exporter
	ProxysqlExporter []*ProxysqlExporterItems0 `json:"proxysql_exporter"`

	// qan mysql perfschema agent
	QANMysqlPerfschemaAgent []*QANMysqlPerfschemaAgentItems0 `json:"qan_mysql_perfschema_agent"`

	// qan mysql slowlog agent
	QANMysqlSlowlogAgent []*QANMysqlSlowlogAgentItems0 `json:"qan_mysql_slowlog_agent"`

	// qan mongodb profiler agent
	QANMongodbProfilerAgent []*QANMongodbProfilerAgentItems0 `json:"qan_mongodb_profiler_agent"`

	// qan postgresql pgstatements agent
	QANPostgresqlPgstatementsAgent []*QANPostgresqlPgstatementsAgentItems0 `json:"qan_postgresql_pgstatements_agent"`

	// rds exporter
	RDSExporter []*RDSExporterItems0 `json:"rds_exporter"`
}

ListAgentsOKBody list agents OK body swagger:model ListAgentsOKBody

func (*ListAgentsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListAgentsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListAgentsOKBody) Validate

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

Validate validates this list agents OK body

type ListAgentsParams

type ListAgentsParams struct {

	/*Body*/
	Body ListAgentsBody

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

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

func NewListAgentsParams

func NewListAgentsParams() *ListAgentsParams

NewListAgentsParams creates a new ListAgentsParams object with the default values initialized.

func NewListAgentsParamsWithContext

func NewListAgentsParamsWithContext(ctx context.Context) *ListAgentsParams

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

func NewListAgentsParamsWithHTTPClient

func NewListAgentsParamsWithHTTPClient(client *http.Client) *ListAgentsParams

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

func NewListAgentsParamsWithTimeout

func NewListAgentsParamsWithTimeout(timeout time.Duration) *ListAgentsParams

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

func (*ListAgentsParams) SetBody

func (o *ListAgentsParams) SetBody(body ListAgentsBody)

SetBody adds the body to the list agents params

func (*ListAgentsParams) SetContext

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

SetContext adds the context to the list agents params

func (*ListAgentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list agents params

func (*ListAgentsParams) SetTimeout

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

SetTimeout adds the timeout to the list agents params

func (*ListAgentsParams) WithBody

WithBody adds the body to the list agents params

func (*ListAgentsParams) WithContext

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

WithContext adds the context to the list agents params

func (*ListAgentsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list agents params

func (*ListAgentsParams) WithTimeout

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

WithTimeout adds the timeout to the list agents params

func (*ListAgentsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListAgentsReader

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

ListAgentsReader is a Reader for the ListAgents structure.

func (*ListAgentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MongodbExporterItems0

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

MongodbExporterItems0 MongoDBExporter runs on Generic or Container Node and exposes MongoDB Service metrics. swagger:model MongodbExporterItems0

func (*MongodbExporterItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*MongodbExporterItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MongodbExporterItems0) Validate

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

Validate validates this mongodb exporter items0

type MysqldExporterItems0

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

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

MysqldExporterItems0 MySQLdExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model MysqldExporterItems0

func (*MysqldExporterItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*MysqldExporterItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MysqldExporterItems0) Validate

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

Validate validates this mysqld exporter items0

type NodeExporterItems0

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

NodeExporterItems0 NodeExporter runs on Generic or Container Node and exposes its metrics. swagger:model NodeExporterItems0

func (*NodeExporterItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeExporterItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeExporterItems0) Validate

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

Validate validates this node exporter items0

type PMMAgentItems0

type PMMAgentItems0 struct {

	// Unique randomly generated instance identifier.
	AgentID string `json:"agent_id,omitempty"`

	// Node identifier where this instance runs.
	RunsOnNodeID string `json:"runs_on_node_id,omitempty"`

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

	// True if Agent is running and connected to pmm-managed.
	Connected bool `json:"connected,omitempty"`
}

PMMAgentItems0 PMMAgent runs on Generic or Container Node. swagger:model PMMAgentItems0

func (*PMMAgentItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*PMMAgentItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PMMAgentItems0) Validate

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

Validate validates this PMM agent items0

type PostgresExporterItems0

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

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

PostgresExporterItems0 PostgresExporter runs on Generic or Container Node and exposes PostgreSQL Service metrics. swagger:model PostgresExporterItems0

func (*PostgresExporterItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*PostgresExporterItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostgresExporterItems0) Validate

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

Validate validates this postgres exporter items0

type ProxysqlExporterItems0

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

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

	// 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.
	ListenPort int64 `json:"listen_port,omitempty"`
}

ProxysqlExporterItems0 ProxySQLExporter runs on Generic or Container Node and exposes MySQL Service metrics. swagger:model ProxysqlExporterItems0

func (*ProxysqlExporterItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ProxysqlExporterItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProxysqlExporterItems0) Validate

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

Validate validates this proxysql exporter items0

type QANMongodbProfilerAgentItems0

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

	// MongoDB username for getting profiler 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"`
}

QANMongodbProfilerAgentItems0 QANMongoDBProfilerAgent runs within pmm-agent and sends MongoDB Query Analytics data to the PMM Server. swagger:model QANMongodbProfilerAgentItems0

func (*QANMongodbProfilerAgentItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*QANMongodbProfilerAgentItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*QANMongodbProfilerAgentItems0) Validate

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

Validate validates this QAN mongodb profiler agent items0

type QANMysqlPerfschemaAgentItems0

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

QANMysqlPerfschemaAgentItems0 QANMySQLPerfSchemaAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model QANMysqlPerfschemaAgentItems0

func (*QANMysqlPerfschemaAgentItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*QANMysqlPerfschemaAgentItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*QANMysqlPerfschemaAgentItems0) Validate

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

Validate validates this QAN mysql perfschema agent items0

type QANMysqlSlowlogAgentItems0

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

	// Slowlog file is rotated at this size if > 0.
	MaxSlowlogFileSize string `json:"max_slowlog_file_size,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"`
}

QANMysqlSlowlogAgentItems0 QANMySQLSlowlogAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. swagger:model QANMysqlSlowlogAgentItems0

func (*QANMysqlSlowlogAgentItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*QANMysqlSlowlogAgentItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*QANMysqlSlowlogAgentItems0) Validate

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

Validate validates this QAN mysql slowlog agent items0

type QANPostgresqlPgstatementsAgentItems0

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

QANPostgresqlPgstatementsAgentItems0 QANPostgreSQLPgStatementsAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model QANPostgresqlPgstatementsAgentItems0

func (*QANPostgresqlPgstatementsAgentItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*QANPostgresqlPgstatementsAgentItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*QANPostgresqlPgstatementsAgentItems0) Validate

Validate validates this QAN postgresql pgstatements agent items0

type RDSExporterItems0

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

RDSExporterItems0 RDSExporter runs on Generic or Container Node and exposes RemoteRDS Node metrics. swagger:model RDSExporterItems0

func (*RDSExporterItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*RDSExporterItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RDSExporterItems0) Validate

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

Validate validates this RDS exporter items0

type RemoveAgentBody

type RemoveAgentBody struct {

	// agent id
	AgentID string `json:"agent_id,omitempty"`

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

RemoveAgentBody remove agent body swagger:model RemoveAgentBody

func (*RemoveAgentBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveAgentBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoveAgentBody) Validate

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

Validate validates this remove agent body

type RemoveAgentDefault

type RemoveAgentDefault struct {
	Payload *RemoveAgentDefaultBody
	// contains filtered or unexported fields
}

RemoveAgentDefault handles this case with default header values.

An unexpected error response

func NewRemoveAgentDefault

func NewRemoveAgentDefault(code int) *RemoveAgentDefault

NewRemoveAgentDefault creates a RemoveAgentDefault with default headers values

func (*RemoveAgentDefault) Code

func (o *RemoveAgentDefault) Code() int

Code gets the status code for the remove agent default response

func (*RemoveAgentDefault) Error

func (o *RemoveAgentDefault) Error() string

func (*RemoveAgentDefault) GetPayload

func (o *RemoveAgentDefault) GetPayload() *RemoveAgentDefaultBody

type RemoveAgentDefaultBody

type RemoveAgentDefaultBody struct {

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

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

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

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

RemoveAgentDefaultBody remove agent default body swagger:model RemoveAgentDefaultBody

func (*RemoveAgentDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveAgentDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoveAgentDefaultBody) Validate

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

Validate validates this remove agent default body

type RemoveAgentOK

type RemoveAgentOK struct {
	Payload interface{}
}

RemoveAgentOK handles this case with default header values.

A successful response.

func NewRemoveAgentOK

func NewRemoveAgentOK() *RemoveAgentOK

NewRemoveAgentOK creates a RemoveAgentOK with default headers values

func (*RemoveAgentOK) Error

func (o *RemoveAgentOK) Error() string

func (*RemoveAgentOK) GetPayload

func (o *RemoveAgentOK) GetPayload() interface{}

type RemoveAgentParams

type RemoveAgentParams struct {

	/*Body*/
	Body RemoveAgentBody

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

RemoveAgentParams contains all the parameters to send to the API endpoint for the remove agent operation typically these are written to a http.Request

func NewRemoveAgentParams

func NewRemoveAgentParams() *RemoveAgentParams

NewRemoveAgentParams creates a new RemoveAgentParams object with the default values initialized.

func NewRemoveAgentParamsWithContext

func NewRemoveAgentParamsWithContext(ctx context.Context) *RemoveAgentParams

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

func NewRemoveAgentParamsWithHTTPClient

func NewRemoveAgentParamsWithHTTPClient(client *http.Client) *RemoveAgentParams

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

func NewRemoveAgentParamsWithTimeout

func NewRemoveAgentParamsWithTimeout(timeout time.Duration) *RemoveAgentParams

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

func (*RemoveAgentParams) SetBody

func (o *RemoveAgentParams) SetBody(body RemoveAgentBody)

SetBody adds the body to the remove agent params

func (*RemoveAgentParams) SetContext

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

SetContext adds the context to the remove agent params

func (*RemoveAgentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove agent params

func (*RemoveAgentParams) SetTimeout

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

SetTimeout adds the timeout to the remove agent params

func (*RemoveAgentParams) WithBody

WithBody adds the body to the remove agent params

func (*RemoveAgentParams) WithContext

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

WithContext adds the context to the remove agent params

func (*RemoveAgentParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove agent params

func (*RemoveAgentParams) WithTimeout

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

WithTimeout adds the timeout to the remove agent params

func (*RemoveAgentParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveAgentReader

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

RemoveAgentReader is a Reader for the RemoveAgent structure.

func (*RemoveAgentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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