server

package
v2.18.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// VersionOKBodyDistributionMethodDISTRIBUTIONMETHODINVALID captures enum value "DISTRIBUTION_METHOD_INVALID"
	VersionOKBodyDistributionMethodDISTRIBUTIONMETHODINVALID string = "DISTRIBUTION_METHOD_INVALID"

	// VersionOKBodyDistributionMethodDOCKER captures enum value "DOCKER"
	VersionOKBodyDistributionMethodDOCKER string = "DOCKER"

	// VersionOKBodyDistributionMethodOVF captures enum value "OVF"
	VersionOKBodyDistributionMethodOVF string = "OVF"

	// VersionOKBodyDistributionMethodAMI captures enum value "AMI"
	VersionOKBodyDistributionMethodAMI string = "AMI"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSInstanceCheckBody

type AWSInstanceCheckBody struct {

	// AWS EC2 instance ID (i-1234567890abcdef0).
	InstanceID string `json:"instance_id,omitempty"`
}

AWSInstanceCheckBody AWS instance check body swagger:model AWSInstanceCheckBody

func (*AWSInstanceCheckBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSInstanceCheckBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSInstanceCheckBody) Validate

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

Validate validates this AWS instance check body

type AWSInstanceCheckDefault

type AWSInstanceCheckDefault struct {
	Payload *AWSInstanceCheckDefaultBody
	// contains filtered or unexported fields
}

AWSInstanceCheckDefault handles this case with default header values.

An unexpected error response.

func NewAWSInstanceCheckDefault

func NewAWSInstanceCheckDefault(code int) *AWSInstanceCheckDefault

NewAWSInstanceCheckDefault creates a AWSInstanceCheckDefault with default headers values

func (*AWSInstanceCheckDefault) Code

func (o *AWSInstanceCheckDefault) Code() int

Code gets the status code for the AWS instance check default response

func (*AWSInstanceCheckDefault) Error

func (o *AWSInstanceCheckDefault) Error() string

func (*AWSInstanceCheckDefault) GetPayload

type AWSInstanceCheckDefaultBody

