services

package
v2.0.0-beta5+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: AGPL-3.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 AddAmazonRDSMySQLServiceBody

type AddAmazonRDSMySQLServiceBody struct {

	// Instance endpoint (full DNS name). Required.
	Address string `json:"address,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs. Required.
	NodeID string `json:"node_id,omitempty"`

	// Instance port. Required.
	Port int64 `json:"port,omitempty"`

	// Unique across all Services user-defined name. Required.
	ServiceName string `json:"service_name,omitempty"`
}

AddAmazonRDSMySQLServiceBody add amazon RDS my SQL service body swagger:model AddAmazonRDSMySQLServiceBody

func (*AddAmazonRDSMySQLServiceBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceBody) Validate

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

Validate validates this add amazon RDS my SQL service body

type AddAmazonRDSMySQLServiceDefault

type AddAmazonRDSMySQLServiceDefault struct {
	Payload *AddAmazonRDSMySQLServiceDefaultBody
	// contains filtered or unexported fields
}

AddAmazonRDSMySQLServiceDefault handles this case with default header values.

An error response.

func NewAddAmazonRDSMySQLServiceDefault

func NewAddAmazonRDSMySQLServiceDefault(code int) *AddAmazonRDSMySQLServiceDefault

NewAddAmazonRDSMySQLServiceDefault creates a AddAmazonRDSMySQLServiceDefault with default headers values

func (*AddAmazonRDSMySQLServiceDefault) Code

Code gets the status code for the add amazon RDS my SQL service default response

func (*AddAmazonRDSMySQLServiceDefault) Error

type AddAmazonRDSMySQLServiceDefaultBody

type AddAmazonRDSMySQLServiceDefaultBody struct {

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

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

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

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

func (*AddAmazonRDSMySQLServiceDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceDefaultBody) Validate

Validate validates this add amazon RDS my SQL service default body

type AddAmazonRDSMySQLServiceOK

type AddAmazonRDSMySQLServiceOK struct {
	Payload *AddAmazonRDSMySQLServiceOKBody
}

AddAmazonRDSMySQLServiceOK handles this case with default header values.

A successful response.

func NewAddAmazonRDSMySQLServiceOK

func NewAddAmazonRDSMySQLServiceOK() *AddAmazonRDSMySQLServiceOK

NewAddAmazonRDSMySQLServiceOK creates a AddAmazonRDSMySQLServiceOK with default headers values

func (*AddAmazonRDSMySQLServiceOK) Error

type AddAmazonRDSMySQLServiceOKBody

type AddAmazonRDSMySQLServiceOKBody struct {

	// amazon rds mysql
	AmazonRDSMysql *AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql `json:"amazon_rds_mysql,omitempty"`
}

AddAmazonRDSMySQLServiceOKBody add amazon RDS my SQL service OK body swagger:model AddAmazonRDSMySQLServiceOKBody

func (*AddAmazonRDSMySQLServiceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceOKBody) Validate

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

Validate validates this add amazon RDS my SQL service OK body

type AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql

type AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql struct {

	// Instance endpoint (full DNS name).
	Address string `json:"address,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Instance port.
	Port int64 `json:"port,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql AmazonRDSMySQLService represents a MySQL instance running on a single RemoteAmazonRDS Node. swagger:model AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql

func (*AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql) MarshalBinary

MarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql) Validate

Validate validates this add amazon RDS my SQL service OK body amazon RDS mysql

type AddAmazonRDSMySQLServiceParams

type AddAmazonRDSMySQLServiceParams struct {

	/*Body*/
	Body AddAmazonRDSMySQLServiceBody

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

AddAmazonRDSMySQLServiceParams contains all the parameters to send to the API endpoint for the add amazon RDS my SQL service operation typically these are written to a http.Request

func NewAddAmazonRDSMySQLServiceParams

func NewAddAmazonRDSMySQLServiceParams() *AddAmazonRDSMySQLServiceParams

NewAddAmazonRDSMySQLServiceParams creates a new AddAmazonRDSMySQLServiceParams object with the default values initialized.

func NewAddAmazonRDSMySQLServiceParamsWithContext

func NewAddAmazonRDSMySQLServiceParamsWithContext(ctx context.Context) *AddAmazonRDSMySQLServiceParams

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

func NewAddAmazonRDSMySQLServiceParamsWithHTTPClient

func NewAddAmazonRDSMySQLServiceParamsWithHTTPClient(client *http.Client) *AddAmazonRDSMySQLServiceParams

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

func NewAddAmazonRDSMySQLServiceParamsWithTimeout

func NewAddAmazonRDSMySQLServiceParamsWithTimeout(timeout time.Duration) *AddAmazonRDSMySQLServiceParams

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

func (*AddAmazonRDSMySQLServiceParams) SetBody

SetBody adds the body to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) SetContext

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

SetContext adds the context to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) SetTimeout

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

SetTimeout adds the timeout to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) WithBody

WithBody adds the body to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) WithContext

WithContext adds the context to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) WithTimeout

WithTimeout adds the timeout to the add amazon RDS my SQL service params

func (*AddAmazonRDSMySQLServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddAmazonRDSMySQLServiceReader

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

AddAmazonRDSMySQLServiceReader is a Reader for the AddAmazonRDSMySQLService structure.

func (*AddAmazonRDSMySQLServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddMongoDBServiceBody

type AddMongoDBServiceBody struct {

	// Access address (DNS name or IP). Required.
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs. Required.
	NodeID string `json:"node_id,omitempty"`

	// Access port. Required.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique across all Services user-defined name. Required.
	ServiceName string `json:"service_name,omitempty"`
}

AddMongoDBServiceBody add mongo DB service body swagger:model AddMongoDBServiceBody

func (*AddMongoDBServiceBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBServiceBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBServiceBody) Validate

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

Validate validates this add mongo DB service body

type AddMongoDBServiceDefault

type AddMongoDBServiceDefault struct {
	Payload *AddMongoDBServiceDefaultBody
	// contains filtered or unexported fields
}

AddMongoDBServiceDefault handles this case with default header values.

An error response.

func NewAddMongoDBServiceDefault

func NewAddMongoDBServiceDefault(code int) *AddMongoDBServiceDefault

NewAddMongoDBServiceDefault creates a AddMongoDBServiceDefault with default headers values

func (*AddMongoDBServiceDefault) Code

func (o *AddMongoDBServiceDefault) Code() int

Code gets the status code for the add mongo DB service default response

func (*AddMongoDBServiceDefault) Error

func (o *AddMongoDBServiceDefault) Error() string

type AddMongoDBServiceDefaultBody

type AddMongoDBServiceDefaultBody struct {

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

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

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

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

func (*AddMongoDBServiceDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBServiceDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBServiceDefaultBody) Validate

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

Validate validates this add mongo DB service default body

type AddMongoDBServiceOK

type AddMongoDBServiceOK struct {
	Payload *AddMongoDBServiceOKBody
}

AddMongoDBServiceOK handles this case with default header values.

A successful response.

func NewAddMongoDBServiceOK

func NewAddMongoDBServiceOK() *AddMongoDBServiceOK

NewAddMongoDBServiceOK creates a AddMongoDBServiceOK with default headers values

func (*AddMongoDBServiceOK) Error

func (o *AddMongoDBServiceOK) Error() string

type AddMongoDBServiceOKBody

type AddMongoDBServiceOKBody struct {

	// mongodb
	Mongodb *AddMongoDBServiceOKBodyMongodb `json:"mongodb,omitempty"`
}

AddMongoDBServiceOKBody add mongo DB service OK body swagger:model AddMongoDBServiceOKBody

func (*AddMongoDBServiceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBServiceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBServiceOKBody) Validate

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

Validate validates this add mongo DB service OK body

type AddMongoDBServiceOKBodyMongodb

type AddMongoDBServiceOKBodyMongodb struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

AddMongoDBServiceOKBodyMongodb MongoDBService represents a generic MongoDB instance. swagger:model AddMongoDBServiceOKBodyMongodb

func (*AddMongoDBServiceOKBodyMongodb) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMongoDBServiceOKBodyMongodb) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMongoDBServiceOKBodyMongodb) Validate

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

Validate validates this add mongo DB service OK body mongodb

type AddMongoDBServiceParams

type AddMongoDBServiceParams struct {

	/*Body*/
	Body AddMongoDBServiceBody

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

AddMongoDBServiceParams contains all the parameters to send to the API endpoint for the add mongo DB service operation typically these are written to a http.Request

func NewAddMongoDBServiceParams

func NewAddMongoDBServiceParams() *AddMongoDBServiceParams

NewAddMongoDBServiceParams creates a new AddMongoDBServiceParams object with the default values initialized.

func NewAddMongoDBServiceParamsWithContext

func NewAddMongoDBServiceParamsWithContext(ctx context.Context) *AddMongoDBServiceParams

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

func NewAddMongoDBServiceParamsWithHTTPClient

func NewAddMongoDBServiceParamsWithHTTPClient(client *http.Client) *AddMongoDBServiceParams

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

func NewAddMongoDBServiceParamsWithTimeout

func NewAddMongoDBServiceParamsWithTimeout(timeout time.Duration) *AddMongoDBServiceParams

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

func (*AddMongoDBServiceParams) SetBody

SetBody adds the body to the add mongo DB service params

func (*AddMongoDBServiceParams) SetContext

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

SetContext adds the context to the add mongo DB service params

func (*AddMongoDBServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add mongo DB service params

func (*AddMongoDBServiceParams) SetTimeout

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

SetTimeout adds the timeout to the add mongo DB service params

func (*AddMongoDBServiceParams) WithBody

WithBody adds the body to the add mongo DB service params

func (*AddMongoDBServiceParams) WithContext

WithContext adds the context to the add mongo DB service params

func (*AddMongoDBServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add mongo DB service params

func (*AddMongoDBServiceParams) WithTimeout

WithTimeout adds the timeout to the add mongo DB service params

func (*AddMongoDBServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddMongoDBServiceReader

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

AddMongoDBServiceReader is a Reader for the AddMongoDBService structure.

func (*AddMongoDBServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddMySQLServiceBody

type AddMySQLServiceBody struct {

	// Access address (DNS name or IP). Required.
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs. Required.
	NodeID string `json:"node_id,omitempty"`

	// Access port. Required.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique across all Services user-defined name. Required.
	ServiceName string `json:"service_name,omitempty"`
}

AddMySQLServiceBody add my SQL service body swagger:model AddMySQLServiceBody

func (*AddMySQLServiceBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLServiceBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLServiceBody) Validate

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

Validate validates this add my SQL service body

type AddMySQLServiceDefault

type AddMySQLServiceDefault struct {
	Payload *AddMySQLServiceDefaultBody
	// contains filtered or unexported fields
}

AddMySQLServiceDefault handles this case with default header values.

An error response.

func NewAddMySQLServiceDefault

func NewAddMySQLServiceDefault(code int) *AddMySQLServiceDefault

NewAddMySQLServiceDefault creates a AddMySQLServiceDefault with default headers values

func (*AddMySQLServiceDefault) Code

func (o *AddMySQLServiceDefault) Code() int

Code gets the status code for the add my SQL service default response

func (*AddMySQLServiceDefault) Error

func (o *AddMySQLServiceDefault) Error() string

type AddMySQLServiceDefaultBody

type AddMySQLServiceDefaultBody struct {

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

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

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

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

func (*AddMySQLServiceDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLServiceDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLServiceDefaultBody) Validate

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

Validate validates this add my SQL service default body

type AddMySQLServiceOK

type AddMySQLServiceOK struct {
	Payload *AddMySQLServiceOKBody
}

AddMySQLServiceOK handles this case with default header values.

A successful response.

func NewAddMySQLServiceOK

func NewAddMySQLServiceOK() *AddMySQLServiceOK

NewAddMySQLServiceOK creates a AddMySQLServiceOK with default headers values

func (*AddMySQLServiceOK) Error

func (o *AddMySQLServiceOK) Error() string

type AddMySQLServiceOKBody

type AddMySQLServiceOKBody struct {

	// mysql
	Mysql *AddMySQLServiceOKBodyMysql `json:"mysql,omitempty"`
}

AddMySQLServiceOKBody add my SQL service OK body swagger:model AddMySQLServiceOKBody

func (*AddMySQLServiceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLServiceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLServiceOKBody) Validate

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

Validate validates this add my SQL service OK body

type AddMySQLServiceOKBodyMysql

type AddMySQLServiceOKBodyMysql struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

AddMySQLServiceOKBodyMysql MySQLService represents a generic MySQL instance. swagger:model AddMySQLServiceOKBodyMysql

func (*AddMySQLServiceOKBodyMysql) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMySQLServiceOKBodyMysql) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMySQLServiceOKBodyMysql) Validate

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

Validate validates this add my SQL service OK body mysql

type AddMySQLServiceParams

type AddMySQLServiceParams struct {

	/*Body*/
	Body AddMySQLServiceBody

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

AddMySQLServiceParams contains all the parameters to send to the API endpoint for the add my SQL service operation typically these are written to a http.Request

func NewAddMySQLServiceParams

func NewAddMySQLServiceParams() *AddMySQLServiceParams

NewAddMySQLServiceParams creates a new AddMySQLServiceParams object with the default values initialized.

func NewAddMySQLServiceParamsWithContext

func NewAddMySQLServiceParamsWithContext(ctx context.Context) *AddMySQLServiceParams

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

func NewAddMySQLServiceParamsWithHTTPClient

func NewAddMySQLServiceParamsWithHTTPClient(client *http.Client) *AddMySQLServiceParams

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

func NewAddMySQLServiceParamsWithTimeout

func NewAddMySQLServiceParamsWithTimeout(timeout time.Duration) *AddMySQLServiceParams

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

func (*AddMySQLServiceParams) SetBody

func (o *AddMySQLServiceParams) SetBody(body AddMySQLServiceBody)

SetBody adds the body to the add my SQL service params

func (*AddMySQLServiceParams) SetContext

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

SetContext adds the context to the add my SQL service params

func (*AddMySQLServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add my SQL service params

func (*AddMySQLServiceParams) SetTimeout

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

SetTimeout adds the timeout to the add my SQL service params

func (*AddMySQLServiceParams) WithBody

WithBody adds the body to the add my SQL service params

func (*AddMySQLServiceParams) WithContext

WithContext adds the context to the add my SQL service params

func (*AddMySQLServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add my SQL service params

func (*AddMySQLServiceParams) WithTimeout

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

WithTimeout adds the timeout to the add my SQL service params

func (*AddMySQLServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddMySQLServiceReader

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

AddMySQLServiceReader is a Reader for the AddMySQLService structure.

func (*AddMySQLServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddPostgreSQLServiceBody

type AddPostgreSQLServiceBody struct {

	// Access address (DNS name or IP). Required.
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs. Required.
	NodeID string `json:"node_id,omitempty"`

	// Access port. Required.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique across all Services user-defined name. Required.
	ServiceName string `json:"service_name,omitempty"`
}

AddPostgreSQLServiceBody add postgre SQL service body swagger:model AddPostgreSQLServiceBody

func (*AddPostgreSQLServiceBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgreSQLServiceBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgreSQLServiceBody) Validate

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

Validate validates this add postgre SQL service body

type AddPostgreSQLServiceDefault

type AddPostgreSQLServiceDefault struct {
	Payload *AddPostgreSQLServiceDefaultBody
	// contains filtered or unexported fields
}

AddPostgreSQLServiceDefault handles this case with default header values.

An error response.

func NewAddPostgreSQLServiceDefault

func NewAddPostgreSQLServiceDefault(code int) *AddPostgreSQLServiceDefault

NewAddPostgreSQLServiceDefault creates a AddPostgreSQLServiceDefault with default headers values

func (*AddPostgreSQLServiceDefault) Code

func (o *AddPostgreSQLServiceDefault) Code() int

Code gets the status code for the add postgre SQL service default response

func (*AddPostgreSQLServiceDefault) Error

type AddPostgreSQLServiceDefaultBody

type AddPostgreSQLServiceDefaultBody struct {

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

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

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

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

func (*AddPostgreSQLServiceDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgreSQLServiceDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgreSQLServiceDefaultBody) Validate

Validate validates this add postgre SQL service default body

type AddPostgreSQLServiceOK

type AddPostgreSQLServiceOK struct {
	Payload *AddPostgreSQLServiceOKBody
}

AddPostgreSQLServiceOK handles this case with default header values.

A successful response.

func NewAddPostgreSQLServiceOK

func NewAddPostgreSQLServiceOK() *AddPostgreSQLServiceOK

NewAddPostgreSQLServiceOK creates a AddPostgreSQLServiceOK with default headers values

func (*AddPostgreSQLServiceOK) Error

func (o *AddPostgreSQLServiceOK) Error() string

type AddPostgreSQLServiceOKBody

type AddPostgreSQLServiceOKBody struct {

	// postgresql
	Postgresql *AddPostgreSQLServiceOKBodyPostgresql `json:"postgresql,omitempty"`
}

AddPostgreSQLServiceOKBody add postgre SQL service OK body swagger:model AddPostgreSQLServiceOKBody

func (*AddPostgreSQLServiceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgreSQLServiceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgreSQLServiceOKBody) Validate

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

Validate validates this add postgre SQL service OK body

type AddPostgreSQLServiceOKBodyPostgresql

type AddPostgreSQLServiceOKBodyPostgresql struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

AddPostgreSQLServiceOKBodyPostgresql PostgreSQLService represents a generic PostgreSQL instance. swagger:model AddPostgreSQLServiceOKBodyPostgresql

func (*AddPostgreSQLServiceOKBodyPostgresql) MarshalBinary

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

MarshalBinary interface implementation

func (*AddPostgreSQLServiceOKBodyPostgresql) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddPostgreSQLServiceOKBodyPostgresql) Validate

Validate validates this add postgre SQL service OK body postgresql

type AddPostgreSQLServiceParams

type AddPostgreSQLServiceParams struct {

	/*Body*/
	Body AddPostgreSQLServiceBody

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

AddPostgreSQLServiceParams contains all the parameters to send to the API endpoint for the add postgre SQL service operation typically these are written to a http.Request

func NewAddPostgreSQLServiceParams

func NewAddPostgreSQLServiceParams() *AddPostgreSQLServiceParams

NewAddPostgreSQLServiceParams creates a new AddPostgreSQLServiceParams object with the default values initialized.

func NewAddPostgreSQLServiceParamsWithContext

func NewAddPostgreSQLServiceParamsWithContext(ctx context.Context) *AddPostgreSQLServiceParams

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

func NewAddPostgreSQLServiceParamsWithHTTPClient

func NewAddPostgreSQLServiceParamsWithHTTPClient(client *http.Client) *AddPostgreSQLServiceParams

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

func NewAddPostgreSQLServiceParamsWithTimeout

func NewAddPostgreSQLServiceParamsWithTimeout(timeout time.Duration) *AddPostgreSQLServiceParams

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

func (*AddPostgreSQLServiceParams) SetBody

SetBody adds the body to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) SetContext

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

SetContext adds the context to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) SetTimeout

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

SetTimeout adds the timeout to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) WithBody

WithBody adds the body to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) WithContext

WithContext adds the context to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) WithTimeout

WithTimeout adds the timeout to the add postgre SQL service params

func (*AddPostgreSQLServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddPostgreSQLServiceReader

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

AddPostgreSQLServiceReader is a Reader for the AddPostgreSQLService structure.

func (*AddPostgreSQLServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddProxySQLServiceBody

type AddProxySQLServiceBody struct {

	// Access address (DNS name or IP). Required.
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs. Required.
	NodeID string `json:"node_id,omitempty"`

	// Access port. Required.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique across all Services user-defined name. Required.
	ServiceName string `json:"service_name,omitempty"`
}

AddProxySQLServiceBody add proxy SQL service body swagger:model AddProxySQLServiceBody

func (*AddProxySQLServiceBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLServiceBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLServiceBody) Validate

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

Validate validates this add proxy SQL service body

type AddProxySQLServiceDefault

type AddProxySQLServiceDefault struct {
	Payload *AddProxySQLServiceDefaultBody
	// contains filtered or unexported fields
}

AddProxySQLServiceDefault handles this case with default header values.

An error response.

func NewAddProxySQLServiceDefault

func NewAddProxySQLServiceDefault(code int) *AddProxySQLServiceDefault

NewAddProxySQLServiceDefault creates a AddProxySQLServiceDefault with default headers values

func (*AddProxySQLServiceDefault) Code

func (o *AddProxySQLServiceDefault) Code() int

Code gets the status code for the add proxy SQL service default response

func (*AddProxySQLServiceDefault) Error

func (o *AddProxySQLServiceDefault) Error() string

type AddProxySQLServiceDefaultBody

type AddProxySQLServiceDefaultBody struct {

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

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

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

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

func (*AddProxySQLServiceDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLServiceDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLServiceDefaultBody) Validate

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

Validate validates this add proxy SQL service default body

type AddProxySQLServiceOK

type AddProxySQLServiceOK struct {
	Payload *AddProxySQLServiceOKBody
}

AddProxySQLServiceOK handles this case with default header values.

A successful response.

func NewAddProxySQLServiceOK

func NewAddProxySQLServiceOK() *AddProxySQLServiceOK

NewAddProxySQLServiceOK creates a AddProxySQLServiceOK with default headers values

func (*AddProxySQLServiceOK) Error

func (o *AddProxySQLServiceOK) Error() string

type AddProxySQLServiceOKBody

type AddProxySQLServiceOKBody struct {

	// proxysql
	Proxysql *AddProxySQLServiceOKBodyProxysql `json:"proxysql,omitempty"`
}

AddProxySQLServiceOKBody add proxy SQL service OK body swagger:model AddProxySQLServiceOKBody

func (*AddProxySQLServiceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLServiceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLServiceOKBody) Validate

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

Validate validates this add proxy SQL service OK body

type AddProxySQLServiceOKBodyProxysql

type AddProxySQLServiceOKBodyProxysql struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

AddProxySQLServiceOKBodyProxysql ProxySQLService represents a generic ProxySQL instance. swagger:model AddProxySQLServiceOKBodyProxysql

func (*AddProxySQLServiceOKBodyProxysql) MarshalBinary

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

MarshalBinary interface implementation

func (*AddProxySQLServiceOKBodyProxysql) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddProxySQLServiceOKBodyProxysql) Validate

Validate validates this add proxy SQL service OK body proxysql

type AddProxySQLServiceParams

type AddProxySQLServiceParams struct {

	/*Body*/
	Body AddProxySQLServiceBody

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

AddProxySQLServiceParams contains all the parameters to send to the API endpoint for the add proxy SQL service operation typically these are written to a http.Request

func NewAddProxySQLServiceParams

func NewAddProxySQLServiceParams() *AddProxySQLServiceParams

NewAddProxySQLServiceParams creates a new AddProxySQLServiceParams object with the default values initialized.

func NewAddProxySQLServiceParamsWithContext

func NewAddProxySQLServiceParamsWithContext(ctx context.Context) *AddProxySQLServiceParams

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

func NewAddProxySQLServiceParamsWithHTTPClient

func NewAddProxySQLServiceParamsWithHTTPClient(client *http.Client) *AddProxySQLServiceParams

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

func NewAddProxySQLServiceParamsWithTimeout

func NewAddProxySQLServiceParamsWithTimeout(timeout time.Duration) *AddProxySQLServiceParams

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

func (*AddProxySQLServiceParams) SetBody

SetBody adds the body to the add proxy SQL service params

func (*AddProxySQLServiceParams) SetContext

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

SetContext adds the context to the add proxy SQL service params

func (*AddProxySQLServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add proxy SQL service params

func (*AddProxySQLServiceParams) SetTimeout

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

SetTimeout adds the timeout to the add proxy SQL service params

func (*AddProxySQLServiceParams) WithBody

WithBody adds the body to the add proxy SQL service params

func (*AddProxySQLServiceParams) WithContext

WithContext adds the context to the add proxy SQL service params

func (*AddProxySQLServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add proxy SQL service params

func (*AddProxySQLServiceParams) WithTimeout

WithTimeout adds the timeout to the add proxy SQL service params

func (*AddProxySQLServiceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddProxySQLServiceReader

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

AddProxySQLServiceReader is a Reader for the AddProxySQLService structure.

func (*AddProxySQLServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AmazonRDSMysqlItems0

type AmazonRDSMysqlItems0 struct {

	// Instance endpoint (full DNS name).
	Address string `json:"address,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Instance port.
	Port int64 `json:"port,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

AmazonRDSMysqlItems0 AmazonRDSMySQLService represents a MySQL instance running on a single RemoteAmazonRDS Node. swagger:model AmazonRDSMysqlItems0

func (*AmazonRDSMysqlItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*AmazonRDSMysqlItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AmazonRDSMysqlItems0) Validate

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

Validate validates this amazon RDS mysql items0

type Client

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

Client for services API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new services API client.

func (*Client) AddAmazonRDSMySQLService

func (a *Client) AddAmazonRDSMySQLService(params *AddAmazonRDSMySQLServiceParams) (*AddAmazonRDSMySQLServiceOK, error)

AddAmazonRDSMySQLService adds amazon RDS my SQL service adds amazon RDS my SQL service

func (*Client) AddMongoDBService

func (a *Client) AddMongoDBService(params *AddMongoDBServiceParams) (*AddMongoDBServiceOK, error)

AddMongoDBService adds mongo DB service adds mongo DB service

func (*Client) AddMySQLService

func (a *Client) AddMySQLService(params *AddMySQLServiceParams) (*AddMySQLServiceOK, error)

AddMySQLService adds my SQL service adds my SQL service

func (*Client) AddPostgreSQLService

func (a *Client) AddPostgreSQLService(params *AddPostgreSQLServiceParams) (*AddPostgreSQLServiceOK, error)

AddPostgreSQLService adds postgre SQL service adds postgre SQL service

func (*Client) AddProxySQLService

func (a *Client) AddProxySQLService(params *AddProxySQLServiceParams) (*AddProxySQLServiceOK, error)

AddProxySQLService adds proxy SQL service adds proxy SQL service

func (*Client) GetService

func (a *Client) GetService(params *GetServiceParams) (*GetServiceOK, error)

GetService gets service returns a single service by ID

func (*Client) ListServices

func (a *Client) ListServices(params *ListServicesParams) (*ListServicesOK, error)

ListServices lists services returns a list of all services

func (*Client) RemoveService

func (a *Client) RemoveService(params *RemoveServiceParams) (*RemoveServiceOK, error)

RemoveService removes service removes service

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetServiceBody

type GetServiceBody struct {

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`
}

