Documentation ¶
Index ¶
- Constants
- type AddExternalServiceBody
- type AddExternalServiceDefault
- type AddExternalServiceDefaultBody
- type AddExternalServiceOK
- type AddExternalServiceOKBody
- type AddExternalServiceOKBodyExternal
- type AddExternalServiceParams
- func NewAddExternalServiceParams() *AddExternalServiceParams
- func NewAddExternalServiceParamsWithContext(ctx context.Context) *AddExternalServiceParams
- func NewAddExternalServiceParamsWithHTTPClient(client *http.Client) *AddExternalServiceParams
- func NewAddExternalServiceParamsWithTimeout(timeout time.Duration) *AddExternalServiceParams
- func (o *AddExternalServiceParams) SetBody(body AddExternalServiceBody)
- func (o *AddExternalServiceParams) SetContext(ctx context.Context)
- func (o *AddExternalServiceParams) SetHTTPClient(client *http.Client)
- func (o *AddExternalServiceParams) SetTimeout(timeout time.Duration)
- func (o *AddExternalServiceParams) WithBody(body AddExternalServiceBody) *AddExternalServiceParams
- func (o *AddExternalServiceParams) WithContext(ctx context.Context) *AddExternalServiceParams
- func (o *AddExternalServiceParams) WithHTTPClient(client *http.Client) *AddExternalServiceParams
- func (o *AddExternalServiceParams) WithTimeout(timeout time.Duration) *AddExternalServiceParams
- func (o *AddExternalServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddExternalServiceReader
- 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) AddExternalService(params *AddExternalServiceParams) (*AddExternalServiceOK, error)
- 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 ClientService
- type DetailsItems0
- type ExternalItems0
- type GetServiceBody
- type GetServiceDefault
- type GetServiceDefaultBody
- type GetServiceOK
- type GetServiceOKBody
- type GetServiceOKBodyExternal
- 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 ¶
const ( // ListServicesBodyServiceTypeSERVICETYPEINVALID captures enum value "SERVICE_TYPE_INVALID" ListServicesBodyServiceTypeSERVICETYPEINVALID string = "SERVICE_TYPE_INVALID" // ListServicesBodyServiceTypeMYSQLSERVICE captures enum value "MYSQL_SERVICE" ListServicesBodyServiceTypeMYSQLSERVICE string = "MYSQL_SERVICE" // ListServicesBodyServiceTypeMONGODBSERVICE captures enum value "MONGODB_SERVICE" ListServicesBodyServiceTypeMONGODBSERVICE string = "MONGODB_SERVICE" // ListServicesBodyServiceTypePOSTGRESQLSERVICE captures enum value "POSTGRESQL_SERVICE" ListServicesBodyServiceTypePOSTGRESQLSERVICE string = "POSTGRESQL_SERVICE" // ListServicesBodyServiceTypePROXYSQLSERVICE captures enum value "PROXYSQL_SERVICE" ListServicesBodyServiceTypePROXYSQLSERVICE string = "PROXYSQL_SERVICE" // ListServicesBodyServiceTypeEXTERNALSERVICE captures enum value "EXTERNAL_SERVICE" ListServicesBodyServiceTypeEXTERNALSERVICE string = "EXTERNAL_SERVICE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddExternalServiceBody ¶
type AddExternalServiceBody struct { // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
AddExternalServiceBody add external service body swagger:model AddExternalServiceBody
func (*AddExternalServiceBody) MarshalBinary ¶
func (o *AddExternalServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalServiceBody) UnmarshalBinary ¶
func (o *AddExternalServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalServiceDefault ¶
type AddExternalServiceDefault struct { Payload *AddExternalServiceDefaultBody // contains filtered or unexported fields }
AddExternalServiceDefault handles this case with default header values.
An unexpected error response
func NewAddExternalServiceDefault ¶
func NewAddExternalServiceDefault(code int) *AddExternalServiceDefault
NewAddExternalServiceDefault creates a AddExternalServiceDefault with default headers values
func (*AddExternalServiceDefault) Code ¶
func (o *AddExternalServiceDefault) Code() int
Code gets the status code for the add external service default response
func (*AddExternalServiceDefault) Error ¶
func (o *AddExternalServiceDefault) Error() string
func (*AddExternalServiceDefault) GetPayload ¶
func (o *AddExternalServiceDefault) GetPayload() *AddExternalServiceDefaultBody
type AddExternalServiceDefaultBody ¶
type AddExternalServiceDefaultBody struct { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddExternalServiceDefaultBody add external service default body swagger:model AddExternalServiceDefaultBody
func (*AddExternalServiceDefaultBody) MarshalBinary ¶
func (o *AddExternalServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalServiceDefaultBody) UnmarshalBinary ¶
func (o *AddExternalServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalServiceOK ¶
type AddExternalServiceOK struct {
Payload *AddExternalServiceOKBody
}
AddExternalServiceOK handles this case with default header values.
A successful response.
func NewAddExternalServiceOK ¶
func NewAddExternalServiceOK() *AddExternalServiceOK
NewAddExternalServiceOK creates a AddExternalServiceOK with default headers values
func (*AddExternalServiceOK) Error ¶
func (o *AddExternalServiceOK) Error() string
func (*AddExternalServiceOK) GetPayload ¶
func (o *AddExternalServiceOK) GetPayload() *AddExternalServiceOKBody
type AddExternalServiceOKBody ¶
type AddExternalServiceOKBody struct { // external External *AddExternalServiceOKBodyExternal `json:"external,omitempty"` }
AddExternalServiceOKBody add external service OK body swagger:model AddExternalServiceOKBody
func (*AddExternalServiceOKBody) MarshalBinary ¶
func (o *AddExternalServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalServiceOKBody) UnmarshalBinary ¶
func (o *AddExternalServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalServiceOKBodyExternal ¶
type AddExternalServiceOKBodyExternal struct { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this service instance runs. NodeID string `json:"node_id,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
AddExternalServiceOKBodyExternal ExternalService represents a generic External service instance. swagger:model AddExternalServiceOKBodyExternal
func (*AddExternalServiceOKBodyExternal) MarshalBinary ¶
func (o *AddExternalServiceOKBodyExternal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddExternalServiceOKBodyExternal) UnmarshalBinary ¶
func (o *AddExternalServiceOKBodyExternal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddExternalServiceParams ¶
type AddExternalServiceParams struct { /*Body*/ Body AddExternalServiceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddExternalServiceParams contains all the parameters to send to the API endpoint for the add external service operation typically these are written to a http.Request
func NewAddExternalServiceParams ¶
func NewAddExternalServiceParams() *AddExternalServiceParams
NewAddExternalServiceParams creates a new AddExternalServiceParams object with the default values initialized.
func NewAddExternalServiceParamsWithContext ¶
func NewAddExternalServiceParamsWithContext(ctx context.Context) *AddExternalServiceParams
NewAddExternalServiceParamsWithContext creates a new AddExternalServiceParams object with the default values initialized, and the ability to set a context for a request
func NewAddExternalServiceParamsWithHTTPClient ¶
func NewAddExternalServiceParamsWithHTTPClient(client *http.Client) *AddExternalServiceParams
NewAddExternalServiceParamsWithHTTPClient creates a new AddExternalServiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddExternalServiceParamsWithTimeout ¶
func NewAddExternalServiceParamsWithTimeout(timeout time.Duration) *AddExternalServiceParams
NewAddExternalServiceParamsWithTimeout creates a new AddExternalServiceParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddExternalServiceParams) SetBody ¶
func (o *AddExternalServiceParams) SetBody(body AddExternalServiceBody)
SetBody adds the body to the add external service params
func (*AddExternalServiceParams) SetContext ¶
func (o *AddExternalServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the add external service params
func (*AddExternalServiceParams) SetHTTPClient ¶
func (o *AddExternalServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add external service params
func (*AddExternalServiceParams) SetTimeout ¶
func (o *AddExternalServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add external service params
func (*AddExternalServiceParams) WithBody ¶
func (o *AddExternalServiceParams) WithBody(body AddExternalServiceBody) *AddExternalServiceParams
WithBody adds the body to the add external service params
func (*AddExternalServiceParams) WithContext ¶
func (o *AddExternalServiceParams) WithContext(ctx context.Context) *AddExternalServiceParams
WithContext adds the context to the add external service params
func (*AddExternalServiceParams) WithHTTPClient ¶
func (o *AddExternalServiceParams) WithHTTPClient(client *http.Client) *AddExternalServiceParams
WithHTTPClient adds the HTTPClient to the add external service params
func (*AddExternalServiceParams) WithTimeout ¶
func (o *AddExternalServiceParams) WithTimeout(timeout time.Duration) *AddExternalServiceParams
WithTimeout adds the timeout to the add external service params
func (*AddExternalServiceParams) WriteToRequest ¶
func (o *AddExternalServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddExternalServiceReader ¶
type AddExternalServiceReader struct {
// contains filtered or unexported fields
}
AddExternalServiceReader is a Reader for the AddExternalService structure.
func (*AddExternalServiceReader) ReadResponse ¶
func (o *AddExternalServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddMongoDBServiceBody ¶
type AddMongoDBServiceBody struct { // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddMongoDBServiceDefaultBody add mongo DB service default body 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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddMySQLServiceDefaultBody add my SQL service default body 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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddPostgreSQLServiceDefaultBody add postgre SQL service default body 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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
AddProxySQLServiceDefaultBody add proxy SQL service default body 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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 (*Client) AddExternalService ¶
func (a *Client) AddExternalService(params *AddExternalServiceParams) (*AddExternalServiceOK, error)
AddExternalService adds external service adds external 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 ClientService ¶
type ClientService interface { AddExternalService(params *AddExternalServiceParams) (*AddExternalServiceOK, error) AddMongoDBService(params *AddMongoDBServiceParams) (*AddMongoDBServiceOK, error) AddMySQLService(params *AddMySQLServiceParams) (*AddMySQLServiceOK, error) AddPostgreSQLService(params *AddPostgreSQLServiceParams) (*AddPostgreSQLServiceOK, error) AddProxySQLService(params *AddProxySQLServiceParams) (*AddProxySQLServiceOK, error) GetService(params *GetServiceParams) (*GetServiceOK, error) ListServices(params *ListServicesParams) (*ListServicesOK, error) RemoveService(params *RemoveServiceParams) (*RemoveServiceOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new services API client.
type DetailsItems0 ¶
type DetailsItems0 struct { // A URL/resource name that uniquely identifies the type of the serialized // protocol buffer message. This string must contain at least // one "/" character. The last segment of the URL's path must represent // the fully qualified name of the type (as in // `path/google.protobuf.Duration`). The name should be in a canonical form // (e.g., leading "." is not accepted). // // In practice, teams usually precompile into the binary all types that they // expect it to use in the context of Any. However, for URLs which use the // scheme `http`, `https`, or no scheme, one can optionally set up a type // server that maps type URLs to message definitions as follows: // // * If no scheme is provided, `https` is assumed. // * An HTTP GET on the URL must yield a [google.protobuf.Type][] // value in binary format, or produce an error. // * Applications are allowed to cache lookup results based on the // URL, or have them precompiled into a binary to avoid any // lookup. Therefore, binary compatibility needs to be preserved // on changes to types. (Use versioned type names to manage // breaking changes.) // // Note: this functionality is not currently available in the official // protobuf release, and it is not used for type URLs beginning with // type.googleapis.com. // // Schemes other than `http`, `https` (or the empty scheme) might be // used with implementation specific semantics. TypeURL string `json:"type_url,omitempty"` // Must be a valid serialized protocol buffer of the above specified type. // Format: byte Value strfmt.Base64 `json:"value,omitempty"` }
DetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message. // // Protobuf library provides support to pack/unpack Any values in the form // of utility functions or additional generated methods of the Any type. // // Example 1: Pack and unpack a message in C++. // // Foo foo = ...; // Any any; // any.PackFrom(foo); // ... // if (any.UnpackTo(&foo)) { // ... // } // // Example 2: Pack and unpack a message in Java. // // Foo foo = ...; // Any any = Any.pack(foo); // ... // if (any.is(Foo.class)) { // foo = any.unpack(Foo.class); // } // // Example 3: Pack and unpack a message in Python. // // foo = Foo(...) // any = Any() // any.Pack(foo) // ... // if any.Is(Foo.DESCRIPTOR): // any.Unpack(foo) // ... // // Example 4: Pack and unpack a message in Go // // foo := &pb.Foo{...} // any, err := ptypes.MarshalAny(foo) // ... // foo := &pb.Foo{} // if err := ptypes.UnmarshalAny(any, foo); err != nil { // ... // } // // The pack methods provided by protobuf library will by default use // 'type.googleapis.com/full.type.name' as the type URL and the unpack // methods only use the fully qualified type name after the last '/' // in the type URL, for example "foo.bar.com/x/y.z" will yield type // name "y.z". // // // JSON // ==== // The JSON representation of an `Any` value uses the regular // representation of the deserialized, embedded message, with an // additional field `@type` which contains the type URL. Example: // // package google.profile; // message Person { // string first_name = 1; // string last_name = 2; // } // // { // "@type": "type.googleapis.com/google.profile.Person", // "firstName": <string>, // "lastName": <string> // } // // If the embedded message type is well-known and has a custom JSON // representation, that representation will be embedded adding a field // `value` which holds the custom JSON in addition to the `@type` // field. Example (for message [google.protobuf.Duration][]): // // { // "@type": "type.googleapis.com/google.protobuf.Duration", // "value": "1.212s" // } swagger:model DetailsItems0
func (*DetailsItems0) MarshalBinary ¶
func (o *DetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailsItems0) UnmarshalBinary ¶
func (o *DetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExternalItems0 ¶
type ExternalItems0 struct { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this service instance runs. NodeID string `json:"node_id,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
ExternalItems0 ExternalService represents a generic External service instance. swagger:model ExternalItems0
func (*ExternalItems0) MarshalBinary ¶
func (o *ExternalItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExternalItems0) UnmarshalBinary ¶
func (o *ExternalItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
GetServiceDefaultBody get service default body 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 { // external External *GetServiceOKBodyExternal `json:"external,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
type GetServiceOKBodyExternal ¶
type GetServiceOKBodyExternal struct { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this service instance runs. NodeID string `json:"node_id,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` }
GetServiceOKBodyExternal ExternalService represents a generic External service instance. swagger:model GetServiceOKBodyExternal
func (*GetServiceOKBodyExternal) MarshalBinary ¶
func (o *GetServiceOKBodyExternal) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceOKBodyExternal) UnmarshalBinary ¶
func (o *GetServiceOKBodyExternal) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceOKBodyMongodb ¶
type GetServiceOKBodyMongodb struct { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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"` // ServiceType describes supported Service types. // Enum: [SERVICE_TYPE_INVALID MYSQL_SERVICE MONGODB_SERVICE POSTGRESQL_SERVICE PROXYSQL_SERVICE EXTERNAL_SERVICE] ServiceType *string `json:"service_type,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
ListServicesDefaultBody list services default body 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 { // mysql Mysql []*MysqlItems0 `json:"mysql"` // mongodb Mongodb []*MongodbItems0 `json:"mongodb"` // postgresql Postgresql []*PostgresqlItems0 `json:"postgresql"` // proxysql Proxysql []*ProxysqlItems0 `json:"proxysql"` // external External []*ExternalItems0 `json:"external"` }
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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access address (DNS name or IP). // Address (and port) or socket is required. Address string `json:"address,omitempty"` // Access port. // Port is required when the address present. Port int64 `json:"port,omitempty"` // Access unix socket. // Address (and port) or socket is required. Socket string `json:"socket,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,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 { // Unique randomly generated instance identifier. Required. ServiceID string `json:"service_id,omitempty"` // Remove service with all dependencies. Force bool `json:"force,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 unexpected 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 { // error Error string `json:"error,omitempty"` // code Code int32 `json:"code,omitempty"` // message Message string `json:"message,omitempty"` // details Details []*DetailsItems0 `json:"details"` }
RemoveServiceDefaultBody remove service default body 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_external_service_parameters.go
- add_external_service_responses.go
- 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