type AWSInstanceCheckDefaultBody struct {

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

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

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

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

AWSInstanceCheckDefaultBody AWS instance check default body swagger:model AWSInstanceCheckDefaultBody

func (*AWSInstanceCheckDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSInstanceCheckDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSInstanceCheckDefaultBody) Validate

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

Validate validates this AWS instance check default body

type AWSInstanceCheckOK

type AWSInstanceCheckOK struct {
	Payload interface{}
}

AWSInstanceCheckOK handles this case with default header values.

A successful response.

func NewAWSInstanceCheckOK

func NewAWSInstanceCheckOK() *AWSInstanceCheckOK

NewAWSInstanceCheckOK creates a AWSInstanceCheckOK with default headers values

func (*AWSInstanceCheckOK) Error

func (o *AWSInstanceCheckOK) Error() string

func (*AWSInstanceCheckOK) GetPayload

func (o *AWSInstanceCheckOK) GetPayload() interface{}

type AWSInstanceCheckParams

type AWSInstanceCheckParams struct {

	/*Body*/
	Body AWSInstanceCheckBody

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

AWSInstanceCheckParams contains all the parameters to send to the API endpoint for the AWS instance check operation typically these are written to a http.Request

func NewAWSInstanceCheckParams

func NewAWSInstanceCheckParams() *AWSInstanceCheckParams

NewAWSInstanceCheckParams creates a new AWSInstanceCheckParams object with the default values initialized.

func NewAWSInstanceCheckParamsWithContext

func NewAWSInstanceCheckParamsWithContext(ctx context.Context) *AWSInstanceCheckParams

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

func NewAWSInstanceCheckParamsWithHTTPClient

func NewAWSInstanceCheckParamsWithHTTPClient(client *http.Client) *AWSInstanceCheckParams

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

func NewAWSInstanceCheckParamsWithTimeout

func NewAWSInstanceCheckParamsWithTimeout(timeout time.Duration) *AWSInstanceCheckParams

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

func (*AWSInstanceCheckParams) SetBody

SetBody adds the body to the AWS instance check params

func (*AWSInstanceCheckParams) SetContext

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

SetContext adds the context to the AWS instance check params

func (*AWSInstanceCheckParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the AWS instance check params

func (*AWSInstanceCheckParams) SetTimeout

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

SetTimeout adds the timeout to the AWS instance check params

func (*AWSInstanceCheckParams) WithBody

WithBody adds the body to the AWS instance check params

func (*AWSInstanceCheckParams) WithContext

WithContext adds the context to the AWS instance check params

func (*AWSInstanceCheckParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the AWS instance check params

func (*AWSInstanceCheckParams) WithTimeout

WithTimeout adds the timeout to the AWS instance check params

func (*AWSInstanceCheckParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AWSInstanceCheckReader

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

AWSInstanceCheckReader is a Reader for the AWSInstanceCheck structure.

func (*AWSInstanceCheckReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeSettingsBody

type ChangeSettingsBody struct {

	// enable telemetry
	EnableTelemetry bool `json:"enable_telemetry,omitempty"`

	// disable telemetry
	DisableTelemetry bool `json:"disable_telemetry,omitempty"`

	// A number of full days for Prometheus and QAN data retention. Should have a suffix in JSON: 2592000s, 43200m, 720h.
	DataRetention string `json:"data_retention,omitempty"`

	// ssh key
	SSHKey string `json:"ssh_key,omitempty"`

	// aws partitions
	AWSPartitions []string `json:"aws_partitions"`

	// External AlertManager URL (e.g., https://username:password@1.2.3.4/path).
	AlertManagerURL string `json:"alert_manager_url,omitempty"`

	// Remove external AlertManager URL.
	RemoveAlertManagerURL bool `json:"remove_alert_manager_url,omitempty"`

	// Custom alerting or recording rules.
	AlertManagerRules string `json:"alert_manager_rules,omitempty"`

	// Remove custom alerting or recording rules.
	RemoveAlertManagerRules bool `json:"remove_alert_manager_rules,omitempty"`

	// Enable Security Threat Tool.
	EnableStt bool `json:"enable_stt,omitempty"`

	// Disable Security Threat Tool.
	DisableStt bool `json:"disable_stt,omitempty"`

	// Enable Integrated Alerting.
	EnableAlerting bool `json:"enable_alerting,omitempty"`

	// Disable Integrated Alerting.
	DisableAlerting bool `json:"disable_alerting,omitempty"`

	// If true, removes Integrated Alerting email (SMTP) settings.
	RemoveEmailAlertingSettings bool `json:"remove_email_alerting_settings,omitempty"`

	// If true, removes Integrated Alerting Slack settings.
	RemoveSlackAlertingSettings bool `json:"remove_slack_alerting_settings,omitempty"`

	// PMM Server public address.
	PMMPublicAddress string `json:"pmm_public_address,omitempty"`

	// remove pmm public address
	RemovePMMPublicAddress bool `json:"remove_pmm_public_address,omitempty"`

	// Enable Azure Discover.
	EnableAzurediscover bool `json:"enable_azurediscover,omitempty"`

	// Disable Azure Discover.
	DisableAzurediscover bool `json:"disable_azurediscover,omitempty"`

	// Enable Backup Management.
	EnableBackupManagement bool `json:"enable_backup_management,omitempty"`

	// Disable Backup Management.
	DisableBackupManagement bool `json:"disable_backup_management,omitempty"`

	// Enable DBaaS.
	EnableDbaas bool `json:"enable_dbaas,omitempty"`

	// Disable DBaaS.
	DisableDbaas bool `json:"disable_dbaas,omitempty"`

	// email alerting settings
	EmailAlertingSettings *ChangeSettingsParamsBodyEmailAlertingSettings `json:"email_alerting_settings,omitempty"`

	// metrics resolutions
	MetricsResolutions *ChangeSettingsParamsBodyMetricsResolutions `json:"metrics_resolutions,omitempty"`

	// slack alerting settings
	SlackAlertingSettings *ChangeSettingsParamsBodySlackAlertingSettings `json:"slack_alerting_settings,omitempty"`

	// stt check intervals
	SttCheckIntervals *ChangeSettingsParamsBodySttCheckIntervals `json:"stt_check_intervals,omitempty"`
}

ChangeSettingsBody change settings body swagger:model ChangeSettingsBody

func (*ChangeSettingsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeSettingsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeSettingsBody) Validate

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

Validate validates this change settings body

type ChangeSettingsDefault

type ChangeSettingsDefault struct {
	Payload *ChangeSettingsDefaultBody
	// contains filtered or unexported fields
}

ChangeSettingsDefault handles this case with default header values.

An unexpected error response.

func NewChangeSettingsDefault

func NewChangeSettingsDefault(code int) *ChangeSettingsDefault

NewChangeSettingsDefault creates a ChangeSettingsDefault with default headers values

func (*ChangeSettingsDefault) Code

func (o *ChangeSettingsDefault) Code() int

Code gets the status code for the change settings default response

func (*ChangeSettingsDefault) Error

func (o *ChangeSettingsDefault) Error() string

func (*ChangeSettingsDefault) GetPayload

type ChangeSettingsDefaultBody

type ChangeSettingsDefaultBody struct {

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

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

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

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

ChangeSettingsDefaultBody change settings default body swagger:model ChangeSettingsDefaultBody

func (*ChangeSettingsDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeSettingsDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeSettingsDefaultBody) Validate

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

Validate validates this change settings default body

type ChangeSettingsOK

type ChangeSettingsOK struct {
	Payload *ChangeSettingsOKBody
}

ChangeSettingsOK handles this case with default header values.

A successful response.

func NewChangeSettingsOK

func NewChangeSettingsOK() *ChangeSettingsOK

NewChangeSettingsOK creates a ChangeSettingsOK with default headers values

func (*ChangeSettingsOK) Error

func (o *ChangeSettingsOK) Error() string

func (*ChangeSettingsOK) GetPayload

func (o *ChangeSettingsOK) GetPayload() *ChangeSettingsOKBody

type ChangeSettingsOKBody

type ChangeSettingsOKBody struct {

	// settings
	Settings *ChangeSettingsOKBodySettings `json:"settings,omitempty"`
}

ChangeSettingsOKBody change settings OK body swagger:model ChangeSettingsOKBody

func (*ChangeSettingsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeSettingsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeSettingsOKBody) Validate

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

Validate validates this change settings OK body

type ChangeSettingsOKBodySettings

type ChangeSettingsOKBodySettings struct {

	// True if updates are disabled.
	UpdatesDisabled bool `json:"updates_disabled,omitempty"`

	// True if telemetry is enabled.
	TelemetryEnabled bool `json:"telemetry_enabled,omitempty"`

	// data retention
	DataRetention string `json:"data_retention,omitempty"`

	// ssh key
	SSHKey string `json:"ssh_key,omitempty"`

	// aws partitions
	AWSPartitions []string `json:"aws_partitions"`

	// External AlertManager URL (e.g., https://username:password@1.2.3.4/path).
	AlertManagerURL string `json:"alert_manager_url,omitempty"`

	// Custom alerting or recording rules.
	AlertManagerRules string `json:"alert_manager_rules,omitempty"`

	// True if Security Threat Tool is enabled.
	SttEnabled bool `json:"stt_enabled,omitempty"`

	// Percona Platform user's email, if this PMM instance is linked to the Platform.
	PlatformEmail string `json:"platform_email,omitempty"`

	// True if DBaaS is enabled.
	DbaasEnabled bool `json:"dbaas_enabled,omitempty"`

	// True if Integrated Alerting is enabled.
	AlertingEnabled bool `json:"alerting_enabled,omitempty"`

	// PMM Server public address.
	PMMPublicAddress string `json:"pmm_public_address,omitempty"`

	// True if Backup Management is enabled.
	BackupManagementEnabled bool `json:"backup_management_enabled,omitempty"`

	// True if Azure Discover is enabled.
	AzurediscoverEnabled bool `json:"azurediscover_enabled,omitempty"`

	// email alerting settings
	EmailAlertingSettings *ChangeSettingsOKBodySettingsEmailAlertingSettings `json:"email_alerting_settings,omitempty"`

	// metrics resolutions
	MetricsResolutions *ChangeSettingsOKBodySettingsMetricsResolutions `json:"metrics_resolutions,omitempty"`

	// slack alerting settings
	SlackAlertingSettings *ChangeSettingsOKBodySettingsSlackAlertingSettings `json:"slack_alerting_settings,omitempty"`

	// stt check intervals
	SttCheckIntervals *ChangeSettingsOKBodySettingsSttCheckIntervals `json:"stt_check_intervals,omitempty"`
}

ChangeSettingsOKBodySettings Settings represents PMM Server settings. swagger:model ChangeSettingsOKBodySettings

func (*ChangeSettingsOKBodySettings) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeSettingsOKBodySettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeSettingsOKBodySettings) Validate

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

Validate validates this change settings OK body settings

type ChangeSettingsOKBodySettingsEmailAlertingSettings

type ChangeSettingsOKBodySettingsEmailAlertingSettings struct {

	// SMTP From header field.
	From string `json:"from,omitempty"`

	// SMTP host and port.
	Smarthost string `json:"smarthost,omitempty"`

	// Hostname to identify to the SMTP server.
	Hello string `json:"hello,omitempty"`

	// Auth using CRAM-MD5, LOGIN and PLAIN.
	Username string `json:"username,omitempty"`

	// Auth using LOGIN and PLAIN.
	Password string `json:"password,omitempty"`

	// Auth using PLAIN.
	Identity string `json:"identity,omitempty"`

	// Auth using CRAM-MD5.
	Secret string `json:"secret,omitempty"`
}

ChangeSettingsOKBodySettingsEmailAlertingSettings EmailAlertingSettings represents email (SMTP) configuration for Integrated Alerting. swagger:model ChangeSettingsOKBodySettingsEmailAlertingSettings

func (*ChangeSettingsOKBodySettingsEmailAlertingSettings) MarshalBinary

MarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsEmailAlertingSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsEmailAlertingSettings) Validate

Validate validates this change settings OK body settings email alerting settings

type ChangeSettingsOKBodySettingsMetricsResolutions

type ChangeSettingsOKBodySettingsMetricsResolutions struct {

	// High resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Hr string `json:"hr,omitempty"`

	// Medium resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Mr string `json:"mr,omitempty"`

	// Low resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Lr string `json:"lr,omitempty"`
}

ChangeSettingsOKBodySettingsMetricsResolutions MetricsResolutions represents Prometheus exporters metrics resolutions. swagger:model ChangeSettingsOKBodySettingsMetricsResolutions

func (*ChangeSettingsOKBodySettingsMetricsResolutions) MarshalBinary

MarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsMetricsResolutions) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsMetricsResolutions) Validate

Validate validates this change settings OK body settings metrics resolutions

type ChangeSettingsOKBodySettingsSlackAlertingSettings

type ChangeSettingsOKBodySettingsSlackAlertingSettings struct {

	// Slack API (webhook) URL.
	URL string `json:"url,omitempty"`
}

ChangeSettingsOKBodySettingsSlackAlertingSettings SlackAlertingSettings represents Slack configuration for Integrated Alerting. swagger:model ChangeSettingsOKBodySettingsSlackAlertingSettings

func (*ChangeSettingsOKBodySettingsSlackAlertingSettings) MarshalBinary

MarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsSlackAlertingSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsSlackAlertingSettings) Validate

Validate validates this change settings OK body settings slack alerting settings

type ChangeSettingsOKBodySettingsSttCheckIntervals

type ChangeSettingsOKBodySettingsSttCheckIntervals struct {

	// Standard check interval.
	StandardInterval string `json:"standard_interval,omitempty"`

	// Interval for rare check runs.
	RareInterval string `json:"rare_interval,omitempty"`

	// Interval for frequent check runs.
	FrequentInterval string `json:"frequent_interval,omitempty"`
}

ChangeSettingsOKBodySettingsSttCheckIntervals STTCheckIntervals represents intervals between STT checks. swagger:model ChangeSettingsOKBodySettingsSttCheckIntervals

func (*ChangeSettingsOKBodySettingsSttCheckIntervals) MarshalBinary

MarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsSttCheckIntervals) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeSettingsOKBodySettingsSttCheckIntervals) Validate

Validate validates this change settings OK body settings stt check intervals

type ChangeSettingsParams