GetServiceBody get service body swagger:model GetServiceBody

func (*GetServiceBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceBody) Validate

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

Validate validates this get service body

type GetServiceDefault

type GetServiceDefault struct {
	Payload *GetServiceDefaultBody
	// contains filtered or unexported fields
}

GetServiceDefault handles this case with default header values.

An error response.

func NewGetServiceDefault

func NewGetServiceDefault(code int) *GetServiceDefault

NewGetServiceDefault creates a GetServiceDefault with default headers values

func (*GetServiceDefault) Code

func (o *GetServiceDefault) Code() int

Code gets the status code for the get service default response

func (*GetServiceDefault) Error

func (o *GetServiceDefault) Error() string

type GetServiceDefaultBody

type GetServiceDefaultBody struct {

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

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

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

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

func (*GetServiceDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceDefaultBody) Validate

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

Validate validates this get service default body

type GetServiceOK

type GetServiceOK struct {
	Payload *GetServiceOKBody
}

GetServiceOK handles this case with default header values.

A successful response.

func NewGetServiceOK

func NewGetServiceOK() *GetServiceOK

NewGetServiceOK creates a GetServiceOK with default headers values

func (*GetServiceOK) Error

func (o *GetServiceOK) Error() string

type GetServiceOKBody

type GetServiceOKBody struct {

	// amazon rds mysql
	AmazonRDSMysql *GetServiceOKBodyAmazonRDSMysql `json:"amazon_rds_mysql,omitempty"`

	// mongodb
	Mongodb *GetServiceOKBodyMongodb `json:"mongodb,omitempty"`

	// mysql
	Mysql *GetServiceOKBodyMysql `json:"mysql,omitempty"`

	// postgresql
	Postgresql *GetServiceOKBodyPostgresql `json:"postgresql,omitempty"`

	// proxysql
	Proxysql *GetServiceOKBodyProxysql `json:"proxysql,omitempty"`
}

GetServiceOKBody get service OK body swagger:model GetServiceOKBody

func (*GetServiceOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceOKBody) Validate

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

Validate validates this get service OK body

type GetServiceOKBodyAmazonRDSMysql

type GetServiceOKBodyAmazonRDSMysql struct {

	// Instance endpoint (full DNS name).
	Address string `json:"address,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Instance port.
	Port int64 `json:"port,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

GetServiceOKBodyAmazonRDSMysql AmazonRDSMySQLService represents a MySQL instance running on a single RemoteAmazonRDS Node. swagger:model GetServiceOKBodyAmazonRDSMysql

func (*GetServiceOKBodyAmazonRDSMysql) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceOKBodyAmazonRDSMysql) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceOKBodyAmazonRDSMysql) Validate

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

