package
3.0.0+incompatible
Repository: https://github.com/percona/pmm.git
Documentation: pkg.go.dev

# Functions

New creates a new server service API client.
NewChangeSettingsDefault creates a ChangeSettingsDefault with default headers values.
NewChangeSettingsOK creates a ChangeSettingsOK with default headers values.
NewChangeSettingsParams creates a new ChangeSettingsParams object, with the default timeout for this client.
NewChangeSettingsParamsWithContext creates a new ChangeSettingsParams object with the ability to set a context for a request.
NewChangeSettingsParamsWithHTTPClient creates a new ChangeSettingsParams object with the ability to set a custom HTTPClient for a request.
NewChangeSettingsParamsWithTimeout creates a new ChangeSettingsParams object with the ability to set a timeout on a request.
NewCheckUpdatesDefault creates a CheckUpdatesDefault with default headers values.
NewCheckUpdatesOK creates a CheckUpdatesOK with default headers values.
NewCheckUpdatesParams creates a new CheckUpdatesParams object, with the default timeout for this client.
NewCheckUpdatesParamsWithContext creates a new CheckUpdatesParams object with the ability to set a context for a request.
NewCheckUpdatesParamsWithHTTPClient creates a new CheckUpdatesParams object with the ability to set a custom HTTPClient for a request.
NewCheckUpdatesParamsWithTimeout creates a new CheckUpdatesParams object with the ability to set a timeout on a request.
New creates a new server service API client with basic auth credentials.
New creates a new server service API client with a bearer token for authentication.
NewGetSettingsDefault creates a GetSettingsDefault with default headers values.
NewGetSettingsOK creates a GetSettingsOK with default headers values.
NewGetSettingsParams creates a new GetSettingsParams object, with the default timeout for this client.
NewGetSettingsParamsWithContext creates a new GetSettingsParams object with the ability to set a context for a request.
NewGetSettingsParamsWithHTTPClient creates a new GetSettingsParams object with the ability to set a custom HTTPClient for a request.
NewGetSettingsParamsWithTimeout creates a new GetSettingsParams object with the ability to set a timeout on a request.
NewLeaderHealthCheckDefault creates a LeaderHealthCheckDefault with default headers values.
NewLeaderHealthCheckOK creates a LeaderHealthCheckOK with default headers values.
NewLeaderHealthCheckParams creates a new LeaderHealthCheckParams object, with the default timeout for this client.
NewLeaderHealthCheckParamsWithContext creates a new LeaderHealthCheckParams object with the ability to set a context for a request.
NewLeaderHealthCheckParamsWithHTTPClient creates a new LeaderHealthCheckParams object with the ability to set a custom HTTPClient for a request.
NewLeaderHealthCheckParamsWithTimeout creates a new LeaderHealthCheckParams object with the ability to set a timeout on a request.
NewListChangeLogsDefault creates a ListChangeLogsDefault with default headers values.
NewListChangeLogsOK creates a ListChangeLogsOK with default headers values.
NewListChangeLogsParams creates a new ListChangeLogsParams object, with the default timeout for this client.
NewListChangeLogsParamsWithContext creates a new ListChangeLogsParams object with the ability to set a context for a request.
NewListChangeLogsParamsWithHTTPClient creates a new ListChangeLogsParams object with the ability to set a custom HTTPClient for a request.
NewListChangeLogsParamsWithTimeout creates a new ListChangeLogsParams object with the ability to set a timeout on a request.
NewLogsDefault creates a LogsDefault with default headers values.
NewLogsOK creates a LogsOK with default headers values.
NewLogsParams creates a new LogsParams object, with the default timeout for this client.
NewLogsParamsWithContext creates a new LogsParams object with the ability to set a context for a request.
NewLogsParamsWithHTTPClient creates a new LogsParams object with the ability to set a custom HTTPClient for a request.
NewLogsParamsWithTimeout creates a new LogsParams object with the ability to set a timeout on a request.
NewReadinessDefault creates a ReadinessDefault with default headers values.
NewReadinessOK creates a ReadinessOK with default headers values.
NewReadinessParams creates a new ReadinessParams object, with the default timeout for this client.
NewReadinessParamsWithContext creates a new ReadinessParams object with the ability to set a context for a request.
NewReadinessParamsWithHTTPClient creates a new ReadinessParams object with the ability to set a custom HTTPClient for a request.
NewReadinessParamsWithTimeout creates a new ReadinessParams object with the ability to set a timeout on a request.
NewStartUpdateDefault creates a StartUpdateDefault with default headers values.
NewStartUpdateOK creates a StartUpdateOK with default headers values.
NewStartUpdateParams creates a new StartUpdateParams object, with the default timeout for this client.
NewStartUpdateParamsWithContext creates a new StartUpdateParams object with the ability to set a context for a request.
NewStartUpdateParamsWithHTTPClient creates a new StartUpdateParams object with the ability to set a custom HTTPClient for a request.
NewStartUpdateParamsWithTimeout creates a new StartUpdateParams object with the ability to set a timeout on a request.
NewUpdateStatusDefault creates a UpdateStatusDefault with default headers values.
NewUpdateStatusOK creates a UpdateStatusOK with default headers values.
NewUpdateStatusParams creates a new UpdateStatusParams object, with the default timeout for this client.
NewUpdateStatusParamsWithContext creates a new UpdateStatusParams object with the ability to set a context for a request.
NewUpdateStatusParamsWithHTTPClient creates a new UpdateStatusParams object with the ability to set a custom HTTPClient for a request.
NewUpdateStatusParamsWithTimeout creates a new UpdateStatusParams object with the ability to set a timeout on a request.
NewVersionDefault creates a VersionDefault with default headers values.
NewVersionOK creates a VersionOK with default headers values.
NewVersionParams creates a new VersionParams object, with the default timeout for this client.
NewVersionParamsWithContext creates a new VersionParams object with the ability to set a context for a request.
NewVersionParamsWithHTTPClient creates a new VersionParams object with the ability to set a custom HTTPClient for a request.
NewVersionParamsWithTimeout creates a new VersionParams object with the ability to set a timeout on a request.
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
WithAcceptApplicationJSON sets the Accept header to "application/json".
WithAcceptApplicationZip sets the Accept header to "application/zip".

