Documentation ¶
Index ¶
- Constants
- type AddAzureDatabaseExporterBody
- type AddAzureDatabaseExporterDefault
- type AddAzureDatabaseExporterDefaultBody
- type AddAzureDatabaseExporterOK
- type AddAzureDatabaseExporterOKBody
- type AddAzureDatabaseExporterOKBodyAzureDatabaseExporter
- type AddAzureDatabaseExporterParams
- func NewAddAzureDatabaseExporterParams() *AddAzureDatabaseExporterParams
- func NewAddAzureDatabaseExporterParamsWithContext(ctx context.Context) *AddAzureDatabaseExporterParams
- func NewAddAzureDatabaseExporterParamsWithHTTPClient(client *http.Client) *AddAzureDatabaseExporterParams
- func NewAddAzureDatabaseExporterParamsWithTimeout(timeout time.Duration) *AddAzureDatabaseExporterParams
- func (o *AddAzureDatabaseExporterParams) SetBody(body AddAzureDatabaseExporterBody)
- func (o *AddAzureDatabaseExporterParams) SetContext(ctx context.Context)
- func (o *AddAzureDatabaseExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddAzureDatabaseExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddAzureDatabaseExporterParams) WithBody(body AddAzureDatabaseExporterBody) *AddAzureDatabaseExporterParams
- func (o *AddAzureDatabaseExporterParams) WithContext(ctx context.Context) *AddAzureDatabaseExporterParams
- func (o *AddAzureDatabaseExporterParams) WithHTTPClient(client *http.Client) *AddAzureDatabaseExporterParams
- func (o *AddAzureDatabaseExporterParams) WithTimeout(timeout time.Duration) *AddAzureDatabaseExporterParams
- func (o *AddAzureDatabaseExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddAzureDatabaseExporterReader
- type AddExternalExporterBody
- type AddExternalExporterDefault
- type AddExternalExporterDefaultBody
- type AddExternalExporterOK
- type AddExternalExporterOKBody
- type AddExternalExporterOKBodyExternalExporter
- type AddExternalExporterParams
- func NewAddExternalExporterParams() *AddExternalExporterParams
- func NewAddExternalExporterParamsWithContext(ctx context.Context) *AddExternalExporterParams
- func NewAddExternalExporterParamsWithHTTPClient(client *http.Client) *AddExternalExporterParams
- func NewAddExternalExporterParamsWithTimeout(timeout time.Duration) *AddExternalExporterParams
- func (o *AddExternalExporterParams) SetBody(body AddExternalExporterBody)
- func (o *AddExternalExporterParams) SetContext(ctx context.Context)
- func (o *AddExternalExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddExternalExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddExternalExporterParams) WithBody(body AddExternalExporterBody) *AddExternalExporterParams
- func (o *AddExternalExporterParams) WithContext(ctx context.Context) *AddExternalExporterParams
- func (o *AddExternalExporterParams) WithHTTPClient(client *http.Client) *AddExternalExporterParams
- func (o *AddExternalExporterParams) WithTimeout(timeout time.Duration) *AddExternalExporterParams
- func (o *AddExternalExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddExternalExporterReader
- type AddMongoDBExporterBody
- type AddMongoDBExporterDefault
- type AddMongoDBExporterDefaultBody
- type AddMongoDBExporterOK
- type AddMongoDBExporterOKBody
- type AddMongoDBExporterOKBodyMongodbExporter
- type AddMongoDBExporterParams
- func NewAddMongoDBExporterParams() *AddMongoDBExporterParams
- func NewAddMongoDBExporterParamsWithContext(ctx context.Context) *AddMongoDBExporterParams
- func NewAddMongoDBExporterParamsWithHTTPClient(client *http.Client) *AddMongoDBExporterParams
- func NewAddMongoDBExporterParamsWithTimeout(timeout time.Duration) *AddMongoDBExporterParams
- func (o *AddMongoDBExporterParams) SetBody(body AddMongoDBExporterBody)
- func (o *AddMongoDBExporterParams) SetContext(ctx context.Context)
- func (o *AddMongoDBExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddMongoDBExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddMongoDBExporterParams) WithBody(body AddMongoDBExporterBody) *AddMongoDBExporterParams
- func (o *AddMongoDBExporterParams) WithContext(ctx context.Context) *AddMongoDBExporterParams
- func (o *AddMongoDBExporterParams) WithHTTPClient(client *http.Client) *AddMongoDBExporterParams
- func (o *AddMongoDBExporterParams) WithTimeout(timeout time.Duration) *AddMongoDBExporterParams
- func (o *AddMongoDBExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddMongoDBExporterReader
- type AddMySQLdExporterBody
- type AddMySQLdExporterDefault
- type AddMySQLdExporterDefaultBody
- type AddMySQLdExporterOK
- type AddMySQLdExporterOKBody
- type AddMySQLdExporterOKBodyMysqldExporter
- type AddMySQLdExporterParams
- func NewAddMySQLdExporterParams() *AddMySQLdExporterParams
- func NewAddMySQLdExporterParamsWithContext(ctx context.Context) *AddMySQLdExporterParams
- func NewAddMySQLdExporterParamsWithHTTPClient(client *http.Client) *AddMySQLdExporterParams
- func NewAddMySQLdExporterParamsWithTimeout(timeout time.Duration) *AddMySQLdExporterParams
- func (o *AddMySQLdExporterParams) SetBody(body AddMySQLdExporterBody)
- func (o *AddMySQLdExporterParams) SetContext(ctx context.Context)
- func (o *AddMySQLdExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddMySQLdExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddMySQLdExporterParams) WithBody(body AddMySQLdExporterBody) *AddMySQLdExporterParams
- func (o *AddMySQLdExporterParams) WithContext(ctx context.Context) *AddMySQLdExporterParams
- func (o *AddMySQLdExporterParams) WithHTTPClient(client *http.Client) *AddMySQLdExporterParams
- func (o *AddMySQLdExporterParams) WithTimeout(timeout time.Duration) *AddMySQLdExporterParams
- func (o *AddMySQLdExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddMySQLdExporterReader
- type AddNodeExporterBody
- type AddNodeExporterDefault
- type AddNodeExporterDefaultBody
- type AddNodeExporterOK
- type AddNodeExporterOKBody
- type AddNodeExporterOKBodyNodeExporter
- type AddNodeExporterParams
- func NewAddNodeExporterParams() *AddNodeExporterParams
- func NewAddNodeExporterParamsWithContext(ctx context.Context) *AddNodeExporterParams
- func NewAddNodeExporterParamsWithHTTPClient(client *http.Client) *AddNodeExporterParams
- func NewAddNodeExporterParamsWithTimeout(timeout time.Duration) *AddNodeExporterParams
- func (o *AddNodeExporterParams) SetBody(body AddNodeExporterBody)
- func (o *AddNodeExporterParams) SetContext(ctx context.Context)
- func (o *AddNodeExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddNodeExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddNodeExporterParams) WithBody(body AddNodeExporterBody) *AddNodeExporterParams
- func (o *AddNodeExporterParams) WithContext(ctx context.Context) *AddNodeExporterParams
- func (o *AddNodeExporterParams) WithHTTPClient(client *http.Client) *AddNodeExporterParams
- func (o *AddNodeExporterParams) WithTimeout(timeout time.Duration) *AddNodeExporterParams
- func (o *AddNodeExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddNodeExporterReader
- type AddPMMAgentBody
- type AddPMMAgentDefault
- type AddPMMAgentDefaultBody
- type AddPMMAgentOK
- type AddPMMAgentOKBody
- type AddPMMAgentOKBodyPMMAgent
- type AddPMMAgentParams
- func (o *AddPMMAgentParams) SetBody(body AddPMMAgentBody)
- func (o *AddPMMAgentParams) SetContext(ctx context.Context)
- func (o *AddPMMAgentParams) SetHTTPClient(client *http.Client)
- func (o *AddPMMAgentParams) SetTimeout(timeout time.Duration)
- func (o *AddPMMAgentParams) WithBody(body AddPMMAgentBody) *AddPMMAgentParams
- func (o *AddPMMAgentParams) WithContext(ctx context.Context) *AddPMMAgentParams
- func (o *AddPMMAgentParams) WithHTTPClient(client *http.Client) *AddPMMAgentParams
- func (o *AddPMMAgentParams) WithTimeout(timeout time.Duration) *AddPMMAgentParams
- func (o *AddPMMAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPMMAgentReader
- type AddPostgresExporterBody
- type AddPostgresExporterDefault
- type AddPostgresExporterDefaultBody
- type AddPostgresExporterOK
- type AddPostgresExporterOKBody
- type AddPostgresExporterOKBodyPostgresExporter
- type AddPostgresExporterParams
- func NewAddPostgresExporterParams() *AddPostgresExporterParams
- func NewAddPostgresExporterParamsWithContext(ctx context.Context) *AddPostgresExporterParams
- func NewAddPostgresExporterParamsWithHTTPClient(client *http.Client) *AddPostgresExporterParams
- func NewAddPostgresExporterParamsWithTimeout(timeout time.Duration) *AddPostgresExporterParams
- func (o *AddPostgresExporterParams) SetBody(body AddPostgresExporterBody)
- func (o *AddPostgresExporterParams) SetContext(ctx context.Context)
- func (o *AddPostgresExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddPostgresExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddPostgresExporterParams) WithBody(body AddPostgresExporterBody) *AddPostgresExporterParams
- func (o *AddPostgresExporterParams) WithContext(ctx context.Context) *AddPostgresExporterParams
- func (o *AddPostgresExporterParams) WithHTTPClient(client *http.Client) *AddPostgresExporterParams
- func (o *AddPostgresExporterParams) WithTimeout(timeout time.Duration) *AddPostgresExporterParams
- func (o *AddPostgresExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPostgresExporterReader
- type AddProxySQLExporterBody
- type AddProxySQLExporterDefault
- type AddProxySQLExporterDefaultBody
- type AddProxySQLExporterOK
- type AddProxySQLExporterOKBody
- type AddProxySQLExporterOKBodyProxysqlExporter
- type AddProxySQLExporterParams
- func NewAddProxySQLExporterParams() *AddProxySQLExporterParams
- func NewAddProxySQLExporterParamsWithContext(ctx context.Context) *AddProxySQLExporterParams
- func NewAddProxySQLExporterParamsWithHTTPClient(client *http.Client) *AddProxySQLExporterParams
- func NewAddProxySQLExporterParamsWithTimeout(timeout time.Duration) *AddProxySQLExporterParams
- func (o *AddProxySQLExporterParams) SetBody(body AddProxySQLExporterBody)
- func (o *AddProxySQLExporterParams) SetContext(ctx context.Context)
- func (o *AddProxySQLExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddProxySQLExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddProxySQLExporterParams) WithBody(body AddProxySQLExporterBody) *AddProxySQLExporterParams
- func (o *AddProxySQLExporterParams) WithContext(ctx context.Context) *AddProxySQLExporterParams
- func (o *AddProxySQLExporterParams) WithHTTPClient(client *http.Client) *AddProxySQLExporterParams
- func (o *AddProxySQLExporterParams) WithTimeout(timeout time.Duration) *AddProxySQLExporterParams
- func (o *AddProxySQLExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProxySQLExporterReader
- type AddQANMongoDBProfilerAgentBody
- type AddQANMongoDBProfilerAgentDefault
- type AddQANMongoDBProfilerAgentDefaultBody
- type AddQANMongoDBProfilerAgentOK
- type AddQANMongoDBProfilerAgentOKBody
- type AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent
- func (o *AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) MarshalBinary() ([]byte, error)
- func (o *AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary(b []byte) error
- func (o *AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) Validate(formats strfmt.Registry) error
- type AddQANMongoDBProfilerAgentParams
- func NewAddQANMongoDBProfilerAgentParams() *AddQANMongoDBProfilerAgentParams
- func NewAddQANMongoDBProfilerAgentParamsWithContext(ctx context.Context) *AddQANMongoDBProfilerAgentParams
- func NewAddQANMongoDBProfilerAgentParamsWithHTTPClient(client *http.Client) *AddQANMongoDBProfilerAgentParams
- func NewAddQANMongoDBProfilerAgentParamsWithTimeout(timeout time.Duration) *AddQANMongoDBProfilerAgentParams
- func (o *AddQANMongoDBProfilerAgentParams) SetBody(body AddQANMongoDBProfilerAgentBody)
- func (o *AddQANMongoDBProfilerAgentParams) SetContext(ctx context.Context)
- func (o *AddQANMongoDBProfilerAgentParams) SetHTTPClient(client *http.Client)
- func (o *AddQANMongoDBProfilerAgentParams) SetTimeout(timeout time.Duration)
- func (o *AddQANMongoDBProfilerAgentParams) WithBody(body AddQANMongoDBProfilerAgentBody) *AddQANMongoDBProfilerAgentParams
- func (o *AddQANMongoDBProfilerAgentParams) WithContext(ctx context.Context) *AddQANMongoDBProfilerAgentParams
- func (o *AddQANMongoDBProfilerAgentParams) WithHTTPClient(client *http.Client) *AddQANMongoDBProfilerAgentParams
- func (o *AddQANMongoDBProfilerAgentParams) WithTimeout(timeout time.Duration) *AddQANMongoDBProfilerAgentParams
- func (o *AddQANMongoDBProfilerAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddQANMongoDBProfilerAgentReader
- type AddQANMySQLPerfSchemaAgentBody
- type AddQANMySQLPerfSchemaAgentDefault
- type AddQANMySQLPerfSchemaAgentDefaultBody
- type AddQANMySQLPerfSchemaAgentOK
- type AddQANMySQLPerfSchemaAgentOKBody
- type AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent
- func (o *AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) MarshalBinary() ([]byte, error)
- func (o *AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary(b []byte) error
- func (o *AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) Validate(formats strfmt.Registry) error
- type AddQANMySQLPerfSchemaAgentParams
- func NewAddQANMySQLPerfSchemaAgentParams() *AddQANMySQLPerfSchemaAgentParams
- func NewAddQANMySQLPerfSchemaAgentParamsWithContext(ctx context.Context) *AddQANMySQLPerfSchemaAgentParams
- func NewAddQANMySQLPerfSchemaAgentParamsWithHTTPClient(client *http.Client) *AddQANMySQLPerfSchemaAgentParams
- func NewAddQANMySQLPerfSchemaAgentParamsWithTimeout(timeout time.Duration) *AddQANMySQLPerfSchemaAgentParams
- func (o *AddQANMySQLPerfSchemaAgentParams) SetBody(body AddQANMySQLPerfSchemaAgentBody)
- func (o *AddQANMySQLPerfSchemaAgentParams) SetContext(ctx context.Context)
- func (o *AddQANMySQLPerfSchemaAgentParams) SetHTTPClient(client *http.Client)
- func (o *AddQANMySQLPerfSchemaAgentParams) SetTimeout(timeout time.Duration)
- func (o *AddQANMySQLPerfSchemaAgentParams) WithBody(body AddQANMySQLPerfSchemaAgentBody) *AddQANMySQLPerfSchemaAgentParams
- func (o *AddQANMySQLPerfSchemaAgentParams) WithContext(ctx context.Context) *AddQANMySQLPerfSchemaAgentParams
- func (o *AddQANMySQLPerfSchemaAgentParams) WithHTTPClient(client *http.Client) *AddQANMySQLPerfSchemaAgentParams
- func (o *AddQANMySQLPerfSchemaAgentParams) WithTimeout(timeout time.Duration) *AddQANMySQLPerfSchemaAgentParams
- func (o *AddQANMySQLPerfSchemaAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddQANMySQLPerfSchemaAgentReader
- type AddQANMySQLSlowlogAgentBody
- type AddQANMySQLSlowlogAgentDefault
- type AddQANMySQLSlowlogAgentDefaultBody
- type AddQANMySQLSlowlogAgentOK
- type AddQANMySQLSlowlogAgentOKBody
- type AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent
- type AddQANMySQLSlowlogAgentParams
- func NewAddQANMySQLSlowlogAgentParams() *AddQANMySQLSlowlogAgentParams
- func NewAddQANMySQLSlowlogAgentParamsWithContext(ctx context.Context) *AddQANMySQLSlowlogAgentParams
- func NewAddQANMySQLSlowlogAgentParamsWithHTTPClient(client *http.Client) *AddQANMySQLSlowlogAgentParams
- func NewAddQANMySQLSlowlogAgentParamsWithTimeout(timeout time.Duration) *AddQANMySQLSlowlogAgentParams
- func (o *AddQANMySQLSlowlogAgentParams) SetBody(body AddQANMySQLSlowlogAgentBody)
- func (o *AddQANMySQLSlowlogAgentParams) SetContext(ctx context.Context)
- func (o *AddQANMySQLSlowlogAgentParams) SetHTTPClient(client *http.Client)
- func (o *AddQANMySQLSlowlogAgentParams) SetTimeout(timeout time.Duration)
- func (o *AddQANMySQLSlowlogAgentParams) WithBody(body AddQANMySQLSlowlogAgentBody) *AddQANMySQLSlowlogAgentParams
- func (o *AddQANMySQLSlowlogAgentParams) WithContext(ctx context.Context) *AddQANMySQLSlowlogAgentParams
- func (o *AddQANMySQLSlowlogAgentParams) WithHTTPClient(client *http.Client) *AddQANMySQLSlowlogAgentParams
- func (o *AddQANMySQLSlowlogAgentParams) WithTimeout(timeout time.Duration) *AddQANMySQLSlowlogAgentParams
- func (o *AddQANMySQLSlowlogAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddQANMySQLSlowlogAgentReader
- type AddQANPostgreSQLPgStatMonitorAgentBody
- type AddQANPostgreSQLPgStatMonitorAgentDefault
- type AddQANPostgreSQLPgStatMonitorAgentDefaultBody
- type AddQANPostgreSQLPgStatMonitorAgentOK
- type AddQANPostgreSQLPgStatMonitorAgentOKBody
- type AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent
- func (o *AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary() ([]byte, error)
- func (o *AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary(b []byte) error
- func (o *AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) Validate(formats strfmt.Registry) error
- type AddQANPostgreSQLPgStatMonitorAgentParams
- func NewAddQANPostgreSQLPgStatMonitorAgentParams() *AddQANPostgreSQLPgStatMonitorAgentParams
- func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithContext(ctx context.Context) *AddQANPostgreSQLPgStatMonitorAgentParams
- func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatMonitorAgentParams
- func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatMonitorAgentParams
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetBody(body AddQANPostgreSQLPgStatMonitorAgentBody)
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetContext(ctx context.Context)
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetHTTPClient(client *http.Client)
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetTimeout(timeout time.Duration)
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithBody(body AddQANPostgreSQLPgStatMonitorAgentBody) *AddQANPostgreSQLPgStatMonitorAgentParams
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithContext(ctx context.Context) *AddQANPostgreSQLPgStatMonitorAgentParams
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatMonitorAgentParams
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatMonitorAgentParams
- func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddQANPostgreSQLPgStatMonitorAgentReader
- type AddQANPostgreSQLPgStatementsAgentBody
- type AddQANPostgreSQLPgStatementsAgentDefault
- type AddQANPostgreSQLPgStatementsAgentDefaultBody
- type AddQANPostgreSQLPgStatementsAgentOK
- type AddQANPostgreSQLPgStatementsAgentOKBody
- type AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent
- func (o *AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary() ([]byte, error)
- func (o *AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary(b []byte) error
- func (o *AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate(formats strfmt.Registry) error
- type AddQANPostgreSQLPgStatementsAgentParams
- func NewAddQANPostgreSQLPgStatementsAgentParams() *AddQANPostgreSQLPgStatementsAgentParams
- func NewAddQANPostgreSQLPgStatementsAgentParamsWithContext(ctx context.Context) *AddQANPostgreSQLPgStatementsAgentParams
- func NewAddQANPostgreSQLPgStatementsAgentParamsWithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatementsAgentParams
- func NewAddQANPostgreSQLPgStatementsAgentParamsWithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatementsAgentParams
- func (o *AddQANPostgreSQLPgStatementsAgentParams) SetBody(body AddQANPostgreSQLPgStatementsAgentBody)
- func (o *AddQANPostgreSQLPgStatementsAgentParams) SetContext(ctx context.Context)
- func (o *AddQANPostgreSQLPgStatementsAgentParams) SetHTTPClient(client *http.Client)
- func (o *AddQANPostgreSQLPgStatementsAgentParams) SetTimeout(timeout time.Duration)
- func (o *AddQANPostgreSQLPgStatementsAgentParams) WithBody(body AddQANPostgreSQLPgStatementsAgentBody) *AddQANPostgreSQLPgStatementsAgentParams
- func (o *AddQANPostgreSQLPgStatementsAgentParams) WithContext(ctx context.Context) *AddQANPostgreSQLPgStatementsAgentParams
- func (o *AddQANPostgreSQLPgStatementsAgentParams) WithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatementsAgentParams
- func (o *AddQANPostgreSQLPgStatementsAgentParams) WithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatementsAgentParams
- func (o *AddQANPostgreSQLPgStatementsAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddQANPostgreSQLPgStatementsAgentReader
- type AddRDSExporterBody
- type AddRDSExporterDefault
- type AddRDSExporterDefaultBody
- type AddRDSExporterOK
- type AddRDSExporterOKBody
- type AddRDSExporterOKBodyRDSExporter
- type AddRDSExporterParams
- func NewAddRDSExporterParams() *AddRDSExporterParams
- func NewAddRDSExporterParamsWithContext(ctx context.Context) *AddRDSExporterParams
- func NewAddRDSExporterParamsWithHTTPClient(client *http.Client) *AddRDSExporterParams
- func NewAddRDSExporterParamsWithTimeout(timeout time.Duration) *AddRDSExporterParams
- func (o *AddRDSExporterParams) SetBody(body AddRDSExporterBody)
- func (o *AddRDSExporterParams) SetContext(ctx context.Context)
- func (o *AddRDSExporterParams) SetHTTPClient(client *http.Client)
- func (o *AddRDSExporterParams) SetTimeout(timeout time.Duration)
- func (o *AddRDSExporterParams) WithBody(body AddRDSExporterBody) *AddRDSExporterParams
- func (o *AddRDSExporterParams) WithContext(ctx context.Context) *AddRDSExporterParams
- func (o *AddRDSExporterParams) WithHTTPClient(client *http.Client) *AddRDSExporterParams
- func (o *AddRDSExporterParams) WithTimeout(timeout time.Duration) *AddRDSExporterParams
- func (o *AddRDSExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddRDSExporterReader
- type AzureDatabaseExporterItems0
- type ChangeAzureDatabaseExporterBody
- type ChangeAzureDatabaseExporterDefault
- type ChangeAzureDatabaseExporterDefaultBody
- type ChangeAzureDatabaseExporterOK
- type ChangeAzureDatabaseExporterOKBody
- type ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter
- type ChangeAzureDatabaseExporterParams
- func NewChangeAzureDatabaseExporterParams() *ChangeAzureDatabaseExporterParams
- func NewChangeAzureDatabaseExporterParamsWithContext(ctx context.Context) *ChangeAzureDatabaseExporterParams
- func NewChangeAzureDatabaseExporterParamsWithHTTPClient(client *http.Client) *ChangeAzureDatabaseExporterParams
- func NewChangeAzureDatabaseExporterParamsWithTimeout(timeout time.Duration) *ChangeAzureDatabaseExporterParams
- func (o *ChangeAzureDatabaseExporterParams) SetBody(body ChangeAzureDatabaseExporterBody)
- func (o *ChangeAzureDatabaseExporterParams) SetContext(ctx context.Context)
- func (o *ChangeAzureDatabaseExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangeAzureDatabaseExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangeAzureDatabaseExporterParams) WithBody(body ChangeAzureDatabaseExporterBody) *ChangeAzureDatabaseExporterParams
- func (o *ChangeAzureDatabaseExporterParams) WithContext(ctx context.Context) *ChangeAzureDatabaseExporterParams
- func (o *ChangeAzureDatabaseExporterParams) WithHTTPClient(client *http.Client) *ChangeAzureDatabaseExporterParams
- func (o *ChangeAzureDatabaseExporterParams) WithTimeout(timeout time.Duration) *ChangeAzureDatabaseExporterParams
- func (o *ChangeAzureDatabaseExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeAzureDatabaseExporterParamsBodyCommon
- type ChangeAzureDatabaseExporterReader
- type ChangeExternalExporterBody
- type ChangeExternalExporterDefault
- type ChangeExternalExporterDefaultBody
- type ChangeExternalExporterOK
- type ChangeExternalExporterOKBody
- type ChangeExternalExporterOKBodyExternalExporter
- type ChangeExternalExporterParams
- func NewChangeExternalExporterParams() *ChangeExternalExporterParams
- func NewChangeExternalExporterParamsWithContext(ctx context.Context) *ChangeExternalExporterParams
- func NewChangeExternalExporterParamsWithHTTPClient(client *http.Client) *ChangeExternalExporterParams
- func NewChangeExternalExporterParamsWithTimeout(timeout time.Duration) *ChangeExternalExporterParams
- func (o *ChangeExternalExporterParams) SetBody(body ChangeExternalExporterBody)
- func (o *ChangeExternalExporterParams) SetContext(ctx context.Context)
- func (o *ChangeExternalExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangeExternalExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangeExternalExporterParams) WithBody(body ChangeExternalExporterBody) *ChangeExternalExporterParams
- func (o *ChangeExternalExporterParams) WithContext(ctx context.Context) *ChangeExternalExporterParams
- func (o *ChangeExternalExporterParams) WithHTTPClient(client *http.Client) *ChangeExternalExporterParams
- func (o *ChangeExternalExporterParams) WithTimeout(timeout time.Duration) *ChangeExternalExporterParams
- func (o *ChangeExternalExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeExternalExporterParamsBodyCommon
- type ChangeExternalExporterReader
- type ChangeMongoDBExporterBody
- type ChangeMongoDBExporterDefault
- type ChangeMongoDBExporterDefaultBody
- type ChangeMongoDBExporterOK
- type ChangeMongoDBExporterOKBody
- type ChangeMongoDBExporterOKBodyMongodbExporter
- type ChangeMongoDBExporterParams
- func NewChangeMongoDBExporterParams() *ChangeMongoDBExporterParams
- func NewChangeMongoDBExporterParamsWithContext(ctx context.Context) *ChangeMongoDBExporterParams
- func NewChangeMongoDBExporterParamsWithHTTPClient(client *http.Client) *ChangeMongoDBExporterParams
- func NewChangeMongoDBExporterParamsWithTimeout(timeout time.Duration) *ChangeMongoDBExporterParams
- func (o *ChangeMongoDBExporterParams) SetBody(body ChangeMongoDBExporterBody)
- func (o *ChangeMongoDBExporterParams) SetContext(ctx context.Context)
- func (o *ChangeMongoDBExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangeMongoDBExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangeMongoDBExporterParams) WithBody(body ChangeMongoDBExporterBody) *ChangeMongoDBExporterParams
- func (o *ChangeMongoDBExporterParams) WithContext(ctx context.Context) *ChangeMongoDBExporterParams
- func (o *ChangeMongoDBExporterParams) WithHTTPClient(client *http.Client) *ChangeMongoDBExporterParams
- func (o *ChangeMongoDBExporterParams) WithTimeout(timeout time.Duration) *ChangeMongoDBExporterParams
- func (o *ChangeMongoDBExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeMongoDBExporterParamsBodyCommon
- type ChangeMongoDBExporterReader
- type ChangeMySQLdExporterBody
- type ChangeMySQLdExporterDefault
- type ChangeMySQLdExporterDefaultBody
- type ChangeMySQLdExporterOK
- type ChangeMySQLdExporterOKBody
- type ChangeMySQLdExporterOKBodyMysqldExporter
- type ChangeMySQLdExporterParams
- func NewChangeMySQLdExporterParams() *ChangeMySQLdExporterParams
- func NewChangeMySQLdExporterParamsWithContext(ctx context.Context) *ChangeMySQLdExporterParams
- func NewChangeMySQLdExporterParamsWithHTTPClient(client *http.Client) *ChangeMySQLdExporterParams
- func NewChangeMySQLdExporterParamsWithTimeout(timeout time.Duration) *ChangeMySQLdExporterParams
- func (o *ChangeMySQLdExporterParams) SetBody(body ChangeMySQLdExporterBody)
- func (o *ChangeMySQLdExporterParams) SetContext(ctx context.Context)
- func (o *ChangeMySQLdExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangeMySQLdExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangeMySQLdExporterParams) WithBody(body ChangeMySQLdExporterBody) *ChangeMySQLdExporterParams
- func (o *ChangeMySQLdExporterParams) WithContext(ctx context.Context) *ChangeMySQLdExporterParams
- func (o *ChangeMySQLdExporterParams) WithHTTPClient(client *http.Client) *ChangeMySQLdExporterParams
- func (o *ChangeMySQLdExporterParams) WithTimeout(timeout time.Duration) *ChangeMySQLdExporterParams
- func (o *ChangeMySQLdExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeMySQLdExporterParamsBodyCommon
- type ChangeMySQLdExporterReader
- type ChangeNodeExporterBody
- type ChangeNodeExporterDefault
- type ChangeNodeExporterDefaultBody
- type ChangeNodeExporterOK
- type ChangeNodeExporterOKBody
- type ChangeNodeExporterOKBodyNodeExporter
- type ChangeNodeExporterParams
- func NewChangeNodeExporterParams() *ChangeNodeExporterParams
- func NewChangeNodeExporterParamsWithContext(ctx context.Context) *ChangeNodeExporterParams
- func NewChangeNodeExporterParamsWithHTTPClient(client *http.Client) *ChangeNodeExporterParams
- func NewChangeNodeExporterParamsWithTimeout(timeout time.Duration) *ChangeNodeExporterParams
- func (o *ChangeNodeExporterParams) SetBody(body ChangeNodeExporterBody)
- func (o *ChangeNodeExporterParams) SetContext(ctx context.Context)
- func (o *ChangeNodeExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangeNodeExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangeNodeExporterParams) WithBody(body ChangeNodeExporterBody) *ChangeNodeExporterParams
- func (o *ChangeNodeExporterParams) WithContext(ctx context.Context) *ChangeNodeExporterParams
- func (o *ChangeNodeExporterParams) WithHTTPClient(client *http.Client) *ChangeNodeExporterParams
- func (o *ChangeNodeExporterParams) WithTimeout(timeout time.Duration) *ChangeNodeExporterParams
- func (o *ChangeNodeExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeNodeExporterParamsBodyCommon
- type ChangeNodeExporterReader
- type ChangePostgresExporterBody
- type ChangePostgresExporterDefault
- type ChangePostgresExporterDefaultBody
- type ChangePostgresExporterOK
- type ChangePostgresExporterOKBody
- type ChangePostgresExporterOKBodyPostgresExporter
- type ChangePostgresExporterParams
- func NewChangePostgresExporterParams() *ChangePostgresExporterParams
- func NewChangePostgresExporterParamsWithContext(ctx context.Context) *ChangePostgresExporterParams
- func NewChangePostgresExporterParamsWithHTTPClient(client *http.Client) *ChangePostgresExporterParams
- func NewChangePostgresExporterParamsWithTimeout(timeout time.Duration) *ChangePostgresExporterParams
- func (o *ChangePostgresExporterParams) SetBody(body ChangePostgresExporterBody)
- func (o *ChangePostgresExporterParams) SetContext(ctx context.Context)
- func (o *ChangePostgresExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangePostgresExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangePostgresExporterParams) WithBody(body ChangePostgresExporterBody) *ChangePostgresExporterParams
- func (o *ChangePostgresExporterParams) WithContext(ctx context.Context) *ChangePostgresExporterParams
- func (o *ChangePostgresExporterParams) WithHTTPClient(client *http.Client) *ChangePostgresExporterParams
- func (o *ChangePostgresExporterParams) WithTimeout(timeout time.Duration) *ChangePostgresExporterParams
- func (o *ChangePostgresExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangePostgresExporterParamsBodyCommon
- type ChangePostgresExporterReader
- type ChangeProxySQLExporterBody
- type ChangeProxySQLExporterDefault
- type ChangeProxySQLExporterDefaultBody
- type ChangeProxySQLExporterOK
- type ChangeProxySQLExporterOKBody
- type ChangeProxySQLExporterOKBodyProxysqlExporter
- type ChangeProxySQLExporterParams
- func NewChangeProxySQLExporterParams() *ChangeProxySQLExporterParams
- func NewChangeProxySQLExporterParamsWithContext(ctx context.Context) *ChangeProxySQLExporterParams
- func NewChangeProxySQLExporterParamsWithHTTPClient(client *http.Client) *ChangeProxySQLExporterParams
- func NewChangeProxySQLExporterParamsWithTimeout(timeout time.Duration) *ChangeProxySQLExporterParams
- func (o *ChangeProxySQLExporterParams) SetBody(body ChangeProxySQLExporterBody)
- func (o *ChangeProxySQLExporterParams) SetContext(ctx context.Context)
- func (o *ChangeProxySQLExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangeProxySQLExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangeProxySQLExporterParams) WithBody(body ChangeProxySQLExporterBody) *ChangeProxySQLExporterParams
- func (o *ChangeProxySQLExporterParams) WithContext(ctx context.Context) *ChangeProxySQLExporterParams
- func (o *ChangeProxySQLExporterParams) WithHTTPClient(client *http.Client) *ChangeProxySQLExporterParams
- func (o *ChangeProxySQLExporterParams) WithTimeout(timeout time.Duration) *ChangeProxySQLExporterParams
- func (o *ChangeProxySQLExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeProxySQLExporterParamsBodyCommon
- type ChangeProxySQLExporterReader
- type ChangeQANMongoDBProfilerAgentBody
- type ChangeQANMongoDBProfilerAgentDefault
- type ChangeQANMongoDBProfilerAgentDefaultBody
- type ChangeQANMongoDBProfilerAgentOK
- type ChangeQANMongoDBProfilerAgentOKBody
- type ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent
- func (o *ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) MarshalBinary() ([]byte, error)
- func (o *ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary(b []byte) error
- func (o *ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) Validate(formats strfmt.Registry) error
- type ChangeQANMongoDBProfilerAgentParams
- func NewChangeQANMongoDBProfilerAgentParams() *ChangeQANMongoDBProfilerAgentParams
- func NewChangeQANMongoDBProfilerAgentParamsWithContext(ctx context.Context) *ChangeQANMongoDBProfilerAgentParams
- func NewChangeQANMongoDBProfilerAgentParamsWithHTTPClient(client *http.Client) *ChangeQANMongoDBProfilerAgentParams
- func NewChangeQANMongoDBProfilerAgentParamsWithTimeout(timeout time.Duration) *ChangeQANMongoDBProfilerAgentParams
- func (o *ChangeQANMongoDBProfilerAgentParams) SetBody(body ChangeQANMongoDBProfilerAgentBody)
- func (o *ChangeQANMongoDBProfilerAgentParams) SetContext(ctx context.Context)
- func (o *ChangeQANMongoDBProfilerAgentParams) SetHTTPClient(client *http.Client)
- func (o *ChangeQANMongoDBProfilerAgentParams) SetTimeout(timeout time.Duration)
- func (o *ChangeQANMongoDBProfilerAgentParams) WithBody(body ChangeQANMongoDBProfilerAgentBody) *ChangeQANMongoDBProfilerAgentParams
- func (o *ChangeQANMongoDBProfilerAgentParams) WithContext(ctx context.Context) *ChangeQANMongoDBProfilerAgentParams
- func (o *ChangeQANMongoDBProfilerAgentParams) WithHTTPClient(client *http.Client) *ChangeQANMongoDBProfilerAgentParams
- func (o *ChangeQANMongoDBProfilerAgentParams) WithTimeout(timeout time.Duration) *ChangeQANMongoDBProfilerAgentParams
- func (o *ChangeQANMongoDBProfilerAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeQANMongoDBProfilerAgentParamsBodyCommon
- type ChangeQANMongoDBProfilerAgentReader
- type ChangeQANMySQLPerfSchemaAgentBody
- type ChangeQANMySQLPerfSchemaAgentDefault
- type ChangeQANMySQLPerfSchemaAgentDefaultBody
- type ChangeQANMySQLPerfSchemaAgentOK
- type ChangeQANMySQLPerfSchemaAgentOKBody
- type ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent
- func (o *ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) MarshalBinary() ([]byte, error)
- func (o *ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary(b []byte) error
- func (o *ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) Validate(formats strfmt.Registry) error
- type ChangeQANMySQLPerfSchemaAgentParams
- func NewChangeQANMySQLPerfSchemaAgentParams() *ChangeQANMySQLPerfSchemaAgentParams
- func NewChangeQANMySQLPerfSchemaAgentParamsWithContext(ctx context.Context) *ChangeQANMySQLPerfSchemaAgentParams
- func NewChangeQANMySQLPerfSchemaAgentParamsWithHTTPClient(client *http.Client) *ChangeQANMySQLPerfSchemaAgentParams
- func NewChangeQANMySQLPerfSchemaAgentParamsWithTimeout(timeout time.Duration) *ChangeQANMySQLPerfSchemaAgentParams
- func (o *ChangeQANMySQLPerfSchemaAgentParams) SetBody(body ChangeQANMySQLPerfSchemaAgentBody)
- func (o *ChangeQANMySQLPerfSchemaAgentParams) SetContext(ctx context.Context)
- func (o *ChangeQANMySQLPerfSchemaAgentParams) SetHTTPClient(client *http.Client)
- func (o *ChangeQANMySQLPerfSchemaAgentParams) SetTimeout(timeout time.Duration)
- func (o *ChangeQANMySQLPerfSchemaAgentParams) WithBody(body ChangeQANMySQLPerfSchemaAgentBody) *ChangeQANMySQLPerfSchemaAgentParams
- func (o *ChangeQANMySQLPerfSchemaAgentParams) WithContext(ctx context.Context) *ChangeQANMySQLPerfSchemaAgentParams
- func (o *ChangeQANMySQLPerfSchemaAgentParams) WithHTTPClient(client *http.Client) *ChangeQANMySQLPerfSchemaAgentParams
- func (o *ChangeQANMySQLPerfSchemaAgentParams) WithTimeout(timeout time.Duration) *ChangeQANMySQLPerfSchemaAgentParams
- func (o *ChangeQANMySQLPerfSchemaAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeQANMySQLPerfSchemaAgentParamsBodyCommon
- type ChangeQANMySQLPerfSchemaAgentReader
- type ChangeQANMySQLSlowlogAgentBody
- type ChangeQANMySQLSlowlogAgentDefault
- type ChangeQANMySQLSlowlogAgentDefaultBody
- type ChangeQANMySQLSlowlogAgentOK
- type ChangeQANMySQLSlowlogAgentOKBody
- type ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent
- type ChangeQANMySQLSlowlogAgentParams
- func NewChangeQANMySQLSlowlogAgentParams() *ChangeQANMySQLSlowlogAgentParams
- func NewChangeQANMySQLSlowlogAgentParamsWithContext(ctx context.Context) *ChangeQANMySQLSlowlogAgentParams
- func NewChangeQANMySQLSlowlogAgentParamsWithHTTPClient(client *http.Client) *ChangeQANMySQLSlowlogAgentParams
- func NewChangeQANMySQLSlowlogAgentParamsWithTimeout(timeout time.Duration) *ChangeQANMySQLSlowlogAgentParams
- func (o *ChangeQANMySQLSlowlogAgentParams) SetBody(body ChangeQANMySQLSlowlogAgentBody)
- func (o *ChangeQANMySQLSlowlogAgentParams) SetContext(ctx context.Context)
- func (o *ChangeQANMySQLSlowlogAgentParams) SetHTTPClient(client *http.Client)
- func (o *ChangeQANMySQLSlowlogAgentParams) SetTimeout(timeout time.Duration)
- func (o *ChangeQANMySQLSlowlogAgentParams) WithBody(body ChangeQANMySQLSlowlogAgentBody) *ChangeQANMySQLSlowlogAgentParams
- func (o *ChangeQANMySQLSlowlogAgentParams) WithContext(ctx context.Context) *ChangeQANMySQLSlowlogAgentParams
- func (o *ChangeQANMySQLSlowlogAgentParams) WithHTTPClient(client *http.Client) *ChangeQANMySQLSlowlogAgentParams
- func (o *ChangeQANMySQLSlowlogAgentParams) WithTimeout(timeout time.Duration) *ChangeQANMySQLSlowlogAgentParams
- func (o *ChangeQANMySQLSlowlogAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeQANMySQLSlowlogAgentParamsBodyCommon
- type ChangeQANMySQLSlowlogAgentReader
- type ChangeQANPostgreSQLPgStatMonitorAgentBody
- type ChangeQANPostgreSQLPgStatMonitorAgentDefault
- type ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody
- type ChangeQANPostgreSQLPgStatMonitorAgentOK
- type ChangeQANPostgreSQLPgStatMonitorAgentOKBody
- type ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary() ([]byte, error)
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary(b []byte) error
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) Validate(formats strfmt.Registry) error
- type ChangeQANPostgreSQLPgStatMonitorAgentParams
- func NewChangeQANPostgreSQLPgStatMonitorAgentParams() *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetBody(body ChangeQANPostgreSQLPgStatMonitorAgentBody)
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetContext(ctx context.Context)
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetHTTPClient(client *http.Client)
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetTimeout(timeout time.Duration)
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithBody(body ChangeQANPostgreSQLPgStatMonitorAgentBody) *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatMonitorAgentParams
- func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon
- type ChangeQANPostgreSQLPgStatMonitorAgentReader
- type ChangeQANPostgreSQLPgStatementsAgentBody
- type ChangeQANPostgreSQLPgStatementsAgentDefault
- type ChangeQANPostgreSQLPgStatementsAgentDefaultBody
- type ChangeQANPostgreSQLPgStatementsAgentOK
- type ChangeQANPostgreSQLPgStatementsAgentOKBody
- type ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent
- func (o *ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary() ([]byte, error)
- func (o *ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary(b []byte) error
- func (o *ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate(formats strfmt.Registry) error
- type ChangeQANPostgreSQLPgStatementsAgentParams
- func NewChangeQANPostgreSQLPgStatementsAgentParams() *ChangeQANPostgreSQLPgStatementsAgentParams
- func NewChangeQANPostgreSQLPgStatementsAgentParamsWithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatementsAgentParams
- func NewChangeQANPostgreSQLPgStatementsAgentParamsWithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatementsAgentParams
- func NewChangeQANPostgreSQLPgStatementsAgentParamsWithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatementsAgentParams
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) SetBody(body ChangeQANPostgreSQLPgStatementsAgentBody)
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) SetContext(ctx context.Context)
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) SetHTTPClient(client *http.Client)
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) SetTimeout(timeout time.Duration)
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithBody(body ChangeQANPostgreSQLPgStatementsAgentBody) *ChangeQANPostgreSQLPgStatementsAgentParams
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatementsAgentParams
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatementsAgentParams
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatementsAgentParams
- func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon
- type ChangeQANPostgreSQLPgStatementsAgentReader
- type ChangeRDSExporterBody
- type ChangeRDSExporterDefault
- type ChangeRDSExporterDefaultBody
- type ChangeRDSExporterOK
- type ChangeRDSExporterOKBody
- type ChangeRDSExporterOKBodyRDSExporter
- type ChangeRDSExporterParams
- func NewChangeRDSExporterParams() *ChangeRDSExporterParams
- func NewChangeRDSExporterParamsWithContext(ctx context.Context) *ChangeRDSExporterParams
- func NewChangeRDSExporterParamsWithHTTPClient(client *http.Client) *ChangeRDSExporterParams
- func NewChangeRDSExporterParamsWithTimeout(timeout time.Duration) *ChangeRDSExporterParams
- func (o *ChangeRDSExporterParams) SetBody(body ChangeRDSExporterBody)
- func (o *ChangeRDSExporterParams) SetContext(ctx context.Context)
- func (o *ChangeRDSExporterParams) SetHTTPClient(client *http.Client)
- func (o *ChangeRDSExporterParams) SetTimeout(timeout time.Duration)
- func (o *ChangeRDSExporterParams) WithBody(body ChangeRDSExporterBody) *ChangeRDSExporterParams
- func (o *ChangeRDSExporterParams) WithContext(ctx context.Context) *ChangeRDSExporterParams
- func (o *ChangeRDSExporterParams) WithHTTPClient(client *http.Client) *ChangeRDSExporterParams
- func (o *ChangeRDSExporterParams) WithTimeout(timeout time.Duration) *ChangeRDSExporterParams
- func (o *ChangeRDSExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeRDSExporterParamsBodyCommon
- type ChangeRDSExporterReader
- type Client
- func (a *Client) AddAzureDatabaseExporter(params *AddAzureDatabaseExporterParams) (*AddAzureDatabaseExporterOK, error)
- func (a *Client) AddExternalExporter(params *AddExternalExporterParams) (*AddExternalExporterOK, error)
- func (a *Client) AddMongoDBExporter(params *AddMongoDBExporterParams) (*AddMongoDBExporterOK, error)
- func (a *Client) AddMySQLdExporter(params *AddMySQLdExporterParams) (*AddMySQLdExporterOK, error)
- func (a *Client) AddNodeExporter(params *AddNodeExporterParams) (*AddNodeExporterOK, error)
- func (a *Client) AddPMMAgent(params *AddPMMAgentParams) (*AddPMMAgentOK, error)
- func (a *Client) AddPostgresExporter(params *AddPostgresExporterParams) (*AddPostgresExporterOK, error)
- func (a *Client) AddProxySQLExporter(params *AddProxySQLExporterParams) (*AddProxySQLExporterOK, error)
- func (a *Client) AddQANMongoDBProfilerAgent(params *AddQANMongoDBProfilerAgentParams) (*AddQANMongoDBProfilerAgentOK, error)
- func (a *Client) AddQANMySQLPerfSchemaAgent(params *AddQANMySQLPerfSchemaAgentParams) (*AddQANMySQLPerfSchemaAgentOK, error)
- func (a *Client) AddQANMySQLSlowlogAgent(params *AddQANMySQLSlowlogAgentParams) (*AddQANMySQLSlowlogAgentOK, error)
- func (a *Client) AddQANPostgreSQLPgStatMonitorAgent(params *AddQANPostgreSQLPgStatMonitorAgentParams) (*AddQANPostgreSQLPgStatMonitorAgentOK, error)
- func (a *Client) AddQANPostgreSQLPgStatementsAgent(params *AddQANPostgreSQLPgStatementsAgentParams) (*AddQANPostgreSQLPgStatementsAgentOK, error)
- func (a *Client) AddRDSExporter(params *AddRDSExporterParams) (*AddRDSExporterOK, error)
- func (a *Client) ChangeAzureDatabaseExporter(params *ChangeAzureDatabaseExporterParams) (*ChangeAzureDatabaseExporterOK, error)
- func (a *Client) ChangeExternalExporter(params *ChangeExternalExporterParams) (*ChangeExternalExporterOK, error)
- func (a *Client) ChangeMongoDBExporter(params *ChangeMongoDBExporterParams) (*ChangeMongoDBExporterOK, error)
- func (a *Client) ChangeMySQLdExporter(params *ChangeMySQLdExporterParams) (*ChangeMySQLdExporterOK, error)
- func (a *Client) ChangeNodeExporter(params *ChangeNodeExporterParams) (*ChangeNodeExporterOK, error)
- func (a *Client) ChangePostgresExporter(params *ChangePostgresExporterParams) (*ChangePostgresExporterOK, error)
- func (a *Client) ChangeProxySQLExporter(params *ChangeProxySQLExporterParams) (*ChangeProxySQLExporterOK, error)
- func (a *Client) ChangeQANMongoDBProfilerAgent(params *ChangeQANMongoDBProfilerAgentParams) (*ChangeQANMongoDBProfilerAgentOK, error)
- func (a *Client) ChangeQANMySQLPerfSchemaAgent(params *ChangeQANMySQLPerfSchemaAgentParams) (*ChangeQANMySQLPerfSchemaAgentOK, error)
- func (a *Client) ChangeQANMySQLSlowlogAgent(params *ChangeQANMySQLSlowlogAgentParams) (*ChangeQANMySQLSlowlogAgentOK, error)
- func (a *Client) ChangeQANPostgreSQLPgStatMonitorAgent(params *ChangeQANPostgreSQLPgStatMonitorAgentParams) (*ChangeQANPostgreSQLPgStatMonitorAgentOK, error)
- func (a *Client) ChangeQANPostgreSQLPgStatementsAgent(params *ChangeQANPostgreSQLPgStatementsAgentParams) (*ChangeQANPostgreSQLPgStatementsAgentOK, error)
- func (a *Client) ChangeRDSExporter(params *ChangeRDSExporterParams) (*ChangeRDSExporterOK, error)
- func (a *Client) GetAgent(params *GetAgentParams) (*GetAgentOK, error)
- func (a *Client) ListAgents(params *ListAgentsParams) (*ListAgentsOK, error)
- func (a *Client) RemoveAgent(params *RemoveAgentParams) (*RemoveAgentOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DetailsItems0
- type ExternalExporterItems0
- type GetAgentBody
- type GetAgentDefault
- type GetAgentDefaultBody
- type GetAgentOK
- type GetAgentOKBody
- type GetAgentOKBodyAzureDatabaseExporter
- type GetAgentOKBodyExternalExporter
- type GetAgentOKBodyMongodbExporter
- type GetAgentOKBodyMysqldExporter
- type GetAgentOKBodyNodeExporter
- type GetAgentOKBodyPMMAgent
- type GetAgentOKBodyPostgresExporter
- type GetAgentOKBodyProxysqlExporter
- type GetAgentOKBodyQANMongodbProfilerAgent
- type GetAgentOKBodyQANMysqlPerfschemaAgent
- type GetAgentOKBodyQANMysqlSlowlogAgent
- type GetAgentOKBodyQANPostgresqlPgstatementsAgent
- type GetAgentOKBodyQANPostgresqlPgstatmonitorAgent
- type GetAgentOKBodyRDSExporter
- type GetAgentOKBodyVmagent
- type GetAgentParams
- func (o *GetAgentParams) SetBody(body GetAgentBody)
- func (o *GetAgentParams) SetContext(ctx context.Context)
- func (o *GetAgentParams) SetHTTPClient(client *http.Client)
- func (o *GetAgentParams) SetTimeout(timeout time.Duration)
- func (o *GetAgentParams) WithBody(body GetAgentBody) *GetAgentParams
- func (o *GetAgentParams) WithContext(ctx context.Context) *GetAgentParams
- func (o *GetAgentParams) WithHTTPClient(client *http.Client) *GetAgentParams
- func (o *GetAgentParams) WithTimeout(timeout time.Duration) *GetAgentParams
- func (o *GetAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAgentReader
- type ListAgentsBody
- type ListAgentsDefault
- type ListAgentsDefaultBody
- type ListAgentsOK
- type ListAgentsOKBody
- type ListAgentsParams
- func (o *ListAgentsParams) SetBody(body ListAgentsBody)
- func (o *ListAgentsParams) SetContext(ctx context.Context)
- func (o *ListAgentsParams) SetHTTPClient(client *http.Client)
- func (o *ListAgentsParams) SetTimeout(timeout time.Duration)
- func (o *ListAgentsParams) WithBody(body ListAgentsBody) *ListAgentsParams
- func (o *ListAgentsParams) WithContext(ctx context.Context) *ListAgentsParams
- func (o *ListAgentsParams) WithHTTPClient(client *http.Client) *ListAgentsParams
- func (o *ListAgentsParams) WithTimeout(timeout time.Duration) *ListAgentsParams
- func (o *ListAgentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAgentsReader
- type MongodbExporterItems0
- type MysqldExporterItems0
- type NodeExporterItems0
- type PMMAgentItems0
- type PostgresExporterItems0
- type ProxysqlExporterItems0
- type QANMongodbProfilerAgentItems0
- type QANMysqlPerfschemaAgentItems0
- type QANMysqlSlowlogAgentItems0
- type QANPostgresqlPgstatementsAgentItems0
- type QANPostgresqlPgstatmonitorAgentItems0
- type RDSExporterItems0
- type RemoveAgentBody
- type RemoveAgentDefault
- type RemoveAgentDefaultBody
- type RemoveAgentOK
- type RemoveAgentParams
- func (o *RemoveAgentParams) SetBody(body RemoveAgentBody)
- func (o *RemoveAgentParams) SetContext(ctx context.Context)
- func (o *RemoveAgentParams) SetHTTPClient(client *http.Client)
- func (o *RemoveAgentParams) SetTimeout(timeout time.Duration)
- func (o *RemoveAgentParams) WithBody(body RemoveAgentBody) *RemoveAgentParams
- func (o *RemoveAgentParams) WithContext(ctx context.Context) *RemoveAgentParams
- func (o *RemoveAgentParams) WithHTTPClient(client *http.Client) *RemoveAgentParams
- func (o *RemoveAgentParams) WithTimeout(timeout time.Duration) *RemoveAgentParams
- func (o *RemoveAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveAgentReader
- type VMAgentItems0
Constants ¶
const ( // AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTARTING captures enum value "STARTING" AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTARTING string = "STARTING" // AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusRUNNING captures enum value "RUNNING" AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusRUNNING string = "RUNNING" // AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusWAITING captures enum value "WAITING" AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusWAITING string = "WAITING" // AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTOPPING captures enum value "STOPPING" AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTOPPING string = "STOPPING" // AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusDONE captures enum value "DONE" AddAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusDONE string = "DONE" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTARTING captures enum value "STARTING" AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTARTING string = "STARTING" // AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusRUNNING captures enum value "RUNNING" AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusRUNNING string = "RUNNING" // AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusWAITING captures enum value "WAITING" AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusWAITING string = "WAITING" // AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTOPPING captures enum value "STOPPING" AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTOPPING string = "STOPPING" // AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusDONE captures enum value "DONE" AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusDONE string = "DONE" )
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" )
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" )
const ( // ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTARTING captures enum value "STARTING" ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTARTING string = "STARTING" // ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusRUNNING captures enum value "RUNNING" ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusRUNNING string = "RUNNING" // ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusWAITING captures enum value "WAITING" ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusWAITING string = "WAITING" // ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTOPPING captures enum value "STOPPING" ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusSTOPPING string = "STOPPING" // ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusDONE captures enum value "DONE" ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporterStatusDONE string = "DONE" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTARTING captures enum value "STARTING" ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTARTING string = "STARTING" // ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusRUNNING captures enum value "RUNNING" ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusRUNNING string = "RUNNING" // ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusWAITING captures enum value "WAITING" ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusWAITING string = "WAITING" // ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTOPPING captures enum value "STOPPING" ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTOPPING string = "STOPPING" // ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusDONE captures enum value "DONE" ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusDONE string = "DONE" )
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" )
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" )
const ( // GetAgentOKBodyAzureDatabaseExporterStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" GetAgentOKBodyAzureDatabaseExporterStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // GetAgentOKBodyAzureDatabaseExporterStatusSTARTING captures enum value "STARTING" GetAgentOKBodyAzureDatabaseExporterStatusSTARTING string = "STARTING" // GetAgentOKBodyAzureDatabaseExporterStatusRUNNING captures enum value "RUNNING" GetAgentOKBodyAzureDatabaseExporterStatusRUNNING string = "RUNNING" // GetAgentOKBodyAzureDatabaseExporterStatusWAITING captures enum value "WAITING" GetAgentOKBodyAzureDatabaseExporterStatusWAITING string = "WAITING" // GetAgentOKBodyAzureDatabaseExporterStatusSTOPPING captures enum value "STOPPING" GetAgentOKBodyAzureDatabaseExporterStatusSTOPPING string = "STOPPING" // GetAgentOKBodyAzureDatabaseExporterStatusDONE captures enum value "DONE" GetAgentOKBodyAzureDatabaseExporterStatusDONE string = "DONE" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTARTING captures enum value "STARTING" GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTARTING string = "STARTING" // GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusRUNNING captures enum value "RUNNING" GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusRUNNING string = "RUNNING" // GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusWAITING captures enum value "WAITING" GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusWAITING string = "WAITING" // GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTOPPING captures enum value "STOPPING" GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusSTOPPING string = "STOPPING" // GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusDONE captures enum value "DONE" GetAgentOKBodyQANPostgresqlPgstatmonitorAgentStatusDONE string = "DONE" )
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" )
const ( // GetAgentOKBodyVmagentStatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" GetAgentOKBodyVmagentStatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // GetAgentOKBodyVmagentStatusSTARTING captures enum value "STARTING" GetAgentOKBodyVmagentStatusSTARTING string = "STARTING" // GetAgentOKBodyVmagentStatusRUNNING captures enum value "RUNNING" GetAgentOKBodyVmagentStatusRUNNING string = "RUNNING" // GetAgentOKBodyVmagentStatusWAITING captures enum value "WAITING" GetAgentOKBodyVmagentStatusWAITING string = "WAITING" // GetAgentOKBodyVmagentStatusSTOPPING captures enum value "STOPPING" GetAgentOKBodyVmagentStatusSTOPPING string = "STOPPING" // GetAgentOKBodyVmagentStatusDONE captures enum value "DONE" GetAgentOKBodyVmagentStatusDONE string = "DONE" )
const ( // AzureDatabaseExporterItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" AzureDatabaseExporterItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // AzureDatabaseExporterItems0StatusSTARTING captures enum value "STARTING" AzureDatabaseExporterItems0StatusSTARTING string = "STARTING" // AzureDatabaseExporterItems0StatusRUNNING captures enum value "RUNNING" AzureDatabaseExporterItems0StatusRUNNING string = "RUNNING" // AzureDatabaseExporterItems0StatusWAITING captures enum value "WAITING" AzureDatabaseExporterItems0StatusWAITING string = "WAITING" // AzureDatabaseExporterItems0StatusSTOPPING captures enum value "STOPPING" AzureDatabaseExporterItems0StatusSTOPPING string = "STOPPING" // AzureDatabaseExporterItems0StatusDONE captures enum value "DONE" AzureDatabaseExporterItems0StatusDONE string = "DONE" )
const ( // ListAgentsBodyAgentTypeAGENTTYPEINVALID captures enum value "AGENT_TYPE_INVALID" ListAgentsBodyAgentTypeAGENTTYPEINVALID string = "AGENT_TYPE_INVALID" // ListAgentsBodyAgentTypePMMAGENT captures enum value "PMM_AGENT" ListAgentsBodyAgentTypePMMAGENT string = "PMM_AGENT" // ListAgentsBodyAgentTypeVMAGENT captures enum value "VM_AGENT" ListAgentsBodyAgentTypeVMAGENT string = "VM_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" // ListAgentsBodyAgentTypeQANPOSTGRESQLPGSTATMONITORAGENT captures enum value "QAN_POSTGRESQL_PGSTATMONITOR_AGENT" ListAgentsBodyAgentTypeQANPOSTGRESQLPGSTATMONITORAGENT string = "QAN_POSTGRESQL_PGSTATMONITOR_AGENT" // ListAgentsBodyAgentTypeRDSEXPORTER captures enum value "RDS_EXPORTER" ListAgentsBodyAgentTypeRDSEXPORTER string = "RDS_EXPORTER" // ListAgentsBodyAgentTypeEXTERNALEXPORTER captures enum value "EXTERNAL_EXPORTER" ListAgentsBodyAgentTypeEXTERNALEXPORTER string = "EXTERNAL_EXPORTER" // ListAgentsBodyAgentTypeAZUREDATABASEEXPORTER captures enum value "AZURE_DATABASE_EXPORTER" ListAgentsBodyAgentTypeAZUREDATABASEEXPORTER string = "AZURE_DATABASE_EXPORTER" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
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" )
const ( // QANPostgresqlPgstatmonitorAgentItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" QANPostgresqlPgstatmonitorAgentItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // QANPostgresqlPgstatmonitorAgentItems0StatusSTARTING captures enum value "STARTING" QANPostgresqlPgstatmonitorAgentItems0StatusSTARTING string = "STARTING" // QANPostgresqlPgstatmonitorAgentItems0StatusRUNNING captures enum value "RUNNING" QANPostgresqlPgstatmonitorAgentItems0StatusRUNNING string = "RUNNING" // QANPostgresqlPgstatmonitorAgentItems0StatusWAITING captures enum value "WAITING" QANPostgresqlPgstatmonitorAgentItems0StatusWAITING string = "WAITING" // QANPostgresqlPgstatmonitorAgentItems0StatusSTOPPING captures enum value "STOPPING" QANPostgresqlPgstatmonitorAgentItems0StatusSTOPPING string = "STOPPING" // QANPostgresqlPgstatmonitorAgentItems0StatusDONE captures enum value "DONE" QANPostgresqlPgstatmonitorAgentItems0StatusDONE string = "DONE" )
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" )
const ( // VMAgentItems0StatusAGENTSTATUSINVALID captures enum value "AGENT_STATUS_INVALID" VMAgentItems0StatusAGENTSTATUSINVALID string = "AGENT_STATUS_INVALID" // VMAgentItems0StatusSTARTING captures enum value "STARTING" VMAgentItems0StatusSTARTING string = "STARTING" // VMAgentItems0StatusRUNNING captures enum value "RUNNING" VMAgentItems0StatusRUNNING string = "RUNNING" // VMAgentItems0StatusWAITING captures enum value "WAITING" VMAgentItems0StatusWAITING string = "WAITING" // VMAgentItems0StatusSTOPPING captures enum value "STOPPING" VMAgentItems0StatusSTOPPING string = "STOPPING" // VMAgentItems0StatusDONE captures enum value "DONE" VMAgentItems0StatusDONE string = "DONE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAzureDatabaseExporterBody ¶
type AddAzureDatabaseExporterBody struct { // The pmm-agent identifier which runs this instance. PMMAgentID string `json:"pmm_agent_id,omitempty"` // Node identifier. NodeID string `json:"node_id,omitempty"` // Azure client ID AzureClientID string `json:"azure_client_id,omitempty"` // Azure client secret AzureClientSecret string `json:"azure_client_secret,omitempty"` // Azure tanant ID AzureTenantID string `json:"azure_tenant_id,omitempty"` // Azure subscription ID AzureSubscriptionID string `json:"azure_subscription_id,omitempty"` // Azure resource group. AzureResourceGroup string `json:"azure_resource_group,omitempty"` // Azure resource type (mysql, maria, postgres) AzureDatabaseResourceType string `json:"azure_database_resource_type,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Skip connection check. SkipConnectionCheck bool `json:"skip_connection_check,omitempty"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_metrics,omitempty"` }
AddAzureDatabaseExporterBody add azure database exporter body swagger:model AddAzureDatabaseExporterBody
func (*AddAzureDatabaseExporterBody) MarshalBinary ¶
func (o *AddAzureDatabaseExporterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAzureDatabaseExporterBody) UnmarshalBinary ¶
func (o *AddAzureDatabaseExporterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAzureDatabaseExporterDefault ¶
type AddAzureDatabaseExporterDefault struct { Payload *AddAzureDatabaseExporterDefaultBody // contains filtered or unexported fields }
AddAzureDatabaseExporterDefault handles this case with default header values.
An unexpected error response.
func NewAddAzureDatabaseExporterDefault ¶
func NewAddAzureDatabaseExporterDefault(code int) *AddAzureDatabaseExporterDefault
NewAddAzureDatabaseExporterDefault creates a AddAzureDatabaseExporterDefault with default headers values
func (*AddAzureDatabaseExporterDefault) Code ¶
func (o *AddAzureDatabaseExporterDefault) Code() int
Code gets the status code for the add azure database exporter default response
func (*AddAzureDatabaseExporterDefault) Error ¶
func (o *AddAzureDatabaseExporterDefault) Error() string
func (*AddAzureDatabaseExporterDefault) GetPayload ¶
func (o *AddAzureDatabaseExporterDefault) GetPayload() *AddAzureDatabaseExporterDefaultBody
type AddAzureDatabaseExporterDefaultBody ¶
type AddAzureDatabaseExporterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddAzureDatabaseExporterDefaultBody add azure database exporter default body swagger:model AddAzureDatabaseExporterDefaultBody
func (*AddAzureDatabaseExporterDefaultBody) MarshalBinary ¶
func (o *AddAzureDatabaseExporterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAzureDatabaseExporterDefaultBody) UnmarshalBinary ¶
func (o *AddAzureDatabaseExporterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAzureDatabaseExporterOK ¶
type AddAzureDatabaseExporterOK struct {
Payload *AddAzureDatabaseExporterOKBody
}
AddAzureDatabaseExporterOK handles this case with default header values.
A successful response.
func NewAddAzureDatabaseExporterOK ¶
func NewAddAzureDatabaseExporterOK() *AddAzureDatabaseExporterOK
NewAddAzureDatabaseExporterOK creates a AddAzureDatabaseExporterOK with default headers values
func (*AddAzureDatabaseExporterOK) Error ¶
func (o *AddAzureDatabaseExporterOK) Error() string
func (*AddAzureDatabaseExporterOK) GetPayload ¶
func (o *AddAzureDatabaseExporterOK) GetPayload() *AddAzureDatabaseExporterOKBody
type AddAzureDatabaseExporterOKBody ¶
type AddAzureDatabaseExporterOKBody struct { // azure database exporter AzureDatabaseExporter *AddAzureDatabaseExporterOKBodyAzureDatabaseExporter `json:"azure_database_exporter,omitempty"` }
AddAzureDatabaseExporterOKBody add azure database exporter OK body swagger:model AddAzureDatabaseExporterOKBody
func (*AddAzureDatabaseExporterOKBody) MarshalBinary ¶
func (o *AddAzureDatabaseExporterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAzureDatabaseExporterOKBody) UnmarshalBinary ¶
func (o *AddAzureDatabaseExporterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAzureDatabaseExporterOKBodyAzureDatabaseExporter ¶
type AddAzureDatabaseExporterOKBodyAzureDatabaseExporter 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"` // Azure database subscription ID. AzureDatabaseSubscriptionID string `json:"azure_database_subscription_id,omitempty"` // Azure database resource type (mysql, maria, postgres) AzureDatabaseResourceType string `json:"azure_database_resource_type,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"` // True if the exporter operates in push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
AddAzureDatabaseExporterOKBodyAzureDatabaseExporter AzureDatabaseExporter runs on Generic or Container Node and exposes RemoteAzure Node metrics. swagger:model AddAzureDatabaseExporterOKBodyAzureDatabaseExporter
func (*AddAzureDatabaseExporterOKBodyAzureDatabaseExporter) MarshalBinary ¶
func (o *AddAzureDatabaseExporterOKBodyAzureDatabaseExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAzureDatabaseExporterOKBodyAzureDatabaseExporter) UnmarshalBinary ¶
func (o *AddAzureDatabaseExporterOKBodyAzureDatabaseExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAzureDatabaseExporterParams ¶
type AddAzureDatabaseExporterParams struct { /*Body*/ Body AddAzureDatabaseExporterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddAzureDatabaseExporterParams contains all the parameters to send to the API endpoint for the add azure database exporter operation typically these are written to a http.Request
func NewAddAzureDatabaseExporterParams ¶
func NewAddAzureDatabaseExporterParams() *AddAzureDatabaseExporterParams
NewAddAzureDatabaseExporterParams creates a new AddAzureDatabaseExporterParams object with the default values initialized.
func NewAddAzureDatabaseExporterParamsWithContext ¶
func NewAddAzureDatabaseExporterParamsWithContext(ctx context.Context) *AddAzureDatabaseExporterParams
NewAddAzureDatabaseExporterParamsWithContext creates a new AddAzureDatabaseExporterParams object with the default values initialized, and the ability to set a context for a request
func NewAddAzureDatabaseExporterParamsWithHTTPClient ¶
func NewAddAzureDatabaseExporterParamsWithHTTPClient(client *http.Client) *AddAzureDatabaseExporterParams
NewAddAzureDatabaseExporterParamsWithHTTPClient creates a new AddAzureDatabaseExporterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddAzureDatabaseExporterParamsWithTimeout ¶
func NewAddAzureDatabaseExporterParamsWithTimeout(timeout time.Duration) *AddAzureDatabaseExporterParams
NewAddAzureDatabaseExporterParamsWithTimeout creates a new AddAzureDatabaseExporterParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddAzureDatabaseExporterParams) SetBody ¶
func (o *AddAzureDatabaseExporterParams) SetBody(body AddAzureDatabaseExporterBody)
SetBody adds the body to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) SetContext ¶
func (o *AddAzureDatabaseExporterParams) SetContext(ctx context.Context)
SetContext adds the context to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) SetHTTPClient ¶
func (o *AddAzureDatabaseExporterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) SetTimeout ¶
func (o *AddAzureDatabaseExporterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) WithBody ¶
func (o *AddAzureDatabaseExporterParams) WithBody(body AddAzureDatabaseExporterBody) *AddAzureDatabaseExporterParams
WithBody adds the body to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) WithContext ¶
func (o *AddAzureDatabaseExporterParams) WithContext(ctx context.Context) *AddAzureDatabaseExporterParams
WithContext adds the context to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) WithHTTPClient ¶
func (o *AddAzureDatabaseExporterParams) WithHTTPClient(client *http.Client) *AddAzureDatabaseExporterParams
WithHTTPClient adds the HTTPClient to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) WithTimeout ¶
func (o *AddAzureDatabaseExporterParams) WithTimeout(timeout time.Duration) *AddAzureDatabaseExporterParams
WithTimeout adds the timeout to the add azure database exporter params
func (*AddAzureDatabaseExporterParams) WriteToRequest ¶
func (o *AddAzureDatabaseExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddAzureDatabaseExporterReader ¶
type AddAzureDatabaseExporterReader struct {
// contains filtered or unexported fields
}
AddAzureDatabaseExporterReader is a Reader for the AddAzureDatabaseExporter structure.
func (*AddAzureDatabaseExporterReader) ReadResponse ¶
func (o *AddAzureDatabaseExporterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddExternalExporterBody ¶
type AddExternalExporterBody struct { // The node identifier where this instance is run. RunsOnNodeID string `json:"runs_on_node_id,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // HTTP basic auth username for collecting metrics. Username string `json:"username,omitempty"` // HTTP basic auth password for collecting metrics. Password string `json:"password,omitempty"` // Scheme to generate URI to exporter metrics endpoints(default: http). Scheme string `json:"scheme,omitempty"` // Path under which metrics are exposed, used to generate URI(default: /metrics). MetricsPath string `json:"metrics_path,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_metrics,omitempty"` }
AddExternalExporterBody add external exporter body swagger:model AddExternalExporterBody
func (*AddExternalExporterBody) MarshalBinary ¶
func (o *AddExternalExporterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalExporterBody) UnmarshalBinary ¶
func (o *AddExternalExporterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalExporterDefault ¶
type AddExternalExporterDefault struct { Payload *AddExternalExporterDefaultBody // contains filtered or unexported fields }
AddExternalExporterDefault handles this case with default header values.
An unexpected error response.
func NewAddExternalExporterDefault ¶
func NewAddExternalExporterDefault(code int) *AddExternalExporterDefault
NewAddExternalExporterDefault creates a AddExternalExporterDefault with default headers values
func (*AddExternalExporterDefault) Code ¶
func (o *AddExternalExporterDefault) Code() int
Code gets the status code for the add external exporter default response
func (*AddExternalExporterDefault) Error ¶
func (o *AddExternalExporterDefault) Error() string
func (*AddExternalExporterDefault) GetPayload ¶
func (o *AddExternalExporterDefault) GetPayload() *AddExternalExporterDefaultBody
type AddExternalExporterDefaultBody ¶
type AddExternalExporterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddExternalExporterDefaultBody add external exporter default body swagger:model AddExternalExporterDefaultBody
func (*AddExternalExporterDefaultBody) MarshalBinary ¶
func (o *AddExternalExporterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalExporterDefaultBody) UnmarshalBinary ¶
func (o *AddExternalExporterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalExporterOK ¶
type AddExternalExporterOK struct {
Payload *AddExternalExporterOKBody
}
AddExternalExporterOK handles this case with default header values.
A successful response.
func NewAddExternalExporterOK ¶
func NewAddExternalExporterOK() *AddExternalExporterOK
NewAddExternalExporterOK creates a AddExternalExporterOK with default headers values
func (*AddExternalExporterOK) Error ¶
func (o *AddExternalExporterOK) Error() string
func (*AddExternalExporterOK) GetPayload ¶
func (o *AddExternalExporterOK) GetPayload() *AddExternalExporterOKBody
type AddExternalExporterOKBody ¶
type AddExternalExporterOKBody struct { // external exporter ExternalExporter *AddExternalExporterOKBodyExternalExporter `json:"external_exporter,omitempty"` }
AddExternalExporterOKBody add external exporter OK body swagger:model AddExternalExporterOKBody
func (*AddExternalExporterOKBody) MarshalBinary ¶
func (o *AddExternalExporterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalExporterOKBody) UnmarshalBinary ¶
func (o *AddExternalExporterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalExporterOKBodyExternalExporter ¶
type AddExternalExporterOKBodyExternalExporter 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"` // If disabled, metrics from this exporter will not be collected. Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // HTTP basic auth username for collecting metrics. Username string `json:"username,omitempty"` // Scheme to generate URI to exporter metrics endpoints. Scheme string `json:"scheme,omitempty"` // Path under which metrics are exposed, used to generate URI. MetricsPath string `json:"metrics_path,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
AddExternalExporterOKBodyExternalExporter ExternalExporter runs on any Node type, including Remote Node. swagger:model AddExternalExporterOKBodyExternalExporter
func (*AddExternalExporterOKBodyExternalExporter) MarshalBinary ¶
func (o *AddExternalExporterOKBodyExternalExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalExporterOKBodyExternalExporter) UnmarshalBinary ¶
func (o *AddExternalExporterOKBodyExternalExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalExporterParams ¶
type AddExternalExporterParams struct { /*Body*/ Body AddExternalExporterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddExternalExporterParams contains all the parameters to send to the API endpoint for the add external exporter operation typically these are written to a http.Request
func NewAddExternalExporterParams ¶
func NewAddExternalExporterParams() *AddExternalExporterParams
NewAddExternalExporterParams creates a new AddExternalExporterParams object with the default values initialized.
func NewAddExternalExporterParamsWithContext ¶
func NewAddExternalExporterParamsWithContext(ctx context.Context) *AddExternalExporterParams
NewAddExternalExporterParamsWithContext creates a new AddExternalExporterParams object with the default values initialized, and the ability to set a context for a request
func NewAddExternalExporterParamsWithHTTPClient ¶
func NewAddExternalExporterParamsWithHTTPClient(client *http.Client) *AddExternalExporterParams
NewAddExternalExporterParamsWithHTTPClient creates a new AddExternalExporterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddExternalExporterParamsWithTimeout ¶
func NewAddExternalExporterParamsWithTimeout(timeout time.Duration) *AddExternalExporterParams
NewAddExternalExporterParamsWithTimeout creates a new AddExternalExporterParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddExternalExporterParams) SetBody ¶
func (o *AddExternalExporterParams) SetBody(body AddExternalExporterBody)
SetBody adds the body to the add external exporter params
func (*AddExternalExporterParams) SetContext ¶
func (o *AddExternalExporterParams) SetContext(ctx context.Context)
SetContext adds the context to the add external exporter params
func (*AddExternalExporterParams) SetHTTPClient ¶
func (o *AddExternalExporterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add external exporter params
func (*AddExternalExporterParams) SetTimeout ¶
func (o *AddExternalExporterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add external exporter params
func (*AddExternalExporterParams) WithBody ¶
func (o *AddExternalExporterParams) WithBody(body AddExternalExporterBody) *AddExternalExporterParams
WithBody adds the body to the add external exporter params
func (*AddExternalExporterParams) WithContext ¶
func (o *AddExternalExporterParams) WithContext(ctx context.Context) *AddExternalExporterParams
WithContext adds the context to the add external exporter params
func (*AddExternalExporterParams) WithHTTPClient ¶
func (o *AddExternalExporterParams) WithHTTPClient(client *http.Client) *AddExternalExporterParams
WithHTTPClient adds the HTTPClient to the add external exporter params
func (*AddExternalExporterParams) WithTimeout ¶
func (o *AddExternalExporterParams) WithTimeout(timeout time.Duration) *AddExternalExporterParams
WithTimeout adds the timeout to the add external exporter params
func (*AddExternalExporterParams) WriteToRequest ¶
func (o *AddExternalExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddExternalExporterReader ¶
type AddExternalExporterReader struct {
// contains filtered or unexported fields
}
AddExternalExporterReader is a Reader for the AddExternalExporter structure.
func (*AddExternalExporterReader) ReadResponse ¶
func (o *AddExternalExporterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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"` // Client certificate and key. TLSCertificateKey string `json:"tls_certificate_key,omitempty"` // Password for decrypting tls_certificate_key. TLSCertificateKeyFilePassword string `json:"tls_certificate_key_file_password,omitempty"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Skip connection check. SkipConnectionCheck bool `json:"skip_connection_check,omitempty"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_metrics,omitempty"` // List of collector names to disable in this exporter. DisableCollectors []string `json:"disable_collectors"` }
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
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 ¶
func (o *AddMongoDBExporterDefault) GetPayload() *AddMongoDBExporterDefaultBody
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
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 ¶
func (o *AddMongoDBExporterOK) GetPayload() *AddMongoDBExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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 ¶
func (o *AddMongoDBExporterParams) SetBody(body AddMongoDBExporterBody)
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 ¶
func (o *AddMongoDBExporterParams) WithBody(body AddMongoDBExporterBody) *AddMongoDBExporterParams
WithBody adds the body to the add mongo DB exporter params
func (*AddMongoDBExporterParams) WithContext ¶
func (o *AddMongoDBExporterParams) WithContext(ctx context.Context) *AddMongoDBExporterParams
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 ¶
func (o *AddMongoDBExporterParams) WithTimeout(timeout time.Duration) *AddMongoDBExporterParams
WithTimeout adds the timeout to the add mongo DB exporter params
func (*AddMongoDBExporterParams) WriteToRequest ¶
func (o *AddMongoDBExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_metrics,omitempty"` // List of collector names to disable in this exporter. DisableCollectors []string `json:"disable_collectors"` }
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
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 ¶
func (o *AddMySQLdExporterDefault) GetPayload() *AddMySQLdExporterDefaultBody
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
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 ¶
func (o *AddMySQLdExporterOK) GetPayload() *AddMySQLdExporterOKBody
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,omitempty"` // Tablestats group collectors are disabled if there are more than that number of tables. // 0 means tablestats group collectors are always enabled (no limit). // Negative value means tablestats group collectors are always disabled. TablestatsGroupTableLimit int32 `json:"tablestats_group_table_limit,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if tablestats group collectors are currently disabled. TablestatsGroupDisabled bool `json:"tablestats_group_disabled,omitempty"` }
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
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 ¶
func (o *AddMySQLdExporterParams) SetBody(body AddMySQLdExporterBody)
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 ¶
func (o *AddMySQLdExporterParams) WithBody(body AddMySQLdExporterBody) *AddMySQLdExporterParams
WithBody adds the body to the add my s q ld exporter params
func (*AddMySQLdExporterParams) WithContext ¶
func (o *AddMySQLdExporterParams) WithContext(ctx context.Context) *AddMySQLdExporterParams
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 ¶
func (o *AddMySQLdExporterParams) WithTimeout(timeout time.Duration) *AddMySQLdExporterParams
WithTimeout adds the timeout to the add my s q ld exporter params
func (*AddMySQLdExporterParams) WriteToRequest ¶
func (o *AddMySQLdExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_metrics,omitempty"` // List of collector names to disable in this exporter. DisableCollectors []string `json:"disable_collectors"` }
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
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 ¶
func (o *AddNodeExporterDefault) GetPayload() *AddNodeExporterDefaultBody
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
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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 ¶
func (o *AddNodeExporterParams) WithBody(body AddNodeExporterBody) *AddNodeExporterParams
WithBody adds the body to the add node exporter params
func (*AddNodeExporterParams) WithContext ¶
func (o *AddNodeExporterParams) WithContext(ctx context.Context) *AddNodeExporterParams
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
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
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
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
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 ¶
func (o *AddPMMAgentParams) WithBody(body AddPMMAgentBody) *AddPMMAgentParams
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"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_metrics,omitempty"` // List of collector names to disable in this exporter. DisableCollectors []string `json:"disable_collectors"` }
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
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 (o *AddPostgresExporterDefault) Error() string
func (*AddPostgresExporterDefault) GetPayload ¶
func (o *AddPostgresExporterDefault) GetPayload() *AddPostgresExporterDefaultBody
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
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 ¶
func (o *AddPostgresExporterOK) GetPayload() *AddPostgresExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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 ¶
func (o *AddPostgresExporterParams) SetBody(body AddPostgresExporterBody)
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 ¶
func (o *AddPostgresExporterParams) WithBody(body AddPostgresExporterBody) *AddPostgresExporterParams
WithBody adds the body to the add postgres exporter params
func (*AddPostgresExporterParams) WithContext ¶
func (o *AddPostgresExporterParams) WithContext(ctx context.Context) *AddPostgresExporterParams
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 ¶
func (o *AddPostgresExporterParams) WithTimeout(timeout time.Duration) *AddPostgresExporterParams
WithTimeout adds the timeout to the add postgres exporter params
func (*AddPostgresExporterParams) WriteToRequest ¶
func (o *AddPostgresExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_metrics,omitempty"` // List of collector names to disable in this exporter. DisableCollectors []string `json:"disable_collectors"` }
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
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 (o *AddProxySQLExporterDefault) Error() string
func (*AddProxySQLExporterDefault) GetPayload ¶
func (o *AddProxySQLExporterDefault) GetPayload() *AddProxySQLExporterDefaultBody
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
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 ¶
func (o *AddProxySQLExporterOK) GetPayload() *AddProxySQLExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
AddProxySQLExporterOKBodyProxysqlExporter ProxySQLExporter runs on Generic or Container Node and exposes ProxySQL 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
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 ¶
func (o *AddProxySQLExporterParams) SetBody(body AddProxySQLExporterBody)
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 ¶
func (o *AddProxySQLExporterParams) WithBody(body AddProxySQLExporterBody) *AddProxySQLExporterParams
WithBody adds the body to the add proxy SQL exporter params
func (*AddProxySQLExporterParams) WithContext ¶
func (o *AddProxySQLExporterParams) WithContext(ctx context.Context) *AddProxySQLExporterParams
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 ¶
func (o *AddProxySQLExporterParams) WithTimeout(timeout time.Duration) *AddProxySQLExporterParams
WithTimeout adds the timeout to the add proxy SQL exporter params
func (*AddProxySQLExporterParams) WriteToRequest ¶
func (o *AddProxySQLExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Client certificate and key. TLSCertificateKey string `json:"tls_certificate_key,omitempty"` // Password for decrypting tls_certificate_key. TLSCertificateKeyFilePassword string `json:"tls_certificate_key_file_password,omitempty"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,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
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 ¶
func (o *AddQANMongoDBProfilerAgentDefault) Code() int
Code gets the status code for the add QAN mongo DB profiler agent default response
func (*AddQANMongoDBProfilerAgentDefault) Error ¶
func (o *AddQANMongoDBProfilerAgentDefault) Error() string
func (*AddQANMongoDBProfilerAgentDefault) GetPayload ¶
func (o *AddQANMongoDBProfilerAgentDefault) GetPayload() *AddQANMongoDBProfilerAgentDefaultBody
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
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 (o *AddQANMongoDBProfilerAgentOK) Error() string
func (*AddQANMongoDBProfilerAgentOK) GetPayload ¶
func (o *AddQANMongoDBProfilerAgentOK) GetPayload() *AddQANMongoDBProfilerAgentOKBody
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
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 ¶
func (o *AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary ¶
func (o *AddQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *AddQANMongoDBProfilerAgentParams) SetBody(body AddQANMongoDBProfilerAgentBody)
SetBody adds the body to the add QAN mongo DB profiler agent params
func (*AddQANMongoDBProfilerAgentParams) SetContext ¶
func (o *AddQANMongoDBProfilerAgentParams) SetContext(ctx context.Context)
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 ¶
func (o *AddQANMongoDBProfilerAgentParams) WithBody(body AddQANMongoDBProfilerAgentBody) *AddQANMongoDBProfilerAgentParams
WithBody adds the body to the add QAN mongo DB profiler agent params
func (*AddQANMongoDBProfilerAgentParams) WithContext ¶
func (o *AddQANMongoDBProfilerAgentParams) WithContext(ctx context.Context) *AddQANMongoDBProfilerAgentParams
WithContext adds the context to the add QAN mongo DB profiler agent params
func (*AddQANMongoDBProfilerAgentParams) WithHTTPClient ¶
func (o *AddQANMongoDBProfilerAgentParams) WithHTTPClient(client *http.Client) *AddQANMongoDBProfilerAgentParams
WithHTTPClient adds the HTTPClient to the add QAN mongo DB profiler agent params
func (*AddQANMongoDBProfilerAgentParams) WithTimeout ¶
func (o *AddQANMongoDBProfilerAgentParams) WithTimeout(timeout time.Duration) *AddQANMongoDBProfilerAgentParams
WithTimeout adds the timeout to the add QAN mongo DB profiler agent params
func (*AddQANMongoDBProfilerAgentParams) WriteToRequest ¶
func (o *AddQANMongoDBProfilerAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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
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 ¶
func (o *AddQANMySQLPerfSchemaAgentDefault) Code() int
Code gets the status code for the add QAN my SQL perf schema agent default response
func (*AddQANMySQLPerfSchemaAgentDefault) Error ¶
func (o *AddQANMySQLPerfSchemaAgentDefault) Error() string
func (*AddQANMySQLPerfSchemaAgentDefault) GetPayload ¶
func (o *AddQANMySQLPerfSchemaAgentDefault) GetPayload() *AddQANMySQLPerfSchemaAgentDefaultBody
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
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 (o *AddQANMySQLPerfSchemaAgentOK) Error() string
func (*AddQANMySQLPerfSchemaAgentOK) GetPayload ¶
func (o *AddQANMySQLPerfSchemaAgentOK) GetPayload() *AddQANMySQLPerfSchemaAgentOKBody
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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 ¶
func (o *AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary ¶
func (o *AddQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *AddQANMySQLPerfSchemaAgentParams) SetBody(body AddQANMySQLPerfSchemaAgentBody)
SetBody adds the body to the add QAN my SQL perf schema agent params
func (*AddQANMySQLPerfSchemaAgentParams) SetContext ¶
func (o *AddQANMySQLPerfSchemaAgentParams) SetContext(ctx context.Context)
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 ¶
func (o *AddQANMySQLPerfSchemaAgentParams) WithBody(body AddQANMySQLPerfSchemaAgentBody) *AddQANMySQLPerfSchemaAgentParams
WithBody adds the body to the add QAN my SQL perf schema agent params
func (*AddQANMySQLPerfSchemaAgentParams) WithContext ¶
func (o *AddQANMySQLPerfSchemaAgentParams) WithContext(ctx context.Context) *AddQANMySQLPerfSchemaAgentParams
WithContext adds the context to the add QAN my SQL perf schema agent params
func (*AddQANMySQLPerfSchemaAgentParams) WithHTTPClient ¶
func (o *AddQANMySQLPerfSchemaAgentParams) WithHTTPClient(client *http.Client) *AddQANMySQLPerfSchemaAgentParams
WithHTTPClient adds the HTTPClient to the add QAN my SQL perf schema agent params
func (*AddQANMySQLPerfSchemaAgentParams) WithTimeout ¶
func (o *AddQANMySQLPerfSchemaAgentParams) WithTimeout(timeout time.Duration) *AddQANMySQLPerfSchemaAgentParams
WithTimeout adds the timeout to the add QAN my SQL perf schema agent params
func (*AddQANMySQLPerfSchemaAgentParams) WriteToRequest ¶
func (o *AddQANMySQLPerfSchemaAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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
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 ¶
func (o *AddQANMySQLSlowlogAgentDefault) Code() int
Code gets the status code for the add QAN my SQL slowlog agent default response
func (*AddQANMySQLSlowlogAgentDefault) Error ¶
func (o *AddQANMySQLSlowlogAgentDefault) Error() string
func (*AddQANMySQLSlowlogAgentDefault) GetPayload ¶
func (o *AddQANMySQLSlowlogAgentDefault) GetPayload() *AddQANMySQLSlowlogAgentDefaultBody
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
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 ¶
func (o *AddQANMySQLSlowlogAgentOK) GetPayload() *AddQANMySQLSlowlogAgentOKBody
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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 ¶
func (o *AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) UnmarshalBinary ¶
func (o *AddQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *AddQANMySQLSlowlogAgentParams) SetBody(body AddQANMySQLSlowlogAgentBody)
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 ¶
func (o *AddQANMySQLSlowlogAgentParams) WithBody(body AddQANMySQLSlowlogAgentBody) *AddQANMySQLSlowlogAgentParams
WithBody adds the body to the add QAN my SQL slowlog agent params
func (*AddQANMySQLSlowlogAgentParams) WithContext ¶
func (o *AddQANMySQLSlowlogAgentParams) WithContext(ctx context.Context) *AddQANMySQLSlowlogAgentParams
WithContext adds the context to the add QAN my SQL slowlog agent params
func (*AddQANMySQLSlowlogAgentParams) WithHTTPClient ¶
func (o *AddQANMySQLSlowlogAgentParams) WithHTTPClient(client *http.Client) *AddQANMySQLSlowlogAgentParams
WithHTTPClient adds the HTTPClient to the add QAN my SQL slowlog agent params
func (*AddQANMySQLSlowlogAgentParams) WithTimeout ¶
func (o *AddQANMySQLSlowlogAgentParams) WithTimeout(timeout time.Duration) *AddQANMySQLSlowlogAgentParams
WithTimeout adds the timeout to the add QAN my SQL slowlog agent params
func (*AddQANMySQLSlowlogAgentParams) WriteToRequest ¶
func (o *AddQANMySQLSlowlogAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 AddQANPostgreSQLPgStatMonitorAgentBody ¶
type AddQANPostgreSQLPgStatMonitorAgentBody 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 monitor data. Username string `json:"username,omitempty"` // PostgreSQL password for getting pg stat monitor 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"` }
AddQANPostgreSQLPgStatMonitorAgentBody add QAN postgre SQL pg stat monitor agent body swagger:model AddQANPostgreSQLPgStatMonitorAgentBody
func (*AddQANPostgreSQLPgStatMonitorAgentBody) MarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatMonitorAgentBody) UnmarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddQANPostgreSQLPgStatMonitorAgentDefault ¶
type AddQANPostgreSQLPgStatMonitorAgentDefault struct { Payload *AddQANPostgreSQLPgStatMonitorAgentDefaultBody // contains filtered or unexported fields }
AddQANPostgreSQLPgStatMonitorAgentDefault handles this case with default header values.
An unexpected error response.
func NewAddQANPostgreSQLPgStatMonitorAgentDefault ¶
func NewAddQANPostgreSQLPgStatMonitorAgentDefault(code int) *AddQANPostgreSQLPgStatMonitorAgentDefault
NewAddQANPostgreSQLPgStatMonitorAgentDefault creates a AddQANPostgreSQLPgStatMonitorAgentDefault with default headers values
func (*AddQANPostgreSQLPgStatMonitorAgentDefault) Code ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentDefault) Code() int
Code gets the status code for the add QAN postgre SQL pg stat monitor agent default response
func (*AddQANPostgreSQLPgStatMonitorAgentDefault) Error ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentDefault) Error() string
func (*AddQANPostgreSQLPgStatMonitorAgentDefault) GetPayload ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentDefault) GetPayload() *AddQANPostgreSQLPgStatMonitorAgentDefaultBody
type AddQANPostgreSQLPgStatMonitorAgentDefaultBody ¶
type AddQANPostgreSQLPgStatMonitorAgentDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddQANPostgreSQLPgStatMonitorAgentDefaultBody add QAN postgre SQL pg stat monitor agent default body swagger:model AddQANPostgreSQLPgStatMonitorAgentDefaultBody
func (*AddQANPostgreSQLPgStatMonitorAgentDefaultBody) MarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatMonitorAgentDefaultBody) UnmarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddQANPostgreSQLPgStatMonitorAgentOK ¶
type AddQANPostgreSQLPgStatMonitorAgentOK struct {
Payload *AddQANPostgreSQLPgStatMonitorAgentOKBody
}
AddQANPostgreSQLPgStatMonitorAgentOK handles this case with default header values.
A successful response.
func NewAddQANPostgreSQLPgStatMonitorAgentOK ¶
func NewAddQANPostgreSQLPgStatMonitorAgentOK() *AddQANPostgreSQLPgStatMonitorAgentOK
NewAddQANPostgreSQLPgStatMonitorAgentOK creates a AddQANPostgreSQLPgStatMonitorAgentOK with default headers values
func (*AddQANPostgreSQLPgStatMonitorAgentOK) Error ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentOK) Error() string
func (*AddQANPostgreSQLPgStatMonitorAgentOK) GetPayload ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentOK) GetPayload() *AddQANPostgreSQLPgStatMonitorAgentOKBody
type AddQANPostgreSQLPgStatMonitorAgentOKBody ¶
type AddQANPostgreSQLPgStatMonitorAgentOKBody struct { // qan postgresql pgstatmonitor agent QANPostgresqlPgstatmonitorAgent *AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent `json:"qan_postgresql_pgstatmonitor_agent,omitempty"` }
AddQANPostgreSQLPgStatMonitorAgentOKBody add QAN postgre SQL pg stat monitor agent OK body swagger:model AddQANPostgreSQLPgStatMonitorAgentOKBody
func (*AddQANPostgreSQLPgStatMonitorAgentOKBody) MarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatMonitorAgentOKBody) UnmarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent ¶
type AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent 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 monitor 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"` }
AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent QANPostgreSQLPgStatMonitorAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent
func (*AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) Validate ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) Validate(formats strfmt.Registry) error
Validate validates this add QAN postgre SQL pg stat monitor agent OK body QAN postgresql pgstatmonitor agent
type AddQANPostgreSQLPgStatMonitorAgentParams ¶
type AddQANPostgreSQLPgStatMonitorAgentParams struct { /*Body*/ Body AddQANPostgreSQLPgStatMonitorAgentBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddQANPostgreSQLPgStatMonitorAgentParams contains all the parameters to send to the API endpoint for the add QAN postgre SQL pg stat monitor agent operation typically these are written to a http.Request
func NewAddQANPostgreSQLPgStatMonitorAgentParams ¶
func NewAddQANPostgreSQLPgStatMonitorAgentParams() *AddQANPostgreSQLPgStatMonitorAgentParams
NewAddQANPostgreSQLPgStatMonitorAgentParams creates a new AddQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized.
func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithContext ¶
func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithContext(ctx context.Context) *AddQANPostgreSQLPgStatMonitorAgentParams
NewAddQANPostgreSQLPgStatMonitorAgentParamsWithContext creates a new AddQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized, and the ability to set a context for a request
func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient ¶
func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatMonitorAgentParams
NewAddQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient creates a new AddQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithTimeout ¶
func NewAddQANPostgreSQLPgStatMonitorAgentParamsWithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatMonitorAgentParams
NewAddQANPostgreSQLPgStatMonitorAgentParamsWithTimeout creates a new AddQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddQANPostgreSQLPgStatMonitorAgentParams) SetBody ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetBody(body AddQANPostgreSQLPgStatMonitorAgentBody)
SetBody adds the body to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) SetContext ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) SetHTTPClient ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) SetTimeout ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) WithBody ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithBody(body AddQANPostgreSQLPgStatMonitorAgentBody) *AddQANPostgreSQLPgStatMonitorAgentParams
WithBody adds the body to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) WithContext ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithContext(ctx context.Context) *AddQANPostgreSQLPgStatMonitorAgentParams
WithContext adds the context to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) WithHTTPClient ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatMonitorAgentParams
WithHTTPClient adds the HTTPClient to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) WithTimeout ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatMonitorAgentParams
WithTimeout adds the timeout to the add QAN postgre SQL pg stat monitor agent params
func (*AddQANPostgreSQLPgStatMonitorAgentParams) WriteToRequest ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddQANPostgreSQLPgStatMonitorAgentReader ¶
type AddQANPostgreSQLPgStatMonitorAgentReader struct {
// contains filtered or unexported fields
}
AddQANPostgreSQLPgStatMonitorAgentReader is a Reader for the AddQANPostgreSQLPgStatMonitorAgent structure.
func (*AddQANPostgreSQLPgStatMonitorAgentReader) ReadResponse ¶
func (o *AddQANPostgreSQLPgStatMonitorAgentReader) 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
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 ¶
func (o *AddQANPostgreSQLPgStatementsAgentDefault) Code() int
Code gets the status code for the add QAN postgre SQL pg statements agent default response
func (*AddQANPostgreSQLPgStatementsAgentDefault) Error ¶
func (o *AddQANPostgreSQLPgStatementsAgentDefault) Error() string
func (*AddQANPostgreSQLPgStatementsAgentDefault) GetPayload ¶
func (o *AddQANPostgreSQLPgStatementsAgentDefault) GetPayload() *AddQANPostgreSQLPgStatementsAgentDefaultBody
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 ¶
func (o *AddQANPostgreSQLPgStatementsAgentDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatementsAgentDefaultBody) UnmarshalBinary ¶
func (o *AddQANPostgreSQLPgStatementsAgentDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 (o *AddQANPostgreSQLPgStatementsAgentOK) Error() string
func (*AddQANPostgreSQLPgStatementsAgentOK) GetPayload ¶
func (o *AddQANPostgreSQLPgStatementsAgentOK) GetPayload() *AddQANPostgreSQLPgStatementsAgentOKBody
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
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 ¶
func (o *AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary ¶
func (o *AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate ¶
func (o *AddQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate(formats strfmt.Registry) error
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 ¶
func (o *AddQANPostgreSQLPgStatementsAgentParams) SetBody(body AddQANPostgreSQLPgStatementsAgentBody)
SetBody adds the body to the add QAN postgre SQL pg statements agent params
func (*AddQANPostgreSQLPgStatementsAgentParams) SetContext ¶
func (o *AddQANPostgreSQLPgStatementsAgentParams) SetContext(ctx context.Context)
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 ¶
func (o *AddQANPostgreSQLPgStatementsAgentParams) WithBody(body AddQANPostgreSQLPgStatementsAgentBody) *AddQANPostgreSQLPgStatementsAgentParams
WithBody adds the body to the add QAN postgre SQL pg statements agent params
func (*AddQANPostgreSQLPgStatementsAgentParams) WithContext ¶
func (o *AddQANPostgreSQLPgStatementsAgentParams) WithContext(ctx context.Context) *AddQANPostgreSQLPgStatementsAgentParams
WithContext adds the context to the add QAN postgre SQL pg statements agent params
func (*AddQANPostgreSQLPgStatementsAgentParams) WithHTTPClient ¶
func (o *AddQANPostgreSQLPgStatementsAgentParams) WithHTTPClient(client *http.Client) *AddQANPostgreSQLPgStatementsAgentParams
WithHTTPClient adds the HTTPClient to the add QAN postgre SQL pg statements agent params
func (*AddQANPostgreSQLPgStatementsAgentParams) WithTimeout ¶
func (o *AddQANPostgreSQLPgStatementsAgentParams) WithTimeout(timeout time.Duration) *AddQANPostgreSQLPgStatementsAgentParams
WithTimeout adds the timeout to the add QAN postgre SQL pg statements agent params
func (*AddQANPostgreSQLPgStatementsAgentParams) WriteToRequest ¶
func (o *AddQANPostgreSQLPgStatementsAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics mode for exporter. PushMetrics bool `json:"push_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
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 ¶
func (o *AddRDSExporterDefault) GetPayload() *AddRDSExporterDefaultBody
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
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,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
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 ¶
func (o *AddRDSExporterParams) WithBody(body AddRDSExporterBody) *AddRDSExporterParams
WithBody adds the body to the add RDS exporter params
func (*AddRDSExporterParams) WithContext ¶
func (o *AddRDSExporterParams) WithContext(ctx context.Context) *AddRDSExporterParams
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 AzureDatabaseExporterItems0 ¶
type AzureDatabaseExporterItems0 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"` // Azure database subscription ID. AzureDatabaseSubscriptionID string `json:"azure_database_subscription_id,omitempty"` // Azure database resource type (mysql, maria, postgres) AzureDatabaseResourceType string `json:"azure_database_resource_type,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"` // True if the exporter operates in push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
AzureDatabaseExporterItems0 AzureDatabaseExporter runs on Generic or Container Node and exposes RemoteAzure Node metrics. swagger:model AzureDatabaseExporterItems0
func (*AzureDatabaseExporterItems0) MarshalBinary ¶
func (o *AzureDatabaseExporterItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureDatabaseExporterItems0) UnmarshalBinary ¶
func (o *AzureDatabaseExporterItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeAzureDatabaseExporterBody ¶
type ChangeAzureDatabaseExporterBody struct { // agent id AgentID string `json:"agent_id,omitempty"` // common Common *ChangeAzureDatabaseExporterParamsBodyCommon `json:"common,omitempty"` }
ChangeAzureDatabaseExporterBody change azure database exporter body swagger:model ChangeAzureDatabaseExporterBody
func (*ChangeAzureDatabaseExporterBody) MarshalBinary ¶
func (o *ChangeAzureDatabaseExporterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeAzureDatabaseExporterBody) UnmarshalBinary ¶
func (o *ChangeAzureDatabaseExporterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeAzureDatabaseExporterDefault ¶
type ChangeAzureDatabaseExporterDefault struct { Payload *ChangeAzureDatabaseExporterDefaultBody // contains filtered or unexported fields }
ChangeAzureDatabaseExporterDefault handles this case with default header values.
An unexpected error response.
func NewChangeAzureDatabaseExporterDefault ¶
func NewChangeAzureDatabaseExporterDefault(code int) *ChangeAzureDatabaseExporterDefault
NewChangeAzureDatabaseExporterDefault creates a ChangeAzureDatabaseExporterDefault with default headers values
func (*ChangeAzureDatabaseExporterDefault) Code ¶
func (o *ChangeAzureDatabaseExporterDefault) Code() int
Code gets the status code for the change azure database exporter default response
func (*ChangeAzureDatabaseExporterDefault) Error ¶
func (o *ChangeAzureDatabaseExporterDefault) Error() string
func (*ChangeAzureDatabaseExporterDefault) GetPayload ¶
func (o *ChangeAzureDatabaseExporterDefault) GetPayload() *ChangeAzureDatabaseExporterDefaultBody
type ChangeAzureDatabaseExporterDefaultBody ¶
type ChangeAzureDatabaseExporterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ChangeAzureDatabaseExporterDefaultBody change azure database exporter default body swagger:model ChangeAzureDatabaseExporterDefaultBody
func (*ChangeAzureDatabaseExporterDefaultBody) MarshalBinary ¶
func (o *ChangeAzureDatabaseExporterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeAzureDatabaseExporterDefaultBody) UnmarshalBinary ¶
func (o *ChangeAzureDatabaseExporterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeAzureDatabaseExporterOK ¶
type ChangeAzureDatabaseExporterOK struct {
Payload *ChangeAzureDatabaseExporterOKBody
}
ChangeAzureDatabaseExporterOK handles this case with default header values.
A successful response.
func NewChangeAzureDatabaseExporterOK ¶
func NewChangeAzureDatabaseExporterOK() *ChangeAzureDatabaseExporterOK
NewChangeAzureDatabaseExporterOK creates a ChangeAzureDatabaseExporterOK with default headers values
func (*ChangeAzureDatabaseExporterOK) Error ¶
func (o *ChangeAzureDatabaseExporterOK) Error() string
func (*ChangeAzureDatabaseExporterOK) GetPayload ¶
func (o *ChangeAzureDatabaseExporterOK) GetPayload() *ChangeAzureDatabaseExporterOKBody
type ChangeAzureDatabaseExporterOKBody ¶
type ChangeAzureDatabaseExporterOKBody struct { // azure database exporter AzureDatabaseExporter *ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter `json:"azure_database_exporter,omitempty"` }
ChangeAzureDatabaseExporterOKBody change azure database exporter OK body swagger:model ChangeAzureDatabaseExporterOKBody
func (*ChangeAzureDatabaseExporterOKBody) MarshalBinary ¶
func (o *ChangeAzureDatabaseExporterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeAzureDatabaseExporterOKBody) UnmarshalBinary ¶
func (o *ChangeAzureDatabaseExporterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter ¶
type ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter 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"` // Azure database subscription ID. AzureDatabaseSubscriptionID string `json:"azure_database_subscription_id,omitempty"` // Azure database resource type (mysql, maria, postgres) AzureDatabaseResourceType string `json:"azure_database_resource_type,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"` // True if the exporter operates in push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter AzureDatabaseExporter runs on Generic or Container Node and exposes RemoteAzure Node metrics. swagger:model ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter
func (*ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter) MarshalBinary ¶
func (o *ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter) UnmarshalBinary ¶
func (o *ChangeAzureDatabaseExporterOKBodyAzureDatabaseExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeAzureDatabaseExporterParams ¶
type ChangeAzureDatabaseExporterParams struct { /*Body*/ Body ChangeAzureDatabaseExporterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeAzureDatabaseExporterParams contains all the parameters to send to the API endpoint for the change azure database exporter operation typically these are written to a http.Request
func NewChangeAzureDatabaseExporterParams ¶
func NewChangeAzureDatabaseExporterParams() *ChangeAzureDatabaseExporterParams
NewChangeAzureDatabaseExporterParams creates a new ChangeAzureDatabaseExporterParams object with the default values initialized.
func NewChangeAzureDatabaseExporterParamsWithContext ¶
func NewChangeAzureDatabaseExporterParamsWithContext(ctx context.Context) *ChangeAzureDatabaseExporterParams
NewChangeAzureDatabaseExporterParamsWithContext creates a new ChangeAzureDatabaseExporterParams object with the default values initialized, and the ability to set a context for a request
func NewChangeAzureDatabaseExporterParamsWithHTTPClient ¶
func NewChangeAzureDatabaseExporterParamsWithHTTPClient(client *http.Client) *ChangeAzureDatabaseExporterParams
NewChangeAzureDatabaseExporterParamsWithHTTPClient creates a new ChangeAzureDatabaseExporterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangeAzureDatabaseExporterParamsWithTimeout ¶
func NewChangeAzureDatabaseExporterParamsWithTimeout(timeout time.Duration) *ChangeAzureDatabaseExporterParams
NewChangeAzureDatabaseExporterParamsWithTimeout creates a new ChangeAzureDatabaseExporterParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangeAzureDatabaseExporterParams) SetBody ¶
func (o *ChangeAzureDatabaseExporterParams) SetBody(body ChangeAzureDatabaseExporterBody)
SetBody adds the body to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) SetContext ¶
func (o *ChangeAzureDatabaseExporterParams) SetContext(ctx context.Context)
SetContext adds the context to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) SetHTTPClient ¶
func (o *ChangeAzureDatabaseExporterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) SetTimeout ¶
func (o *ChangeAzureDatabaseExporterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) WithBody ¶
func (o *ChangeAzureDatabaseExporterParams) WithBody(body ChangeAzureDatabaseExporterBody) *ChangeAzureDatabaseExporterParams
WithBody adds the body to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) WithContext ¶
func (o *ChangeAzureDatabaseExporterParams) WithContext(ctx context.Context) *ChangeAzureDatabaseExporterParams
WithContext adds the context to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) WithHTTPClient ¶
func (o *ChangeAzureDatabaseExporterParams) WithHTTPClient(client *http.Client) *ChangeAzureDatabaseExporterParams
WithHTTPClient adds the HTTPClient to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) WithTimeout ¶
func (o *ChangeAzureDatabaseExporterParams) WithTimeout(timeout time.Duration) *ChangeAzureDatabaseExporterParams
WithTimeout adds the timeout to the change azure database exporter params
func (*ChangeAzureDatabaseExporterParams) WriteToRequest ¶
func (o *ChangeAzureDatabaseExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeAzureDatabaseExporterParamsBodyCommon ¶
type ChangeAzureDatabaseExporterParamsBodyCommon 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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,omitempty"` }
ChangeAzureDatabaseExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeAzureDatabaseExporterParamsBodyCommon
func (*ChangeAzureDatabaseExporterParamsBodyCommon) MarshalBinary ¶
func (o *ChangeAzureDatabaseExporterParamsBodyCommon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeAzureDatabaseExporterParamsBodyCommon) UnmarshalBinary ¶
func (o *ChangeAzureDatabaseExporterParamsBodyCommon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeAzureDatabaseExporterReader ¶
type ChangeAzureDatabaseExporterReader struct {
// contains filtered or unexported fields
}
ChangeAzureDatabaseExporterReader is a Reader for the ChangeAzureDatabaseExporter structure.
func (*ChangeAzureDatabaseExporterReader) ReadResponse ¶
func (o *ChangeAzureDatabaseExporterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeExternalExporterBody ¶
type ChangeExternalExporterBody struct { // agent id AgentID string `json:"agent_id,omitempty"` // common Common *ChangeExternalExporterParamsBodyCommon `json:"common,omitempty"` }
ChangeExternalExporterBody change external exporter body swagger:model ChangeExternalExporterBody
func (*ChangeExternalExporterBody) MarshalBinary ¶
func (o *ChangeExternalExporterBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeExternalExporterBody) UnmarshalBinary ¶
func (o *ChangeExternalExporterBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeExternalExporterDefault ¶
type ChangeExternalExporterDefault struct { Payload *ChangeExternalExporterDefaultBody // contains filtered or unexported fields }
ChangeExternalExporterDefault handles this case with default header values.
An unexpected error response.
func NewChangeExternalExporterDefault ¶
func NewChangeExternalExporterDefault(code int) *ChangeExternalExporterDefault
NewChangeExternalExporterDefault creates a ChangeExternalExporterDefault with default headers values
func (*ChangeExternalExporterDefault) Code ¶
func (o *ChangeExternalExporterDefault) Code() int
Code gets the status code for the change external exporter default response
func (*ChangeExternalExporterDefault) Error ¶
func (o *ChangeExternalExporterDefault) Error() string
func (*ChangeExternalExporterDefault) GetPayload ¶
func (o *ChangeExternalExporterDefault) GetPayload() *ChangeExternalExporterDefaultBody
type ChangeExternalExporterDefaultBody ¶
type ChangeExternalExporterDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ChangeExternalExporterDefaultBody change external exporter default body swagger:model ChangeExternalExporterDefaultBody
func (*ChangeExternalExporterDefaultBody) MarshalBinary ¶
func (o *ChangeExternalExporterDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeExternalExporterDefaultBody) UnmarshalBinary ¶
func (o *ChangeExternalExporterDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeExternalExporterOK ¶
type ChangeExternalExporterOK struct {
Payload *ChangeExternalExporterOKBody
}
ChangeExternalExporterOK handles this case with default header values.
A successful response.
func NewChangeExternalExporterOK ¶
func NewChangeExternalExporterOK() *ChangeExternalExporterOK
NewChangeExternalExporterOK creates a ChangeExternalExporterOK with default headers values
func (*ChangeExternalExporterOK) Error ¶
func (o *ChangeExternalExporterOK) Error() string
func (*ChangeExternalExporterOK) GetPayload ¶
func (o *ChangeExternalExporterOK) GetPayload() *ChangeExternalExporterOKBody
type ChangeExternalExporterOKBody ¶
type ChangeExternalExporterOKBody struct { // external exporter ExternalExporter *ChangeExternalExporterOKBodyExternalExporter `json:"external_exporter,omitempty"` }
ChangeExternalExporterOKBody change external exporter OK body swagger:model ChangeExternalExporterOKBody
func (*ChangeExternalExporterOKBody) MarshalBinary ¶
func (o *ChangeExternalExporterOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeExternalExporterOKBody) UnmarshalBinary ¶
func (o *ChangeExternalExporterOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeExternalExporterOKBodyExternalExporter ¶
type ChangeExternalExporterOKBodyExternalExporter 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"` // If disabled, metrics from this exporter will not be collected. Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // HTTP basic auth username for collecting metrics. Username string `json:"username,omitempty"` // Scheme to generate URI to exporter metrics endpoints. Scheme string `json:"scheme,omitempty"` // Path under which metrics are exposed, used to generate URI. MetricsPath string `json:"metrics_path,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
ChangeExternalExporterOKBodyExternalExporter ExternalExporter runs on any Node type, including Remote Node. swagger:model ChangeExternalExporterOKBodyExternalExporter
func (*ChangeExternalExporterOKBodyExternalExporter) MarshalBinary ¶
func (o *ChangeExternalExporterOKBodyExternalExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeExternalExporterOKBodyExternalExporter) UnmarshalBinary ¶
func (o *ChangeExternalExporterOKBodyExternalExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeExternalExporterParams ¶
type ChangeExternalExporterParams struct { /*Body*/ Body ChangeExternalExporterBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeExternalExporterParams contains all the parameters to send to the API endpoint for the change external exporter operation typically these are written to a http.Request
func NewChangeExternalExporterParams ¶
func NewChangeExternalExporterParams() *ChangeExternalExporterParams
NewChangeExternalExporterParams creates a new ChangeExternalExporterParams object with the default values initialized.
func NewChangeExternalExporterParamsWithContext ¶
func NewChangeExternalExporterParamsWithContext(ctx context.Context) *ChangeExternalExporterParams
NewChangeExternalExporterParamsWithContext creates a new ChangeExternalExporterParams object with the default values initialized, and the ability to set a context for a request
func NewChangeExternalExporterParamsWithHTTPClient ¶
func NewChangeExternalExporterParamsWithHTTPClient(client *http.Client) *ChangeExternalExporterParams
NewChangeExternalExporterParamsWithHTTPClient creates a new ChangeExternalExporterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangeExternalExporterParamsWithTimeout ¶
func NewChangeExternalExporterParamsWithTimeout(timeout time.Duration) *ChangeExternalExporterParams
NewChangeExternalExporterParamsWithTimeout creates a new ChangeExternalExporterParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangeExternalExporterParams) SetBody ¶
func (o *ChangeExternalExporterParams) SetBody(body ChangeExternalExporterBody)
SetBody adds the body to the change external exporter params
func (*ChangeExternalExporterParams) SetContext ¶
func (o *ChangeExternalExporterParams) SetContext(ctx context.Context)
SetContext adds the context to the change external exporter params
func (*ChangeExternalExporterParams) SetHTTPClient ¶
func (o *ChangeExternalExporterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change external exporter params
func (*ChangeExternalExporterParams) SetTimeout ¶
func (o *ChangeExternalExporterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change external exporter params
func (*ChangeExternalExporterParams) WithBody ¶
func (o *ChangeExternalExporterParams) WithBody(body ChangeExternalExporterBody) *ChangeExternalExporterParams
WithBody adds the body to the change external exporter params
func (*ChangeExternalExporterParams) WithContext ¶
func (o *ChangeExternalExporterParams) WithContext(ctx context.Context) *ChangeExternalExporterParams
WithContext adds the context to the change external exporter params
func (*ChangeExternalExporterParams) WithHTTPClient ¶
func (o *ChangeExternalExporterParams) WithHTTPClient(client *http.Client) *ChangeExternalExporterParams
WithHTTPClient adds the HTTPClient to the change external exporter params
func (*ChangeExternalExporterParams) WithTimeout ¶
func (o *ChangeExternalExporterParams) WithTimeout(timeout time.Duration) *ChangeExternalExporterParams
WithTimeout adds the timeout to the change external exporter params
func (*ChangeExternalExporterParams) WriteToRequest ¶
func (o *ChangeExternalExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeExternalExporterParamsBodyCommon ¶
type ChangeExternalExporterParamsBodyCommon 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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,omitempty"` }
ChangeExternalExporterParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeExternalExporterParamsBodyCommon
func (*ChangeExternalExporterParamsBodyCommon) MarshalBinary ¶
func (o *ChangeExternalExporterParamsBodyCommon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeExternalExporterParamsBodyCommon) UnmarshalBinary ¶
func (o *ChangeExternalExporterParamsBodyCommon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeExternalExporterReader ¶
type ChangeExternalExporterReader struct {
// contains filtered or unexported fields
}
ChangeExternalExporterReader is a Reader for the ChangeExternalExporter structure.
func (*ChangeExternalExporterReader) ReadResponse ¶
func (o *ChangeExternalExporterReader) 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
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 ¶
func (o *ChangeMongoDBExporterDefault) Code() int
Code gets the status code for the change mongo DB exporter default response
func (*ChangeMongoDBExporterDefault) Error ¶
func (o *ChangeMongoDBExporterDefault) Error() string
func (*ChangeMongoDBExporterDefault) GetPayload ¶
func (o *ChangeMongoDBExporterDefault) GetPayload() *ChangeMongoDBExporterDefaultBody
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
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 ¶
func (o *ChangeMongoDBExporterOK) GetPayload() *ChangeMongoDBExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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 ¶
func (o *ChangeMongoDBExporterParams) SetBody(body ChangeMongoDBExporterBody)
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 ¶
func (o *ChangeMongoDBExporterParams) WithBody(body ChangeMongoDBExporterBody) *ChangeMongoDBExporterParams
WithBody adds the body to the change mongo DB exporter params
func (*ChangeMongoDBExporterParams) WithContext ¶
func (o *ChangeMongoDBExporterParams) WithContext(ctx context.Context) *ChangeMongoDBExporterParams
WithContext adds the context to the change mongo DB exporter params
func (*ChangeMongoDBExporterParams) WithHTTPClient ¶
func (o *ChangeMongoDBExporterParams) WithHTTPClient(client *http.Client) *ChangeMongoDBExporterParams
WithHTTPClient adds the HTTPClient to the change mongo DB exporter params
func (*ChangeMongoDBExporterParams) WithTimeout ¶
func (o *ChangeMongoDBExporterParams) WithTimeout(timeout time.Duration) *ChangeMongoDBExporterParams
WithTimeout adds the timeout to the change mongo DB exporter params
func (*ChangeMongoDBExporterParams) WriteToRequest ¶
func (o *ChangeMongoDBExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,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
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
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 (o *ChangeMySQLdExporterDefault) Error() string
func (*ChangeMySQLdExporterDefault) GetPayload ¶
func (o *ChangeMySQLdExporterDefault) GetPayload() *ChangeMySQLdExporterDefaultBody
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
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 ¶
func (o *ChangeMySQLdExporterOK) GetPayload() *ChangeMySQLdExporterOKBody
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,omitempty"` // Tablestats group collectors are disabled if there are more than that number of tables. // 0 means tablestats group collectors are always enabled (no limit). // Negative value means tablestats group collectors are always disabled. TablestatsGroupTableLimit int32 `json:"tablestats_group_table_limit,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if tablestats group collectors are currently disabled. TablestatsGroupDisabled bool `json:"tablestats_group_disabled,omitempty"` }
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
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 ¶
func (o *ChangeMySQLdExporterParams) SetBody(body ChangeMySQLdExporterBody)
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 ¶
func (o *ChangeMySQLdExporterParams) WithBody(body ChangeMySQLdExporterBody) *ChangeMySQLdExporterParams
WithBody adds the body to the change my s q ld exporter params
func (*ChangeMySQLdExporterParams) WithContext ¶
func (o *ChangeMySQLdExporterParams) WithContext(ctx context.Context) *ChangeMySQLdExporterParams
WithContext adds the context to the change my s q ld exporter params
func (*ChangeMySQLdExporterParams) WithHTTPClient ¶
func (o *ChangeMySQLdExporterParams) WithHTTPClient(client *http.Client) *ChangeMySQLdExporterParams
WithHTTPClient adds the HTTPClient to the change my s q ld exporter params
func (*ChangeMySQLdExporterParams) WithTimeout ¶
func (o *ChangeMySQLdExporterParams) WithTimeout(timeout time.Duration) *ChangeMySQLdExporterParams
WithTimeout adds the timeout to the change my s q ld exporter params
func (*ChangeMySQLdExporterParams) WriteToRequest ¶
func (o *ChangeMySQLdExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,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
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
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 ¶
func (o *ChangeNodeExporterDefault) GetPayload() *ChangeNodeExporterDefaultBody
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
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 ¶
func (o *ChangeNodeExporterOK) GetPayload() *ChangeNodeExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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 ¶
func (o *ChangeNodeExporterParams) SetBody(body ChangeNodeExporterBody)
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 ¶
func (o *ChangeNodeExporterParams) WithBody(body ChangeNodeExporterBody) *ChangeNodeExporterParams
WithBody adds the body to the change node exporter params
func (*ChangeNodeExporterParams) WithContext ¶
func (o *ChangeNodeExporterParams) WithContext(ctx context.Context) *ChangeNodeExporterParams
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 ¶
func (o *ChangeNodeExporterParams) WithTimeout(timeout time.Duration) *ChangeNodeExporterParams
WithTimeout adds the timeout to the change node exporter params
func (*ChangeNodeExporterParams) WriteToRequest ¶
func (o *ChangeNodeExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,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
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
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 ¶
func (o *ChangePostgresExporterDefault) Code() int
Code gets the status code for the change postgres exporter default response
func (*ChangePostgresExporterDefault) Error ¶
func (o *ChangePostgresExporterDefault) Error() string
func (*ChangePostgresExporterDefault) GetPayload ¶
func (o *ChangePostgresExporterDefault) GetPayload() *ChangePostgresExporterDefaultBody
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
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 ¶
func (o *ChangePostgresExporterOK) GetPayload() *ChangePostgresExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
ChangePostgresExporterOKBodyPostgresExporter PostgresExporter runs on Generic or Container Node and exposes PostgreSQL Service metrics. swagger:model ChangePostgresExporterOKBodyPostgresExporter
func (*ChangePostgresExporterOKBodyPostgresExporter) MarshalBinary ¶
func (o *ChangePostgresExporterOKBodyPostgresExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangePostgresExporterOKBodyPostgresExporter) UnmarshalBinary ¶
func (o *ChangePostgresExporterOKBodyPostgresExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ChangePostgresExporterParams) SetBody(body ChangePostgresExporterBody)
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 ¶
func (o *ChangePostgresExporterParams) WithBody(body ChangePostgresExporterBody) *ChangePostgresExporterParams
WithBody adds the body to the change postgres exporter params
func (*ChangePostgresExporterParams) WithContext ¶
func (o *ChangePostgresExporterParams) WithContext(ctx context.Context) *ChangePostgresExporterParams
WithContext adds the context to the change postgres exporter params
func (*ChangePostgresExporterParams) WithHTTPClient ¶
func (o *ChangePostgresExporterParams) WithHTTPClient(client *http.Client) *ChangePostgresExporterParams
WithHTTPClient adds the HTTPClient to the change postgres exporter params
func (*ChangePostgresExporterParams) WithTimeout ¶
func (o *ChangePostgresExporterParams) WithTimeout(timeout time.Duration) *ChangePostgresExporterParams
WithTimeout adds the timeout to the change postgres exporter params
func (*ChangePostgresExporterParams) WriteToRequest ¶
func (o *ChangePostgresExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,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
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
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 ¶
func (o *ChangeProxySQLExporterDefault) Code() int
Code gets the status code for the change proxy SQL exporter default response
func (*ChangeProxySQLExporterDefault) Error ¶
func (o *ChangeProxySQLExporterDefault) Error() string
func (*ChangeProxySQLExporterDefault) GetPayload ¶
func (o *ChangeProxySQLExporterDefault) GetPayload() *ChangeProxySQLExporterDefaultBody
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
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 ¶
func (o *ChangeProxySQLExporterOK) GetPayload() *ChangeProxySQLExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
ChangeProxySQLExporterOKBodyProxysqlExporter ProxySQLExporter runs on Generic or Container Node and exposes ProxySQL Service metrics. swagger:model ChangeProxySQLExporterOKBodyProxysqlExporter
func (*ChangeProxySQLExporterOKBodyProxysqlExporter) MarshalBinary ¶
func (o *ChangeProxySQLExporterOKBodyProxysqlExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeProxySQLExporterOKBodyProxysqlExporter) UnmarshalBinary ¶
func (o *ChangeProxySQLExporterOKBodyProxysqlExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ChangeProxySQLExporterParams) SetBody(body ChangeProxySQLExporterBody)
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 ¶
func (o *ChangeProxySQLExporterParams) WithBody(body ChangeProxySQLExporterBody) *ChangeProxySQLExporterParams
WithBody adds the body to the change proxy SQL exporter params
func (*ChangeProxySQLExporterParams) WithContext ¶
func (o *ChangeProxySQLExporterParams) WithContext(ctx context.Context) *ChangeProxySQLExporterParams
WithContext adds the context to the change proxy SQL exporter params
func (*ChangeProxySQLExporterParams) WithHTTPClient ¶
func (o *ChangeProxySQLExporterParams) WithHTTPClient(client *http.Client) *ChangeProxySQLExporterParams
WithHTTPClient adds the HTTPClient to the change proxy SQL exporter params
func (*ChangeProxySQLExporterParams) WithTimeout ¶
func (o *ChangeProxySQLExporterParams) WithTimeout(timeout time.Duration) *ChangeProxySQLExporterParams
WithTimeout adds the timeout to the change proxy SQL exporter params
func (*ChangeProxySQLExporterParams) WriteToRequest ¶
func (o *ChangeProxySQLExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,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
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
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 ¶
func (o *ChangeQANMongoDBProfilerAgentDefault) Code() int
Code gets the status code for the change QAN mongo DB profiler agent default response
func (*ChangeQANMongoDBProfilerAgentDefault) Error ¶
func (o *ChangeQANMongoDBProfilerAgentDefault) Error() string
func (*ChangeQANMongoDBProfilerAgentDefault) GetPayload ¶
func (o *ChangeQANMongoDBProfilerAgentDefault) GetPayload() *ChangeQANMongoDBProfilerAgentDefaultBody
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
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 (o *ChangeQANMongoDBProfilerAgentOK) Error() string
func (*ChangeQANMongoDBProfilerAgentOK) GetPayload ¶
func (o *ChangeQANMongoDBProfilerAgentOK) GetPayload() *ChangeQANMongoDBProfilerAgentOKBody
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
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 ¶
func (o *ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary ¶
func (o *ChangeQANMongoDBProfilerAgentOKBodyQANMongodbProfilerAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ChangeQANMongoDBProfilerAgentParams) SetBody(body ChangeQANMongoDBProfilerAgentBody)
SetBody adds the body to the change QAN mongo DB profiler agent params
func (*ChangeQANMongoDBProfilerAgentParams) SetContext ¶
func (o *ChangeQANMongoDBProfilerAgentParams) SetContext(ctx context.Context)
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 ¶
func (o *ChangeQANMongoDBProfilerAgentParams) WithBody(body ChangeQANMongoDBProfilerAgentBody) *ChangeQANMongoDBProfilerAgentParams
WithBody adds the body to the change QAN mongo DB profiler agent params
func (*ChangeQANMongoDBProfilerAgentParams) WithContext ¶
func (o *ChangeQANMongoDBProfilerAgentParams) WithContext(ctx context.Context) *ChangeQANMongoDBProfilerAgentParams
WithContext adds the context to the change QAN mongo DB profiler agent params
func (*ChangeQANMongoDBProfilerAgentParams) WithHTTPClient ¶
func (o *ChangeQANMongoDBProfilerAgentParams) WithHTTPClient(client *http.Client) *ChangeQANMongoDBProfilerAgentParams
WithHTTPClient adds the HTTPClient to the change QAN mongo DB profiler agent params
func (*ChangeQANMongoDBProfilerAgentParams) WithTimeout ¶
func (o *ChangeQANMongoDBProfilerAgentParams) WithTimeout(timeout time.Duration) *ChangeQANMongoDBProfilerAgentParams
WithTimeout adds the timeout to the change QAN mongo DB profiler agent params
func (*ChangeQANMongoDBProfilerAgentParams) WriteToRequest ¶
func (o *ChangeQANMongoDBProfilerAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,omitempty"` }
ChangeQANMongoDBProfilerAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANMongoDBProfilerAgentParamsBodyCommon
func (*ChangeQANMongoDBProfilerAgentParamsBodyCommon) MarshalBinary ¶
func (o *ChangeQANMongoDBProfilerAgentParamsBodyCommon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANMongoDBProfilerAgentParamsBodyCommon) UnmarshalBinary ¶
func (o *ChangeQANMongoDBProfilerAgentParamsBodyCommon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (o *ChangeQANMySQLPerfSchemaAgentDefault) Code() int
Code gets the status code for the change QAN my SQL perf schema agent default response
func (*ChangeQANMySQLPerfSchemaAgentDefault) Error ¶
func (o *ChangeQANMySQLPerfSchemaAgentDefault) Error() string
func (*ChangeQANMySQLPerfSchemaAgentDefault) GetPayload ¶
func (o *ChangeQANMySQLPerfSchemaAgentDefault) GetPayload() *ChangeQANMySQLPerfSchemaAgentDefaultBody
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
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 (o *ChangeQANMySQLPerfSchemaAgentOK) Error() string
func (*ChangeQANMySQLPerfSchemaAgentOK) GetPayload ¶
func (o *ChangeQANMySQLPerfSchemaAgentOK) GetPayload() *ChangeQANMySQLPerfSchemaAgentOKBody
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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 ¶
func (o *ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary ¶
func (o *ChangeQANMySQLPerfSchemaAgentOKBodyQANMysqlPerfschemaAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ChangeQANMySQLPerfSchemaAgentParams) SetBody(body ChangeQANMySQLPerfSchemaAgentBody)
SetBody adds the body to the change QAN my SQL perf schema agent params
func (*ChangeQANMySQLPerfSchemaAgentParams) SetContext ¶
func (o *ChangeQANMySQLPerfSchemaAgentParams) SetContext(ctx context.Context)
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 ¶
func (o *ChangeQANMySQLPerfSchemaAgentParams) WithBody(body ChangeQANMySQLPerfSchemaAgentBody) *ChangeQANMySQLPerfSchemaAgentParams
WithBody adds the body to the change QAN my SQL perf schema agent params
func (*ChangeQANMySQLPerfSchemaAgentParams) WithContext ¶
func (o *ChangeQANMySQLPerfSchemaAgentParams) WithContext(ctx context.Context) *ChangeQANMySQLPerfSchemaAgentParams
WithContext adds the context to the change QAN my SQL perf schema agent params
func (*ChangeQANMySQLPerfSchemaAgentParams) WithHTTPClient ¶
func (o *ChangeQANMySQLPerfSchemaAgentParams) WithHTTPClient(client *http.Client) *ChangeQANMySQLPerfSchemaAgentParams
WithHTTPClient adds the HTTPClient to the change QAN my SQL perf schema agent params
func (*ChangeQANMySQLPerfSchemaAgentParams) WithTimeout ¶
func (o *ChangeQANMySQLPerfSchemaAgentParams) WithTimeout(timeout time.Duration) *ChangeQANMySQLPerfSchemaAgentParams
WithTimeout adds the timeout to the change QAN my SQL perf schema agent params
func (*ChangeQANMySQLPerfSchemaAgentParams) WriteToRequest ¶
func (o *ChangeQANMySQLPerfSchemaAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,omitempty"` }
ChangeQANMySQLPerfSchemaAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANMySQLPerfSchemaAgentParamsBodyCommon
func (*ChangeQANMySQLPerfSchemaAgentParamsBodyCommon) MarshalBinary ¶
func (o *ChangeQANMySQLPerfSchemaAgentParamsBodyCommon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANMySQLPerfSchemaAgentParamsBodyCommon) UnmarshalBinary ¶
func (o *ChangeQANMySQLPerfSchemaAgentParamsBodyCommon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (o *ChangeQANMySQLSlowlogAgentDefault) Code() int
Code gets the status code for the change QAN my SQL slowlog agent default response
func (*ChangeQANMySQLSlowlogAgentDefault) Error ¶
func (o *ChangeQANMySQLSlowlogAgentDefault) Error() string
func (*ChangeQANMySQLSlowlogAgentDefault) GetPayload ¶
func (o *ChangeQANMySQLSlowlogAgentDefault) GetPayload() *ChangeQANMySQLSlowlogAgentDefaultBody
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
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 (o *ChangeQANMySQLSlowlogAgentOK) Error() string
func (*ChangeQANMySQLSlowlogAgentOK) GetPayload ¶
func (o *ChangeQANMySQLSlowlogAgentOK) GetPayload() *ChangeQANMySQLSlowlogAgentOKBody
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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 ¶
func (o *ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) UnmarshalBinary ¶
func (o *ChangeQANMySQLSlowlogAgentOKBodyQANMysqlSlowlogAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (o *ChangeQANMySQLSlowlogAgentParams) SetBody(body ChangeQANMySQLSlowlogAgentBody)
SetBody adds the body to the change QAN my SQL slowlog agent params
func (*ChangeQANMySQLSlowlogAgentParams) SetContext ¶
func (o *ChangeQANMySQLSlowlogAgentParams) SetContext(ctx context.Context)
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 ¶
func (o *ChangeQANMySQLSlowlogAgentParams) WithBody(body ChangeQANMySQLSlowlogAgentBody) *ChangeQANMySQLSlowlogAgentParams
WithBody adds the body to the change QAN my SQL slowlog agent params
func (*ChangeQANMySQLSlowlogAgentParams) WithContext ¶
func (o *ChangeQANMySQLSlowlogAgentParams) WithContext(ctx context.Context) *ChangeQANMySQLSlowlogAgentParams
WithContext adds the context to the change QAN my SQL slowlog agent params
func (*ChangeQANMySQLSlowlogAgentParams) WithHTTPClient ¶
func (o *ChangeQANMySQLSlowlogAgentParams) WithHTTPClient(client *http.Client) *ChangeQANMySQLSlowlogAgentParams
WithHTTPClient adds the HTTPClient to the change QAN my SQL slowlog agent params
func (*ChangeQANMySQLSlowlogAgentParams) WithTimeout ¶
func (o *ChangeQANMySQLSlowlogAgentParams) WithTimeout(timeout time.Duration) *ChangeQANMySQLSlowlogAgentParams
WithTimeout adds the timeout to the change QAN my SQL slowlog agent params
func (*ChangeQANMySQLSlowlogAgentParams) WriteToRequest ¶
func (o *ChangeQANMySQLSlowlogAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,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
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 ChangeQANPostgreSQLPgStatMonitorAgentBody ¶
type ChangeQANPostgreSQLPgStatMonitorAgentBody struct { // agent id AgentID string `json:"agent_id,omitempty"` // common Common *ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon `json:"common,omitempty"` }
ChangeQANPostgreSQLPgStatMonitorAgentBody change QAN postgre SQL pg stat monitor agent body swagger:model ChangeQANPostgreSQLPgStatMonitorAgentBody
func (*ChangeQANPostgreSQLPgStatMonitorAgentBody) MarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatMonitorAgentBody) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeQANPostgreSQLPgStatMonitorAgentDefault ¶
type ChangeQANPostgreSQLPgStatMonitorAgentDefault struct { Payload *ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody // contains filtered or unexported fields }
ChangeQANPostgreSQLPgStatMonitorAgentDefault handles this case with default header values.
An unexpected error response.
func NewChangeQANPostgreSQLPgStatMonitorAgentDefault ¶
func NewChangeQANPostgreSQLPgStatMonitorAgentDefault(code int) *ChangeQANPostgreSQLPgStatMonitorAgentDefault
NewChangeQANPostgreSQLPgStatMonitorAgentDefault creates a ChangeQANPostgreSQLPgStatMonitorAgentDefault with default headers values
func (*ChangeQANPostgreSQLPgStatMonitorAgentDefault) Code ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentDefault) Code() int
Code gets the status code for the change QAN postgre SQL pg stat monitor agent default response
func (*ChangeQANPostgreSQLPgStatMonitorAgentDefault) Error ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentDefault) Error() string
func (*ChangeQANPostgreSQLPgStatMonitorAgentDefault) GetPayload ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentDefault) GetPayload() *ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody
type ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody ¶
type ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody change QAN postgre SQL pg stat monitor agent default body swagger:model ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody
func (*ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody) MarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeQANPostgreSQLPgStatMonitorAgentOK ¶
type ChangeQANPostgreSQLPgStatMonitorAgentOK struct {
Payload *ChangeQANPostgreSQLPgStatMonitorAgentOKBody
}
ChangeQANPostgreSQLPgStatMonitorAgentOK handles this case with default header values.
A successful response.
func NewChangeQANPostgreSQLPgStatMonitorAgentOK ¶
func NewChangeQANPostgreSQLPgStatMonitorAgentOK() *ChangeQANPostgreSQLPgStatMonitorAgentOK
NewChangeQANPostgreSQLPgStatMonitorAgentOK creates a ChangeQANPostgreSQLPgStatMonitorAgentOK with default headers values
func (*ChangeQANPostgreSQLPgStatMonitorAgentOK) Error ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentOK) Error() string
func (*ChangeQANPostgreSQLPgStatMonitorAgentOK) GetPayload ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentOK) GetPayload() *ChangeQANPostgreSQLPgStatMonitorAgentOKBody
type ChangeQANPostgreSQLPgStatMonitorAgentOKBody ¶
type ChangeQANPostgreSQLPgStatMonitorAgentOKBody struct { // qan postgresql pgstatmonitor agent QANPostgresqlPgstatmonitorAgent *ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent `json:"qan_postgresql_pgstatmonitor_agent,omitempty"` }
ChangeQANPostgreSQLPgStatMonitorAgentOKBody change QAN postgre SQL pg stat monitor agent OK body swagger:model ChangeQANPostgreSQLPgStatMonitorAgentOKBody
func (*ChangeQANPostgreSQLPgStatMonitorAgentOKBody) MarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatMonitorAgentOKBody) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent ¶
type ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent 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 monitor 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"` }
ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent QANPostgreSQLPgStatMonitorAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent
func (*ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) Validate ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentOKBodyQANPostgresqlPgstatmonitorAgent) Validate(formats strfmt.Registry) error
Validate validates this change QAN postgre SQL pg stat monitor agent OK body QAN postgresql pgstatmonitor agent
type ChangeQANPostgreSQLPgStatMonitorAgentParams ¶
type ChangeQANPostgreSQLPgStatMonitorAgentParams struct { /*Body*/ Body ChangeQANPostgreSQLPgStatMonitorAgentBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeQANPostgreSQLPgStatMonitorAgentParams contains all the parameters to send to the API endpoint for the change QAN postgre SQL pg stat monitor agent operation typically these are written to a http.Request
func NewChangeQANPostgreSQLPgStatMonitorAgentParams ¶
func NewChangeQANPostgreSQLPgStatMonitorAgentParams() *ChangeQANPostgreSQLPgStatMonitorAgentParams
NewChangeQANPostgreSQLPgStatMonitorAgentParams creates a new ChangeQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized.
func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithContext ¶
func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatMonitorAgentParams
NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithContext creates a new ChangeQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized, and the ability to set a context for a request
func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient ¶
func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatMonitorAgentParams
NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithHTTPClient creates a new ChangeQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithTimeout ¶
func NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatMonitorAgentParams
NewChangeQANPostgreSQLPgStatMonitorAgentParamsWithTimeout creates a new ChangeQANPostgreSQLPgStatMonitorAgentParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) SetBody ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetBody(body ChangeQANPostgreSQLPgStatMonitorAgentBody)
SetBody adds the body to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) SetContext ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetContext(ctx context.Context)
SetContext adds the context to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) SetHTTPClient ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) SetTimeout ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) WithBody ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithBody(body ChangeQANPostgreSQLPgStatMonitorAgentBody) *ChangeQANPostgreSQLPgStatMonitorAgentParams
WithBody adds the body to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) WithContext ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatMonitorAgentParams
WithContext adds the context to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) WithHTTPClient ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatMonitorAgentParams
WithHTTPClient adds the HTTPClient to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) WithTimeout ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatMonitorAgentParams
WithTimeout adds the timeout to the change QAN postgre SQL pg stat monitor agent params
func (*ChangeQANPostgreSQLPgStatMonitorAgentParams) WriteToRequest ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon ¶
type ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon 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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,omitempty"` }
ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon
func (*ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon) MarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentParamsBodyCommon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ChangeQANPostgreSQLPgStatMonitorAgentReader ¶
type ChangeQANPostgreSQLPgStatMonitorAgentReader struct {
// contains filtered or unexported fields
}
ChangeQANPostgreSQLPgStatMonitorAgentReader is a Reader for the ChangeQANPostgreSQLPgStatMonitorAgent structure.
func (*ChangeQANPostgreSQLPgStatMonitorAgentReader) ReadResponse ¶
func (o *ChangeQANPostgreSQLPgStatMonitorAgentReader) 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
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 ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentDefault) Code() int
Code gets the status code for the change QAN postgre SQL pg statements agent default response
func (*ChangeQANPostgreSQLPgStatementsAgentDefault) Error ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentDefault) Error() string
func (*ChangeQANPostgreSQLPgStatementsAgentDefault) GetPayload ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentDefault) GetPayload() *ChangeQANPostgreSQLPgStatementsAgentDefaultBody
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 ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatementsAgentDefaultBody) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 (o *ChangeQANPostgreSQLPgStatementsAgentOK) Error() string
func (*ChangeQANPostgreSQLPgStatementsAgentOK) GetPayload ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentOK) GetPayload() *ChangeQANPostgreSQLPgStatementsAgentOKBody
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
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 ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentOKBodyQANPostgresqlPgstatementsAgent) Validate(formats strfmt.Registry) error
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 ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) SetBody(body ChangeQANPostgreSQLPgStatementsAgentBody)
SetBody adds the body to the change QAN postgre SQL pg statements agent params
func (*ChangeQANPostgreSQLPgStatementsAgentParams) SetContext ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) SetContext(ctx context.Context)
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 ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change QAN postgre SQL pg statements agent params
func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithBody ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithBody(body ChangeQANPostgreSQLPgStatementsAgentBody) *ChangeQANPostgreSQLPgStatementsAgentParams
WithBody adds the body to the change QAN postgre SQL pg statements agent params
func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithContext ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithContext(ctx context.Context) *ChangeQANPostgreSQLPgStatementsAgentParams
WithContext adds the context to the change QAN postgre SQL pg statements agent params
func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithHTTPClient ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithHTTPClient(client *http.Client) *ChangeQANPostgreSQLPgStatementsAgentParams
WithHTTPClient adds the HTTPClient to the change QAN postgre SQL pg statements agent params
func (*ChangeQANPostgreSQLPgStatementsAgentParams) WithTimeout ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WithTimeout(timeout time.Duration) *ChangeQANPostgreSQLPgStatementsAgentParams
WithTimeout adds the timeout to the change QAN postgre SQL pg statements agent params
func (*ChangeQANPostgreSQLPgStatementsAgentParams) WriteToRequest ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,omitempty"` }
ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon ChangeCommonAgentParams contains parameters that can be changed for all Agents. swagger:model ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon
func (*ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon) MarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon) UnmarshalBinary ¶
func (o *ChangeQANPostgreSQLPgStatementsAgentParamsBodyCommon) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (o *ChangeRDSExporterDefault) GetPayload() *ChangeRDSExporterDefaultBody
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
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 ¶
func (o *ChangeRDSExporterOK) GetPayload() *ChangeRDSExporterOKBody
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,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
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 ¶
func (o *ChangeRDSExporterParams) SetBody(body ChangeRDSExporterBody)
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 ¶
func (o *ChangeRDSExporterParams) WithBody(body ChangeRDSExporterBody) *ChangeRDSExporterParams
WithBody adds the body to the change RDS exporter params
func (*ChangeRDSExporterParams) WithContext ¶
func (o *ChangeRDSExporterParams) WithContext(ctx context.Context) *ChangeRDSExporterParams
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 ¶
func (o *ChangeRDSExporterParams) WithTimeout(timeout time.Duration) *ChangeRDSExporterParams
WithTimeout adds the timeout to the change RDS exporter params
func (*ChangeRDSExporterParams) WriteToRequest ¶
func (o *ChangeRDSExporterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. // Can't be used with agent version lower then 2.12 and unsupported agents. EnablePushMetrics bool `json:"enable_push_metrics,omitempty"` // Disables push metrics, pmm-server starts to pull it, can't be used with enable_push_metrics. DisablePushMetrics bool `json:"disable_push_metrics,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
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 (*Client) AddAzureDatabaseExporter ¶
func (a *Client) AddAzureDatabaseExporter(params *AddAzureDatabaseExporterParams) (*AddAzureDatabaseExporterOK, error)
AddAzureDatabaseExporter adds azure database exporter adds azure database exporter agent
func (*Client) AddExternalExporter ¶
func (a *Client) AddExternalExporter(params *AddExternalExporterParams) (*AddExternalExporterOK, error)
AddExternalExporter adds external exporter adds external exporter agent
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) AddQANPostgreSQLPgStatMonitorAgent ¶
func (a *Client) AddQANPostgreSQLPgStatMonitorAgent(params *AddQANPostgreSQLPgStatMonitorAgentParams) (*AddQANPostgreSQLPgStatMonitorAgentOK, error)
AddQANPostgreSQLPgStatMonitorAgent adds QAN postgre SQL pg stat monitor agent adds postgre SQL pg stat monitor 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) ChangeAzureDatabaseExporter ¶
func (a *Client) ChangeAzureDatabaseExporter(params *ChangeAzureDatabaseExporterParams) (*ChangeAzureDatabaseExporterOK, error)
ChangeAzureDatabaseExporter changes azure database exporter changes database azure database exporter agent
func (*Client) ChangeExternalExporter ¶
func (a *Client) ChangeExternalExporter(params *ChangeExternalExporterParams) (*ChangeExternalExporterOK, error)
ChangeExternalExporter changes external exporter changes external 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) ChangeQANPostgreSQLPgStatMonitorAgent ¶
func (a *Client) ChangeQANPostgreSQLPgStatMonitorAgent(params *ChangeQANPostgreSQLPgStatMonitorAgentParams) (*ChangeQANPostgreSQLPgStatMonitorAgentOK, error)
ChangeQANPostgreSQLPgStatMonitorAgent changes QAN postgre SQL pg stat monitor agent changes postgre SQL pg stat monitor 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 ClientService ¶
type ClientService interface { AddAzureDatabaseExporter(params *AddAzureDatabaseExporterParams) (*AddAzureDatabaseExporterOK, error) AddExternalExporter(params *AddExternalExporterParams) (*AddExternalExporterOK, error) AddMongoDBExporter(params *AddMongoDBExporterParams) (*AddMongoDBExporterOK, error) AddMySQLdExporter(params *AddMySQLdExporterParams) (*AddMySQLdExporterOK, error) AddNodeExporter(params *AddNodeExporterParams) (*AddNodeExporterOK, error) AddPMMAgent(params *AddPMMAgentParams) (*AddPMMAgentOK, error) AddPostgresExporter(params *AddPostgresExporterParams) (*AddPostgresExporterOK, error) AddProxySQLExporter(params *AddProxySQLExporterParams) (*AddProxySQLExporterOK, error) AddQANMongoDBProfilerAgent(params *AddQANMongoDBProfilerAgentParams) (*AddQANMongoDBProfilerAgentOK, error) AddQANMySQLPerfSchemaAgent(params *AddQANMySQLPerfSchemaAgentParams) (*AddQANMySQLPerfSchemaAgentOK, error) AddQANMySQLSlowlogAgent(params *AddQANMySQLSlowlogAgentParams) (*AddQANMySQLSlowlogAgentOK, error) AddQANPostgreSQLPgStatMonitorAgent(params *AddQANPostgreSQLPgStatMonitorAgentParams) (*AddQANPostgreSQLPgStatMonitorAgentOK, error) AddQANPostgreSQLPgStatementsAgent(params *AddQANPostgreSQLPgStatementsAgentParams) (*AddQANPostgreSQLPgStatementsAgentOK, error) AddRDSExporter(params *AddRDSExporterParams) (*AddRDSExporterOK, error) ChangeAzureDatabaseExporter(params *ChangeAzureDatabaseExporterParams) (*ChangeAzureDatabaseExporterOK, error) ChangeExternalExporter(params *ChangeExternalExporterParams) (*ChangeExternalExporterOK, error) ChangeMongoDBExporter(params *ChangeMongoDBExporterParams) (*ChangeMongoDBExporterOK, error) ChangeMySQLdExporter(params *ChangeMySQLdExporterParams) (*ChangeMySQLdExporterOK, error) ChangeNodeExporter(params *ChangeNodeExporterParams) (*ChangeNodeExporterOK, error) ChangePostgresExporter(params *ChangePostgresExporterParams) (*ChangePostgresExporterOK, error) ChangeProxySQLExporter(params *ChangeProxySQLExporterParams) (*ChangeProxySQLExporterOK, error) ChangeQANMongoDBProfilerAgent(params *ChangeQANMongoDBProfilerAgentParams) (*ChangeQANMongoDBProfilerAgentOK, error) ChangeQANMySQLPerfSchemaAgent(params *ChangeQANMySQLPerfSchemaAgentParams) (*ChangeQANMySQLPerfSchemaAgentOK, error) ChangeQANMySQLSlowlogAgent(params *ChangeQANMySQLSlowlogAgentParams) (*ChangeQANMySQLSlowlogAgentOK, error) ChangeQANPostgreSQLPgStatMonitorAgent(params *ChangeQANPostgreSQLPgStatMonitorAgentParams) (*ChangeQANPostgreSQLPgStatMonitorAgentOK, error) ChangeQANPostgreSQLPgStatementsAgent(params *ChangeQANPostgreSQLPgStatementsAgentParams) (*ChangeQANPostgreSQLPgStatementsAgentOK, error) ChangeRDSExporter(params *ChangeRDSExporterParams) (*ChangeRDSExporterOK, error) GetAgent(params *GetAgentParams) (*GetAgentOK, error) ListAgents(params *ListAgentsParams) (*ListAgentsOK, error) RemoveAgent(params *RemoveAgentParams) (*RemoveAgentOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new agents API client.
type DetailsItems0 ¶
type DetailsItems0 struct { // type url TypeURL string `json:"type_url,omitempty"` // value // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 details items0 swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExternalExporterItems0 ¶
type ExternalExporterItems0 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"` // If disabled, metrics from this exporter will not be collected. Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // HTTP basic auth username for collecting metrics. Username string `json:"username,omitempty"` // Scheme to generate URI to exporter metrics endpoints. Scheme string `json:"scheme,omitempty"` // Path under which metrics are exposed, used to generate URI. MetricsPath string `json:"metrics_path,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
ExternalExporterItems0 ExternalExporter runs on any Node type, including Remote Node. swagger:model ExternalExporterItems0
func (*ExternalExporterItems0) MarshalBinary ¶
func (o *ExternalExporterItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExternalExporterItems0) UnmarshalBinary ¶
func (o *ExternalExporterItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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 { // azure database exporter AzureDatabaseExporter *GetAgentOKBodyAzureDatabaseExporter `json:"azure_database_exporter,omitempty"` // external exporter ExternalExporter *GetAgentOKBodyExternalExporter `json:"external_exporter,omitempty"` // 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"` // qan postgresql pgstatmonitor agent QANPostgresqlPgstatmonitorAgent *GetAgentOKBodyQANPostgresqlPgstatmonitorAgent `json:"qan_postgresql_pgstatmonitor_agent,omitempty"` // rds exporter RDSExporter *GetAgentOKBodyRDSExporter `json:"rds_exporter,omitempty"` // vmagent Vmagent *GetAgentOKBodyVmagent `json:"vmagent,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
type GetAgentOKBodyAzureDatabaseExporter ¶
type GetAgentOKBodyAzureDatabaseExporter 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"` // Azure database subscription ID. AzureDatabaseSubscriptionID string `json:"azure_database_subscription_id,omitempty"` // Azure database resource type (mysql, maria, postgres) AzureDatabaseResourceType string `json:"azure_database_resource_type,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"` // True if the exporter operates in push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
GetAgentOKBodyAzureDatabaseExporter AzureDatabaseExporter runs on Generic or Container Node and exposes RemoteAzure Node metrics. swagger:model GetAgentOKBodyAzureDatabaseExporter
func (*GetAgentOKBodyAzureDatabaseExporter) MarshalBinary ¶
func (o *GetAgentOKBodyAzureDatabaseExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAgentOKBodyAzureDatabaseExporter) UnmarshalBinary ¶
func (o *GetAgentOKBodyAzureDatabaseExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAgentOKBodyExternalExporter ¶
type GetAgentOKBodyExternalExporter 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"` // If disabled, metrics from this exporter will not be collected. Disabled bool `json:"disabled,omitempty"` // Service identifier. ServiceID string `json:"service_id,omitempty"` // HTTP basic auth username for collecting metrics. Username string `json:"username,omitempty"` // Scheme to generate URI to exporter metrics endpoints. Scheme string `json:"scheme,omitempty"` // Path under which metrics are exposed, used to generate URI. MetricsPath string `json:"metrics_path,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` }
GetAgentOKBodyExternalExporter ExternalExporter runs on any Node type, including Remote Node. swagger:model GetAgentOKBodyExternalExporter
func (*GetAgentOKBodyExternalExporter) MarshalBinary ¶
func (o *GetAgentOKBodyExternalExporter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAgentOKBodyExternalExporter) UnmarshalBinary ¶
func (o *GetAgentOKBodyExternalExporter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,omitempty"` // Tablestats group collectors are disabled if there are more than that number of tables. // 0 means tablestats group collectors are always enabled (no limit). // Negative value means tablestats group collectors are always disabled. TablestatsGroupTableLimit int32 `json:"tablestats_group_table_limit,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if tablestats group collectors are currently disabled. TablestatsGroupDisabled bool `json:"tablestats_group_disabled,omitempty"` }
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
GetAgentOKBodyProxysqlExporter ProxySQLExporter runs on Generic or Container Node and exposes ProxySQL 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
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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
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 ¶
func (o *GetAgentOKBodyQANPostgresqlPgstatementsAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary ¶
func (o *GetAgentOKBodyQANPostgresqlPgstatementsAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAgentOKBodyQANPostgresqlPgstatmonitorAgent ¶
type GetAgentOKBodyQANPostgresqlPgstatmonitorAgent 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 monitor 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"` }
GetAgentOKBodyQANPostgresqlPgstatmonitorAgent QANPostgreSQLPgStatMonitorAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model GetAgentOKBodyQANPostgresqlPgstatmonitorAgent
func (*GetAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary ¶
func (o *GetAgentOKBodyQANPostgresqlPgstatmonitorAgent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary ¶
func (o *GetAgentOKBodyQANPostgresqlPgstatmonitorAgent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,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
type GetAgentOKBodyVmagent ¶
type GetAgentOKBodyVmagent 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"` // 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"` }
GetAgentOKBodyVmagent VMAgent runs on Generic or Container Node alongside pmm-agent. // It scrapes other exporter Agents that are configured with push_metrics_enabled // and uses Prometheus remote write protocol to push metrics to PMM Server. swagger:model GetAgentOKBodyVmagent
func (*GetAgentOKBodyVmagent) MarshalBinary ¶
func (o *GetAgentOKBodyVmagent) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAgentOKBodyVmagent) UnmarshalBinary ¶
func (o *GetAgentOKBodyVmagent) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 VM_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 QAN_POSTGRESQL_PGSTATMONITOR_AGENT RDS_EXPORTER EXTERNAL_EXPORTER AZURE_DATABASE_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
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
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"` // vm agent VMAgent []*VMAgentItems0 `json:"vm_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"` // qan postgresql pgstatmonitor agent QANPostgresqlPgstatmonitorAgent []*QANPostgresqlPgstatmonitorAgentItems0 `json:"qan_postgresql_pgstatmonitor_agent"` // rds exporter RDSExporter []*RDSExporterItems0 `json:"rds_exporter"` // external exporter ExternalExporter []*ExternalExporterItems0 `json:"external_exporter"` // azure database exporter AzureDatabaseExporter []*AzureDatabaseExporterItems0 `json:"azure_database_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
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 ¶
func (o *ListAgentsParams) WithBody(body ListAgentsBody) *ListAgentsParams
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,omitempty"` // Tablestats group collectors are disabled if there are more than that number of tables. // 0 means tablestats group collectors are always enabled (no limit). // Negative value means tablestats group collectors are always disabled. TablestatsGroupTableLimit int32 `json:"tablestats_group_table_limit,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` // True if tablestats group collectors are currently disabled. TablestatsGroupDisabled bool `json:"tablestats_group_disabled,omitempty"` }
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
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
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,omitempty"` // List of disabled collector names. DisabledCollectors []string `json:"disabled_collectors"` // AgentStatus represents actual Agent status. // // - STARTING: Agent is starting. // - RUNNING: Agent is running. // - WAITING: Agent encountered error and will be restarted automatically soon. // - STOPPING: Agent is stopping. // - DONE: Agent finished. // Enum: [AGENT_STATUS_INVALID STARTING RUNNING WAITING STOPPING DONE] Status *string `json:"status,omitempty"` // Listen port for scraping metrics. ListenPort int64 `json:"listen_port,omitempty"` }
ProxysqlExporterItems0 ProxySQLExporter runs on Generic or Container Node and exposes ProxySQL 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
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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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
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"` // Certificate Authority certificate chain. TLSCa string `json:"tls_ca,omitempty"` // Client certificate. TLSCert string `json:"tls_cert,omitempty"` // Password for decrypting tls_cert. TLSKey string `json:"tls_key,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
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
type QANPostgresqlPgstatmonitorAgentItems0 ¶
type QANPostgresqlPgstatmonitorAgentItems0 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 monitor 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"` }
QANPostgresqlPgstatmonitorAgentItems0 QANPostgreSQLPgStatMonitorAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. swagger:model QANPostgresqlPgstatmonitorAgentItems0
func (*QANPostgresqlPgstatmonitorAgentItems0) MarshalBinary ¶
func (o *QANPostgresqlPgstatmonitorAgentItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QANPostgresqlPgstatmonitorAgentItems0) UnmarshalBinary ¶
func (o *QANPostgresqlPgstatmonitorAgentItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `json:"push_metrics_enabled,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
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
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
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 ¶
func (o *RemoveAgentParams) WithBody(body RemoveAgentBody) *RemoveAgentParams
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.
type VMAgentItems0 ¶
type VMAgentItems0 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"` // 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"` }
VMAgentItems0 VMAgent runs on Generic or Container Node alongside pmm-agent. // It scrapes other exporter Agents that are configured with push_metrics_enabled // and uses Prometheus remote write protocol to push metrics to PMM Server. swagger:model VMAgentItems0
func (*VMAgentItems0) MarshalBinary ¶
func (o *VMAgentItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VMAgentItems0) UnmarshalBinary ¶
func (o *VMAgentItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- add_azure_database_exporter_parameters.go
- add_azure_database_exporter_responses.go
- add_external_exporter_parameters.go
- add_external_exporter_responses.go
- add_mongo_db_exporter_parameters.go
- add_mongo_db_exporter_responses.go
- add_my_s_q_ld_exporter_parameters.go
- add_my_s_q_ld_exporter_responses.go
- add_node_exporter_parameters.go
- add_node_exporter_responses.go
- add_pmm_agent_parameters.go
- add_pmm_agent_responses.go
- add_postgres_exporter_parameters.go
- add_postgres_exporter_responses.go
- add_proxy_sql_exporter_parameters.go
- add_proxy_sql_exporter_responses.go
- add_qan_mongo_db_profiler_agent_parameters.go
- add_qan_mongo_db_profiler_agent_responses.go
- add_qan_my_sql_perf_schema_agent_parameters.go
- add_qan_my_sql_perf_schema_agent_responses.go
- add_qan_my_sql_slowlog_agent_parameters.go
- add_qan_my_sql_slowlog_agent_responses.go
- add_qan_postgre_sql_pg_stat_monitor_agent_parameters.go
- add_qan_postgre_sql_pg_stat_monitor_agent_responses.go
- add_qan_postgre_sql_pg_statements_agent_parameters.go
- add_qan_postgre_sql_pg_statements_agent_responses.go
- add_rds_exporter_parameters.go
- add_rds_exporter_responses.go
- agents_client.go
- change_azure_database_exporter_parameters.go
- change_azure_database_exporter_responses.go
- change_external_exporter_parameters.go
- change_external_exporter_responses.go
- change_mongo_db_exporter_parameters.go
- change_mongo_db_exporter_responses.go
- change_my_s_q_ld_exporter_parameters.go
- change_my_s_q_ld_exporter_responses.go
- change_node_exporter_parameters.go
- change_node_exporter_responses.go
- change_postgres_exporter_parameters.go
- change_postgres_exporter_responses.go
- change_proxy_sql_exporter_parameters.go
- change_proxy_sql_exporter_responses.go
- change_qan_mongo_db_profiler_agent_parameters.go
- change_qan_mongo_db_profiler_agent_responses.go
- change_qan_my_sql_perf_schema_agent_parameters.go
- change_qan_my_sql_perf_schema_agent_responses.go
- change_qan_my_sql_slowlog_agent_parameters.go
- change_qan_my_sql_slowlog_agent_responses.go
- change_qan_postgre_sql_pg_stat_monitor_agent_parameters.go
- change_qan_postgre_sql_pg_stat_monitor_agent_responses.go
- change_qan_postgre_sql_pg_statements_agent_parameters.go
- change_qan_postgre_sql_pg_statements_agent_responses.go
- change_rds_exporter_parameters.go
- change_rds_exporter_responses.go
- get_agent_parameters.go
- get_agent_responses.go
- list_agents_parameters.go
- list_agents_responses.go
- remove_agent_parameters.go
- remove_agent_responses.go