Validate validates this get service OK body amazon RDS mysql

type GetServiceOKBodyMongodb

type GetServiceOKBodyMongodb struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

GetServiceOKBodyMongodb MongoDBService represents a generic MongoDB instance. swagger:model GetServiceOKBodyMongodb

func (*GetServiceOKBodyMongodb) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceOKBodyMongodb) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceOKBodyMongodb) Validate

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

Validate validates this get service OK body mongodb

type GetServiceOKBodyMysql

type GetServiceOKBodyMysql struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

GetServiceOKBodyMysql MySQLService represents a generic MySQL instance. swagger:model GetServiceOKBodyMysql

func (*GetServiceOKBodyMysql) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceOKBodyMysql) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceOKBodyMysql) Validate

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

Validate validates this get service OK body mysql

type GetServiceOKBodyPostgresql

type GetServiceOKBodyPostgresql struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

GetServiceOKBodyPostgresql PostgreSQLService represents a generic PostgreSQL instance. swagger:model GetServiceOKBodyPostgresql

func (*GetServiceOKBodyPostgresql) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceOKBodyPostgresql) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceOKBodyPostgresql) Validate

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

Validate validates this get service OK body postgresql

type GetServiceOKBodyProxysql

type GetServiceOKBodyProxysql struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

