version_service

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Client ¶

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

Client for version service API

func (*Client) SetTransport ¶

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

SetTransport changes the transport on the client

func (*Client) VersionServiceApply ¶

func (a *Client) VersionServiceApply(params *VersionServiceApplyParams, opts ...ClientOption) (*VersionServiceApplyOK, error)

VersionServiceApply specifics version

Return specific product version

func (*Client) VersionServiceOperator ¶

func (a *Client) VersionServiceOperator(params *VersionServiceOperatorParams, opts ...ClientOption) (*VersionServiceOperatorOK, error)

VersionServiceOperator products versions for specific operator version

Return product versions for specific operator

func (*Client) VersionServiceProduct ¶

func (a *Client) VersionServiceProduct(params *VersionServiceProductParams, opts ...ClientOption) (*VersionServiceProductOK, error)

VersionServiceProduct products versions for all operator version

Return product versions for all operator

type ClientOption ¶

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService ¶

type ClientService interface {
	VersionServiceApply(params *VersionServiceApplyParams, opts ...ClientOption) (*VersionServiceApplyOK, error)

	VersionServiceOperator(params *VersionServiceOperatorParams, opts ...ClientOption) (*VersionServiceOperatorOK, error)

	VersionServiceProduct(params *VersionServiceProductParams, opts ...ClientOption) (*VersionServiceProductOK, 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 version service API client.

type VersionServiceApplyDefault ¶

type VersionServiceApplyDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

VersionServiceApplyDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewVersionServiceApplyDefault ¶

func NewVersionServiceApplyDefault(code int) *VersionServiceApplyDefault

NewVersionServiceApplyDefault creates a VersionServiceApplyDefault with default headers values

func (*VersionServiceApplyDefault) Code ¶

func (o *VersionServiceApplyDefault) Code() int

Code gets the status code for the version service apply default response

func (*VersionServiceApplyDefault) Error ¶

func (*VersionServiceApplyDefault) GetPayload ¶

type VersionServiceApplyOK ¶

type VersionServiceApplyOK struct {
	Payload *models.VersionVersionResponse
}

VersionServiceApplyOK describes a response with status code 200, with default header values.

A successful response.

func NewVersionServiceApplyOK ¶

func NewVersionServiceApplyOK() *VersionServiceApplyOK

NewVersionServiceApplyOK creates a VersionServiceApplyOK with default headers values

func (*VersionServiceApplyOK) Error ¶

func (o *VersionServiceApplyOK) Error() string

func (*VersionServiceApplyOK) GetPayload ¶

type VersionServiceApplyParams ¶

type VersionServiceApplyParams struct {

	// Apply.
	Apply string

	// BackupVersion.
	BackupVersion *string

	// ClusterWideEnabled.
	//
	// Format: boolean
	ClusterWideEnabled *bool

	// CustomResourceUID.
	CustomResourceUID *string

	// DatabaseVersion.
	DatabaseVersion *string

	// HaproxyVersion.
	HaproxyVersion *string

	// HashicorpVaultEnabled.
	//
	// Format: boolean
	HashicorpVaultEnabled *bool

	// KubeVersion.
	KubeVersion *string

	// LogCollectorVersion.
	LogCollectorVersion *string

	// NamespaceUID.
	NamespaceUID *string

	// OperatorVersion.
	OperatorVersion string

	// Platform.
	Platform *string

	// PmmVersion.
	PmmVersion *string

	// Product.
	Product string

	// ProxysqlVersion.
	ProxysqlVersion *string

	// ShardingEnabled.
	//
	// Format: boolean
	ShardingEnabled *bool

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

VersionServiceApplyParams contains all the parameters to send to the API endpoint

for the version service apply operation.

Typically these are written to a http.Request.

func NewVersionServiceApplyParams ¶

func NewVersionServiceApplyParams() *VersionServiceApplyParams

NewVersionServiceApplyParams creates a new VersionServiceApplyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVersionServiceApplyParamsWithContext ¶

func NewVersionServiceApplyParamsWithContext(ctx context.Context) *VersionServiceApplyParams

NewVersionServiceApplyParamsWithContext creates a new VersionServiceApplyParams object with the ability to set a context for a request.

func NewVersionServiceApplyParamsWithHTTPClient ¶

func NewVersionServiceApplyParamsWithHTTPClient(client *http.Client) *VersionServiceApplyParams

NewVersionServiceApplyParamsWithHTTPClient creates a new VersionServiceApplyParams object with the ability to set a custom HTTPClient for a request.

func NewVersionServiceApplyParamsWithTimeout ¶

func NewVersionServiceApplyParamsWithTimeout(timeout time.Duration) *VersionServiceApplyParams

NewVersionServiceApplyParamsWithTimeout creates a new VersionServiceApplyParams object with the ability to set a timeout on a request.

func (*VersionServiceApplyParams) SetApply ¶

func (o *VersionServiceApplyParams) SetApply(apply string)

SetApply adds the apply to the version service apply params

func (*VersionServiceApplyParams) SetBackupVersion ¶

func (o *VersionServiceApplyParams) SetBackupVersion(backupVersion *string)

SetBackupVersion adds the backupVersion to the version service apply params

func (*VersionServiceApplyParams) SetClusterWideEnabled ¶

func (o *VersionServiceApplyParams) SetClusterWideEnabled(clusterWideEnabled *bool)

SetClusterWideEnabled adds the clusterWideEnabled to the version service apply params

func (*VersionServiceApplyParams) SetContext ¶

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

SetContext adds the context to the version service apply params

func (*VersionServiceApplyParams) SetCustomResourceUID ¶

func (o *VersionServiceApplyParams) SetCustomResourceUID(customResourceUID *string)

SetCustomResourceUID adds the customResourceUid to the version service apply params

func (*VersionServiceApplyParams) SetDatabaseVersion ¶

func (o *VersionServiceApplyParams) SetDatabaseVersion(databaseVersion *string)

SetDatabaseVersion adds the databaseVersion to the version service apply params

func (*VersionServiceApplyParams) SetDefaults ¶

func (o *VersionServiceApplyParams) SetDefaults()

SetDefaults hydrates default values in the version service apply params (not the query body).

All values with no default are reset to their zero value.

func (*VersionServiceApplyParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the version service apply params

func (*VersionServiceApplyParams) SetHaproxyVersion ¶

func (o *VersionServiceApplyParams) SetHaproxyVersion(haproxyVersion *string)

SetHaproxyVersion adds the haproxyVersion to the version service apply params

func (*VersionServiceApplyParams) SetHashicorpVaultEnabled ¶

func (o *VersionServiceApplyParams) SetHashicorpVaultEnabled(hashicorpVaultEnabled *bool)

SetHashicorpVaultEnabled adds the hashicorpVaultEnabled to the version service apply params

func (*VersionServiceApplyParams) SetKubeVersion ¶

func (o *VersionServiceApplyParams) SetKubeVersion(kubeVersion *string)

SetKubeVersion adds the kubeVersion to the version service apply params

func (*VersionServiceApplyParams) SetLogCollectorVersion ¶

func (o *VersionServiceApplyParams) SetLogCollectorVersion(logCollectorVersion *string)

SetLogCollectorVersion adds the logCollectorVersion to the version service apply params

func (*VersionServiceApplyParams) SetNamespaceUID ¶

func (o *VersionServiceApplyParams) SetNamespaceUID(namespaceUID *string)

SetNamespaceUID adds the namespaceUid to the version service apply params

func (*VersionServiceApplyParams) SetOperatorVersion ¶

func (o *VersionServiceApplyParams) SetOperatorVersion(operatorVersion string)

SetOperatorVersion adds the operatorVersion to the version service apply params

func (*VersionServiceApplyParams) SetPlatform ¶

func (o *VersionServiceApplyParams) SetPlatform(platform *string)

SetPlatform adds the platform to the version service apply params

func (*VersionServiceApplyParams) SetPmmVersion ¶

func (o *VersionServiceApplyParams) SetPmmVersion(pmmVersion *string)

SetPmmVersion adds the pmmVersion to the version service apply params

func (*VersionServiceApplyParams) SetProduct ¶

func (o *VersionServiceApplyParams) SetProduct(product string)

SetProduct adds the product to the version service apply params

func (*VersionServiceApplyParams) SetProxysqlVersion ¶

func (o *VersionServiceApplyParams) SetProxysqlVersion(proxysqlVersion *string)

SetProxysqlVersion adds the proxysqlVersion to the version service apply params

func (*VersionServiceApplyParams) SetShardingEnabled ¶

func (o *VersionServiceApplyParams) SetShardingEnabled(shardingEnabled *bool)

SetShardingEnabled adds the shardingEnabled to the version service apply params

func (*VersionServiceApplyParams) SetTimeout ¶

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

SetTimeout adds the timeout to the version service apply params

func (*VersionServiceApplyParams) WithApply ¶

WithApply adds the apply to the version service apply params

func (*VersionServiceApplyParams) WithBackupVersion ¶

func (o *VersionServiceApplyParams) WithBackupVersion(backupVersion *string) *VersionServiceApplyParams

WithBackupVersion adds the backupVersion to the version service apply params

func (*VersionServiceApplyParams) WithClusterWideEnabled ¶

func (o *VersionServiceApplyParams) WithClusterWideEnabled(clusterWideEnabled *bool) *VersionServiceApplyParams

WithClusterWideEnabled adds the clusterWideEnabled to the version service apply params

func (*VersionServiceApplyParams) WithContext ¶

WithContext adds the context to the version service apply params

func (*VersionServiceApplyParams) WithCustomResourceUID ¶

func (o *VersionServiceApplyParams) WithCustomResourceUID(customResourceUID *string) *VersionServiceApplyParams

WithCustomResourceUID adds the customResourceUID to the version service apply params

func (*VersionServiceApplyParams) WithDatabaseVersion ¶

func (o *VersionServiceApplyParams) WithDatabaseVersion(databaseVersion *string) *VersionServiceApplyParams

WithDatabaseVersion adds the databaseVersion to the version service apply params

func (*VersionServiceApplyParams) WithDefaults ¶

WithDefaults hydrates default values in the version service apply params (not the query body).

All values with no default are reset to their zero value.

func (*VersionServiceApplyParams) WithHTTPClient ¶

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

WithHTTPClient adds the HTTPClient to the version service apply params

func (*VersionServiceApplyParams) WithHaproxyVersion ¶

func (o *VersionServiceApplyParams) WithHaproxyVersion(haproxyVersion *string) *VersionServiceApplyParams

WithHaproxyVersion adds the haproxyVersion to the version service apply params

func (*VersionServiceApplyParams) WithHashicorpVaultEnabled ¶

func (o *VersionServiceApplyParams) WithHashicorpVaultEnabled(hashicorpVaultEnabled *bool) *VersionServiceApplyParams

WithHashicorpVaultEnabled adds the hashicorpVaultEnabled to the version service apply params

func (*VersionServiceApplyParams) WithKubeVersion ¶

func (o *VersionServiceApplyParams) WithKubeVersion(kubeVersion *string) *VersionServiceApplyParams

WithKubeVersion adds the kubeVersion to the version service apply params

func (*VersionServiceApplyParams) WithLogCollectorVersion ¶

func (o *VersionServiceApplyParams) WithLogCollectorVersion(logCollectorVersion *string) *VersionServiceApplyParams

WithLogCollectorVersion adds the logCollectorVersion to the version service apply params

func (*VersionServiceApplyParams) WithNamespaceUID ¶

func (o *VersionServiceApplyParams) WithNamespaceUID(namespaceUID *string) *VersionServiceApplyParams

WithNamespaceUID adds the namespaceUID to the version service apply params

func (*VersionServiceApplyParams) WithOperatorVersion ¶

func (o *VersionServiceApplyParams) WithOperatorVersion(operatorVersion string) *VersionServiceApplyParams

WithOperatorVersion adds the operatorVersion to the version service apply params

func (*VersionServiceApplyParams) WithPlatform ¶

func (o *VersionServiceApplyParams) WithPlatform(platform *string) *VersionServiceApplyParams

WithPlatform adds the platform to the version service apply params

func (*VersionServiceApplyParams) WithPmmVersion ¶

func (o *VersionServiceApplyParams) WithPmmVersion(pmmVersion *string) *VersionServiceApplyParams

WithPmmVersion adds the pmmVersion to the version service apply params

func (*VersionServiceApplyParams) WithProduct ¶

WithProduct adds the product to the version service apply params

func (*VersionServiceApplyParams) WithProxysqlVersion ¶

func (o *VersionServiceApplyParams) WithProxysqlVersion(proxysqlVersion *string) *VersionServiceApplyParams

WithProxysqlVersion adds the proxysqlVersion to the version service apply params

func (*VersionServiceApplyParams) WithShardingEnabled ¶

func (o *VersionServiceApplyParams) WithShardingEnabled(shardingEnabled *bool) *VersionServiceApplyParams

WithShardingEnabled adds the shardingEnabled to the version service apply params

func (*VersionServiceApplyParams) WithTimeout ¶

WithTimeout adds the timeout to the version service apply params

func (*VersionServiceApplyParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type VersionServiceApplyReader ¶

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

VersionServiceApplyReader is a Reader for the VersionServiceApply structure.

func (*VersionServiceApplyReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type VersionServiceOperatorDefault ¶

type VersionServiceOperatorDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

VersionServiceOperatorDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewVersionServiceOperatorDefault ¶

func NewVersionServiceOperatorDefault(code int) *VersionServiceOperatorDefault

NewVersionServiceOperatorDefault creates a VersionServiceOperatorDefault with default headers values

func (*VersionServiceOperatorDefault) Code ¶

Code gets the status code for the version service operator default response

func (*VersionServiceOperatorDefault) Error ¶

func (*VersionServiceOperatorDefault) GetPayload ¶

type VersionServiceOperatorOK ¶

type VersionServiceOperatorOK struct {
	Payload *models.VersionOperatorResponse
}

VersionServiceOperatorOK describes a response with status code 200, with default header values.

A successful response.

func NewVersionServiceOperatorOK ¶

func NewVersionServiceOperatorOK() *VersionServiceOperatorOK

NewVersionServiceOperatorOK creates a VersionServiceOperatorOK with default headers values

func (*VersionServiceOperatorOK) Error ¶

func (o *VersionServiceOperatorOK) Error() string

func (*VersionServiceOperatorOK) GetPayload ¶

type VersionServiceOperatorParams ¶

type VersionServiceOperatorParams struct {

	// BackupVersion.
	BackupVersion *string

	// ClusterWideEnabled.
	//
	// Format: boolean
	ClusterWideEnabled *bool

	// CustomResourceUID.
	CustomResourceUID *string

	// DatabaseVersion.
	DatabaseVersion *string

	// HaproxyVersion.
	HaproxyVersion *string

	// HashicorpVaultEnabled.
	//
	// Format: boolean
	HashicorpVaultEnabled *bool

	// KubeVersion.
	KubeVersion *string

	// LogCollectorVersion.
	LogCollectorVersion *string

	// NamespaceUID.
	NamespaceUID *string

	// OperatorVersion.
	OperatorVersion string

	// Platform.
	Platform *string

	// PmmVersion.
	PmmVersion *string

	// Product.
	Product string

	// ProxysqlVersion.
	ProxysqlVersion *string

	// ShardingEnabled.
	//
	// Format: boolean
	ShardingEnabled *bool

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

VersionServiceOperatorParams contains all the parameters to send to the API endpoint

for the version service operator operation.

Typically these are written to a http.Request.

func NewVersionServiceOperatorParams ¶

func NewVersionServiceOperatorParams() *VersionServiceOperatorParams

NewVersionServiceOperatorParams creates a new VersionServiceOperatorParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVersionServiceOperatorParamsWithContext ¶

func NewVersionServiceOperatorParamsWithContext(ctx context.Context) *VersionServiceOperatorParams

NewVersionServiceOperatorParamsWithContext creates a new VersionServiceOperatorParams object with the ability to set a context for a request.

func NewVersionServiceOperatorParamsWithHTTPClient ¶

func NewVersionServiceOperatorParamsWithHTTPClient(client *http.Client) *VersionServiceOperatorParams

NewVersionServiceOperatorParamsWithHTTPClient creates a new VersionServiceOperatorParams object with the ability to set a custom HTTPClient for a request.

func NewVersionServiceOperatorParamsWithTimeout ¶

func NewVersionServiceOperatorParamsWithTimeout(timeout time.Duration) *VersionServiceOperatorParams

NewVersionServiceOperatorParamsWithTimeout creates a new VersionServiceOperatorParams object with the ability to set a timeout on a request.

func (*VersionServiceOperatorParams) SetBackupVersion ¶

func (o *VersionServiceOperatorParams) SetBackupVersion(backupVersion *string)

SetBackupVersion adds the backupVersion to the version service operator params

func (*VersionServiceOperatorParams) SetClusterWideEnabled ¶

func (o *VersionServiceOperatorParams) SetClusterWideEnabled(clusterWideEnabled *bool)

SetClusterWideEnabled adds the clusterWideEnabled to the version service operator params

func (*VersionServiceOperatorParams) SetContext ¶

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

SetContext adds the context to the version service operator params

func (*VersionServiceOperatorParams) SetCustomResourceUID ¶

func (o *VersionServiceOperatorParams) SetCustomResourceUID(customResourceUID *string)

SetCustomResourceUID adds the customResourceUid to the version service operator params

func (*VersionServiceOperatorParams) SetDatabaseVersion ¶

func (o *VersionServiceOperatorParams) SetDatabaseVersion(databaseVersion *string)

SetDatabaseVersion adds the databaseVersion to the version service operator params

func (*VersionServiceOperatorParams) SetDefaults ¶

func (o *VersionServiceOperatorParams) SetDefaults()

SetDefaults hydrates default values in the version service operator params (not the query body).

All values with no default are reset to their zero value.

func (*VersionServiceOperatorParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the version service operator params

func (*VersionServiceOperatorParams) SetHaproxyVersion ¶

func (o *VersionServiceOperatorParams) SetHaproxyVersion(haproxyVersion *string)

SetHaproxyVersion adds the haproxyVersion to the version service operator params

func (*VersionServiceOperatorParams) SetHashicorpVaultEnabled ¶

func (o *VersionServiceOperatorParams) SetHashicorpVaultEnabled(hashicorpVaultEnabled *bool)

SetHashicorpVaultEnabled adds the hashicorpVaultEnabled to the version service operator params

func (*VersionServiceOperatorParams) SetKubeVersion ¶

func (o *VersionServiceOperatorParams) SetKubeVersion(kubeVersion *string)

SetKubeVersion adds the kubeVersion to the version service operator params

func (*VersionServiceOperatorParams) SetLogCollectorVersion ¶

func (o *VersionServiceOperatorParams) SetLogCollectorVersion(logCollectorVersion *string)

SetLogCollectorVersion adds the logCollectorVersion to the version service operator params

func (*VersionServiceOperatorParams) SetNamespaceUID ¶

func (o *VersionServiceOperatorParams) SetNamespaceUID(namespaceUID *string)

SetNamespaceUID adds the namespaceUid to the version service operator params

func (*VersionServiceOperatorParams) SetOperatorVersion ¶

func (o *VersionServiceOperatorParams) SetOperatorVersion(operatorVersion string)

SetOperatorVersion adds the operatorVersion to the version service operator params

func (*VersionServiceOperatorParams) SetPlatform ¶

func (o *VersionServiceOperatorParams) SetPlatform(platform *string)

SetPlatform adds the platform to the version service operator params

func (*VersionServiceOperatorParams) SetPmmVersion ¶

func (o *VersionServiceOperatorParams) SetPmmVersion(pmmVersion *string)

SetPmmVersion adds the pmmVersion to the version service operator params

func (*VersionServiceOperatorParams) SetProduct ¶

func (o *VersionServiceOperatorParams) SetProduct(product string)

SetProduct adds the product to the version service operator params

func (*VersionServiceOperatorParams) SetProxysqlVersion ¶

func (o *VersionServiceOperatorParams) SetProxysqlVersion(proxysqlVersion *string)

SetProxysqlVersion adds the proxysqlVersion to the version service operator params

func (*VersionServiceOperatorParams) SetShardingEnabled ¶

func (o *VersionServiceOperatorParams) SetShardingEnabled(shardingEnabled *bool)

SetShardingEnabled adds the shardingEnabled to the version service operator params

func (*VersionServiceOperatorParams) SetTimeout ¶

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

SetTimeout adds the timeout to the version service operator params

func (*VersionServiceOperatorParams) WithBackupVersion ¶

func (o *VersionServiceOperatorParams) WithBackupVersion(backupVersion *string) *VersionServiceOperatorParams

WithBackupVersion adds the backupVersion to the version service operator params

func (*VersionServiceOperatorParams) WithClusterWideEnabled ¶

func (o *VersionServiceOperatorParams) WithClusterWideEnabled(clusterWideEnabled *bool) *VersionServiceOperatorParams

WithClusterWideEnabled adds the clusterWideEnabled to the version service operator params

func (*VersionServiceOperatorParams) WithContext ¶

WithContext adds the context to the version service operator params

func (*VersionServiceOperatorParams) WithCustomResourceUID ¶

func (o *VersionServiceOperatorParams) WithCustomResourceUID(customResourceUID *string) *VersionServiceOperatorParams

WithCustomResourceUID adds the customResourceUID to the version service operator params

func (*VersionServiceOperatorParams) WithDatabaseVersion ¶

func (o *VersionServiceOperatorParams) WithDatabaseVersion(databaseVersion *string) *VersionServiceOperatorParams

WithDatabaseVersion adds the databaseVersion to the version service operator params

func (*VersionServiceOperatorParams) WithDefaults ¶

WithDefaults hydrates default values in the version service operator params (not the query body).

All values with no default are reset to their zero value.

func (*VersionServiceOperatorParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the version service operator params

func (*VersionServiceOperatorParams) WithHaproxyVersion ¶

func (o *VersionServiceOperatorParams) WithHaproxyVersion(haproxyVersion *string) *VersionServiceOperatorParams

WithHaproxyVersion adds the haproxyVersion to the version service operator params

func (*VersionServiceOperatorParams) WithHashicorpVaultEnabled ¶

func (o *VersionServiceOperatorParams) WithHashicorpVaultEnabled(hashicorpVaultEnabled *bool) *VersionServiceOperatorParams

WithHashicorpVaultEnabled adds the hashicorpVaultEnabled to the version service operator params

func (*VersionServiceOperatorParams) WithKubeVersion ¶

func (o *VersionServiceOperatorParams) WithKubeVersion(kubeVersion *string) *VersionServiceOperatorParams

WithKubeVersion adds the kubeVersion to the version service operator params

func (*VersionServiceOperatorParams) WithLogCollectorVersion ¶

func (o *VersionServiceOperatorParams) WithLogCollectorVersion(logCollectorVersion *string) *VersionServiceOperatorParams

WithLogCollectorVersion adds the logCollectorVersion to the version service operator params

func (*VersionServiceOperatorParams) WithNamespaceUID ¶

func (o *VersionServiceOperatorParams) WithNamespaceUID(namespaceUID *string) *VersionServiceOperatorParams

WithNamespaceUID adds the namespaceUID to the version service operator params

func (*VersionServiceOperatorParams) WithOperatorVersion ¶

func (o *VersionServiceOperatorParams) WithOperatorVersion(operatorVersion string) *VersionServiceOperatorParams

WithOperatorVersion adds the operatorVersion to the version service operator params

func (*VersionServiceOperatorParams) WithPlatform ¶

WithPlatform adds the platform to the version service operator params

func (*VersionServiceOperatorParams) WithPmmVersion ¶

func (o *VersionServiceOperatorParams) WithPmmVersion(pmmVersion *string) *VersionServiceOperatorParams

WithPmmVersion adds the pmmVersion to the version service operator params

func (*VersionServiceOperatorParams) WithProduct ¶

WithProduct adds the product to the version service operator params

func (*VersionServiceOperatorParams) WithProxysqlVersion ¶

func (o *VersionServiceOperatorParams) WithProxysqlVersion(proxysqlVersion *string) *VersionServiceOperatorParams

WithProxysqlVersion adds the proxysqlVersion to the version service operator params

func (*VersionServiceOperatorParams) WithShardingEnabled ¶

func (o *VersionServiceOperatorParams) WithShardingEnabled(shardingEnabled *bool) *VersionServiceOperatorParams

WithShardingEnabled adds the shardingEnabled to the version service operator params

func (*VersionServiceOperatorParams) WithTimeout ¶

WithTimeout adds the timeout to the version service operator params

func (*VersionServiceOperatorParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type VersionServiceOperatorReader ¶

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

VersionServiceOperatorReader is a Reader for the VersionServiceOperator structure.

func (*VersionServiceOperatorReader) ReadResponse ¶

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

ReadResponse reads a server response into the received o.

type VersionServiceProductDefault ¶

type VersionServiceProductDefault struct {
	Payload *models.GooglerpcStatus
	// contains filtered or unexported fields
}

VersionServiceProductDefault describes a response with status code -1, with default header values.

An unexpected error response

func NewVersionServiceProductDefault ¶

func NewVersionServiceProductDefault(code int) *VersionServiceProductDefault

NewVersionServiceProductDefault creates a VersionServiceProductDefault with default headers values

func (*VersionServiceProductDefault) Code ¶

Code gets the status code for the version service product default response

func (*VersionServiceProductDefault) Error ¶

func (*VersionServiceProductDefault) GetPayload ¶

type VersionServiceProductOK ¶

type VersionServiceProductOK struct {
	Payload *models.VersionProductResponse
}

VersionServiceProductOK describes a response with status code 200, with default header values.

A successful response.

func NewVersionServiceProductOK ¶

func NewVersionServiceProductOK() *VersionServiceProductOK

NewVersionServiceProductOK creates a VersionServiceProductOK with default headers values

func (*VersionServiceProductOK) Error ¶

func (o *VersionServiceProductOK) Error() string

func (*VersionServiceProductOK) GetPayload ¶

type VersionServiceProductParams ¶

type VersionServiceProductParams struct {

	// BackupVersion.
	BackupVersion *string

	// ClusterWideEnabled.
	//
	// Format: boolean
	ClusterWideEnabled *bool

	// CustomResourceUID.
	CustomResourceUID *string

	// DatabaseVersion.
	DatabaseVersion *string

	// HaproxyVersion.
	HaproxyVersion *string

	// HashicorpVaultEnabled.
	//
	// Format: boolean
	HashicorpVaultEnabled *bool

	// KubeVersion.
	KubeVersion *string

	// LogCollectorVersion.
	LogCollectorVersion *string

	// NamespaceUID.
	NamespaceUID *string

	// Platform.
	Platform *string

	// PmmVersion.
	PmmVersion *string

	// Product.
	Product string

	// ProxysqlVersion.
	ProxysqlVersion *string

	// ShardingEnabled.
	//
	// Format: boolean
	ShardingEnabled *bool

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

VersionServiceProductParams contains all the parameters to send to the API endpoint

for the version service product operation.

Typically these are written to a http.Request.

func NewVersionServiceProductParams ¶

func NewVersionServiceProductParams() *VersionServiceProductParams

NewVersionServiceProductParams creates a new VersionServiceProductParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewVersionServiceProductParamsWithContext ¶

func NewVersionServiceProductParamsWithContext(ctx context.Context) *VersionServiceProductParams

NewVersionServiceProductParamsWithContext creates a new VersionServiceProductParams object with the ability to set a context for a request.

func NewVersionServiceProductParamsWithHTTPClient ¶

func NewVersionServiceProductParamsWithHTTPClient(client *http.Client) *VersionServiceProductParams

NewVersionServiceProductParamsWithHTTPClient creates a new VersionServiceProductParams object with the ability to set a custom HTTPClient for a request.

func NewVersionServiceProductParamsWithTimeout ¶

func NewVersionServiceProductParamsWithTimeout(timeout time.Duration) *VersionServiceProductParams

NewVersionServiceProductParamsWithTimeout creates a new VersionServiceProductParams object with the ability to set a timeout on a request.

func (*VersionServiceProductParams) SetBackupVersion ¶

func (o *VersionServiceProductParams) SetBackupVersion(backupVersion *string)

SetBackupVersion adds the backupVersion to the version service product params

func (*VersionServiceProductParams) SetClusterWideEnabled ¶

func (o *VersionServiceProductParams) SetClusterWideEnabled(clusterWideEnabled *bool)

SetClusterWideEnabled adds the clusterWideEnabled to the version service product params

func (*VersionServiceProductParams) SetContext ¶

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

SetContext adds the context to the version service product params

func (*VersionServiceProductParams) SetCustomResourceUID ¶

func (o *VersionServiceProductParams) SetCustomResourceUID(customResourceUID *string)

SetCustomResourceUID adds the customResourceUid to the version service product params

func (*VersionServiceProductParams) SetDatabaseVersion ¶

func (o *VersionServiceProductParams) SetDatabaseVersion(databaseVersion *string)

SetDatabaseVersion adds the databaseVersion to the version service product params

func (*VersionServiceProductParams) SetDefaults ¶

func (o *VersionServiceProductParams) SetDefaults()

SetDefaults hydrates default values in the version service product params (not the query body).

All values with no default are reset to their zero value.

func (*VersionServiceProductParams) SetHTTPClient ¶

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

SetHTTPClient adds the HTTPClient to the version service product params

func (*VersionServiceProductParams) SetHaproxyVersion ¶

func (o *VersionServiceProductParams) SetHaproxyVersion(haproxyVersion *string)

SetHaproxyVersion adds the haproxyVersion to the version service product params

func (*VersionServiceProductParams) SetHashicorpVaultEnabled ¶

func (o *VersionServiceProductParams) SetHashicorpVaultEnabled(hashicorpVaultEnabled *bool)

SetHashicorpVaultEnabled adds the hashicorpVaultEnabled to the version service product params

func (*VersionServiceProductParams) SetKubeVersion ¶

func (o *VersionServiceProductParams) SetKubeVersion(kubeVersion *string)

SetKubeVersion adds the kubeVersion to the version service product params

func (*VersionServiceProductParams) SetLogCollectorVersion ¶

func (o *VersionServiceProductParams) SetLogCollectorVersion(logCollectorVersion *string)

SetLogCollectorVersion adds the logCollectorVersion to the version service product params

func (*VersionServiceProductParams) SetNamespaceUID ¶

func (o *VersionServiceProductParams) SetNamespaceUID(namespaceUID *string)

SetNamespaceUID adds the namespaceUid to the version service product params

func (*VersionServiceProductParams) SetPlatform ¶

func (o *VersionServiceProductParams) SetPlatform(platform *string)

SetPlatform adds the platform to the version service product params

func (*VersionServiceProductParams) SetPmmVersion ¶

func (o *VersionServiceProductParams) SetPmmVersion(pmmVersion *string)

SetPmmVersion adds the pmmVersion to the version service product params

func (*VersionServiceProductParams) SetProduct ¶

func (o *VersionServiceProductParams) SetProduct(product string)

SetProduct adds the product to the version service product params

func (*VersionServiceProductParams) SetProxysqlVersion ¶

func (o *VersionServiceProductParams) SetProxysqlVersion(proxysqlVersion *string)

SetProxysqlVersion adds the proxysqlVersion to the version service product params

func (*VersionServiceProductParams) SetShardingEnabled ¶

func (o *VersionServiceProductParams) SetShardingEnabled(shardingEnabled *bool)

SetShardingEnabled adds the shardingEnabled to the version service product params

func (*VersionServiceProductParams) SetTimeout ¶

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

SetTimeout adds the timeout to the version service product params

func (*VersionServiceProductParams) WithBackupVersion ¶

func (o *VersionServiceProductParams) WithBackupVersion(backupVersion *string) *VersionServiceProductParams

WithBackupVersion adds the backupVersion to the version service product params

func (*VersionServiceProductParams) WithClusterWideEnabled ¶

func (o *VersionServiceProductParams) WithClusterWideEnabled(clusterWideEnabled *bool) *VersionServiceProductParams

WithClusterWideEnabled adds the clusterWideEnabled to the version service product params

func (*VersionServiceProductParams) WithContext ¶

WithContext adds the context to the version service product params

func (*VersionServiceProductParams) WithCustomResourceUID ¶

func (o *VersionServiceProductParams) WithCustomResourceUID(customResourceUID *string) *VersionServiceProductParams

WithCustomResourceUID adds the customResourceUID to the version service product params

func (*VersionServiceProductParams) WithDatabaseVersion ¶

func (o *VersionServiceProductParams) WithDatabaseVersion(databaseVersion *string) *VersionServiceProductParams

WithDatabaseVersion adds the databaseVersion to the version service product params

func (*VersionServiceProductParams) WithDefaults ¶

WithDefaults hydrates default values in the version service product params (not the query body).

All values with no default are reset to their zero value.

func (*VersionServiceProductParams) WithHTTPClient ¶

WithHTTPClient adds the HTTPClient to the version service product params

func (*VersionServiceProductParams) WithHaproxyVersion ¶

func (o *VersionServiceProductParams) WithHaproxyVersion(haproxyVersion *string) *VersionServiceProductParams

WithHaproxyVersion adds the haproxyVersion to the version service product params

func (*VersionServiceProductParams) WithHashicorpVaultEnabled ¶

func (o *VersionServiceProductParams) WithHashicorpVaultEnabled(hashicorpVaultEnabled *bool) *VersionServiceProductParams

WithHashicorpVaultEnabled adds the hashicorpVaultEnabled to the version service product params

func (*VersionServiceProductParams) WithKubeVersion ¶

func (o *VersionServiceProductParams) WithKubeVersion(kubeVersion *string) *VersionServiceProductParams

WithKubeVersion adds the kubeVersion to the version service product params

func (*VersionServiceProductParams) WithLogCollectorVersion ¶

func (o *VersionServiceProductParams) WithLogCollectorVersion(logCollectorVersion *string) *VersionServiceProductParams

WithLogCollectorVersion adds the logCollectorVersion to the version service product params

func (*VersionServiceProductParams) WithNamespaceUID ¶

func (o *VersionServiceProductParams) WithNamespaceUID(namespaceUID *string) *VersionServiceProductParams

WithNamespaceUID adds the namespaceUID to the version service product params

func (*VersionServiceProductParams) WithPlatform ¶

WithPlatform adds the platform to the version service product params

func (*VersionServiceProductParams) WithPmmVersion ¶

func (o *VersionServiceProductParams) WithPmmVersion(pmmVersion *string) *VersionServiceProductParams

WithPmmVersion adds the pmmVersion to the version service product params

func (*VersionServiceProductParams) WithProduct ¶

WithProduct adds the product to the version service product params

func (*VersionServiceProductParams) WithProxysqlVersion ¶

func (o *VersionServiceProductParams) WithProxysqlVersion(proxysqlVersion *string) *VersionServiceProductParams

WithProxysqlVersion adds the proxysqlVersion to the version service product params

func (*VersionServiceProductParams) WithShardingEnabled ¶

func (o *VersionServiceProductParams) WithShardingEnabled(shardingEnabled *bool) *VersionServiceProductParams

WithShardingEnabled adds the shardingEnabled to the version service product params

func (*VersionServiceProductParams) WithTimeout ¶

WithTimeout adds the timeout to the version service product params

func (*VersionServiceProductParams) WriteToRequest ¶

WriteToRequest writes these params to a swagger request

type VersionServiceProductReader ¶

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

VersionServiceProductReader is a Reader for the VersionServiceProduct structure.

func (*VersionServiceProductReader) ReadResponse ¶

func (o *VersionServiceProductReader) 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