version_service

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 10 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) (*VersionServiceApplyOK, error)

VersionServiceApply specifics version

Return specific product version

type ClientService

type ClientService interface {
	VersionServiceApply(params *VersionServiceApplyParams) (*VersionServiceApplyOK, 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 handles this case 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 handles this case 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
	/*CustomResourceUID*/
	CustomResourceUID *string
	/*DatabaseVersion*/
	DatabaseVersion *string
	/*HaproxyVersion*/
	HaproxyVersion *string
	/*KubeVersion*/
	KubeVersion *string
	/*NamespaceUID*/
	NamespaceUID *string
	/*OperatorVersion*/
	OperatorVersion string
	/*Platform*/
	Platform *string
	/*PmmVersion*/
	PmmVersion *string
	/*Product*/
	Product string
	/*ProxysqlVersion*/
	ProxysqlVersion *string

	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 values initialized.

func NewVersionServiceApplyParamsWithContext

func NewVersionServiceApplyParamsWithContext(ctx context.Context) *VersionServiceApplyParams

NewVersionServiceApplyParamsWithContext creates a new VersionServiceApplyParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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) SetKubeVersion

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

SetKubeVersion adds the kubeVersion 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) 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) 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) 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) WithKubeVersion

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

WithKubeVersion adds the kubeVersion 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) 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.

Jump to

Keyboard shortcuts

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