GetServiceOKBodyProxysql ProxySQLService represents a generic ProxySQL instance. swagger:model GetServiceOKBodyProxysql

func (*GetServiceOKBodyProxysql) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceOKBodyProxysql) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceOKBodyProxysql) Validate

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

Validate validates this get service OK body proxysql

type GetServiceParams

type GetServiceParams struct {

	/*Body*/
	Body GetServiceBody

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

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

func NewGetServiceParams

func NewGetServiceParams() *GetServiceParams

NewGetServiceParams creates a new GetServiceParams object with the default values initialized.

func NewGetServiceParamsWithContext

func NewGetServiceParamsWithContext(ctx context.Context) *GetServiceParams

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

func NewGetServiceParamsWithHTTPClient

func NewGetServiceParamsWithHTTPClient(client *http.Client) *GetServiceParams

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

func NewGetServiceParamsWithTimeout

func NewGetServiceParamsWithTimeout(timeout time.Duration) *GetServiceParams

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

func (*GetServiceParams) SetBody

func (o *GetServiceParams) SetBody(body GetServiceBody)

SetBody adds the body to the get service params

func (*GetServiceParams) SetContext

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

SetContext adds the context to the get service params

func (*GetServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get service params

func (*GetServiceParams) SetTimeout

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

SetTimeout adds the timeout to the get service params

func (*GetServiceParams) WithBody

WithBody adds the body to the get service params

func (*GetServiceParams) WithContext

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

WithContext adds the context to the get service params

func (*GetServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get service params

func (*GetServiceParams) WithTimeout

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

WithTimeout adds the timeout to the get service params

func (*GetServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetServiceReader

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

GetServiceReader is a Reader for the GetService structure.

func (*GetServiceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServicesBody

type ListServicesBody struct {

	// Return only Services running on that Node.
	NodeID string `json:"node_id,omitempty"`
}

ListServicesBody list services body swagger:model ListServicesBody

func (*ListServicesBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesBody) Validate

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

Validate validates this list services body

type ListServicesDefault

type ListServicesDefault struct {
	Payload *ListServicesDefaultBody
	// contains filtered or unexported fields
}

ListServicesDefault handles this case with default header values.

An error response.

func NewListServicesDefault

func NewListServicesDefault(code int) *ListServicesDefault

NewListServicesDefault creates a ListServicesDefault with default headers values

func (*ListServicesDefault) Code

func (o *ListServicesDefault) Code() int

Code gets the status code for the list services default response

func (*ListServicesDefault) Error

func (o *ListServicesDefault) Error() string

type ListServicesDefaultBody

type ListServicesDefaultBody struct {

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

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

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

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

func (*ListServicesDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesDefaultBody) Validate

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

Validate validates this list services default body

type ListServicesOK

type ListServicesOK struct {
	Payload *ListServicesOKBody
}

ListServicesOK handles this case with default header values.

A successful response.

func NewListServicesOK

func NewListServicesOK() *ListServicesOK

NewListServicesOK creates a ListServicesOK with default headers values

func (*ListServicesOK) Error

func (o *ListServicesOK) Error() string

type ListServicesOKBody

type ListServicesOKBody struct {

	// amazon rds mysql
	AmazonRDSMysql []*AmazonRDSMysqlItems0 `json:"amazon_rds_mysql"`

	// mongodb
	Mongodb []*MongodbItems0 `json:"mongodb"`

	// mysql
	Mysql []*MysqlItems0 `json:"mysql"`

	// postgresql
	Postgresql []*PostgresqlItems0 `json:"postgresql"`

	// proxysql
	Proxysql []*ProxysqlItems0 `json:"proxysql"`
}

ListServicesOKBody list services OK body swagger:model ListServicesOKBody

func (*ListServicesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesOKBody) Validate

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

Validate validates this list services OK body

type ListServicesParams

type ListServicesParams struct {

	/*Body*/
	Body ListServicesBody

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

ListServicesParams contains all the parameters to send to the API endpoint for the list services operation typically these are written to a http.Request

func NewListServicesParams

func NewListServicesParams() *ListServicesParams

NewListServicesParams creates a new ListServicesParams object with the default values initialized.

func NewListServicesParamsWithContext

func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams

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

func NewListServicesParamsWithHTTPClient

func NewListServicesParamsWithHTTPClient(client *http.Client) *ListServicesParams

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

func NewListServicesParamsWithTimeout

func NewListServicesParamsWithTimeout(timeout time.Duration) *ListServicesParams

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

func (*ListServicesParams) SetBody

func (o *ListServicesParams) SetBody(body ListServicesBody)

SetBody adds the body to the list services params

func (*ListServicesParams) SetContext

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

SetContext adds the context to the list services params

func (*ListServicesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) SetTimeout

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

SetTimeout adds the timeout to the list services params

func (*ListServicesParams) WithBody

WithBody adds the body to the list services params

func (*ListServicesParams) WithContext

WithContext adds the context to the list services params

func (*ListServicesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list services params

func (*ListServicesParams) WithTimeout

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

WithTimeout adds the timeout to the list services params

func (*ListServicesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListServicesReader

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

ListServicesReader is a Reader for the ListServices structure.

func (*ListServicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MongodbItems0

type MongodbItems0 struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

MongodbItems0 MongoDBService represents a generic MongoDB instance. swagger:model MongodbItems0

func (*MongodbItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*MongodbItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MongodbItems0) Validate

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

Validate validates this mongodb items0

type MysqlItems0

type MysqlItems0 struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

MysqlItems0 MySQLService represents a generic MySQL instance. swagger:model MysqlItems0

func (*MysqlItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*MysqlItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MysqlItems0) Validate

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

Validate validates this mysql items0

type PostgresqlItems0

type PostgresqlItems0 struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

PostgresqlItems0 PostgreSQLService represents a generic PostgreSQL instance. swagger:model PostgresqlItems0

func (*PostgresqlItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*PostgresqlItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostgresqlItems0) Validate

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

Validate validates this postgresql items0

type ProxysqlItems0

type ProxysqlItems0 struct {

	// Access address (DNS name or IP).
	Address string `json:"address,omitempty"`

	// Cluster name.
	Cluster string `json:"cluster,omitempty"`

	// Custom user-assigned labels.
	CustomLabels map[string]string `json:"custom_labels,omitempty"`

	// Environment name.
	Environment string `json:"environment,omitempty"`

	// Node identifier where this instance runs.
	NodeID string `json:"node_id,omitempty"`

	// Access port.
	Port int64 `json:"port,omitempty"`

	// Replication set name.
	ReplicationSet string `json:"replication_set,omitempty"`

	// Unique randomly generated instance identifier.
	ServiceID string `json:"service_id,omitempty"`

	// Unique across all Services user-defined name.
	ServiceName string `json:"service_name,omitempty"`
}

ProxysqlItems0 ProxySQLService represents a generic ProxySQL instance. swagger:model ProxysqlItems0

func (*ProxysqlItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*ProxysqlItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProxysqlItems0) Validate

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

Validate validates this proxysql items0

type RemoveServiceBody

type RemoveServiceBody struct {

	// Remove service with all dependencies.
	Force bool `json:"force,omitempty"`

	// Unique randomly generated instance identifier. Required.
	ServiceID string `json:"service_id,omitempty"`
}

RemoveServiceBody remove service body swagger:model RemoveServiceBody

func (*RemoveServiceBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveServiceBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoveServiceBody) Validate

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

Validate validates this remove service body

type RemoveServiceDefault

type RemoveServiceDefault struct {
	Payload *RemoveServiceDefaultBody
	// contains filtered or unexported fields
}

RemoveServiceDefault handles this case with default header values.

An error response.

func NewRemoveServiceDefault

func NewRemoveServiceDefault(code int) *RemoveServiceDefault

NewRemoveServiceDefault creates a RemoveServiceDefault with default headers values

func (*RemoveServiceDefault) Code

func (o *RemoveServiceDefault) Code() int

Code gets the status code for the remove service default response

func (*RemoveServiceDefault) Error

func (o *RemoveServiceDefault) Error() string

type RemoveServiceDefaultBody

type RemoveServiceDefaultBody struct {

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

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

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

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

func (*RemoveServiceDefaultBody) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveServiceDefaultBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoveServiceDefaultBody) Validate

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

Validate validates this remove service default body

type RemoveServiceOK

type RemoveServiceOK struct {
	Payload interface{}
}

RemoveServiceOK handles this case with default header values.

A successful response.

func NewRemoveServiceOK

func NewRemoveServiceOK() *RemoveServiceOK

NewRemoveServiceOK creates a RemoveServiceOK with default headers values

func (*RemoveServiceOK) Error

func (o *RemoveServiceOK) Error() string

type RemoveServiceParams

type RemoveServiceParams struct {

	/*Body*/
	Body RemoveServiceBody

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

RemoveServiceParams contains all the parameters to send to the API endpoint for the remove service operation typically these are written to a http.Request

func NewRemoveServiceParams

func NewRemoveServiceParams() *RemoveServiceParams

NewRemoveServiceParams creates a new RemoveServiceParams object with the default values initialized.

func NewRemoveServiceParamsWithContext

func NewRemoveServiceParamsWithContext(ctx context.Context) *RemoveServiceParams

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

func NewRemoveServiceParamsWithHTTPClient

func NewRemoveServiceParamsWithHTTPClient(client *http.Client) *RemoveServiceParams

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

func NewRemoveServiceParamsWithTimeout

func NewRemoveServiceParamsWithTimeout(timeout time.Duration) *RemoveServiceParams

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

func (*RemoveServiceParams) SetBody

func (o *RemoveServiceParams) SetBody(body RemoveServiceBody)

SetBody adds the body to the remove service params

func (*RemoveServiceParams) SetContext

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

SetContext adds the context to the remove service params

func (*RemoveServiceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the remove service params

func (*RemoveServiceParams) SetTimeout

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

SetTimeout adds the timeout to the remove service params

func (*RemoveServiceParams) WithBody

WithBody adds the body to the remove service params

func (*RemoveServiceParams) WithContext

WithContext adds the context to the remove service params

func (*RemoveServiceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the remove service params

func (*RemoveServiceParams) WithTimeout

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

WithTimeout adds the timeout to the remove service params

func (*RemoveServiceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RemoveServiceReader

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

RemoveServiceReader is a Reader for the RemoveService structure.

func (*RemoveServiceReader) ReadResponse

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