Documentation ¶
Index ¶
- type AddMongoDBServiceBody
- type AddMongoDBServiceDefault
- type AddMongoDBServiceDefaultBody
- type AddMongoDBServiceOK
- type AddMongoDBServiceOKBody
- type AddMongoDBServiceOKBodyMongodb
- type AddMongoDBServiceParams
- func NewAddMongoDBServiceParams() *AddMongoDBServiceParams
- func NewAddMongoDBServiceParamsWithContext(ctx context.Context) *AddMongoDBServiceParams
- func NewAddMongoDBServiceParamsWithHTTPClient(client *http.Client) *AddMongoDBServiceParams
- func NewAddMongoDBServiceParamsWithTimeout(timeout time.Duration) *AddMongoDBServiceParams
- func (o *AddMongoDBServiceParams) SetBody(body AddMongoDBServiceBody)
- func (o *AddMongoDBServiceParams) SetContext(ctx context.Context)
- func (o *AddMongoDBServiceParams) SetHTTPClient(client *http.Client)
- func (o *AddMongoDBServiceParams) SetTimeout(timeout time.Duration)
- func (o *AddMongoDBServiceParams) WithBody(body AddMongoDBServiceBody) *AddMongoDBServiceParams
- func (o *AddMongoDBServiceParams) WithContext(ctx context.Context) *AddMongoDBServiceParams
- func (o *AddMongoDBServiceParams) WithHTTPClient(client *http.Client) *AddMongoDBServiceParams
- func (o *AddMongoDBServiceParams) WithTimeout(timeout time.Duration) *AddMongoDBServiceParams
- func (o *AddMongoDBServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddMongoDBServiceReader
- type AddMySQLServiceBody
- type AddMySQLServiceDefault
- type AddMySQLServiceDefaultBody
- type AddMySQLServiceOK
- type AddMySQLServiceOKBody
- type AddMySQLServiceOKBodyMysql
- type AddMySQLServiceParams
- func NewAddMySQLServiceParams() *AddMySQLServiceParams
- func NewAddMySQLServiceParamsWithContext(ctx context.Context) *AddMySQLServiceParams
- func NewAddMySQLServiceParamsWithHTTPClient(client *http.Client) *AddMySQLServiceParams
- func NewAddMySQLServiceParamsWithTimeout(timeout time.Duration) *AddMySQLServiceParams
- func (o *AddMySQLServiceParams) SetBody(body AddMySQLServiceBody)
- func (o *AddMySQLServiceParams) SetContext(ctx context.Context)
- func (o *AddMySQLServiceParams) SetHTTPClient(client *http.Client)
- func (o *AddMySQLServiceParams) SetTimeout(timeout time.Duration)
- func (o *AddMySQLServiceParams) WithBody(body AddMySQLServiceBody) *AddMySQLServiceParams
- func (o *AddMySQLServiceParams) WithContext(ctx context.Context) *AddMySQLServiceParams
- func (o *AddMySQLServiceParams) WithHTTPClient(client *http.Client) *AddMySQLServiceParams
- func (o *AddMySQLServiceParams) WithTimeout(timeout time.Duration) *AddMySQLServiceParams
- func (o *AddMySQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddMySQLServiceReader
- type AddPostgreSQLServiceBody
- type AddPostgreSQLServiceDefault
- type AddPostgreSQLServiceDefaultBody
- type AddPostgreSQLServiceOK
- type AddPostgreSQLServiceOKBody
- type AddPostgreSQLServiceOKBodyPostgresql
- type AddPostgreSQLServiceParams
- func NewAddPostgreSQLServiceParams() *AddPostgreSQLServiceParams
- func NewAddPostgreSQLServiceParamsWithContext(ctx context.Context) *AddPostgreSQLServiceParams
- func NewAddPostgreSQLServiceParamsWithHTTPClient(client *http.Client) *AddPostgreSQLServiceParams
- func NewAddPostgreSQLServiceParamsWithTimeout(timeout time.Duration) *AddPostgreSQLServiceParams
- func (o *AddPostgreSQLServiceParams) SetBody(body AddPostgreSQLServiceBody)
- func (o *AddPostgreSQLServiceParams) SetContext(ctx context.Context)
- func (o *AddPostgreSQLServiceParams) SetHTTPClient(client *http.Client)
- func (o *AddPostgreSQLServiceParams) SetTimeout(timeout time.Duration)
- func (o *AddPostgreSQLServiceParams) WithBody(body AddPostgreSQLServiceBody) *AddPostgreSQLServiceParams
- func (o *AddPostgreSQLServiceParams) WithContext(ctx context.Context) *AddPostgreSQLServiceParams
- func (o *AddPostgreSQLServiceParams) WithHTTPClient(client *http.Client) *AddPostgreSQLServiceParams
- func (o *AddPostgreSQLServiceParams) WithTimeout(timeout time.Duration) *AddPostgreSQLServiceParams
- func (o *AddPostgreSQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPostgreSQLServiceReader
- type AddProxySQLServiceBody
- type AddProxySQLServiceDefault
- type AddProxySQLServiceDefaultBody
- type AddProxySQLServiceOK
- type AddProxySQLServiceOKBody
- type AddProxySQLServiceOKBodyProxysql
- type AddProxySQLServiceParams
- func NewAddProxySQLServiceParams() *AddProxySQLServiceParams
- func NewAddProxySQLServiceParamsWithContext(ctx context.Context) *AddProxySQLServiceParams
- func NewAddProxySQLServiceParamsWithHTTPClient(client *http.Client) *AddProxySQLServiceParams
- func NewAddProxySQLServiceParamsWithTimeout(timeout time.Duration) *AddProxySQLServiceParams
- func (o *AddProxySQLServiceParams) SetBody(body AddProxySQLServiceBody)
- func (o *AddProxySQLServiceParams) SetContext(ctx context.Context)
- func (o *AddProxySQLServiceParams) SetHTTPClient(client *http.Client)
- func (o *AddProxySQLServiceParams) SetTimeout(timeout time.Duration)
- func (o *AddProxySQLServiceParams) WithBody(body AddProxySQLServiceBody) *AddProxySQLServiceParams
- func (o *AddProxySQLServiceParams) WithContext(ctx context.Context) *AddProxySQLServiceParams
- func (o *AddProxySQLServiceParams) WithHTTPClient(client *http.Client) *AddProxySQLServiceParams
- func (o *AddProxySQLServiceParams) WithTimeout(timeout time.Duration) *AddProxySQLServiceParams
- func (o *AddProxySQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddProxySQLServiceReader
- type Client
- func (a *Client) AddMongoDBService(params *AddMongoDBServiceParams) (*AddMongoDBServiceOK, error)
- func (a *Client) AddMySQLService(params *AddMySQLServiceParams) (*AddMySQLServiceOK, error)
- func (a *Client) AddPostgreSQLService(params *AddPostgreSQLServiceParams) (*AddPostgreSQLServiceOK, error)
- func (a *Client) AddProxySQLService(params *AddProxySQLServiceParams) (*AddProxySQLServiceOK, error)
- func (a *Client) GetService(params *GetServiceParams) (*GetServiceOK, error)
- func (a *Client) ListServices(params *ListServicesParams) (*ListServicesOK, error)
- func (a *Client) RemoveService(params *RemoveServiceParams) (*RemoveServiceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetServiceBody
- type GetServiceDefault
- type GetServiceDefaultBody
- type GetServiceOK
- type GetServiceOKBody
- type GetServiceOKBodyMongodb
- type GetServiceOKBodyMysql
- type GetServiceOKBodyPostgresql
- type GetServiceOKBodyProxysql
- type GetServiceParams
- func (o *GetServiceParams) SetBody(body GetServiceBody)
- func (o *GetServiceParams) SetContext(ctx context.Context)
- func (o *GetServiceParams) SetHTTPClient(client *http.Client)
- func (o *GetServiceParams) SetTimeout(timeout time.Duration)
- func (o *GetServiceParams) WithBody(body GetServiceBody) *GetServiceParams
- func (o *GetServiceParams) WithContext(ctx context.Context) *GetServiceParams
- func (o *GetServiceParams) WithHTTPClient(client *http.Client) *GetServiceParams
- func (o *GetServiceParams) WithTimeout(timeout time.Duration) *GetServiceParams
- func (o *GetServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServiceReader
- type ListServicesBody
- type ListServicesDefault
- type ListServicesDefaultBody
- type ListServicesOK
- type ListServicesOKBody
- type ListServicesParams
- func (o *ListServicesParams) SetBody(body ListServicesBody)
- func (o *ListServicesParams) SetContext(ctx context.Context)
- func (o *ListServicesParams) SetHTTPClient(client *http.Client)
- func (o *ListServicesParams) SetTimeout(timeout time.Duration)
- func (o *ListServicesParams) WithBody(body ListServicesBody) *ListServicesParams
- func (o *ListServicesParams) WithContext(ctx context.Context) *ListServicesParams
- func (o *ListServicesParams) WithHTTPClient(client *http.Client) *ListServicesParams
- func (o *ListServicesParams) WithTimeout(timeout time.Duration) *ListServicesParams
- func (o *ListServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServicesReader
- type MongodbItems0
- type MysqlItems0
- type PostgresqlItems0
- type ProxysqlItems0
- type RemoveServiceBody
- type RemoveServiceDefault
- type RemoveServiceDefaultBody
- type RemoveServiceOK
- type RemoveServiceParams
- func (o *RemoveServiceParams) SetBody(body RemoveServiceBody)
- func (o *RemoveServiceParams) SetContext(ctx context.Context)
- func (o *RemoveServiceParams) SetHTTPClient(client *http.Client)
- func (o *RemoveServiceParams) SetTimeout(timeout time.Duration)
- func (o *RemoveServiceParams) WithBody(body RemoveServiceBody) *RemoveServiceParams
- func (o *RemoveServiceParams) WithContext(ctx context.Context) *RemoveServiceParams
- func (o *RemoveServiceParams) WithHTTPClient(client *http.Client) *RemoveServiceParams
- func (o *RemoveServiceParams) WithTimeout(timeout time.Duration) *RemoveServiceParams
- func (o *RemoveServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveServiceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
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
func (*AddMongoDBServiceDefault) GetPayload ¶
func (o *AddMongoDBServiceDefault) GetPayload() *AddMongoDBServiceDefaultBody
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
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
func (*AddMongoDBServiceOK) GetPayload ¶
func (o *AddMongoDBServiceOK) GetPayload() *AddMongoDBServiceOKBody
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
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
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 ¶
func (o *AddMongoDBServiceParams) SetBody(body AddMongoDBServiceBody)
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 ¶
func (o *AddMongoDBServiceParams) WithBody(body AddMongoDBServiceBody) *AddMongoDBServiceParams
WithBody adds the body to the add mongo DB service params
func (*AddMongoDBServiceParams) WithContext ¶
func (o *AddMongoDBServiceParams) WithContext(ctx context.Context) *AddMongoDBServiceParams
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 ¶
func (o *AddMongoDBServiceParams) WithTimeout(timeout time.Duration) *AddMongoDBServiceParams
WithTimeout adds the timeout to the add mongo DB service params
func (*AddMongoDBServiceParams) WriteToRequest ¶
func (o *AddMongoDBServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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
func (*AddMySQLServiceDefault) GetPayload ¶
func (o *AddMySQLServiceDefault) GetPayload() *AddMySQLServiceDefaultBody
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
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
func (*AddMySQLServiceOK) GetPayload ¶
func (o *AddMySQLServiceOK) GetPayload() *AddMySQLServiceOKBody
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
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
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 ¶
func (o *AddMySQLServiceParams) WithBody(body AddMySQLServiceBody) *AddMySQLServiceParams
WithBody adds the body to the add my SQL service params
func (*AddMySQLServiceParams) WithContext ¶
func (o *AddMySQLServiceParams) WithContext(ctx context.Context) *AddMySQLServiceParams
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
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 ¶
func (o *AddPostgreSQLServiceDefault) Error() string
func (*AddPostgreSQLServiceDefault) GetPayload ¶
func (o *AddPostgreSQLServiceDefault) GetPayload() *AddPostgreSQLServiceDefaultBody
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
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
func (*AddPostgreSQLServiceOK) GetPayload ¶
func (o *AddPostgreSQLServiceOK) GetPayload() *AddPostgreSQLServiceOKBody
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
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
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 ¶
func (o *AddPostgreSQLServiceParams) SetBody(body AddPostgreSQLServiceBody)
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 ¶
func (o *AddPostgreSQLServiceParams) WithBody(body AddPostgreSQLServiceBody) *AddPostgreSQLServiceParams
WithBody adds the body to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WithContext ¶
func (o *AddPostgreSQLServiceParams) WithContext(ctx context.Context) *AddPostgreSQLServiceParams
WithContext adds the context to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WithHTTPClient ¶
func (o *AddPostgreSQLServiceParams) WithHTTPClient(client *http.Client) *AddPostgreSQLServiceParams
WithHTTPClient adds the HTTPClient to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WithTimeout ¶
func (o *AddPostgreSQLServiceParams) WithTimeout(timeout time.Duration) *AddPostgreSQLServiceParams
WithTimeout adds the timeout to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WriteToRequest ¶
func (o *AddPostgreSQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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
func (*AddProxySQLServiceDefault) GetPayload ¶
func (o *AddProxySQLServiceDefault) GetPayload() *AddProxySQLServiceDefaultBody
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
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
func (*AddProxySQLServiceOK) GetPayload ¶
func (o *AddProxySQLServiceOK) GetPayload() *AddProxySQLServiceOKBody
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
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
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 ¶
func (o *AddProxySQLServiceParams) SetBody(body AddProxySQLServiceBody)
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 ¶
func (o *AddProxySQLServiceParams) WithBody(body AddProxySQLServiceBody) *AddProxySQLServiceParams
WithBody adds the body to the add proxy SQL service params
func (*AddProxySQLServiceParams) WithContext ¶
func (o *AddProxySQLServiceParams) WithContext(ctx context.Context) *AddProxySQLServiceParams
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 ¶
func (o *AddProxySQLServiceParams) WithTimeout(timeout time.Duration) *AddProxySQLServiceParams
WithTimeout adds the timeout to the add proxy SQL service params
func (*AddProxySQLServiceParams) WriteToRequest ¶
func (o *AddProxySQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 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) 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
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
func (*GetServiceDefault) GetPayload ¶
func (o *GetServiceDefault) GetPayload() *GetServiceDefaultBody
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
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
func (*GetServiceOK) GetPayload ¶
func (o *GetServiceOK) GetPayload() *GetServiceOKBody
type GetServiceOKBody ¶
type GetServiceOKBody struct { // 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
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
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
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
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
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 ¶
func (o *GetServiceParams) WithBody(body GetServiceBody) *GetServiceParams
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
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
func (*ListServicesDefault) GetPayload ¶
func (o *ListServicesDefault) GetPayload() *ListServicesDefaultBody
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
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
func (*ListServicesOK) GetPayload ¶
func (o *ListServicesOK) GetPayload() *ListServicesOKBody
type ListServicesOKBody ¶
type ListServicesOKBody struct { // 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
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 ¶
func (o *ListServicesParams) WithBody(body ListServicesBody) *ListServicesParams
WithBody adds the body to the list services params
func (*ListServicesParams) WithContext ¶
func (o *ListServicesParams) WithContext(ctx context.Context) *ListServicesParams
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
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
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
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
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
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
func (*RemoveServiceDefault) GetPayload ¶
func (o *RemoveServiceDefault) GetPayload() *RemoveServiceDefaultBody
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
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
func (*RemoveServiceOK) GetPayload ¶
func (o *RemoveServiceOK) GetPayload() interface{}
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 ¶
func (o *RemoveServiceParams) WithBody(body RemoveServiceBody) *RemoveServiceParams
WithBody adds the body to the remove service params
func (*RemoveServiceParams) WithContext ¶
func (o *RemoveServiceParams) WithContext(ctx context.Context) *RemoveServiceParams
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.
Source Files ¶
- add_mongo_db_service_parameters.go
- add_mongo_db_service_responses.go
- add_my_sql_service_parameters.go
- add_my_sql_service_responses.go
- add_postgre_sql_service_parameters.go
- add_postgre_sql_service_responses.go
- add_proxy_sql_service_parameters.go
- add_proxy_sql_service_responses.go
- get_service_parameters.go
- get_service_responses.go
- list_services_parameters.go
- list_services_responses.go
- remove_service_parameters.go
- remove_service_responses.go
- services_client.go