# Constants

VersionOKBodyDistributionMethodDISTRIBUTIONMETHODAMI captures enum value "DISTRIBUTION_METHOD_AMI".
VersionOKBodyDistributionMethodDISTRIBUTIONMETHODAZURE captures enum value "DISTRIBUTION_METHOD_AZURE".
VersionOKBodyDistributionMethodDISTRIBUTIONMETHODDO captures enum value "DISTRIBUTION_METHOD_DO".
VersionOKBodyDistributionMethodDISTRIBUTIONMETHODDOCKER captures enum value "DISTRIBUTION_METHOD_DOCKER".
VersionOKBodyDistributionMethodDISTRIBUTIONMETHODOVF captures enum value "DISTRIBUTION_METHOD_OVF".
VersionOKBodyDistributionMethodDISTRIBUTIONMETHODUNSPECIFIED captures enum value "DISTRIBUTION_METHOD_UNSPECIFIED".

# Structs

ChangeSettingsBody change settings body swagger:model ChangeSettingsBody */.
ChangeSettingsDefault describes a response with status code -1, with default header values.
ChangeSettingsDefaultBody change settings default body swagger:model ChangeSettingsDefaultBody */.
ChangeSettingsDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
ChangeSettingsOK describes a response with status code 200, with default header values.
ChangeSettingsOKBody change settings OK body swagger:model ChangeSettingsOKBody */.
ChangeSettingsOKBodySettings Settings represents PMM Server settings.
ChangeSettingsOKBodySettingsAdvisorRunIntervals AdvisorRunIntervals represents intervals between each run of Advisor checks.
ChangeSettingsOKBodySettingsMetricsResolutions MetricsResolutions represents Prometheus exporters metrics resolutions.
ChangeSettingsParams contains all the parameters to send to the API endpoint for the change settings operation.
ChangeSettingsParamsBodyAdvisorRunIntervals AdvisorRunIntervals represents intervals between each run of Advisor checks.
ChangeSettingsParamsBodyAWSPartitions A wrapper for a string array.
ChangeSettingsParamsBodyMetricsResolutions MetricsResolutions represents Prometheus exporters metrics resolutions.
ChangeSettingsReader is a Reader for the ChangeSettings structure.
CheckUpdatesDefault describes a response with status code -1, with default header values.
CheckUpdatesDefaultBody check updates default body swagger:model CheckUpdatesDefaultBody */.
CheckUpdatesDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
CheckUpdatesOK describes a response with status code 200, with default header values.
CheckUpdatesOKBody check updates OK body swagger:model CheckUpdatesOKBody */.
CheckUpdatesOKBodyInstalled VersionInfo describes component version, or PMM Server as a whole.
CheckUpdatesOKBodyLatest check updates OK body latest swagger:model CheckUpdatesOKBodyLatest */.
CheckUpdatesParams contains all the parameters to send to the API endpoint for the check updates operation.
CheckUpdatesReader is a Reader for the CheckUpdates structure.
Client for server service API */.
GetSettingsDefault describes a response with status code -1, with default header values.
GetSettingsDefaultBody get settings default body swagger:model GetSettingsDefaultBody */.
GetSettingsDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
GetSettingsOK describes a response with status code 200, with default header values.
GetSettingsOKBody get settings OK body swagger:model GetSettingsOKBody */.
GetSettingsOKBodySettings Settings represents PMM Server settings.
GetSettingsOKBodySettingsAdvisorRunIntervals AdvisorRunIntervals represents intervals between each run of Advisor checks.
GetSettingsOKBodySettingsMetricsResolutions MetricsResolutions represents Prometheus exporters metrics resolutions.
GetSettingsParams contains all the parameters to send to the API endpoint for the get settings operation.
GetSettingsReader is a Reader for the GetSettings structure.
LeaderHealthCheckDefault describes a response with status code -1, with default header values.
LeaderHealthCheckDefaultBody leader health check default body swagger:model LeaderHealthCheckDefaultBody */.
LeaderHealthCheckDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
LeaderHealthCheckOK describes a response with status code 200, with default header values.
LeaderHealthCheckParams contains all the parameters to send to the API endpoint for the leader health check operation.
LeaderHealthCheckReader is a Reader for the LeaderHealthCheck structure.
ListChangeLogsDefault describes a response with status code -1, with default header values.
ListChangeLogsDefaultBody list change logs default body swagger:model ListChangeLogsDefaultBody */.
ListChangeLogsDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
ListChangeLogsOK describes a response with status code 200, with default header values.
ListChangeLogsOKBody list change logs OK body swagger:model ListChangeLogsOKBody */.
ListChangeLogsOKBodyUpdatesItems0 list change logs OK body updates items0 swagger:model ListChangeLogsOKBodyUpdatesItems0 */.
ListChangeLogsParams contains all the parameters to send to the API endpoint for the list change logs operation.
ListChangeLogsReader is a Reader for the ListChangeLogs structure.
LogsDefault describes a response with status code -1, with default header values.
LogsDefaultBody ErrorResponse is a message returned on HTTP error.
LogsOK describes a response with status code 200, with default header values.
LogsParams contains all the parameters to send to the API endpoint for the logs operation.
LogsReader is a Reader for the Logs structure.
ReadinessDefault describes a response with status code -1, with default header values.
ReadinessDefaultBody readiness default body swagger:model ReadinessDefaultBody */.
ReadinessDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
ReadinessOK describes a response with status code 200, with default header values.
ReadinessParams contains all the parameters to send to the API endpoint for the readiness operation.
ReadinessReader is a Reader for the Readiness structure.
StartUpdateBody start update body swagger:model StartUpdateBody */.
StartUpdateDefault describes a response with status code -1, with default header values.
StartUpdateDefaultBody start update default body swagger:model StartUpdateDefaultBody */.
StartUpdateDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
StartUpdateOK describes a response with status code 200, with default header values.
StartUpdateOKBody start update OK body swagger:model StartUpdateOKBody */.
StartUpdateParams contains all the parameters to send to the API endpoint for the start update operation.
StartUpdateReader is a Reader for the StartUpdate structure.
UpdateStatusBody update status body swagger:model UpdateStatusBody */.
UpdateStatusDefault describes a response with status code -1, with default header values.
UpdateStatusDefaultBody update status default body swagger:model UpdateStatusDefaultBody */.
UpdateStatusDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
UpdateStatusOK describes a response with status code 200, with default header values.
UpdateStatusOKBody update status OK body swagger:model UpdateStatusOKBody */.
UpdateStatusParams contains all the parameters to send to the API endpoint for the update status operation.
UpdateStatusReader is a Reader for the UpdateStatus structure.
VersionDefault describes a response with status code -1, with default header values.
VersionDefaultBody version default body swagger:model VersionDefaultBody */.
VersionDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message.
VersionOK describes a response with status code 200, with default header values.
VersionOKBody version OK body swagger:model VersionOKBody */.
VersionOKBodyManaged VersionInfo describes component version, or PMM Server as a whole.
VersionOKBodyServer VersionInfo describes component version, or PMM Server as a whole.
VersionParams contains all the parameters to send to the API endpoint for the version operation.
VersionReader is a Reader for the Version structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.