type ChangeSettingsParams struct {

	/*Body*/
	Body ChangeSettingsBody

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

ChangeSettingsParams contains all the parameters to send to the API endpoint for the change settings operation typically these are written to a http.Request

func NewChangeSettingsParams

func NewChangeSettingsParams() *ChangeSettingsParams

NewChangeSettingsParams creates a new ChangeSettingsParams object with the default values initialized.

func NewChangeSettingsParamsWithContext

func NewChangeSettingsParamsWithContext(ctx context.Context) *ChangeSettingsParams

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

func NewChangeSettingsParamsWithHTTPClient

func NewChangeSettingsParamsWithHTTPClient(client *http.Client) *ChangeSettingsParams

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

func NewChangeSettingsParamsWithTimeout

func NewChangeSettingsParamsWithTimeout(timeout time.Duration) *ChangeSettingsParams

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

func (*ChangeSettingsParams) SetBody

func (o *ChangeSettingsParams) SetBody(body ChangeSettingsBody)

SetBody adds the body to the change settings params

func (*ChangeSettingsParams) SetContext

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

SetContext adds the context to the change settings params

func (*ChangeSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change settings params

func (*ChangeSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the change settings params

func (*ChangeSettingsParams) WithBody

WithBody adds the body to the change settings params

func (*ChangeSettingsParams) WithContext

WithContext adds the context to the change settings params

func (*ChangeSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change settings params

func (*ChangeSettingsParams) WithTimeout

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

WithTimeout adds the timeout to the change settings params

func (*ChangeSettingsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ChangeSettingsParamsBodyEmailAlertingSettings

type ChangeSettingsParamsBodyEmailAlertingSettings struct {

	// SMTP From header field.
	From string `json:"from,omitempty"`

	// SMTP host and port.
	Smarthost string `json:"smarthost,omitempty"`

	// Hostname to identify to the SMTP server.
	Hello string `json:"hello,omitempty"`

	// Auth using CRAM-MD5, LOGIN and PLAIN.
	Username string `json:"username,omitempty"`

	// Auth using LOGIN and PLAIN.
	Password string `json:"password,omitempty"`

	// Auth using PLAIN.
	Identity string `json:"identity,omitempty"`

	// Auth using CRAM-MD5.
	Secret string `json:"secret,omitempty"`
}

ChangeSettingsParamsBodyEmailAlertingSettings EmailAlertingSettings represents email (SMTP) configuration for Integrated Alerting. swagger:model ChangeSettingsParamsBodyEmailAlertingSettings

func (*ChangeSettingsParamsBodyEmailAlertingSettings) MarshalBinary

MarshalBinary interface implementation

func (*ChangeSettingsParamsBodyEmailAlertingSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeSettingsParamsBodyEmailAlertingSettings) Validate

Validate validates this change settings params body email alerting settings

type ChangeSettingsParamsBodyMetricsResolutions

type ChangeSettingsParamsBodyMetricsResolutions struct {

	// High resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Hr string `json:"hr,omitempty"`

	// Medium resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Mr string `json:"mr,omitempty"`

	// Low resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Lr string `json:"lr,omitempty"`
}

ChangeSettingsParamsBodyMetricsResolutions MetricsResolutions represents Prometheus exporters metrics resolutions. swagger:model ChangeSettingsParamsBodyMetricsResolutions

func (*ChangeSettingsParamsBodyMetricsResolutions) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeSettingsParamsBodyMetricsResolutions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeSettingsParamsBodyMetricsResolutions) Validate

Validate validates this change settings params body metrics resolutions

type ChangeSettingsParamsBodySlackAlertingSettings

type ChangeSettingsParamsBodySlackAlertingSettings struct {

	// Slack API (webhook) URL.
	URL string `json:"url,omitempty"`
}

ChangeSettingsParamsBodySlackAlertingSettings SlackAlertingSettings represents Slack configuration for Integrated Alerting. swagger:model ChangeSettingsParamsBodySlackAlertingSettings

func (*ChangeSettingsParamsBodySlackAlertingSettings) MarshalBinary

MarshalBinary interface implementation

func (*ChangeSettingsParamsBodySlackAlertingSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ChangeSettingsParamsBodySlackAlertingSettings) Validate

Validate validates this change settings params body slack alerting settings

type ChangeSettingsParamsBodySttCheckIntervals

type ChangeSettingsParamsBodySttCheckIntervals struct {

	// Standard check interval.
	StandardInterval string `json:"standard_interval,omitempty"`

	// Interval for rare check runs.
	RareInterval string `json:"rare_interval,omitempty"`

	// Interval for frequent check runs.
	FrequentInterval string `json:"frequent_interval,omitempty"`
}

ChangeSettingsParamsBodySttCheckIntervals STTCheckIntervals represents intervals between STT checks. swagger:model ChangeSettingsParamsBodySttCheckIntervals

func (*ChangeSettingsParamsBodySttCheckIntervals) MarshalBinary

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

MarshalBinary interface implementation

func (*ChangeSettingsParamsBodySttCheckIntervals) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChangeSettingsParamsBodySttCheckIntervals) Validate

Validate validates this change settings params body stt check intervals

type ChangeSettingsReader

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

ChangeSettingsReader is a Reader for the ChangeSettings structure.

func (*ChangeSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckUpdatesBody

type CheckUpdatesBody struct {

	// If false, cached information may be returned.
	Force bool `json:"force,omitempty"`
}

CheckUpdatesBody check updates body swagger:model CheckUpdatesBody

func (*CheckUpdatesBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CheckUpdatesBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CheckUpdatesBody) Validate

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

Validate validates this check updates body

type CheckUpdatesDefault

type CheckUpdatesDefault struct {
	Payload *CheckUpdatesDefaultBody
	// contains filtered or unexported fields
}

CheckUpdatesDefault handles this case with default header values.

An unexpected error response.

func NewCheckUpdatesDefault

func NewCheckUpdatesDefault(code int) *CheckUpdatesDefault

NewCheckUpdatesDefault creates a CheckUpdatesDefault with default headers values

func (*CheckUpdatesDefault) Code

func (o *CheckUpdatesDefault) Code() int

Code gets the status code for the check updates default response

func (*CheckUpdatesDefault) Error

func (o *CheckUpdatesDefault) Error() string

func (*CheckUpdatesDefault) GetPayload

type CheckUpdatesDefaultBody

type CheckUpdatesDefaultBody struct {

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

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

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

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

CheckUpdatesDefaultBody check updates default body swagger:model CheckUpdatesDefaultBody

func (*CheckUpdatesDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CheckUpdatesDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CheckUpdatesDefaultBody) Validate

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

Validate validates this check updates default body

type CheckUpdatesOK

type CheckUpdatesOK struct {
	Payload *CheckUpdatesOKBody
}

CheckUpdatesOK handles this case with default header values.

A successful response.

func NewCheckUpdatesOK

func NewCheckUpdatesOK() *CheckUpdatesOK

NewCheckUpdatesOK creates a CheckUpdatesOK with default headers values

func (*CheckUpdatesOK) Error

func (o *CheckUpdatesOK) Error() string

func (*CheckUpdatesOK) GetPayload

func (o *CheckUpdatesOK) GetPayload() *CheckUpdatesOKBody

type CheckUpdatesOKBody

type CheckUpdatesOKBody struct {

	// True if there is a PMM Server update available.
	UpdateAvailable bool `json:"update_available,omitempty"`

	// Latest available PMM Server release announcement URL.
	LatestNewsURL string `json:"latest_news_url,omitempty"`

	// Last check time.
	// Format: date-time
	LastCheck strfmt.DateTime `json:"last_check,omitempty"`

	// installed
	Installed *CheckUpdatesOKBodyInstalled `json:"installed,omitempty"`

	// latest
	Latest *CheckUpdatesOKBodyLatest `json:"latest,omitempty"`
}

CheckUpdatesOKBody check updates OK body swagger:model CheckUpdatesOKBody

func (*CheckUpdatesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CheckUpdatesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CheckUpdatesOKBody) Validate

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

Validate validates this check updates OK body

type CheckUpdatesOKBodyInstalled

type CheckUpdatesOKBodyInstalled struct {

	// User-visible version.
	Version string `json:"version,omitempty"`

	// Full version for debugging.
	FullVersion string `json:"full_version,omitempty"`

	// Build or release date.
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

CheckUpdatesOKBodyInstalled VersionInfo describes component version, or PMM Server as a whole. swagger:model CheckUpdatesOKBodyInstalled

func (*CheckUpdatesOKBodyInstalled) MarshalBinary

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

MarshalBinary interface implementation

func (*CheckUpdatesOKBodyInstalled) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CheckUpdatesOKBodyInstalled) Validate

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

Validate validates this check updates OK body installed

type CheckUpdatesOKBodyLatest

type CheckUpdatesOKBodyLatest struct {

	// User-visible version.
	Version string `json:"version,omitempty"`

	// Full version for debugging.
	FullVersion string `json:"full_version,omitempty"`

	// Build or release date.
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

CheckUpdatesOKBodyLatest VersionInfo describes component version, or PMM Server as a whole. swagger:model CheckUpdatesOKBodyLatest

func (*CheckUpdatesOKBodyLatest) MarshalBinary

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

MarshalBinary interface implementation

func (*CheckUpdatesOKBodyLatest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CheckUpdatesOKBodyLatest) Validate

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

Validate validates this check updates OK body latest

type CheckUpdatesParams

type CheckUpdatesParams struct {

	/*Body*/
	Body CheckUpdatesBody

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

CheckUpdatesParams contains all the parameters to send to the API endpoint for the check updates operation typically these are written to a http.Request

func NewCheckUpdatesParams

func NewCheckUpdatesParams() *CheckUpdatesParams

NewCheckUpdatesParams creates a new CheckUpdatesParams object with the default values initialized.

func NewCheckUpdatesParamsWithContext

func NewCheckUpdatesParamsWithContext(ctx context.Context) *CheckUpdatesParams

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

func NewCheckUpdatesParamsWithHTTPClient

func NewCheckUpdatesParamsWithHTTPClient(client *http.Client) *CheckUpdatesParams

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

func NewCheckUpdatesParamsWithTimeout

func NewCheckUpdatesParamsWithTimeout(timeout time.Duration) *CheckUpdatesParams

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

func (*CheckUpdatesParams) SetBody

func (o *CheckUpdatesParams) SetBody(body CheckUpdatesBody)

SetBody adds the body to the check updates params

func (*CheckUpdatesParams) SetContext

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

SetContext adds the context to the check updates params

func (*CheckUpdatesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check updates params

func (*CheckUpdatesParams) SetTimeout

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

SetTimeout adds the timeout to the check updates params

func (*CheckUpdatesParams) WithBody

WithBody adds the body to the check updates params

func (*CheckUpdatesParams) WithContext

WithContext adds the context to the check updates params

func (*CheckUpdatesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the check updates params

func (*CheckUpdatesParams) WithTimeout

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

WithTimeout adds the timeout to the check updates params

func (*CheckUpdatesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CheckUpdatesReader

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

CheckUpdatesReader is a Reader for the CheckUpdates structure.

func (*CheckUpdatesReader) ReadResponse

func (o *CheckUpdatesReader) 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 server API

func (*Client) AWSInstanceCheck

func (a *Client) AWSInstanceCheck(params *AWSInstanceCheckParams) (*AWSInstanceCheckOK, error)

AWSInstanceCheck AWSs instance check checks AWS e c2 instance ID

func (*Client) ChangeSettings

func (a *Client) ChangeSettings(params *ChangeSettingsParams) (*ChangeSettingsOK, error)

ChangeSettings changes settings changes PMM server settings

func (*Client) CheckUpdates

func (a *Client) CheckUpdates(params *CheckUpdatesParams) (*CheckUpdatesOK, error)

CheckUpdates checks updates checks PMM server updates availability

func (*Client) GetSettings

func (a *Client) GetSettings(params *GetSettingsParams) (*GetSettingsOK, error)

GetSettings gets settings returns current PMM server settings

func (*Client) Logs

func (a *Client) Logs(params *LogsParams, writer io.Writer) (*LogsOK, error)

Logs logs returns logs of the PMM server

func (*Client) PlatformSignIn

func (a *Client) PlatformSignIn(params *PlatformSignInParams) (*PlatformSignInOK, error)

PlatformSignIn platforms sign in links that PMM instance to percona platform user

func (*Client) PlatformSignOut

func (a *Client) PlatformSignOut(params *PlatformSignOutParams) (*PlatformSignOutOK, error)

PlatformSignOut platforms sign out logouts this PMM instance from percona platform account

func (*Client) PlatformSignUp

func (a *Client) PlatformSignUp(params *PlatformSignUpParams) (*PlatformSignUpOK, error)

PlatformSignUp platforms sign up creates a new percona platform user

func (*Client) Readiness

func (a *Client) Readiness(params *ReadinessParams) (*ReadinessOK, error)

Readiness readinesses returns an error when some PMM server component is not ready yet or is being restarted it can be used as for docker health check or kubernetes readiness probe

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) StartUpdate

func (a *Client) StartUpdate(params *StartUpdateParams) (*StartUpdateOK, error)

StartUpdate starts update starts PMM server update

func (*Client) UpdateStatus

func (a *Client) UpdateStatus(params *UpdateStatusParams) (*UpdateStatusOK, error)

UpdateStatus updates status returns PMM server update status

func (*Client) Version

func (a *Client) Version(params *VersionParams) (*VersionOK, error)

Version versions returns PMM server versions

type ClientService

type ClientService interface {
	AWSInstanceCheck(params *AWSInstanceCheckParams) (*AWSInstanceCheckOK, error)

	ChangeSettings(params *ChangeSettingsParams) (*ChangeSettingsOK, error)

	CheckUpdates(params *CheckUpdatesParams) (*CheckUpdatesOK, error)

	GetSettings(params *GetSettingsParams) (*GetSettingsOK, error)

	Logs(params *LogsParams, writer io.Writer) (*LogsOK, error)

	PlatformSignIn(params *PlatformSignInParams) (*PlatformSignInOK, error)

	PlatformSignOut(params *PlatformSignOutParams) (*PlatformSignOutOK, error)

	PlatformSignUp(params *PlatformSignUpParams) (*PlatformSignUpOK, error)

	Readiness(params *ReadinessParams) (*ReadinessOK, error)

	StartUpdate(params *StartUpdateParams) (*StartUpdateOK, error)

	UpdateStatus(params *UpdateStatusParams) (*UpdateStatusOK, error)

	Version(params *VersionParams) (*VersionOK, 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 server 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

func (*DetailsItems0) Validate

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

Validate validates this details items0

type GetSettingsDefault

type GetSettingsDefault struct {
	Payload *GetSettingsDefaultBody
	// contains filtered or unexported fields
}

GetSettingsDefault handles this case with default header values.

An unexpected error response.

func NewGetSettingsDefault

func NewGetSettingsDefault(code int) *GetSettingsDefault

NewGetSettingsDefault creates a GetSettingsDefault with default headers values

func (*GetSettingsDefault) Code

func (o *GetSettingsDefault) Code() int

Code gets the status code for the get settings default response

func (*GetSettingsDefault) Error

func (o *GetSettingsDefault) Error() string

func (*GetSettingsDefault) GetPayload

func (o *GetSettingsDefault) GetPayload() *GetSettingsDefaultBody

type GetSettingsDefaultBody

type GetSettingsDefaultBody struct {

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

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

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

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

GetSettingsDefaultBody get settings default body swagger:model GetSettingsDefaultBody

func (*GetSettingsDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSettingsDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSettingsDefaultBody) Validate

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

Validate validates this get settings default body

type GetSettingsOK

type GetSettingsOK struct {
	Payload *GetSettingsOKBody
}

GetSettingsOK handles this case with default header values.

A successful response.

func NewGetSettingsOK

func NewGetSettingsOK() *GetSettingsOK

NewGetSettingsOK creates a GetSettingsOK with default headers values

func (*GetSettingsOK) Error

func (o *GetSettingsOK) Error() string

func (*GetSettingsOK) GetPayload

func (o *GetSettingsOK) GetPayload() *GetSettingsOKBody

type GetSettingsOKBody

type GetSettingsOKBody struct {

	// settings
	Settings *GetSettingsOKBodySettings `json:"settings,omitempty"`
}

GetSettingsOKBody get settings OK body swagger:model GetSettingsOKBody

func (*GetSettingsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSettingsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSettingsOKBody) Validate

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

Validate validates this get settings OK body

type GetSettingsOKBodySettings

type GetSettingsOKBodySettings struct {

	// True if updates are disabled.
	UpdatesDisabled bool `json:"updates_disabled,omitempty"`

	// True if telemetry is enabled.
	TelemetryEnabled bool `json:"telemetry_enabled,omitempty"`

	// data retention
	DataRetention string `json:"data_retention,omitempty"`

	// ssh key
	SSHKey string `json:"ssh_key,omitempty"`

	// aws partitions
	AWSPartitions []string `json:"aws_partitions"`

	// External AlertManager URL (e.g., https://username:password@1.2.3.4/path).
	AlertManagerURL string `json:"alert_manager_url,omitempty"`

	// Custom alerting or recording rules.
	AlertManagerRules string `json:"alert_manager_rules,omitempty"`

	// True if Security Threat Tool is enabled.
	SttEnabled bool `json:"stt_enabled,omitempty"`

	// Percona Platform user's email, if this PMM instance is linked to the Platform.
	PlatformEmail string `json:"platform_email,omitempty"`

	// True if DBaaS is enabled.
	DbaasEnabled bool `json:"dbaas_enabled,omitempty"`

	// True if Integrated Alerting is enabled.
	AlertingEnabled bool `json:"alerting_enabled,omitempty"`

	// PMM Server public address.
	PMMPublicAddress string `json:"pmm_public_address,omitempty"`

	// True if Backup Management is enabled.
	BackupManagementEnabled bool `json:"backup_management_enabled,omitempty"`

	// True if Azure Discover is enabled.
	AzurediscoverEnabled bool `json:"azurediscover_enabled,omitempty"`

	// email alerting settings
	EmailAlertingSettings *GetSettingsOKBodySettingsEmailAlertingSettings `json:"email_alerting_settings,omitempty"`

	// metrics resolutions
	MetricsResolutions *GetSettingsOKBodySettingsMetricsResolutions `json:"metrics_resolutions,omitempty"`

	// slack alerting settings
	SlackAlertingSettings *GetSettingsOKBodySettingsSlackAlertingSettings `json:"slack_alerting_settings,omitempty"`

	// stt check intervals
	SttCheckIntervals *GetSettingsOKBodySettingsSttCheckIntervals `json:"stt_check_intervals,omitempty"`
}

GetSettingsOKBodySettings Settings represents PMM Server settings. swagger:model GetSettingsOKBodySettings

func (*GetSettingsOKBodySettings) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSettingsOKBodySettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSettingsOKBodySettings) Validate

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

Validate validates this get settings OK body settings

type GetSettingsOKBodySettingsEmailAlertingSettings

type GetSettingsOKBodySettingsEmailAlertingSettings struct {

	// SMTP From header field.
	From string `json:"from,omitempty"`

	// SMTP host and port.
	Smarthost string `json:"smarthost,omitempty"`

	// Hostname to identify to the SMTP server.
	Hello string `json:"hello,omitempty"`

	// Auth using CRAM-MD5, LOGIN and PLAIN.
	Username string `json:"username,omitempty"`

	// Auth using LOGIN and PLAIN.
	Password string `json:"password,omitempty"`

	// Auth using PLAIN.
	Identity string `json:"identity,omitempty"`

	// Auth using CRAM-MD5.
	Secret string `json:"secret,omitempty"`
}

GetSettingsOKBodySettingsEmailAlertingSettings EmailAlertingSettings represents email (SMTP) configuration for Integrated Alerting. swagger:model GetSettingsOKBodySettingsEmailAlertingSettings

func (*GetSettingsOKBodySettingsEmailAlertingSettings) MarshalBinary

MarshalBinary interface implementation

func (*GetSettingsOKBodySettingsEmailAlertingSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetSettingsOKBodySettingsEmailAlertingSettings) Validate

Validate validates this get settings OK body settings email alerting settings

type GetSettingsOKBodySettingsMetricsResolutions

type GetSettingsOKBodySettingsMetricsResolutions struct {

	// High resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Hr string `json:"hr,omitempty"`

	// Medium resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Mr string `json:"mr,omitempty"`

	// Low resolution. Should have a suffix in JSON: 1s, 1m, 1h.
	Lr string `json:"lr,omitempty"`
}

GetSettingsOKBodySettingsMetricsResolutions MetricsResolutions represents Prometheus exporters metrics resolutions. swagger:model GetSettingsOKBodySettingsMetricsResolutions

func (*GetSettingsOKBodySettingsMetricsResolutions) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSettingsOKBodySettingsMetricsResolutions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSettingsOKBodySettingsMetricsResolutions) Validate

Validate validates this get settings OK body settings metrics resolutions

type GetSettingsOKBodySettingsSlackAlertingSettings

type GetSettingsOKBodySettingsSlackAlertingSettings struct {

	// Slack API (webhook) URL.
	URL string `json:"url,omitempty"`
}

GetSettingsOKBodySettingsSlackAlertingSettings SlackAlertingSettings represents Slack configuration for Integrated Alerting. swagger:model GetSettingsOKBodySettingsSlackAlertingSettings

func (*GetSettingsOKBodySettingsSlackAlertingSettings) MarshalBinary

MarshalBinary interface implementation

func (*GetSettingsOKBodySettingsSlackAlertingSettings) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetSettingsOKBodySettingsSlackAlertingSettings) Validate

Validate validates this get settings OK body settings slack alerting settings

type GetSettingsOKBodySettingsSttCheckIntervals

type GetSettingsOKBodySettingsSttCheckIntervals struct {

	// Standard check interval.
	StandardInterval string `json:"standard_interval,omitempty"`

	// Interval for rare check runs.
	RareInterval string `json:"rare_interval,omitempty"`

	// Interval for frequent check runs.
	FrequentInterval string `json:"frequent_interval,omitempty"`
}

GetSettingsOKBodySettingsSttCheckIntervals STTCheckIntervals represents intervals between STT checks. swagger:model GetSettingsOKBodySettingsSttCheckIntervals

func (*GetSettingsOKBodySettingsSttCheckIntervals) MarshalBinary

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

MarshalBinary interface implementation

func (*GetSettingsOKBodySettingsSttCheckIntervals) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetSettingsOKBodySettingsSttCheckIntervals) Validate

Validate validates this get settings OK body settings stt check intervals

type GetSettingsParams

type GetSettingsParams struct {

	/*Body*/
	Body interface{}

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

GetSettingsParams contains all the parameters to send to the API endpoint for the get settings operation typically these are written to a http.Request

func NewGetSettingsParams

func NewGetSettingsParams() *GetSettingsParams

NewGetSettingsParams creates a new GetSettingsParams object with the default values initialized.

func NewGetSettingsParamsWithContext

func NewGetSettingsParamsWithContext(ctx context.Context) *GetSettingsParams

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

func NewGetSettingsParamsWithHTTPClient

func NewGetSettingsParamsWithHTTPClient(client *http.Client) *GetSettingsParams

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

func NewGetSettingsParamsWithTimeout

func NewGetSettingsParamsWithTimeout(timeout time.Duration) *GetSettingsParams

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

func (*GetSettingsParams) SetBody

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

SetBody adds the body to the get settings params

func (*GetSettingsParams) SetContext

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

SetContext adds the context to the get settings params

func (*GetSettingsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get settings params

func (*GetSettingsParams) SetTimeout

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

SetTimeout adds the timeout to the get settings params

func (*GetSettingsParams) WithBody

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

WithBody adds the body to the get settings params

func (*GetSettingsParams) WithContext

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

WithContext adds the context to the get settings params

func (*GetSettingsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get settings params

func (*GetSettingsParams) WithTimeout

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

WithTimeout adds the timeout to the get settings params

func (*GetSettingsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSettingsReader

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

GetSettingsReader is a Reader for the GetSettings structure.

func (*GetSettingsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type LogsDefault

type LogsDefault struct {
	Payload *LogsDefaultBody
	// contains filtered or unexported fields
}

LogsDefault handles this case with default header values.

An error response.

func NewLogsDefault

func NewLogsDefault(code int) *LogsDefault

NewLogsDefault creates a LogsDefault with default headers values

func (*LogsDefault) Code

func (o *LogsDefault) Code() int

Code gets the status code for the logs default response

func (*LogsDefault) Error

func (o *LogsDefault) Error() string

func (*LogsDefault) GetPayload

func (o *LogsDefault) GetPayload() *LogsDefaultBody

type LogsDefaultBody

type LogsDefaultBody struct {

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

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

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

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

func (*LogsDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*LogsDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogsDefaultBody) Validate

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

Validate validates this logs default body

type LogsOK

type LogsOK struct {
	Payload io.Writer
}

LogsOK handles this case with default header values.

A successful response.

func NewLogsOK

func NewLogsOK(writer io.Writer) *LogsOK

NewLogsOK creates a LogsOK with default headers values

func (*LogsOK) Error

func (o *LogsOK) Error() string

func (*LogsOK) GetPayload

func (o *LogsOK) GetPayload() io.Writer

type LogsParams

type LogsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

LogsParams contains all the parameters to send to the API endpoint for the logs operation typically these are written to a http.Request

func NewLogsParams

func NewLogsParams() *LogsParams

NewLogsParams creates a new LogsParams object with the default values initialized.

func NewLogsParamsWithContext

func NewLogsParamsWithContext(ctx context.Context) *LogsParams

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

func NewLogsParamsWithHTTPClient

func NewLogsParamsWithHTTPClient(client *http.Client) *LogsParams

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

func NewLogsParamsWithTimeout

func NewLogsParamsWithTimeout(timeout time.Duration) *LogsParams

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

func (*LogsParams) SetContext

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

SetContext adds the context to the logs params

func (*LogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the logs params

func (*LogsParams) SetTimeout

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

SetTimeout adds the timeout to the logs params

func (*LogsParams) WithContext

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

WithContext adds the context to the logs params

func (*LogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the logs params

func (*LogsParams) WithTimeout

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

WithTimeout adds the timeout to the logs params

func (*LogsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type LogsReader

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

LogsReader is a Reader for the Logs structure.

func (*LogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PlatformSignInBody

type PlatformSignInBody struct {

	// Existing Percona Platform user's email.
	Email string `json:"email,omitempty"`

	// Existing Percona Platform user's password.
	Password string `json:"password,omitempty"`
}

PlatformSignInBody platform sign in body swagger:model PlatformSignInBody

func (*PlatformSignInBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PlatformSignInBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PlatformSignInBody) Validate

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

Validate validates this platform sign in body

type PlatformSignInDefault

type PlatformSignInDefault struct {
	Payload *PlatformSignInDefaultBody
	// contains filtered or unexported fields
}

PlatformSignInDefault handles this case with default header values.

An unexpected error response.

func NewPlatformSignInDefault

func NewPlatformSignInDefault(code int) *PlatformSignInDefault

NewPlatformSignInDefault creates a PlatformSignInDefault with default headers values

func (*PlatformSignInDefault) Code

func (o *PlatformSignInDefault) Code() int

Code gets the status code for the platform sign in default response

func (*PlatformSignInDefault) Error

func (o *PlatformSignInDefault) Error() string

func (*PlatformSignInDefault) GetPayload

type PlatformSignInDefaultBody

type PlatformSignInDefaultBody struct {

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

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

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

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

PlatformSignInDefaultBody platform sign in default body swagger:model PlatformSignInDefaultBody

func (*PlatformSignInDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PlatformSignInDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PlatformSignInDefaultBody) Validate

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

Validate validates this platform sign in default body

type PlatformSignInOK

type PlatformSignInOK struct {
	Payload interface{}
}

PlatformSignInOK handles this case with default header values.

A successful response.

func NewPlatformSignInOK

func NewPlatformSignInOK() *PlatformSignInOK

NewPlatformSignInOK creates a PlatformSignInOK with default headers values

func (*PlatformSignInOK) Error

func (o *PlatformSignInOK) Error() string

func (*PlatformSignInOK) GetPayload

func (o *PlatformSignInOK) GetPayload() interface{}

type PlatformSignInParams

type PlatformSignInParams struct {

	/*Body*/
	Body PlatformSignInBody

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

PlatformSignInParams contains all the parameters to send to the API endpoint for the platform sign in operation typically these are written to a http.Request

func NewPlatformSignInParams

func NewPlatformSignInParams() *PlatformSignInParams

NewPlatformSignInParams creates a new PlatformSignInParams object with the default values initialized.

func NewPlatformSignInParamsWithContext

func NewPlatformSignInParamsWithContext(ctx context.Context) *PlatformSignInParams

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

func NewPlatformSignInParamsWithHTTPClient

func NewPlatformSignInParamsWithHTTPClient(client *http.Client) *PlatformSignInParams

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

func NewPlatformSignInParamsWithTimeout

func NewPlatformSignInParamsWithTimeout(timeout time.Duration) *PlatformSignInParams

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

func (*PlatformSignInParams) SetBody

func (o *PlatformSignInParams) SetBody(body PlatformSignInBody)

SetBody adds the body to the platform sign in params

func (*PlatformSignInParams) SetContext

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

SetContext adds the context to the platform sign in params

func (*PlatformSignInParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the platform sign in params

func (*PlatformSignInParams) SetTimeout

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

SetTimeout adds the timeout to the platform sign in params

func (*PlatformSignInParams) WithBody

WithBody adds the body to the platform sign in params

func (*PlatformSignInParams) WithContext

WithContext adds the context to the platform sign in params

func (*PlatformSignInParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the platform sign in params

func (*PlatformSignInParams) WithTimeout

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

WithTimeout adds the timeout to the platform sign in params

func (*PlatformSignInParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PlatformSignInReader

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

PlatformSignInReader is a Reader for the PlatformSignIn structure.

func (*PlatformSignInReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PlatformSignOutDefault

type PlatformSignOutDefault struct {
	Payload *PlatformSignOutDefaultBody
	// contains filtered or unexported fields
}

PlatformSignOutDefault handles this case with default header values.

An unexpected error response.

func NewPlatformSignOutDefault

func NewPlatformSignOutDefault(code int) *PlatformSignOutDefault

NewPlatformSignOutDefault creates a PlatformSignOutDefault with default headers values

func (*PlatformSignOutDefault) Code

func (o *PlatformSignOutDefault) Code() int

Code gets the status code for the platform sign out default response

func (*PlatformSignOutDefault) Error

func (o *PlatformSignOutDefault) Error() string

func (*PlatformSignOutDefault) GetPayload

type PlatformSignOutDefaultBody

type PlatformSignOutDefaultBody struct {

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

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

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

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

PlatformSignOutDefaultBody platform sign out default body swagger:model PlatformSignOutDefaultBody

func (*PlatformSignOutDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PlatformSignOutDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PlatformSignOutDefaultBody) Validate

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

Validate validates this platform sign out default body

type PlatformSignOutOK

type PlatformSignOutOK struct {
	Payload interface{}
}

PlatformSignOutOK handles this case with default header values.

A successful response.

func NewPlatformSignOutOK

func NewPlatformSignOutOK() *PlatformSignOutOK

NewPlatformSignOutOK creates a PlatformSignOutOK with default headers values

func (*PlatformSignOutOK) Error

func (o *PlatformSignOutOK) Error() string

func (*PlatformSignOutOK) GetPayload

func (o *PlatformSignOutOK) GetPayload() interface{}

type PlatformSignOutParams

type PlatformSignOutParams struct {

	/*Body*/
	Body interface{}

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

PlatformSignOutParams contains all the parameters to send to the API endpoint for the platform sign out operation typically these are written to a http.Request

func NewPlatformSignOutParams

func NewPlatformSignOutParams() *PlatformSignOutParams

NewPlatformSignOutParams creates a new PlatformSignOutParams object with the default values initialized.

func NewPlatformSignOutParamsWithContext

func NewPlatformSignOutParamsWithContext(ctx context.Context) *PlatformSignOutParams

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

func NewPlatformSignOutParamsWithHTTPClient

func NewPlatformSignOutParamsWithHTTPClient(client *http.Client) *PlatformSignOutParams

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

func NewPlatformSignOutParamsWithTimeout

func NewPlatformSignOutParamsWithTimeout(timeout time.Duration) *PlatformSignOutParams

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

func (*PlatformSignOutParams) SetBody

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

SetBody adds the body to the platform sign out params

func (*PlatformSignOutParams) SetContext

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

SetContext adds the context to the platform sign out params

func (*PlatformSignOutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the platform sign out params

func (*PlatformSignOutParams) SetTimeout

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

SetTimeout adds the timeout to the platform sign out params

func (*PlatformSignOutParams) WithBody

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

WithBody adds the body to the platform sign out params

func (*PlatformSignOutParams) WithContext

WithContext adds the context to the platform sign out params

func (*PlatformSignOutParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the platform sign out params

func (*PlatformSignOutParams) WithTimeout

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

WithTimeout adds the timeout to the platform sign out params

func (*PlatformSignOutParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PlatformSignOutReader

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

PlatformSignOutReader is a Reader for the PlatformSignOut structure.

func (*PlatformSignOutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PlatformSignUpBody

type PlatformSignUpBody struct {

	// New Percona Platform user's email.
	Email string `json:"email,omitempty"`

	// Existing Percona Platform user's password.
	Password string `json:"password,omitempty"`

	// New Percona Platform user's first name.
	FirstName string `json:"first_name,omitempty"`

	// New Percona Platform user's last name.
	LastName string `json:"last_name,omitempty"`
}

PlatformSignUpBody platform sign up body swagger:model PlatformSignUpBody

func (*PlatformSignUpBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PlatformSignUpBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PlatformSignUpBody) Validate

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

Validate validates this platform sign up body

type PlatformSignUpDefault

type PlatformSignUpDefault struct {
	Payload *PlatformSignUpDefaultBody
	// contains filtered or unexported fields
}

PlatformSignUpDefault handles this case with default header values.

An unexpected error response.

func NewPlatformSignUpDefault

func NewPlatformSignUpDefault(code int) *PlatformSignUpDefault

NewPlatformSignUpDefault creates a PlatformSignUpDefault with default headers values

func (*PlatformSignUpDefault) Code

func (o *PlatformSignUpDefault) Code() int

Code gets the status code for the platform sign up default response

func (*PlatformSignUpDefault) Error

func (o *PlatformSignUpDefault) Error() string

func (*PlatformSignUpDefault) GetPayload

type PlatformSignUpDefaultBody

type PlatformSignUpDefaultBody struct {

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

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

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

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

PlatformSignUpDefaultBody platform sign up default body swagger:model PlatformSignUpDefaultBody

func (*PlatformSignUpDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PlatformSignUpDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PlatformSignUpDefaultBody) Validate

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

Validate validates this platform sign up default body

type PlatformSignUpOK

type PlatformSignUpOK struct {
	Payload interface{}
}

PlatformSignUpOK handles this case with default header values.

A successful response.

func NewPlatformSignUpOK

func NewPlatformSignUpOK() *PlatformSignUpOK

NewPlatformSignUpOK creates a PlatformSignUpOK with default headers values

func (*PlatformSignUpOK) Error

func (o *PlatformSignUpOK) Error() string

func (*PlatformSignUpOK) GetPayload

func (o *PlatformSignUpOK) GetPayload() interface{}

type PlatformSignUpParams

type PlatformSignUpParams struct {

	/*Body*/
	Body PlatformSignUpBody

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

PlatformSignUpParams contains all the parameters to send to the API endpoint for the platform sign up operation typically these are written to a http.Request

func NewPlatformSignUpParams

func NewPlatformSignUpParams() *PlatformSignUpParams

NewPlatformSignUpParams creates a new PlatformSignUpParams object with the default values initialized.

func NewPlatformSignUpParamsWithContext

func NewPlatformSignUpParamsWithContext(ctx context.Context) *PlatformSignUpParams

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

func NewPlatformSignUpParamsWithHTTPClient

func NewPlatformSignUpParamsWithHTTPClient(client *http.Client) *PlatformSignUpParams

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

func NewPlatformSignUpParamsWithTimeout

func NewPlatformSignUpParamsWithTimeout(timeout time.Duration) *PlatformSignUpParams

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

func (*PlatformSignUpParams) SetBody

func (o *PlatformSignUpParams) SetBody(body PlatformSignUpBody)

SetBody adds the body to the platform sign up params

func (*PlatformSignUpParams) SetContext

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

SetContext adds the context to the platform sign up params

func (*PlatformSignUpParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the platform sign up params

func (*PlatformSignUpParams) SetTimeout

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

SetTimeout adds the timeout to the platform sign up params

func (*PlatformSignUpParams) WithBody

WithBody adds the body to the platform sign up params

func (*PlatformSignUpParams) WithContext

WithContext adds the context to the platform sign up params

func (*PlatformSignUpParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the platform sign up params

func (*PlatformSignUpParams) WithTimeout

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

WithTimeout adds the timeout to the platform sign up params

func (*PlatformSignUpParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PlatformSignUpReader

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

PlatformSignUpReader is a Reader for the PlatformSignUp structure.

func (*PlatformSignUpReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadinessDefault

type ReadinessDefault struct {
	Payload *ReadinessDefaultBody
	// contains filtered or unexported fields
}

ReadinessDefault handles this case with default header values.

An unexpected error response.

func NewReadinessDefault

func NewReadinessDefault(code int) *ReadinessDefault

NewReadinessDefault creates a ReadinessDefault with default headers values

func (*ReadinessDefault) Code

func (o *ReadinessDefault) Code() int

Code gets the status code for the readiness default response

func (*ReadinessDefault) Error

func (o *ReadinessDefault) Error() string

func (*ReadinessDefault) GetPayload

func (o *ReadinessDefault) GetPayload() *ReadinessDefaultBody

type ReadinessDefaultBody

type ReadinessDefaultBody struct {

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

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

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

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

ReadinessDefaultBody readiness default body swagger:model ReadinessDefaultBody

func (*ReadinessDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ReadinessDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ReadinessDefaultBody) Validate

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

Validate validates this readiness default body

type ReadinessOK

type ReadinessOK struct {
	Payload interface{}
}

ReadinessOK handles this case with default header values.

A successful response.

func NewReadinessOK

func NewReadinessOK() *ReadinessOK

NewReadinessOK creates a ReadinessOK with default headers values

func (*ReadinessOK) Error

func (o *ReadinessOK) Error() string

func (*ReadinessOK) GetPayload

func (o *ReadinessOK) GetPayload() interface{}

type ReadinessParams

type ReadinessParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadinessParams contains all the parameters to send to the API endpoint for the readiness operation typically these are written to a http.Request

func NewReadinessParams

func NewReadinessParams() *ReadinessParams

NewReadinessParams creates a new ReadinessParams object with the default values initialized.

func NewReadinessParamsWithContext

func NewReadinessParamsWithContext(ctx context.Context) *ReadinessParams

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

func NewReadinessParamsWithHTTPClient

func NewReadinessParamsWithHTTPClient(client *http.Client) *ReadinessParams

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

func NewReadinessParamsWithTimeout

func NewReadinessParamsWithTimeout(timeout time.Duration) *ReadinessParams

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

func (*ReadinessParams) SetContext

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

SetContext adds the context to the readiness params

func (*ReadinessParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the readiness params

func (*ReadinessParams) SetTimeout

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

SetTimeout adds the timeout to the readiness params

func (*ReadinessParams) WithContext

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

WithContext adds the context to the readiness params

func (*ReadinessParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the readiness params

func (*ReadinessParams) WithTimeout

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

WithTimeout adds the timeout to the readiness params

func (*ReadinessParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReadinessReader

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

ReadinessReader is a Reader for the Readiness structure.

func (*ReadinessReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type StartUpdateDefault

type StartUpdateDefault struct {
	Payload *StartUpdateDefaultBody
	// contains filtered or unexported fields
}

StartUpdateDefault handles this case with default header values.

An unexpected error response.

func NewStartUpdateDefault

func NewStartUpdateDefault(code int) *StartUpdateDefault

NewStartUpdateDefault creates a StartUpdateDefault with default headers values

func (*StartUpdateDefault) Code

func (o *StartUpdateDefault) Code() int

Code gets the status code for the start update default response

func (*StartUpdateDefault) Error

func (o *StartUpdateDefault) Error() string

func (*StartUpdateDefault) GetPayload

func (o *StartUpdateDefault) GetPayload() *StartUpdateDefaultBody

type StartUpdateDefaultBody

type StartUpdateDefaultBody struct {

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

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

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

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

StartUpdateDefaultBody start update default body swagger:model StartUpdateDefaultBody

func (*StartUpdateDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*StartUpdateDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartUpdateDefaultBody) Validate

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

Validate validates this start update default body

type StartUpdateOK

type StartUpdateOK struct {
	Payload *StartUpdateOKBody
}

StartUpdateOK handles this case with default header values.

A successful response.

func NewStartUpdateOK

func NewStartUpdateOK() *StartUpdateOK

NewStartUpdateOK creates a StartUpdateOK with default headers values

func (*StartUpdateOK) Error

func (o *StartUpdateOK) Error() string

func (*StartUpdateOK) GetPayload

func (o *StartUpdateOK) GetPayload() *StartUpdateOKBody

type StartUpdateOKBody

type StartUpdateOKBody struct {

	// Authentication token for getting update statuses.
	AuthToken string `json:"auth_token,omitempty"`

	// Progress log offset.
	LogOffset int64 `json:"log_offset,omitempty"`
}

StartUpdateOKBody start update OK body swagger:model StartUpdateOKBody

func (*StartUpdateOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*StartUpdateOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartUpdateOKBody) Validate

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

Validate validates this start update OK body

type StartUpdateParams

type StartUpdateParams struct {

	/*Body*/
	Body interface{}

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

StartUpdateParams contains all the parameters to send to the API endpoint for the start update operation typically these are written to a http.Request

func NewStartUpdateParams

func NewStartUpdateParams() *StartUpdateParams

NewStartUpdateParams creates a new StartUpdateParams object with the default values initialized.

func NewStartUpdateParamsWithContext

func NewStartUpdateParamsWithContext(ctx context.Context) *StartUpdateParams

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

func NewStartUpdateParamsWithHTTPClient

func NewStartUpdateParamsWithHTTPClient(client *http.Client) *StartUpdateParams

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

func NewStartUpdateParamsWithTimeout

func NewStartUpdateParamsWithTimeout(timeout time.Duration) *StartUpdateParams

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

func (*StartUpdateParams) SetBody

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

SetBody adds the body to the start update params

func (*StartUpdateParams) SetContext

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

SetContext adds the context to the start update params

func (*StartUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the start update params

func (*StartUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the start update params

func (*StartUpdateParams) WithBody

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

WithBody adds the body to the start update params

func (*StartUpdateParams) WithContext

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

WithContext adds the context to the start update params

func (*StartUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the start update params

func (*StartUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the start update params

func (*StartUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type StartUpdateReader

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

StartUpdateReader is a Reader for the StartUpdate structure.

func (*StartUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateStatusBody

type UpdateStatusBody struct {

	// Authentication token.
	AuthToken string `json:"auth_token,omitempty"`

	// Progress log offset.
	LogOffset int64 `json:"log_offset,omitempty"`
}

UpdateStatusBody update status body swagger:model UpdateStatusBody

func (*UpdateStatusBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateStatusBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateStatusBody) Validate

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

Validate validates this update status body

type UpdateStatusDefault

type UpdateStatusDefault struct {
	Payload *UpdateStatusDefaultBody
	// contains filtered or unexported fields
}

UpdateStatusDefault handles this case with default header values.

An unexpected error response.

func NewUpdateStatusDefault

func NewUpdateStatusDefault(code int) *UpdateStatusDefault

NewUpdateStatusDefault creates a UpdateStatusDefault with default headers values

func (*UpdateStatusDefault) Code

func (o *UpdateStatusDefault) Code() int

Code gets the status code for the update status default response

func (*UpdateStatusDefault) Error

func (o *UpdateStatusDefault) Error() string

func (*UpdateStatusDefault) GetPayload

type UpdateStatusDefaultBody

type UpdateStatusDefaultBody struct {

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

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

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

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

UpdateStatusDefaultBody update status default body swagger:model UpdateStatusDefaultBody

func (*UpdateStatusDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateStatusDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateStatusDefaultBody) Validate

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

Validate validates this update status default body

type UpdateStatusOK

type UpdateStatusOK struct {
	Payload *UpdateStatusOKBody
}

UpdateStatusOK handles this case with default header values.

A successful response.

func NewUpdateStatusOK

func NewUpdateStatusOK() *UpdateStatusOK

NewUpdateStatusOK creates a UpdateStatusOK with default headers values

func (*UpdateStatusOK) Error

func (o *UpdateStatusOK) Error() string

func (*UpdateStatusOK) GetPayload

func (o *UpdateStatusOK) GetPayload() *UpdateStatusOKBody

type UpdateStatusOKBody

type UpdateStatusOKBody struct {

	// Progress log lines.
	LogLines []string `json:"log_lines"`

	// Progress log offset for the next request.
	LogOffset int64 `json:"log_offset,omitempty"`

	// True when update is done.
	Done bool `json:"done,omitempty"`
}

UpdateStatusOKBody update status OK body swagger:model UpdateStatusOKBody

func (*UpdateStatusOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateStatusOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateStatusOKBody) Validate

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

Validate validates this update status OK body

type UpdateStatusParams

type UpdateStatusParams struct {

	/*Body*/
	Body UpdateStatusBody

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

UpdateStatusParams contains all the parameters to send to the API endpoint for the update status operation typically these are written to a http.Request

func NewUpdateStatusParams

func NewUpdateStatusParams() *UpdateStatusParams

NewUpdateStatusParams creates a new UpdateStatusParams object with the default values initialized.

func NewUpdateStatusParamsWithContext

func NewUpdateStatusParamsWithContext(ctx context.Context) *UpdateStatusParams

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

func NewUpdateStatusParamsWithHTTPClient

func NewUpdateStatusParamsWithHTTPClient(client *http.Client) *UpdateStatusParams

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

func NewUpdateStatusParamsWithTimeout

func NewUpdateStatusParamsWithTimeout(timeout time.Duration) *UpdateStatusParams

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

func (*UpdateStatusParams) SetBody

func (o *UpdateStatusParams) SetBody(body UpdateStatusBody)

SetBody adds the body to the update status params

func (*UpdateStatusParams) SetContext

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

SetContext adds the context to the update status params

func (*UpdateStatusParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update status params

func (*UpdateStatusParams) SetTimeout

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

SetTimeout adds the timeout to the update status params

func (*UpdateStatusParams) WithBody

WithBody adds the body to the update status params

func (*UpdateStatusParams) WithContext

WithContext adds the context to the update status params

func (*UpdateStatusParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update status params

func (*UpdateStatusParams) WithTimeout

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

WithTimeout adds the timeout to the update status params

func (*UpdateStatusParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateStatusReader

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

UpdateStatusReader is a Reader for the UpdateStatus structure.

func (*UpdateStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VersionDefault

type VersionDefault struct {
	Payload *VersionDefaultBody
	// contains filtered or unexported fields
}

VersionDefault handles this case with default header values.

An unexpected error response.

func NewVersionDefault

func NewVersionDefault(code int) *VersionDefault

NewVersionDefault creates a VersionDefault with default headers values

func (*VersionDefault) Code

func (o *VersionDefault) Code() int

Code gets the status code for the version default response

func (*VersionDefault) Error

func (o *VersionDefault) Error() string

func (*VersionDefault) GetPayload

func (o *VersionDefault) GetPayload() *VersionDefaultBody

type VersionDefaultBody

type VersionDefaultBody struct {

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

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

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

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

VersionDefaultBody version default body swagger:model VersionDefaultBody

func (*VersionDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionDefaultBody) Validate

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

Validate validates this version default body

type VersionOK

type VersionOK struct {
	Payload *VersionOKBody
}

VersionOK handles this case with default header values.

A successful response.

func NewVersionOK

func NewVersionOK() *VersionOK

NewVersionOK creates a VersionOK with default headers values

func (*VersionOK) Error

func (o *VersionOK) Error() string

func (*VersionOK) GetPayload

func (o *VersionOK) GetPayload() *VersionOKBody

type VersionOKBody

type VersionOKBody struct {

	// PMM Server version.
	Version string `json:"version,omitempty"`

	// DistributionMethod defines PMM Server distribution method: Docker image, OVF/OVA, or AMI.
	// Enum: [DISTRIBUTION_METHOD_INVALID DOCKER OVF AMI]
	DistributionMethod *string `json:"distribution_method,omitempty"`

	// managed
	Managed *VersionOKBodyManaged `json:"managed,omitempty"`

	// server
	Server *VersionOKBodyServer `json:"server,omitempty"`
}

VersionOKBody version OK body swagger:model VersionOKBody

func (*VersionOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionOKBody) Validate

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

Validate validates this version OK body

type VersionOKBodyManaged

type VersionOKBodyManaged struct {

	// User-visible version.
	Version string `json:"version,omitempty"`

	// Full version for debugging.
	FullVersion string `json:"full_version,omitempty"`

	// Build or release date.
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

VersionOKBodyManaged VersionInfo describes component version, or PMM Server as a whole. swagger:model VersionOKBodyManaged

func (*VersionOKBodyManaged) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionOKBodyManaged) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionOKBodyManaged) Validate

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

Validate validates this version OK body managed

type VersionOKBodyServer

type VersionOKBodyServer struct {

	// User-visible version.
	Version string `json:"version,omitempty"`

	// Full version for debugging.
	FullVersion string `json:"full_version,omitempty"`

	// Build or release date.
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

VersionOKBodyServer VersionInfo describes component version, or PMM Server as a whole. swagger:model VersionOKBodyServer

func (*VersionOKBodyServer) MarshalBinary

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

MarshalBinary interface implementation

func (*VersionOKBodyServer) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VersionOKBodyServer) Validate

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

Validate validates this version OK body server

type VersionParams

type VersionParams struct {

	/*Dummy
	  Dummy parameter for internal testing. Do not use.

	*/
	Dummy *string

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

VersionParams contains all the parameters to send to the API endpoint for the version operation typically these are written to a http.Request

func NewVersionParams

func NewVersionParams() *VersionParams

NewVersionParams creates a new VersionParams object with the default values initialized.

func NewVersionParamsWithContext

func NewVersionParamsWithContext(ctx context.Context) *VersionParams

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

func NewVersionParamsWithHTTPClient

func NewVersionParamsWithHTTPClient(client *http.Client) *VersionParams

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

func NewVersionParamsWithTimeout

func NewVersionParamsWithTimeout(timeout time.Duration) *VersionParams

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

func (*VersionParams) SetContext

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

SetContext adds the context to the version params

func (*VersionParams) SetDummy

func (o *VersionParams) SetDummy(dummy *string)

SetDummy adds the dummy to the version params

func (*VersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the version params

func (*VersionParams) SetTimeout

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

SetTimeout adds the timeout to the version params

func (*VersionParams) WithContext

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

WithContext adds the context to the version params

func (*VersionParams) WithDummy

func (o *VersionParams) WithDummy(dummy *string) *VersionParams

WithDummy adds the dummy to the version params

func (*VersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the version params

func (*VersionParams) WithTimeout

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

WithTimeout adds the timeout to the version params

func (*VersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VersionReader

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

VersionReader is a Reader for the Version structure.

func (*VersionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL