Documentation ¶
Index ¶
- type AddAmazonRDSMySQLServiceBody
- type AddAmazonRDSMySQLServiceDefault
- type AddAmazonRDSMySQLServiceDefaultBody
- type AddAmazonRDSMySQLServiceOK
- type AddAmazonRDSMySQLServiceOKBody
- type AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql
- type AddAmazonRDSMySQLServiceParams
- func NewAddAmazonRDSMySQLServiceParams() *AddAmazonRDSMySQLServiceParams
- func NewAddAmazonRDSMySQLServiceParamsWithContext(ctx context.Context) *AddAmazonRDSMySQLServiceParams
- func NewAddAmazonRDSMySQLServiceParamsWithHTTPClient(client *http.Client) *AddAmazonRDSMySQLServiceParams
- func NewAddAmazonRDSMySQLServiceParamsWithTimeout(timeout time.Duration) *AddAmazonRDSMySQLServiceParams
- func (o *AddAmazonRDSMySQLServiceParams) SetBody(body AddAmazonRDSMySQLServiceBody)
- func (o *AddAmazonRDSMySQLServiceParams) SetContext(ctx context.Context)
- func (o *AddAmazonRDSMySQLServiceParams) SetHTTPClient(client *http.Client)
- func (o *AddAmazonRDSMySQLServiceParams) SetTimeout(timeout time.Duration)
- func (o *AddAmazonRDSMySQLServiceParams) WithBody(body AddAmazonRDSMySQLServiceBody) *AddAmazonRDSMySQLServiceParams
- func (o *AddAmazonRDSMySQLServiceParams) WithContext(ctx context.Context) *AddAmazonRDSMySQLServiceParams
- func (o *AddAmazonRDSMySQLServiceParams) WithHTTPClient(client *http.Client) *AddAmazonRDSMySQLServiceParams
- func (o *AddAmazonRDSMySQLServiceParams) WithTimeout(timeout time.Duration) *AddAmazonRDSMySQLServiceParams
- func (o *AddAmazonRDSMySQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddAmazonRDSMySQLServiceReader
- 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 AmazonRDSMysqlItems0
- type Client
- func (a *Client) AddAmazonRDSMySQLService(params *AddAmazonRDSMySQLServiceParams) (*AddAmazonRDSMySQLServiceOK, 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) GetService(params *GetServiceParams) (*GetServiceOK, error)
- func (a *Client) ListServices(params *ListServicesParams) (*ListServicesOK, error)
- func (a *Client) RemoveService(params *RemoveServiceParams) (*RemoveServiceOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetServiceBody
- type GetServiceDefault
- type GetServiceDefaultBody
- type GetServiceOK
- type GetServiceOKBody
- type GetServiceOKBodyAmazonRDSMysql
- type GetServiceOKBodyMongodb
- type GetServiceOKBodyMysql
- type GetServiceOKBodyPostgresql
- 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 RemoveServiceBody
- type RemoveServiceDefault
- type RemoveServiceDefaultBody
- type RemoveServiceOK
- type RemoveServiceParams
- func (o *RemoveServiceParams) SetBody(body RemoveServiceBody)
- func (o *RemoveServiceParams) SetContext(ctx context.Context)
- func (o *RemoveServiceParams) SetHTTPClient(client *http.Client)
- func (o *RemoveServiceParams) SetTimeout(timeout time.Duration)
- func (o *RemoveServiceParams) WithBody(body RemoveServiceBody) *RemoveServiceParams
- func (o *RemoveServiceParams) WithContext(ctx context.Context) *RemoveServiceParams
- func (o *RemoveServiceParams) WithHTTPClient(client *http.Client) *RemoveServiceParams
- func (o *RemoveServiceParams) WithTimeout(timeout time.Duration) *RemoveServiceParams
- func (o *RemoveServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveServiceReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAmazonRDSMySQLServiceBody ¶
type AddAmazonRDSMySQLServiceBody struct { // Instance endpoint (full DNS name). Required. Address string `json:"address,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Instance port. Required. Port int64 `json:"port,omitempty"` // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` }
AddAmazonRDSMySQLServiceBody add amazon RDS my SQL service body swagger:model AddAmazonRDSMySQLServiceBody
func (*AddAmazonRDSMySQLServiceBody) MarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAmazonRDSMySQLServiceBody) UnmarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAmazonRDSMySQLServiceDefault ¶
type AddAmazonRDSMySQLServiceDefault struct { Payload *AddAmazonRDSMySQLServiceDefaultBody // contains filtered or unexported fields }
AddAmazonRDSMySQLServiceDefault handles this case with default header values.
An error response.
func NewAddAmazonRDSMySQLServiceDefault ¶
func NewAddAmazonRDSMySQLServiceDefault(code int) *AddAmazonRDSMySQLServiceDefault
NewAddAmazonRDSMySQLServiceDefault creates a AddAmazonRDSMySQLServiceDefault with default headers values
func (*AddAmazonRDSMySQLServiceDefault) Code ¶
func (o *AddAmazonRDSMySQLServiceDefault) Code() int
Code gets the status code for the add amazon RDS my SQL service default response
func (*AddAmazonRDSMySQLServiceDefault) Error ¶
func (o *AddAmazonRDSMySQLServiceDefault) Error() string
type AddAmazonRDSMySQLServiceDefaultBody ¶
type AddAmazonRDSMySQLServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddAmazonRDSMySQLServiceDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddAmazonRDSMySQLServiceDefaultBody
func (*AddAmazonRDSMySQLServiceDefaultBody) MarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAmazonRDSMySQLServiceDefaultBody) UnmarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAmazonRDSMySQLServiceOK ¶
type AddAmazonRDSMySQLServiceOK struct {
Payload *AddAmazonRDSMySQLServiceOKBody
}
AddAmazonRDSMySQLServiceOK handles this case with default header values.
A successful response.
func NewAddAmazonRDSMySQLServiceOK ¶
func NewAddAmazonRDSMySQLServiceOK() *AddAmazonRDSMySQLServiceOK
NewAddAmazonRDSMySQLServiceOK creates a AddAmazonRDSMySQLServiceOK with default headers values
func (*AddAmazonRDSMySQLServiceOK) Error ¶
func (o *AddAmazonRDSMySQLServiceOK) Error() string
type AddAmazonRDSMySQLServiceOKBody ¶
type AddAmazonRDSMySQLServiceOKBody struct { // amazon rds mysql AmazonRDSMysql *AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql `json:"amazon_rds_mysql,omitempty"` }
AddAmazonRDSMySQLServiceOKBody add amazon RDS my SQL service OK body swagger:model AddAmazonRDSMySQLServiceOKBody
func (*AddAmazonRDSMySQLServiceOKBody) MarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAmazonRDSMySQLServiceOKBody) UnmarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql ¶
type AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql struct { // Instance endpoint (full DNS name). Address string `json:"address,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Instance port. Port int64 `json:"port,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql AmazonRDSMySQLService represents a MySQL instance running on a single RemoteAmazonRDS Node. swagger:model AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql
func (*AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql) MarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql) UnmarshalBinary ¶
func (o *AddAmazonRDSMySQLServiceOKBodyAmazonRDSMysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddAmazonRDSMySQLServiceParams ¶
type AddAmazonRDSMySQLServiceParams struct { /*Body*/ Body AddAmazonRDSMySQLServiceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddAmazonRDSMySQLServiceParams contains all the parameters to send to the API endpoint for the add amazon RDS my SQL service operation typically these are written to a http.Request
func NewAddAmazonRDSMySQLServiceParams ¶
func NewAddAmazonRDSMySQLServiceParams() *AddAmazonRDSMySQLServiceParams
NewAddAmazonRDSMySQLServiceParams creates a new AddAmazonRDSMySQLServiceParams object with the default values initialized.
func NewAddAmazonRDSMySQLServiceParamsWithContext ¶
func NewAddAmazonRDSMySQLServiceParamsWithContext(ctx context.Context) *AddAmazonRDSMySQLServiceParams
NewAddAmazonRDSMySQLServiceParamsWithContext creates a new AddAmazonRDSMySQLServiceParams object with the default values initialized, and the ability to set a context for a request
func NewAddAmazonRDSMySQLServiceParamsWithHTTPClient ¶
func NewAddAmazonRDSMySQLServiceParamsWithHTTPClient(client *http.Client) *AddAmazonRDSMySQLServiceParams
NewAddAmazonRDSMySQLServiceParamsWithHTTPClient creates a new AddAmazonRDSMySQLServiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddAmazonRDSMySQLServiceParamsWithTimeout ¶
func NewAddAmazonRDSMySQLServiceParamsWithTimeout(timeout time.Duration) *AddAmazonRDSMySQLServiceParams
NewAddAmazonRDSMySQLServiceParamsWithTimeout creates a new AddAmazonRDSMySQLServiceParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddAmazonRDSMySQLServiceParams) SetBody ¶
func (o *AddAmazonRDSMySQLServiceParams) SetBody(body AddAmazonRDSMySQLServiceBody)
SetBody adds the body to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) SetContext ¶
func (o *AddAmazonRDSMySQLServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) SetHTTPClient ¶
func (o *AddAmazonRDSMySQLServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) SetTimeout ¶
func (o *AddAmazonRDSMySQLServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) WithBody ¶
func (o *AddAmazonRDSMySQLServiceParams) WithBody(body AddAmazonRDSMySQLServiceBody) *AddAmazonRDSMySQLServiceParams
WithBody adds the body to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) WithContext ¶
func (o *AddAmazonRDSMySQLServiceParams) WithContext(ctx context.Context) *AddAmazonRDSMySQLServiceParams
WithContext adds the context to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) WithHTTPClient ¶
func (o *AddAmazonRDSMySQLServiceParams) WithHTTPClient(client *http.Client) *AddAmazonRDSMySQLServiceParams
WithHTTPClient adds the HTTPClient to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) WithTimeout ¶
func (o *AddAmazonRDSMySQLServiceParams) WithTimeout(timeout time.Duration) *AddAmazonRDSMySQLServiceParams
WithTimeout adds the timeout to the add amazon RDS my SQL service params
func (*AddAmazonRDSMySQLServiceParams) WriteToRequest ¶
func (o *AddAmazonRDSMySQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddAmazonRDSMySQLServiceReader ¶
type AddAmazonRDSMySQLServiceReader struct {
// contains filtered or unexported fields
}
AddAmazonRDSMySQLServiceReader is a Reader for the AddAmazonRDSMySQLService structure.
func (*AddAmazonRDSMySQLServiceReader) ReadResponse ¶
func (o *AddAmazonRDSMySQLServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddMongoDBServiceBody ¶
type AddMongoDBServiceBody struct { // Access address (DNS name or IP). Required. Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Access port. Required. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` }
AddMongoDBServiceBody add mongo DB service body swagger:model AddMongoDBServiceBody
func (*AddMongoDBServiceBody) MarshalBinary ¶
func (o *AddMongoDBServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMongoDBServiceBody) UnmarshalBinary ¶
func (o *AddMongoDBServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMongoDBServiceDefault ¶
type AddMongoDBServiceDefault struct { Payload *AddMongoDBServiceDefaultBody // contains filtered or unexported fields }
AddMongoDBServiceDefault handles this case with default header values.
An error response.
func NewAddMongoDBServiceDefault ¶
func NewAddMongoDBServiceDefault(code int) *AddMongoDBServiceDefault
NewAddMongoDBServiceDefault creates a AddMongoDBServiceDefault with default headers values
func (*AddMongoDBServiceDefault) Code ¶
func (o *AddMongoDBServiceDefault) Code() int
Code gets the status code for the add mongo DB service default response
func (*AddMongoDBServiceDefault) Error ¶
func (o *AddMongoDBServiceDefault) Error() string
type AddMongoDBServiceDefaultBody ¶
type AddMongoDBServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddMongoDBServiceDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddMongoDBServiceDefaultBody
func (*AddMongoDBServiceDefaultBody) MarshalBinary ¶
func (o *AddMongoDBServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMongoDBServiceDefaultBody) UnmarshalBinary ¶
func (o *AddMongoDBServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMongoDBServiceOK ¶
type AddMongoDBServiceOK struct {
Payload *AddMongoDBServiceOKBody
}
AddMongoDBServiceOK handles this case with default header values.
A successful response.
func NewAddMongoDBServiceOK ¶
func NewAddMongoDBServiceOK() *AddMongoDBServiceOK
NewAddMongoDBServiceOK creates a AddMongoDBServiceOK with default headers values
func (*AddMongoDBServiceOK) Error ¶
func (o *AddMongoDBServiceOK) Error() string
type AddMongoDBServiceOKBody ¶
type AddMongoDBServiceOKBody struct { // mongodb Mongodb *AddMongoDBServiceOKBodyMongodb `json:"mongodb,omitempty"` }
AddMongoDBServiceOKBody add mongo DB service OK body swagger:model AddMongoDBServiceOKBody
func (*AddMongoDBServiceOKBody) MarshalBinary ¶
func (o *AddMongoDBServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMongoDBServiceOKBody) UnmarshalBinary ¶
func (o *AddMongoDBServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMongoDBServiceOKBodyMongodb ¶
type AddMongoDBServiceOKBodyMongodb struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
AddMongoDBServiceOKBodyMongodb MongoDBService represents a generic MongoDB instance. swagger:model AddMongoDBServiceOKBodyMongodb
func (*AddMongoDBServiceOKBodyMongodb) MarshalBinary ¶
func (o *AddMongoDBServiceOKBodyMongodb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMongoDBServiceOKBodyMongodb) UnmarshalBinary ¶
func (o *AddMongoDBServiceOKBodyMongodb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMongoDBServiceParams ¶
type AddMongoDBServiceParams struct { /*Body*/ Body AddMongoDBServiceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddMongoDBServiceParams contains all the parameters to send to the API endpoint for the add mongo DB service operation typically these are written to a http.Request
func NewAddMongoDBServiceParams ¶
func NewAddMongoDBServiceParams() *AddMongoDBServiceParams
NewAddMongoDBServiceParams creates a new AddMongoDBServiceParams object with the default values initialized.
func NewAddMongoDBServiceParamsWithContext ¶
func NewAddMongoDBServiceParamsWithContext(ctx context.Context) *AddMongoDBServiceParams
NewAddMongoDBServiceParamsWithContext creates a new AddMongoDBServiceParams object with the default values initialized, and the ability to set a context for a request
func NewAddMongoDBServiceParamsWithHTTPClient ¶
func NewAddMongoDBServiceParamsWithHTTPClient(client *http.Client) *AddMongoDBServiceParams
NewAddMongoDBServiceParamsWithHTTPClient creates a new AddMongoDBServiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddMongoDBServiceParamsWithTimeout ¶
func NewAddMongoDBServiceParamsWithTimeout(timeout time.Duration) *AddMongoDBServiceParams
NewAddMongoDBServiceParamsWithTimeout creates a new AddMongoDBServiceParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddMongoDBServiceParams) SetBody ¶
func (o *AddMongoDBServiceParams) SetBody(body AddMongoDBServiceBody)
SetBody adds the body to the add mongo DB service params
func (*AddMongoDBServiceParams) SetContext ¶
func (o *AddMongoDBServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the add mongo DB service params
func (*AddMongoDBServiceParams) SetHTTPClient ¶
func (o *AddMongoDBServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add mongo DB service params
func (*AddMongoDBServiceParams) SetTimeout ¶
func (o *AddMongoDBServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add mongo DB service params
func (*AddMongoDBServiceParams) WithBody ¶
func (o *AddMongoDBServiceParams) WithBody(body AddMongoDBServiceBody) *AddMongoDBServiceParams
WithBody adds the body to the add mongo DB service params
func (*AddMongoDBServiceParams) WithContext ¶
func (o *AddMongoDBServiceParams) WithContext(ctx context.Context) *AddMongoDBServiceParams
WithContext adds the context to the add mongo DB service params
func (*AddMongoDBServiceParams) WithHTTPClient ¶
func (o *AddMongoDBServiceParams) WithHTTPClient(client *http.Client) *AddMongoDBServiceParams
WithHTTPClient adds the HTTPClient to the add mongo DB service params
func (*AddMongoDBServiceParams) WithTimeout ¶
func (o *AddMongoDBServiceParams) WithTimeout(timeout time.Duration) *AddMongoDBServiceParams
WithTimeout adds the timeout to the add mongo DB service params
func (*AddMongoDBServiceParams) WriteToRequest ¶
func (o *AddMongoDBServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddMongoDBServiceReader ¶
type AddMongoDBServiceReader struct {
// contains filtered or unexported fields
}
AddMongoDBServiceReader is a Reader for the AddMongoDBService structure.
func (*AddMongoDBServiceReader) ReadResponse ¶
func (o *AddMongoDBServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddMySQLServiceBody ¶
type AddMySQLServiceBody struct { // Access address (DNS name or IP). Required. Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Access port. Required. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` }
AddMySQLServiceBody add my SQL service body swagger:model AddMySQLServiceBody
func (*AddMySQLServiceBody) MarshalBinary ¶
func (o *AddMySQLServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMySQLServiceBody) UnmarshalBinary ¶
func (o *AddMySQLServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMySQLServiceDefault ¶
type AddMySQLServiceDefault struct { Payload *AddMySQLServiceDefaultBody // contains filtered or unexported fields }
AddMySQLServiceDefault handles this case with default header values.
An error response.
func NewAddMySQLServiceDefault ¶
func NewAddMySQLServiceDefault(code int) *AddMySQLServiceDefault
NewAddMySQLServiceDefault creates a AddMySQLServiceDefault with default headers values
func (*AddMySQLServiceDefault) Code ¶
func (o *AddMySQLServiceDefault) Code() int
Code gets the status code for the add my SQL service default response
func (*AddMySQLServiceDefault) Error ¶
func (o *AddMySQLServiceDefault) Error() string
type AddMySQLServiceDefaultBody ¶
type AddMySQLServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddMySQLServiceDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddMySQLServiceDefaultBody
func (*AddMySQLServiceDefaultBody) MarshalBinary ¶
func (o *AddMySQLServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMySQLServiceDefaultBody) UnmarshalBinary ¶
func (o *AddMySQLServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMySQLServiceOK ¶
type AddMySQLServiceOK struct {
Payload *AddMySQLServiceOKBody
}
AddMySQLServiceOK handles this case with default header values.
A successful response.
func NewAddMySQLServiceOK ¶
func NewAddMySQLServiceOK() *AddMySQLServiceOK
NewAddMySQLServiceOK creates a AddMySQLServiceOK with default headers values
func (*AddMySQLServiceOK) Error ¶
func (o *AddMySQLServiceOK) Error() string
type AddMySQLServiceOKBody ¶
type AddMySQLServiceOKBody struct { // mysql Mysql *AddMySQLServiceOKBodyMysql `json:"mysql,omitempty"` }
AddMySQLServiceOKBody add my SQL service OK body swagger:model AddMySQLServiceOKBody
func (*AddMySQLServiceOKBody) MarshalBinary ¶
func (o *AddMySQLServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMySQLServiceOKBody) UnmarshalBinary ¶
func (o *AddMySQLServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMySQLServiceOKBodyMysql ¶
type AddMySQLServiceOKBodyMysql struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
AddMySQLServiceOKBodyMysql MySQLService represents a generic MySQL instance. swagger:model AddMySQLServiceOKBodyMysql
func (*AddMySQLServiceOKBodyMysql) MarshalBinary ¶
func (o *AddMySQLServiceOKBodyMysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMySQLServiceOKBodyMysql) UnmarshalBinary ¶
func (o *AddMySQLServiceOKBodyMysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMySQLServiceParams ¶
type AddMySQLServiceParams struct { /*Body*/ Body AddMySQLServiceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddMySQLServiceParams contains all the parameters to send to the API endpoint for the add my SQL service operation typically these are written to a http.Request
func NewAddMySQLServiceParams ¶
func NewAddMySQLServiceParams() *AddMySQLServiceParams
NewAddMySQLServiceParams creates a new AddMySQLServiceParams object with the default values initialized.
func NewAddMySQLServiceParamsWithContext ¶
func NewAddMySQLServiceParamsWithContext(ctx context.Context) *AddMySQLServiceParams
NewAddMySQLServiceParamsWithContext creates a new AddMySQLServiceParams object with the default values initialized, and the ability to set a context for a request
func NewAddMySQLServiceParamsWithHTTPClient ¶
func NewAddMySQLServiceParamsWithHTTPClient(client *http.Client) *AddMySQLServiceParams
NewAddMySQLServiceParamsWithHTTPClient creates a new AddMySQLServiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddMySQLServiceParamsWithTimeout ¶
func NewAddMySQLServiceParamsWithTimeout(timeout time.Duration) *AddMySQLServiceParams
NewAddMySQLServiceParamsWithTimeout creates a new AddMySQLServiceParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddMySQLServiceParams) SetBody ¶
func (o *AddMySQLServiceParams) SetBody(body AddMySQLServiceBody)
SetBody adds the body to the add my SQL service params
func (*AddMySQLServiceParams) SetContext ¶
func (o *AddMySQLServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the add my SQL service params
func (*AddMySQLServiceParams) SetHTTPClient ¶
func (o *AddMySQLServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add my SQL service params
func (*AddMySQLServiceParams) SetTimeout ¶
func (o *AddMySQLServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add my SQL service params
func (*AddMySQLServiceParams) WithBody ¶
func (o *AddMySQLServiceParams) WithBody(body AddMySQLServiceBody) *AddMySQLServiceParams
WithBody adds the body to the add my SQL service params
func (*AddMySQLServiceParams) WithContext ¶
func (o *AddMySQLServiceParams) WithContext(ctx context.Context) *AddMySQLServiceParams
WithContext adds the context to the add my SQL service params
func (*AddMySQLServiceParams) WithHTTPClient ¶
func (o *AddMySQLServiceParams) WithHTTPClient(client *http.Client) *AddMySQLServiceParams
WithHTTPClient adds the HTTPClient to the add my SQL service params
func (*AddMySQLServiceParams) WithTimeout ¶
func (o *AddMySQLServiceParams) WithTimeout(timeout time.Duration) *AddMySQLServiceParams
WithTimeout adds the timeout to the add my SQL service params
func (*AddMySQLServiceParams) WriteToRequest ¶
func (o *AddMySQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddMySQLServiceReader ¶
type AddMySQLServiceReader struct {
// contains filtered or unexported fields
}
AddMySQLServiceReader is a Reader for the AddMySQLService structure.
func (*AddMySQLServiceReader) ReadResponse ¶
func (o *AddMySQLServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddPostgreSQLServiceBody ¶
type AddPostgreSQLServiceBody struct { // Access address (DNS name or IP). Required. Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. Required. NodeID string `json:"node_id,omitempty"` // Access port. Required. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique across all Services user-defined name. Required. ServiceName string `json:"service_name,omitempty"` }
AddPostgreSQLServiceBody add postgre SQL service body swagger:model AddPostgreSQLServiceBody
func (*AddPostgreSQLServiceBody) MarshalBinary ¶
func (o *AddPostgreSQLServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPostgreSQLServiceBody) UnmarshalBinary ¶
func (o *AddPostgreSQLServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPostgreSQLServiceDefault ¶
type AddPostgreSQLServiceDefault struct { Payload *AddPostgreSQLServiceDefaultBody // contains filtered or unexported fields }
AddPostgreSQLServiceDefault handles this case with default header values.
An error response.
func NewAddPostgreSQLServiceDefault ¶
func NewAddPostgreSQLServiceDefault(code int) *AddPostgreSQLServiceDefault
NewAddPostgreSQLServiceDefault creates a AddPostgreSQLServiceDefault with default headers values
func (*AddPostgreSQLServiceDefault) Code ¶
func (o *AddPostgreSQLServiceDefault) Code() int
Code gets the status code for the add postgre SQL service default response
func (*AddPostgreSQLServiceDefault) Error ¶
func (o *AddPostgreSQLServiceDefault) Error() string
type AddPostgreSQLServiceDefaultBody ¶
type AddPostgreSQLServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
AddPostgreSQLServiceDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model AddPostgreSQLServiceDefaultBody
func (*AddPostgreSQLServiceDefaultBody) MarshalBinary ¶
func (o *AddPostgreSQLServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPostgreSQLServiceDefaultBody) UnmarshalBinary ¶
func (o *AddPostgreSQLServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPostgreSQLServiceOK ¶
type AddPostgreSQLServiceOK struct {
Payload *AddPostgreSQLServiceOKBody
}
AddPostgreSQLServiceOK handles this case with default header values.
A successful response.
func NewAddPostgreSQLServiceOK ¶
func NewAddPostgreSQLServiceOK() *AddPostgreSQLServiceOK
NewAddPostgreSQLServiceOK creates a AddPostgreSQLServiceOK with default headers values
func (*AddPostgreSQLServiceOK) Error ¶
func (o *AddPostgreSQLServiceOK) Error() string
type AddPostgreSQLServiceOKBody ¶
type AddPostgreSQLServiceOKBody struct { // postgresql Postgresql *AddPostgreSQLServiceOKBodyPostgresql `json:"postgresql,omitempty"` }
AddPostgreSQLServiceOKBody add postgre SQL service OK body swagger:model AddPostgreSQLServiceOKBody
func (*AddPostgreSQLServiceOKBody) MarshalBinary ¶
func (o *AddPostgreSQLServiceOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPostgreSQLServiceOKBody) UnmarshalBinary ¶
func (o *AddPostgreSQLServiceOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPostgreSQLServiceOKBodyPostgresql ¶
type AddPostgreSQLServiceOKBodyPostgresql struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
AddPostgreSQLServiceOKBodyPostgresql PostgreSQLService represents a generic PostgreSQL instance. swagger:model AddPostgreSQLServiceOKBodyPostgresql
func (*AddPostgreSQLServiceOKBodyPostgresql) MarshalBinary ¶
func (o *AddPostgreSQLServiceOKBodyPostgresql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddPostgreSQLServiceOKBodyPostgresql) UnmarshalBinary ¶
func (o *AddPostgreSQLServiceOKBodyPostgresql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddPostgreSQLServiceParams ¶
type AddPostgreSQLServiceParams struct { /*Body*/ Body AddPostgreSQLServiceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddPostgreSQLServiceParams contains all the parameters to send to the API endpoint for the add postgre SQL service operation typically these are written to a http.Request
func NewAddPostgreSQLServiceParams ¶
func NewAddPostgreSQLServiceParams() *AddPostgreSQLServiceParams
NewAddPostgreSQLServiceParams creates a new AddPostgreSQLServiceParams object with the default values initialized.
func NewAddPostgreSQLServiceParamsWithContext ¶
func NewAddPostgreSQLServiceParamsWithContext(ctx context.Context) *AddPostgreSQLServiceParams
NewAddPostgreSQLServiceParamsWithContext creates a new AddPostgreSQLServiceParams object with the default values initialized, and the ability to set a context for a request
func NewAddPostgreSQLServiceParamsWithHTTPClient ¶
func NewAddPostgreSQLServiceParamsWithHTTPClient(client *http.Client) *AddPostgreSQLServiceParams
NewAddPostgreSQLServiceParamsWithHTTPClient creates a new AddPostgreSQLServiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddPostgreSQLServiceParamsWithTimeout ¶
func NewAddPostgreSQLServiceParamsWithTimeout(timeout time.Duration) *AddPostgreSQLServiceParams
NewAddPostgreSQLServiceParamsWithTimeout creates a new AddPostgreSQLServiceParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddPostgreSQLServiceParams) SetBody ¶
func (o *AddPostgreSQLServiceParams) SetBody(body AddPostgreSQLServiceBody)
SetBody adds the body to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) SetContext ¶
func (o *AddPostgreSQLServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) SetHTTPClient ¶
func (o *AddPostgreSQLServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) SetTimeout ¶
func (o *AddPostgreSQLServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WithBody ¶
func (o *AddPostgreSQLServiceParams) WithBody(body AddPostgreSQLServiceBody) *AddPostgreSQLServiceParams
WithBody adds the body to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WithContext ¶
func (o *AddPostgreSQLServiceParams) WithContext(ctx context.Context) *AddPostgreSQLServiceParams
WithContext adds the context to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WithHTTPClient ¶
func (o *AddPostgreSQLServiceParams) WithHTTPClient(client *http.Client) *AddPostgreSQLServiceParams
WithHTTPClient adds the HTTPClient to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WithTimeout ¶
func (o *AddPostgreSQLServiceParams) WithTimeout(timeout time.Duration) *AddPostgreSQLServiceParams
WithTimeout adds the timeout to the add postgre SQL service params
func (*AddPostgreSQLServiceParams) WriteToRequest ¶
func (o *AddPostgreSQLServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddPostgreSQLServiceReader ¶
type AddPostgreSQLServiceReader struct {
// contains filtered or unexported fields
}
AddPostgreSQLServiceReader is a Reader for the AddPostgreSQLService structure.
func (*AddPostgreSQLServiceReader) ReadResponse ¶
func (o *AddPostgreSQLServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AmazonRDSMysqlItems0 ¶
type AmazonRDSMysqlItems0 struct { // Instance endpoint (full DNS name). Address string `json:"address,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Instance port. Port int64 `json:"port,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
AmazonRDSMysqlItems0 AmazonRDSMySQLService represents a MySQL instance running on a single RemoteAmazonRDS Node. swagger:model AmazonRDSMysqlItems0
func (*AmazonRDSMysqlItems0) MarshalBinary ¶
func (o *AmazonRDSMysqlItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AmazonRDSMysqlItems0) UnmarshalBinary ¶
func (o *AmazonRDSMysqlItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for services API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new services API client.
func (*Client) AddAmazonRDSMySQLService ¶
func (a *Client) AddAmazonRDSMySQLService(params *AddAmazonRDSMySQLServiceParams) (*AddAmazonRDSMySQLServiceOK, error)
AddAmazonRDSMySQLService adds amazon RDS my SQL service adds amazon RDS my SQL service
func (*Client) AddMongoDBService ¶
func (a *Client) AddMongoDBService(params *AddMongoDBServiceParams) (*AddMongoDBServiceOK, error)
AddMongoDBService adds mongo DB service adds mongo DB service
func (*Client) AddMySQLService ¶
func (a *Client) AddMySQLService(params *AddMySQLServiceParams) (*AddMySQLServiceOK, error)
AddMySQLService adds my SQL service adds my SQL service
func (*Client) AddPostgreSQLService ¶
func (a *Client) AddPostgreSQLService(params *AddPostgreSQLServiceParams) (*AddPostgreSQLServiceOK, error)
AddPostgreSQLService adds postgre SQL service adds postgre SQL service
func (*Client) GetService ¶
func (a *Client) GetService(params *GetServiceParams) (*GetServiceOK, error)
GetService gets service returns a single service by ID
func (*Client) ListServices ¶
func (a *Client) ListServices(params *ListServicesParams) (*ListServicesOK, error)
ListServices lists services returns a list of all services
func (*Client) RemoveService ¶
func (a *Client) RemoveService(params *RemoveServiceParams) (*RemoveServiceOK, error)
RemoveService removes service removes service
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetServiceBody ¶
type GetServiceBody struct { // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` }
GetServiceBody get service body swagger:model GetServiceBody
func (*GetServiceBody) MarshalBinary ¶
func (o *GetServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceBody) UnmarshalBinary ¶
func (o *GetServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceDefault ¶
type GetServiceDefault struct { Payload *GetServiceDefaultBody // contains filtered or unexported fields }
GetServiceDefault handles this case with default header values.
An error response.
func NewGetServiceDefault ¶
func NewGetServiceDefault(code int) *GetServiceDefault
NewGetServiceDefault creates a GetServiceDefault with default headers values
func (*GetServiceDefault) Code ¶
func (o *GetServiceDefault) Code() int
Code gets the status code for the get service default response
func (*GetServiceDefault) Error ¶
func (o *GetServiceDefault) Error() string
type GetServiceDefaultBody ¶
type GetServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
GetServiceDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model GetServiceDefaultBody
func (*GetServiceDefaultBody) MarshalBinary ¶
func (o *GetServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceDefaultBody) UnmarshalBinary ¶
func (o *GetServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceOK ¶
type GetServiceOK struct {
Payload *GetServiceOKBody
}
GetServiceOK handles this case with default header values.
A successful response.
func NewGetServiceOK ¶
func NewGetServiceOK() *GetServiceOK
NewGetServiceOK creates a GetServiceOK with default headers values
func (*GetServiceOK) Error ¶
func (o *GetServiceOK) Error() string
type GetServiceOKBody ¶
type GetServiceOKBody struct { // amazon rds mysql AmazonRDSMysql *GetServiceOKBodyAmazonRDSMysql `json:"amazon_rds_mysql,omitempty"` // mongodb Mongodb *GetServiceOKBodyMongodb `json:"mongodb,omitempty"` // mysql Mysql *GetServiceOKBodyMysql `json:"mysql,omitempty"` // postgresql Postgresql *GetServiceOKBodyPostgresql `json:"postgresql,omitempty"` }
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 GetServiceOKBodyAmazonRDSMysql ¶
type GetServiceOKBodyAmazonRDSMysql struct { // Instance endpoint (full DNS name). Address string `json:"address,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Instance port. Port int64 `json:"port,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
GetServiceOKBodyAmazonRDSMysql AmazonRDSMySQLService represents a MySQL instance running on a single RemoteAmazonRDS Node. swagger:model GetServiceOKBodyAmazonRDSMysql
func (*GetServiceOKBodyAmazonRDSMysql) MarshalBinary ¶
func (o *GetServiceOKBodyAmazonRDSMysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceOKBodyAmazonRDSMysql) UnmarshalBinary ¶
func (o *GetServiceOKBodyAmazonRDSMysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceOKBodyMongodb ¶
type GetServiceOKBodyMongodb struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
GetServiceOKBodyMongodb MongoDBService represents a generic MongoDB instance. swagger:model GetServiceOKBodyMongodb
func (*GetServiceOKBodyMongodb) MarshalBinary ¶
func (o *GetServiceOKBodyMongodb) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceOKBodyMongodb) UnmarshalBinary ¶
func (o *GetServiceOKBodyMongodb) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceOKBodyMysql ¶
type GetServiceOKBodyMysql struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
GetServiceOKBodyMysql MySQLService represents a generic MySQL instance. swagger:model GetServiceOKBodyMysql
func (*GetServiceOKBodyMysql) MarshalBinary ¶
func (o *GetServiceOKBodyMysql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceOKBodyMysql) UnmarshalBinary ¶
func (o *GetServiceOKBodyMysql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceOKBodyPostgresql ¶
type GetServiceOKBodyPostgresql struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
GetServiceOKBodyPostgresql PostgreSQLService represents a generic PostgreSQL instance. swagger:model GetServiceOKBodyPostgresql
func (*GetServiceOKBodyPostgresql) MarshalBinary ¶
func (o *GetServiceOKBodyPostgresql) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetServiceOKBodyPostgresql) UnmarshalBinary ¶
func (o *GetServiceOKBodyPostgresql) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetServiceParams ¶
type GetServiceParams struct { /*Body*/ Body GetServiceBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServiceParams contains all the parameters to send to the API endpoint for the get service operation typically these are written to a http.Request
func NewGetServiceParams ¶
func NewGetServiceParams() *GetServiceParams
NewGetServiceParams creates a new GetServiceParams object with the default values initialized.
func NewGetServiceParamsWithContext ¶
func NewGetServiceParamsWithContext(ctx context.Context) *GetServiceParams
NewGetServiceParamsWithContext creates a new GetServiceParams object with the default values initialized, and the ability to set a context for a request
func NewGetServiceParamsWithHTTPClient ¶
func NewGetServiceParamsWithHTTPClient(client *http.Client) *GetServiceParams
NewGetServiceParamsWithHTTPClient creates a new GetServiceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServiceParamsWithTimeout ¶
func NewGetServiceParamsWithTimeout(timeout time.Duration) *GetServiceParams
NewGetServiceParamsWithTimeout creates a new GetServiceParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServiceParams) SetBody ¶
func (o *GetServiceParams) SetBody(body GetServiceBody)
SetBody adds the body to the get service params
func (*GetServiceParams) SetContext ¶
func (o *GetServiceParams) SetContext(ctx context.Context)
SetContext adds the context to the get service params
func (*GetServiceParams) SetHTTPClient ¶
func (o *GetServiceParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get service params
func (*GetServiceParams) SetTimeout ¶
func (o *GetServiceParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get service params
func (*GetServiceParams) WithBody ¶
func (o *GetServiceParams) WithBody(body GetServiceBody) *GetServiceParams
WithBody adds the body to the get service params
func (*GetServiceParams) WithContext ¶
func (o *GetServiceParams) WithContext(ctx context.Context) *GetServiceParams
WithContext adds the context to the get service params
func (*GetServiceParams) WithHTTPClient ¶
func (o *GetServiceParams) WithHTTPClient(client *http.Client) *GetServiceParams
WithHTTPClient adds the HTTPClient to the get service params
func (*GetServiceParams) WithTimeout ¶
func (o *GetServiceParams) WithTimeout(timeout time.Duration) *GetServiceParams
WithTimeout adds the timeout to the get service params
func (*GetServiceParams) WriteToRequest ¶
func (o *GetServiceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServiceReader ¶
type GetServiceReader struct {
// contains filtered or unexported fields
}
GetServiceReader is a Reader for the GetService structure.
func (*GetServiceReader) ReadResponse ¶
func (o *GetServiceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServicesBody ¶
type ListServicesBody struct { // Return only Services running on that Node. NodeID string `json:"node_id,omitempty"` }
ListServicesBody list services body swagger:model ListServicesBody
func (*ListServicesBody) MarshalBinary ¶
func (o *ListServicesBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServicesBody) UnmarshalBinary ¶
func (o *ListServicesBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServicesDefault ¶
type ListServicesDefault struct { Payload *ListServicesDefaultBody // contains filtered or unexported fields }
ListServicesDefault handles this case with default header values.
An error response.
func NewListServicesDefault ¶
func NewListServicesDefault(code int) *ListServicesDefault
NewListServicesDefault creates a ListServicesDefault with default headers values
func (*ListServicesDefault) Code ¶
func (o *ListServicesDefault) Code() int
Code gets the status code for the list services default response
func (*ListServicesDefault) Error ¶
func (o *ListServicesDefault) Error() string
type ListServicesDefaultBody ¶
type ListServicesDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
ListServicesDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model ListServicesDefaultBody
func (*ListServicesDefaultBody) MarshalBinary ¶
func (o *ListServicesDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServicesDefaultBody) UnmarshalBinary ¶
func (o *ListServicesDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServicesOK ¶
type ListServicesOK struct {
Payload *ListServicesOKBody
}
ListServicesOK handles this case with default header values.
A successful response.
func NewListServicesOK ¶
func NewListServicesOK() *ListServicesOK
NewListServicesOK creates a ListServicesOK with default headers values
func (*ListServicesOK) Error ¶
func (o *ListServicesOK) Error() string
type ListServicesOKBody ¶
type ListServicesOKBody struct { // amazon rds mysql AmazonRDSMysql []*AmazonRDSMysqlItems0 `json:"amazon_rds_mysql"` // mongodb Mongodb []*MongodbItems0 `json:"mongodb"` // mysql Mysql []*MysqlItems0 `json:"mysql"` // postgresql Postgresql []*PostgresqlItems0 `json:"postgresql"` }
ListServicesOKBody list services OK body swagger:model ListServicesOKBody
func (*ListServicesOKBody) MarshalBinary ¶
func (o *ListServicesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServicesOKBody) UnmarshalBinary ¶
func (o *ListServicesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServicesParams ¶
type ListServicesParams struct { /*Body*/ Body ListServicesBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServicesParams contains all the parameters to send to the API endpoint for the list services operation typically these are written to a http.Request
func NewListServicesParams ¶
func NewListServicesParams() *ListServicesParams
NewListServicesParams creates a new ListServicesParams object with the default values initialized.
func NewListServicesParamsWithContext ¶
func NewListServicesParamsWithContext(ctx context.Context) *ListServicesParams
NewListServicesParamsWithContext creates a new ListServicesParams object with the default values initialized, and the ability to set a context for a request
func NewListServicesParamsWithHTTPClient ¶
func NewListServicesParamsWithHTTPClient(client *http.Client) *ListServicesParams
NewListServicesParamsWithHTTPClient creates a new ListServicesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServicesParamsWithTimeout ¶
func NewListServicesParamsWithTimeout(timeout time.Duration) *ListServicesParams
NewListServicesParamsWithTimeout creates a new ListServicesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServicesParams) SetBody ¶
func (o *ListServicesParams) SetBody(body ListServicesBody)
SetBody adds the body to the list services params
func (*ListServicesParams) SetContext ¶
func (o *ListServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the list services params
func (*ListServicesParams) SetHTTPClient ¶
func (o *ListServicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list services params
func (*ListServicesParams) SetTimeout ¶
func (o *ListServicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list services params
func (*ListServicesParams) WithBody ¶
func (o *ListServicesParams) WithBody(body ListServicesBody) *ListServicesParams
WithBody adds the body to the list services params
func (*ListServicesParams) WithContext ¶
func (o *ListServicesParams) WithContext(ctx context.Context) *ListServicesParams
WithContext adds the context to the list services params
func (*ListServicesParams) WithHTTPClient ¶
func (o *ListServicesParams) WithHTTPClient(client *http.Client) *ListServicesParams
WithHTTPClient adds the HTTPClient to the list services params
func (*ListServicesParams) WithTimeout ¶
func (o *ListServicesParams) WithTimeout(timeout time.Duration) *ListServicesParams
WithTimeout adds the timeout to the list services params
func (*ListServicesParams) WriteToRequest ¶
func (o *ListServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServicesReader ¶
type ListServicesReader struct {
// contains filtered or unexported fields
}
ListServicesReader is a Reader for the ListServices structure.
func (*ListServicesReader) ReadResponse ¶
func (o *ListServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MongodbItems0 ¶
type MongodbItems0 struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
MongodbItems0 MongoDBService represents a generic MongoDB instance. swagger:model MongodbItems0
func (*MongodbItems0) MarshalBinary ¶
func (o *MongodbItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MongodbItems0) UnmarshalBinary ¶
func (o *MongodbItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MysqlItems0 ¶
type MysqlItems0 struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
MysqlItems0 MySQLService represents a generic MySQL instance. swagger:model MysqlItems0
func (*MysqlItems0) MarshalBinary ¶
func (o *MysqlItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MysqlItems0) UnmarshalBinary ¶
func (o *MysqlItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostgresqlItems0 ¶
type PostgresqlItems0 struct { // Access address (DNS name or IP). Address string `json:"address,omitempty"` // Cluster name. Cluster string `json:"cluster,omitempty"` // Custom user-assigned labels. CustomLabels map[string]string `json:"custom_labels,omitempty"` // Environment name. Environment string `json:"environment,omitempty"` // Node identifier where this instance runs. NodeID string `json:"node_id,omitempty"` // Access port. Port int64 `json:"port,omitempty"` // Replication set name. ReplicationSet string `json:"replication_set,omitempty"` // Unique randomly generated instance identifier. ServiceID string `json:"service_id,omitempty"` // Unique across all Services user-defined name. ServiceName string `json:"service_name,omitempty"` }
PostgresqlItems0 PostgreSQLService represents a generic PostgreSQL instance. swagger:model PostgresqlItems0
func (*PostgresqlItems0) MarshalBinary ¶
func (o *PostgresqlItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostgresqlItems0) UnmarshalBinary ¶
func (o *PostgresqlItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveServiceBody ¶
type RemoveServiceBody struct { // Remove service with all dependencies. Force bool `json:"force,omitempty"` // Unique randomly generated instance identifier. Required. ServiceID string `json:"service_id,omitempty"` }
RemoveServiceBody remove service body swagger:model RemoveServiceBody
func (*RemoveServiceBody) MarshalBinary ¶
func (o *RemoveServiceBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveServiceBody) UnmarshalBinary ¶
func (o *RemoveServiceBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveServiceDefault ¶
type RemoveServiceDefault struct { Payload *RemoveServiceDefaultBody // contains filtered or unexported fields }
RemoveServiceDefault handles this case with default header values.
An error response.
func NewRemoveServiceDefault ¶
func NewRemoveServiceDefault(code int) *RemoveServiceDefault
NewRemoveServiceDefault creates a RemoveServiceDefault with default headers values
func (*RemoveServiceDefault) Code ¶
func (o *RemoveServiceDefault) Code() int
Code gets the status code for the remove service default response
func (*RemoveServiceDefault) Error ¶
func (o *RemoveServiceDefault) Error() string
type RemoveServiceDefaultBody ¶
type RemoveServiceDefaultBody struct { // code Code int32 `json:"code,omitempty"` // error Error string `json:"error,omitempty"` // message Message string `json:"message,omitempty"` }
RemoveServiceDefaultBody ErrorResponse is a message returned on HTTP error. swagger:model RemoveServiceDefaultBody
func (*RemoveServiceDefaultBody) MarshalBinary ¶
func (o *RemoveServiceDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveServiceDefaultBody) UnmarshalBinary ¶
func (o *RemoveServiceDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveServiceOK ¶
type RemoveServiceOK struct {
Payload interface{}
}
RemoveServiceOK handles this case with default header values.
A successful response.
func NewRemoveServiceOK ¶
func NewRemoveServiceOK() *RemoveServiceOK
NewRemoveServiceOK creates a RemoveServiceOK with default headers values
func (*RemoveServiceOK) Error ¶
func (o *RemoveServiceOK) Error() string
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_amazon_rds_my_sql_service_parameters.go
- add_amazon_rds_my_sql_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
- 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