Documentation ¶
Index ¶
- type BluemixServiceInstanceGetBadRequest
- func (o *BluemixServiceInstanceGetBadRequest) Code() int
- func (o *BluemixServiceInstanceGetBadRequest) Error() string
- func (o *BluemixServiceInstanceGetBadRequest) GetPayload() *models.Error
- func (o *BluemixServiceInstanceGetBadRequest) IsClientError() bool
- func (o *BluemixServiceInstanceGetBadRequest) IsCode(code int) bool
- func (o *BluemixServiceInstanceGetBadRequest) IsRedirect() bool
- func (o *BluemixServiceInstanceGetBadRequest) IsServerError() bool
- func (o *BluemixServiceInstanceGetBadRequest) IsSuccess() bool
- func (o *BluemixServiceInstanceGetBadRequest) String() string
- type BluemixServiceInstanceGetForbidden
- func (o *BluemixServiceInstanceGetForbidden) Code() int
- func (o *BluemixServiceInstanceGetForbidden) Error() string
- func (o *BluemixServiceInstanceGetForbidden) GetPayload() *models.Error
- func (o *BluemixServiceInstanceGetForbidden) IsClientError() bool
- func (o *BluemixServiceInstanceGetForbidden) IsCode(code int) bool
- func (o *BluemixServiceInstanceGetForbidden) IsRedirect() bool
- func (o *BluemixServiceInstanceGetForbidden) IsServerError() bool
- func (o *BluemixServiceInstanceGetForbidden) IsSuccess() bool
- func (o *BluemixServiceInstanceGetForbidden) String() string
- type BluemixServiceInstanceGetNotFound
- func (o *BluemixServiceInstanceGetNotFound) Code() int
- func (o *BluemixServiceInstanceGetNotFound) Error() string
- func (o *BluemixServiceInstanceGetNotFound) GetPayload() *models.Error
- func (o *BluemixServiceInstanceGetNotFound) IsClientError() bool
- func (o *BluemixServiceInstanceGetNotFound) IsCode(code int) bool
- func (o *BluemixServiceInstanceGetNotFound) IsRedirect() bool
- func (o *BluemixServiceInstanceGetNotFound) IsServerError() bool
- func (o *BluemixServiceInstanceGetNotFound) IsSuccess() bool
- func (o *BluemixServiceInstanceGetNotFound) String() string
- type BluemixServiceInstanceGetOK
- func (o *BluemixServiceInstanceGetOK) Code() int
- func (o *BluemixServiceInstanceGetOK) Error() string
- func (o *BluemixServiceInstanceGetOK) GetPayload() *models.ServiceInstance
- func (o *BluemixServiceInstanceGetOK) IsClientError() bool
- func (o *BluemixServiceInstanceGetOK) IsCode(code int) bool
- func (o *BluemixServiceInstanceGetOK) IsRedirect() bool
- func (o *BluemixServiceInstanceGetOK) IsServerError() bool
- func (o *BluemixServiceInstanceGetOK) IsSuccess() bool
- func (o *BluemixServiceInstanceGetOK) String() string
- type BluemixServiceInstanceGetParams
- func NewBluemixServiceInstanceGetParams() *BluemixServiceInstanceGetParams
- func NewBluemixServiceInstanceGetParamsWithContext(ctx context.Context) *BluemixServiceInstanceGetParams
- func NewBluemixServiceInstanceGetParamsWithHTTPClient(client *http.Client) *BluemixServiceInstanceGetParams
- func NewBluemixServiceInstanceGetParamsWithTimeout(timeout time.Duration) *BluemixServiceInstanceGetParams
- func (o *BluemixServiceInstanceGetParams) SetContext(ctx context.Context)
- func (o *BluemixServiceInstanceGetParams) SetDefaults()
- func (o *BluemixServiceInstanceGetParams) SetHTTPClient(client *http.Client)
- func (o *BluemixServiceInstanceGetParams) SetInstanceID(instanceID string)
- func (o *BluemixServiceInstanceGetParams) SetTimeout(timeout time.Duration)
- func (o *BluemixServiceInstanceGetParams) WithContext(ctx context.Context) *BluemixServiceInstanceGetParams
- func (o *BluemixServiceInstanceGetParams) WithDefaults() *BluemixServiceInstanceGetParams
- func (o *BluemixServiceInstanceGetParams) WithHTTPClient(client *http.Client) *BluemixServiceInstanceGetParams
- func (o *BluemixServiceInstanceGetParams) WithInstanceID(instanceID string) *BluemixServiceInstanceGetParams
- func (o *BluemixServiceInstanceGetParams) WithTimeout(timeout time.Duration) *BluemixServiceInstanceGetParams
- func (o *BluemixServiceInstanceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BluemixServiceInstanceGetReader
- type BluemixServiceInstanceGetUnauthorized
- func (o *BluemixServiceInstanceGetUnauthorized) Code() int
- func (o *BluemixServiceInstanceGetUnauthorized) Error() string
- func (o *BluemixServiceInstanceGetUnauthorized) GetPayload() *models.Error
- func (o *BluemixServiceInstanceGetUnauthorized) IsClientError() bool
- func (o *BluemixServiceInstanceGetUnauthorized) IsCode(code int) bool
- func (o *BluemixServiceInstanceGetUnauthorized) IsRedirect() bool
- func (o *BluemixServiceInstanceGetUnauthorized) IsServerError() bool
- func (o *BluemixServiceInstanceGetUnauthorized) IsSuccess() bool
- func (o *BluemixServiceInstanceGetUnauthorized) String() string
- type BluemixServiceInstancePutBadRequest
- func (o *BluemixServiceInstancePutBadRequest) Code() int
- func (o *BluemixServiceInstancePutBadRequest) Error() string
- func (o *BluemixServiceInstancePutBadRequest) GetPayload() *models.Error
- func (o *BluemixServiceInstancePutBadRequest) IsClientError() bool
- func (o *BluemixServiceInstancePutBadRequest) IsCode(code int) bool
- func (o *BluemixServiceInstancePutBadRequest) IsRedirect() bool
- func (o *BluemixServiceInstancePutBadRequest) IsServerError() bool
- func (o *BluemixServiceInstancePutBadRequest) IsSuccess() bool
- func (o *BluemixServiceInstancePutBadRequest) String() string
- type BluemixServiceInstancePutForbidden
- func (o *BluemixServiceInstancePutForbidden) Code() int
- func (o *BluemixServiceInstancePutForbidden) Error() string
- func (o *BluemixServiceInstancePutForbidden) GetPayload() *models.Error
- func (o *BluemixServiceInstancePutForbidden) IsClientError() bool
- func (o *BluemixServiceInstancePutForbidden) IsCode(code int) bool
- func (o *BluemixServiceInstancePutForbidden) IsRedirect() bool
- func (o *BluemixServiceInstancePutForbidden) IsServerError() bool
- func (o *BluemixServiceInstancePutForbidden) IsSuccess() bool
- func (o *BluemixServiceInstancePutForbidden) String() string
- type BluemixServiceInstancePutNotFound
- func (o *BluemixServiceInstancePutNotFound) Code() int
- func (o *BluemixServiceInstancePutNotFound) Error() string
- func (o *BluemixServiceInstancePutNotFound) GetPayload() *models.Error
- func (o *BluemixServiceInstancePutNotFound) IsClientError() bool
- func (o *BluemixServiceInstancePutNotFound) IsCode(code int) bool
- func (o *BluemixServiceInstancePutNotFound) IsRedirect() bool
- func (o *BluemixServiceInstancePutNotFound) IsServerError() bool
- func (o *BluemixServiceInstancePutNotFound) IsSuccess() bool
- func (o *BluemixServiceInstancePutNotFound) String() string
- type BluemixServiceInstancePutOK
- func (o *BluemixServiceInstancePutOK) Code() int
- func (o *BluemixServiceInstancePutOK) Error() string
- func (o *BluemixServiceInstancePutOK) GetPayload() *models.ServiceInstance
- func (o *BluemixServiceInstancePutOK) IsClientError() bool
- func (o *BluemixServiceInstancePutOK) IsCode(code int) bool
- func (o *BluemixServiceInstancePutOK) IsRedirect() bool
- func (o *BluemixServiceInstancePutOK) IsServerError() bool
- func (o *BluemixServiceInstancePutOK) IsSuccess() bool
- func (o *BluemixServiceInstancePutOK) String() string
- type BluemixServiceInstancePutParams
- func NewBluemixServiceInstancePutParams() *BluemixServiceInstancePutParams
- func NewBluemixServiceInstancePutParamsWithContext(ctx context.Context) *BluemixServiceInstancePutParams
- func NewBluemixServiceInstancePutParamsWithHTTPClient(client *http.Client) *BluemixServiceInstancePutParams
- func NewBluemixServiceInstancePutParamsWithTimeout(timeout time.Duration) *BluemixServiceInstancePutParams
- func (o *BluemixServiceInstancePutParams) SetBody(body *models.ServiceInstanceRequest)
- func (o *BluemixServiceInstancePutParams) SetContext(ctx context.Context)
- func (o *BluemixServiceInstancePutParams) SetDefaults()
- func (o *BluemixServiceInstancePutParams) SetHTTPClient(client *http.Client)
- func (o *BluemixServiceInstancePutParams) SetInstanceID(instanceID string)
- func (o *BluemixServiceInstancePutParams) SetTimeout(timeout time.Duration)
- func (o *BluemixServiceInstancePutParams) WithBody(body *models.ServiceInstanceRequest) *BluemixServiceInstancePutParams
- func (o *BluemixServiceInstancePutParams) WithContext(ctx context.Context) *BluemixServiceInstancePutParams
- func (o *BluemixServiceInstancePutParams) WithDefaults() *BluemixServiceInstancePutParams
- func (o *BluemixServiceInstancePutParams) WithHTTPClient(client *http.Client) *BluemixServiceInstancePutParams
- func (o *BluemixServiceInstancePutParams) WithInstanceID(instanceID string) *BluemixServiceInstancePutParams
- func (o *BluemixServiceInstancePutParams) WithTimeout(timeout time.Duration) *BluemixServiceInstancePutParams
- func (o *BluemixServiceInstancePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type BluemixServiceInstancePutReader
- type BluemixServiceInstancePutUnauthorized
- func (o *BluemixServiceInstancePutUnauthorized) Code() int
- func (o *BluemixServiceInstancePutUnauthorized) Error() string
- func (o *BluemixServiceInstancePutUnauthorized) GetPayload() *models.Error
- func (o *BluemixServiceInstancePutUnauthorized) IsClientError() bool
- func (o *BluemixServiceInstancePutUnauthorized) IsCode(code int) bool
- func (o *BluemixServiceInstancePutUnauthorized) IsRedirect() bool
- func (o *BluemixServiceInstancePutUnauthorized) IsServerError() bool
- func (o *BluemixServiceInstancePutUnauthorized) IsSuccess() bool
- func (o *BluemixServiceInstancePutUnauthorized) String() string
- type Client
- func (a *Client) BluemixServiceInstanceGet(params *BluemixServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BluemixServiceInstanceGetOK, error)
- func (a *Client) BluemixServiceInstancePut(params *BluemixServiceInstancePutParams, authInfo runtime.ClientAuthInfoWriter, ...) (*BluemixServiceInstancePutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BluemixServiceInstanceGetBadRequest ¶
BluemixServiceInstanceGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBluemixServiceInstanceGetBadRequest ¶
func NewBluemixServiceInstanceGetBadRequest() *BluemixServiceInstanceGetBadRequest
NewBluemixServiceInstanceGetBadRequest creates a BluemixServiceInstanceGetBadRequest with default headers values
func (*BluemixServiceInstanceGetBadRequest) Code ¶ added in v1.2.4
func (o *BluemixServiceInstanceGetBadRequest) Code() int
Code gets the status code for the bluemix service instance get bad request response
func (*BluemixServiceInstanceGetBadRequest) Error ¶
func (o *BluemixServiceInstanceGetBadRequest) Error() string
func (*BluemixServiceInstanceGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *BluemixServiceInstanceGetBadRequest) GetPayload() *models.Error
func (*BluemixServiceInstanceGetBadRequest) IsClientError ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetBadRequest) IsClientError() bool
IsClientError returns true when this bluemix service instance get bad request response has a 4xx status code
func (*BluemixServiceInstanceGetBadRequest) IsCode ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetBadRequest) IsCode(code int) bool
IsCode returns true when this bluemix service instance get bad request response a status code equal to that given
func (*BluemixServiceInstanceGetBadRequest) IsRedirect ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetBadRequest) IsRedirect() bool
IsRedirect returns true when this bluemix service instance get bad request response has a 3xx status code
func (*BluemixServiceInstanceGetBadRequest) IsServerError ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetBadRequest) IsServerError() bool
IsServerError returns true when this bluemix service instance get bad request response has a 5xx status code
func (*BluemixServiceInstanceGetBadRequest) IsSuccess ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetBadRequest) IsSuccess() bool
IsSuccess returns true when this bluemix service instance get bad request response has a 2xx status code
func (*BluemixServiceInstanceGetBadRequest) String ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetBadRequest) String() string
type BluemixServiceInstanceGetForbidden ¶ added in v1.4.2
BluemixServiceInstanceGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBluemixServiceInstanceGetForbidden ¶ added in v1.4.2
func NewBluemixServiceInstanceGetForbidden() *BluemixServiceInstanceGetForbidden
NewBluemixServiceInstanceGetForbidden creates a BluemixServiceInstanceGetForbidden with default headers values
func (*BluemixServiceInstanceGetForbidden) Code ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) Code() int
Code gets the status code for the bluemix service instance get forbidden response
func (*BluemixServiceInstanceGetForbidden) Error ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) Error() string
func (*BluemixServiceInstanceGetForbidden) GetPayload ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) GetPayload() *models.Error
func (*BluemixServiceInstanceGetForbidden) IsClientError ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) IsClientError() bool
IsClientError returns true when this bluemix service instance get forbidden response has a 4xx status code
func (*BluemixServiceInstanceGetForbidden) IsCode ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) IsCode(code int) bool
IsCode returns true when this bluemix service instance get forbidden response a status code equal to that given
func (*BluemixServiceInstanceGetForbidden) IsRedirect ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) IsRedirect() bool
IsRedirect returns true when this bluemix service instance get forbidden response has a 3xx status code
func (*BluemixServiceInstanceGetForbidden) IsServerError ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) IsServerError() bool
IsServerError returns true when this bluemix service instance get forbidden response has a 5xx status code
func (*BluemixServiceInstanceGetForbidden) IsSuccess ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) IsSuccess() bool
IsSuccess returns true when this bluemix service instance get forbidden response has a 2xx status code
func (*BluemixServiceInstanceGetForbidden) String ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetForbidden) String() string
type BluemixServiceInstanceGetNotFound ¶ added in v1.4.2
BluemixServiceInstanceGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewBluemixServiceInstanceGetNotFound ¶ added in v1.4.2
func NewBluemixServiceInstanceGetNotFound() *BluemixServiceInstanceGetNotFound
NewBluemixServiceInstanceGetNotFound creates a BluemixServiceInstanceGetNotFound with default headers values
func (*BluemixServiceInstanceGetNotFound) Code ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) Code() int
Code gets the status code for the bluemix service instance get not found response
func (*BluemixServiceInstanceGetNotFound) Error ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) Error() string
func (*BluemixServiceInstanceGetNotFound) GetPayload ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) GetPayload() *models.Error
func (*BluemixServiceInstanceGetNotFound) IsClientError ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) IsClientError() bool
IsClientError returns true when this bluemix service instance get not found response has a 4xx status code
func (*BluemixServiceInstanceGetNotFound) IsCode ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) IsCode(code int) bool
IsCode returns true when this bluemix service instance get not found response a status code equal to that given
func (*BluemixServiceInstanceGetNotFound) IsRedirect ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) IsRedirect() bool
IsRedirect returns true when this bluemix service instance get not found response has a 3xx status code
func (*BluemixServiceInstanceGetNotFound) IsServerError ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) IsServerError() bool
IsServerError returns true when this bluemix service instance get not found response has a 5xx status code
func (*BluemixServiceInstanceGetNotFound) IsSuccess ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) IsSuccess() bool
IsSuccess returns true when this bluemix service instance get not found response has a 2xx status code
func (*BluemixServiceInstanceGetNotFound) String ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetNotFound) String() string
type BluemixServiceInstanceGetOK ¶
type BluemixServiceInstanceGetOK struct {
Payload *models.ServiceInstance
}
BluemixServiceInstanceGetOK describes a response with status code 200, with default header values.
OK
func NewBluemixServiceInstanceGetOK ¶
func NewBluemixServiceInstanceGetOK() *BluemixServiceInstanceGetOK
NewBluemixServiceInstanceGetOK creates a BluemixServiceInstanceGetOK with default headers values
func (*BluemixServiceInstanceGetOK) Code ¶ added in v1.2.4
func (o *BluemixServiceInstanceGetOK) Code() int
Code gets the status code for the bluemix service instance get o k response
func (*BluemixServiceInstanceGetOK) Error ¶
func (o *BluemixServiceInstanceGetOK) Error() string
func (*BluemixServiceInstanceGetOK) GetPayload ¶ added in v1.1.0
func (o *BluemixServiceInstanceGetOK) GetPayload() *models.ServiceInstance
func (*BluemixServiceInstanceGetOK) IsClientError ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetOK) IsClientError() bool
IsClientError returns true when this bluemix service instance get o k response has a 4xx status code
func (*BluemixServiceInstanceGetOK) IsCode ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetOK) IsCode(code int) bool
IsCode returns true when this bluemix service instance get o k response a status code equal to that given
func (*BluemixServiceInstanceGetOK) IsRedirect ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetOK) IsRedirect() bool
IsRedirect returns true when this bluemix service instance get o k response has a 3xx status code
func (*BluemixServiceInstanceGetOK) IsServerError ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetOK) IsServerError() bool
IsServerError returns true when this bluemix service instance get o k response has a 5xx status code
func (*BluemixServiceInstanceGetOK) IsSuccess ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetOK) IsSuccess() bool
IsSuccess returns true when this bluemix service instance get o k response has a 2xx status code
func (*BluemixServiceInstanceGetOK) String ¶ added in v1.2.2
func (o *BluemixServiceInstanceGetOK) String() string
type BluemixServiceInstanceGetParams ¶
type BluemixServiceInstanceGetParams struct { /* InstanceID. instance id of instance to provision */ InstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BluemixServiceInstanceGetParams contains all the parameters to send to the API endpoint
for the bluemix service instance get operation. Typically these are written to a http.Request.
func NewBluemixServiceInstanceGetParams ¶
func NewBluemixServiceInstanceGetParams() *BluemixServiceInstanceGetParams
NewBluemixServiceInstanceGetParams creates a new BluemixServiceInstanceGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBluemixServiceInstanceGetParamsWithContext ¶
func NewBluemixServiceInstanceGetParamsWithContext(ctx context.Context) *BluemixServiceInstanceGetParams
NewBluemixServiceInstanceGetParamsWithContext creates a new BluemixServiceInstanceGetParams object with the ability to set a context for a request.
func NewBluemixServiceInstanceGetParamsWithHTTPClient ¶
func NewBluemixServiceInstanceGetParamsWithHTTPClient(client *http.Client) *BluemixServiceInstanceGetParams
NewBluemixServiceInstanceGetParamsWithHTTPClient creates a new BluemixServiceInstanceGetParams object with the ability to set a custom HTTPClient for a request.
func NewBluemixServiceInstanceGetParamsWithTimeout ¶
func NewBluemixServiceInstanceGetParamsWithTimeout(timeout time.Duration) *BluemixServiceInstanceGetParams
NewBluemixServiceInstanceGetParamsWithTimeout creates a new BluemixServiceInstanceGetParams object with the ability to set a timeout on a request.
func (*BluemixServiceInstanceGetParams) SetContext ¶
func (o *BluemixServiceInstanceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) SetDefaults ¶ added in v1.1.0
func (o *BluemixServiceInstanceGetParams) SetDefaults()
SetDefaults hydrates default values in the bluemix service instance get params (not the query body).
All values with no default are reset to their zero value.
func (*BluemixServiceInstanceGetParams) SetHTTPClient ¶
func (o *BluemixServiceInstanceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) SetInstanceID ¶
func (o *BluemixServiceInstanceGetParams) SetInstanceID(instanceID string)
SetInstanceID adds the instanceId to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) SetTimeout ¶
func (o *BluemixServiceInstanceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) WithContext ¶
func (o *BluemixServiceInstanceGetParams) WithContext(ctx context.Context) *BluemixServiceInstanceGetParams
WithContext adds the context to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) WithDefaults ¶ added in v1.1.0
func (o *BluemixServiceInstanceGetParams) WithDefaults() *BluemixServiceInstanceGetParams
WithDefaults hydrates default values in the bluemix service instance get params (not the query body).
All values with no default are reset to their zero value.
func (*BluemixServiceInstanceGetParams) WithHTTPClient ¶
func (o *BluemixServiceInstanceGetParams) WithHTTPClient(client *http.Client) *BluemixServiceInstanceGetParams
WithHTTPClient adds the HTTPClient to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) WithInstanceID ¶
func (o *BluemixServiceInstanceGetParams) WithInstanceID(instanceID string) *BluemixServiceInstanceGetParams
WithInstanceID adds the instanceID to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) WithTimeout ¶
func (o *BluemixServiceInstanceGetParams) WithTimeout(timeout time.Duration) *BluemixServiceInstanceGetParams
WithTimeout adds the timeout to the bluemix service instance get params
func (*BluemixServiceInstanceGetParams) WriteToRequest ¶
func (o *BluemixServiceInstanceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BluemixServiceInstanceGetReader ¶
type BluemixServiceInstanceGetReader struct {
// contains filtered or unexported fields
}
BluemixServiceInstanceGetReader is a Reader for the BluemixServiceInstanceGet structure.
func (*BluemixServiceInstanceGetReader) ReadResponse ¶
func (o *BluemixServiceInstanceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BluemixServiceInstanceGetUnauthorized ¶ added in v1.4.2
type BluemixServiceInstanceGetUnauthorized struct {
}BluemixServiceInstanceGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewBluemixServiceInstanceGetUnauthorized ¶ added in v1.4.2
func NewBluemixServiceInstanceGetUnauthorized() *BluemixServiceInstanceGetUnauthorized
NewBluemixServiceInstanceGetUnauthorized creates a BluemixServiceInstanceGetUnauthorized with default headers values
func (*BluemixServiceInstanceGetUnauthorized) Code ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) Code() int
Code gets the status code for the bluemix service instance get unauthorized response
func (*BluemixServiceInstanceGetUnauthorized) Error ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) Error() string
func (*BluemixServiceInstanceGetUnauthorized) GetPayload ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) GetPayload() *models.Error
func (*BluemixServiceInstanceGetUnauthorized) IsClientError ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) IsClientError() bool
IsClientError returns true when this bluemix service instance get unauthorized response has a 4xx status code
func (*BluemixServiceInstanceGetUnauthorized) IsCode ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) IsCode(code int) bool
IsCode returns true when this bluemix service instance get unauthorized response a status code equal to that given
func (*BluemixServiceInstanceGetUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this bluemix service instance get unauthorized response has a 3xx status code
func (*BluemixServiceInstanceGetUnauthorized) IsServerError ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) IsServerError() bool
IsServerError returns true when this bluemix service instance get unauthorized response has a 5xx status code
func (*BluemixServiceInstanceGetUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this bluemix service instance get unauthorized response has a 2xx status code
func (*BluemixServiceInstanceGetUnauthorized) String ¶ added in v1.4.2
func (o *BluemixServiceInstanceGetUnauthorized) String() string
type BluemixServiceInstancePutBadRequest ¶
BluemixServiceInstancePutBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewBluemixServiceInstancePutBadRequest ¶
func NewBluemixServiceInstancePutBadRequest() *BluemixServiceInstancePutBadRequest
NewBluemixServiceInstancePutBadRequest creates a BluemixServiceInstancePutBadRequest with default headers values
func (*BluemixServiceInstancePutBadRequest) Code ¶ added in v1.2.4
func (o *BluemixServiceInstancePutBadRequest) Code() int
Code gets the status code for the bluemix service instance put bad request response
func (*BluemixServiceInstancePutBadRequest) Error ¶
func (o *BluemixServiceInstancePutBadRequest) Error() string
func (*BluemixServiceInstancePutBadRequest) GetPayload ¶ added in v1.1.0
func (o *BluemixServiceInstancePutBadRequest) GetPayload() *models.Error
func (*BluemixServiceInstancePutBadRequest) IsClientError ¶ added in v1.2.2
func (o *BluemixServiceInstancePutBadRequest) IsClientError() bool
IsClientError returns true when this bluemix service instance put bad request response has a 4xx status code
func (*BluemixServiceInstancePutBadRequest) IsCode ¶ added in v1.2.2
func (o *BluemixServiceInstancePutBadRequest) IsCode(code int) bool
IsCode returns true when this bluemix service instance put bad request response a status code equal to that given
func (*BluemixServiceInstancePutBadRequest) IsRedirect ¶ added in v1.2.2
func (o *BluemixServiceInstancePutBadRequest) IsRedirect() bool
IsRedirect returns true when this bluemix service instance put bad request response has a 3xx status code
func (*BluemixServiceInstancePutBadRequest) IsServerError ¶ added in v1.2.2
func (o *BluemixServiceInstancePutBadRequest) IsServerError() bool
IsServerError returns true when this bluemix service instance put bad request response has a 5xx status code
func (*BluemixServiceInstancePutBadRequest) IsSuccess ¶ added in v1.2.2
func (o *BluemixServiceInstancePutBadRequest) IsSuccess() bool
IsSuccess returns true when this bluemix service instance put bad request response has a 2xx status code
func (*BluemixServiceInstancePutBadRequest) String ¶ added in v1.2.2
func (o *BluemixServiceInstancePutBadRequest) String() string
type BluemixServiceInstancePutForbidden ¶ added in v1.4.2
BluemixServiceInstancePutForbidden describes a response with status code 403, with default header values.
Forbidden
func NewBluemixServiceInstancePutForbidden ¶ added in v1.4.2
func NewBluemixServiceInstancePutForbidden() *BluemixServiceInstancePutForbidden
NewBluemixServiceInstancePutForbidden creates a BluemixServiceInstancePutForbidden with default headers values
func (*BluemixServiceInstancePutForbidden) Code ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) Code() int
Code gets the status code for the bluemix service instance put forbidden response
func (*BluemixServiceInstancePutForbidden) Error ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) Error() string
func (*BluemixServiceInstancePutForbidden) GetPayload ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) GetPayload() *models.Error
func (*BluemixServiceInstancePutForbidden) IsClientError ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) IsClientError() bool
IsClientError returns true when this bluemix service instance put forbidden response has a 4xx status code
func (*BluemixServiceInstancePutForbidden) IsCode ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) IsCode(code int) bool
IsCode returns true when this bluemix service instance put forbidden response a status code equal to that given
func (*BluemixServiceInstancePutForbidden) IsRedirect ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) IsRedirect() bool
IsRedirect returns true when this bluemix service instance put forbidden response has a 3xx status code
func (*BluemixServiceInstancePutForbidden) IsServerError ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) IsServerError() bool
IsServerError returns true when this bluemix service instance put forbidden response has a 5xx status code
func (*BluemixServiceInstancePutForbidden) IsSuccess ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) IsSuccess() bool
IsSuccess returns true when this bluemix service instance put forbidden response has a 2xx status code
func (*BluemixServiceInstancePutForbidden) String ¶ added in v1.4.2
func (o *BluemixServiceInstancePutForbidden) String() string
type BluemixServiceInstancePutNotFound ¶ added in v1.4.2
BluemixServiceInstancePutNotFound describes a response with status code 404, with default header values.
Not Found
func NewBluemixServiceInstancePutNotFound ¶ added in v1.4.2
func NewBluemixServiceInstancePutNotFound() *BluemixServiceInstancePutNotFound
NewBluemixServiceInstancePutNotFound creates a BluemixServiceInstancePutNotFound with default headers values
func (*BluemixServiceInstancePutNotFound) Code ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) Code() int
Code gets the status code for the bluemix service instance put not found response
func (*BluemixServiceInstancePutNotFound) Error ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) Error() string
func (*BluemixServiceInstancePutNotFound) GetPayload ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) GetPayload() *models.Error
func (*BluemixServiceInstancePutNotFound) IsClientError ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) IsClientError() bool
IsClientError returns true when this bluemix service instance put not found response has a 4xx status code
func (*BluemixServiceInstancePutNotFound) IsCode ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) IsCode(code int) bool
IsCode returns true when this bluemix service instance put not found response a status code equal to that given
func (*BluemixServiceInstancePutNotFound) IsRedirect ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) IsRedirect() bool
IsRedirect returns true when this bluemix service instance put not found response has a 3xx status code
func (*BluemixServiceInstancePutNotFound) IsServerError ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) IsServerError() bool
IsServerError returns true when this bluemix service instance put not found response has a 5xx status code
func (*BluemixServiceInstancePutNotFound) IsSuccess ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) IsSuccess() bool
IsSuccess returns true when this bluemix service instance put not found response has a 2xx status code
func (*BluemixServiceInstancePutNotFound) String ¶ added in v1.4.2
func (o *BluemixServiceInstancePutNotFound) String() string
type BluemixServiceInstancePutOK ¶
type BluemixServiceInstancePutOK struct {
Payload *models.ServiceInstance
}
BluemixServiceInstancePutOK describes a response with status code 200, with default header values.
OK
func NewBluemixServiceInstancePutOK ¶
func NewBluemixServiceInstancePutOK() *BluemixServiceInstancePutOK
NewBluemixServiceInstancePutOK creates a BluemixServiceInstancePutOK with default headers values
func (*BluemixServiceInstancePutOK) Code ¶ added in v1.2.4
func (o *BluemixServiceInstancePutOK) Code() int
Code gets the status code for the bluemix service instance put o k response
func (*BluemixServiceInstancePutOK) Error ¶
func (o *BluemixServiceInstancePutOK) Error() string
func (*BluemixServiceInstancePutOK) GetPayload ¶ added in v1.1.0
func (o *BluemixServiceInstancePutOK) GetPayload() *models.ServiceInstance
func (*BluemixServiceInstancePutOK) IsClientError ¶ added in v1.2.2
func (o *BluemixServiceInstancePutOK) IsClientError() bool
IsClientError returns true when this bluemix service instance put o k response has a 4xx status code
func (*BluemixServiceInstancePutOK) IsCode ¶ added in v1.2.2
func (o *BluemixServiceInstancePutOK) IsCode(code int) bool
IsCode returns true when this bluemix service instance put o k response a status code equal to that given
func (*BluemixServiceInstancePutOK) IsRedirect ¶ added in v1.2.2
func (o *BluemixServiceInstancePutOK) IsRedirect() bool
IsRedirect returns true when this bluemix service instance put o k response has a 3xx status code
func (*BluemixServiceInstancePutOK) IsServerError ¶ added in v1.2.2
func (o *BluemixServiceInstancePutOK) IsServerError() bool
IsServerError returns true when this bluemix service instance put o k response has a 5xx status code
func (*BluemixServiceInstancePutOK) IsSuccess ¶ added in v1.2.2
func (o *BluemixServiceInstancePutOK) IsSuccess() bool
IsSuccess returns true when this bluemix service instance put o k response has a 2xx status code
func (*BluemixServiceInstancePutOK) String ¶ added in v1.2.2
func (o *BluemixServiceInstancePutOK) String() string
type BluemixServiceInstancePutParams ¶
type BluemixServiceInstancePutParams struct { /* Body. parameters for the requested state of a provisioned service */ Body *models.ServiceInstanceRequest /* InstanceID. instance id of instance to provision */ InstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
BluemixServiceInstancePutParams contains all the parameters to send to the API endpoint
for the bluemix service instance put operation. Typically these are written to a http.Request.
func NewBluemixServiceInstancePutParams ¶
func NewBluemixServiceInstancePutParams() *BluemixServiceInstancePutParams
NewBluemixServiceInstancePutParams creates a new BluemixServiceInstancePutParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewBluemixServiceInstancePutParamsWithContext ¶
func NewBluemixServiceInstancePutParamsWithContext(ctx context.Context) *BluemixServiceInstancePutParams
NewBluemixServiceInstancePutParamsWithContext creates a new BluemixServiceInstancePutParams object with the ability to set a context for a request.
func NewBluemixServiceInstancePutParamsWithHTTPClient ¶
func NewBluemixServiceInstancePutParamsWithHTTPClient(client *http.Client) *BluemixServiceInstancePutParams
NewBluemixServiceInstancePutParamsWithHTTPClient creates a new BluemixServiceInstancePutParams object with the ability to set a custom HTTPClient for a request.
func NewBluemixServiceInstancePutParamsWithTimeout ¶
func NewBluemixServiceInstancePutParamsWithTimeout(timeout time.Duration) *BluemixServiceInstancePutParams
NewBluemixServiceInstancePutParamsWithTimeout creates a new BluemixServiceInstancePutParams object with the ability to set a timeout on a request.
func (*BluemixServiceInstancePutParams) SetBody ¶
func (o *BluemixServiceInstancePutParams) SetBody(body *models.ServiceInstanceRequest)
SetBody adds the body to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) SetContext ¶
func (o *BluemixServiceInstancePutParams) SetContext(ctx context.Context)
SetContext adds the context to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) SetDefaults ¶ added in v1.1.0
func (o *BluemixServiceInstancePutParams) SetDefaults()
SetDefaults hydrates default values in the bluemix service instance put params (not the query body).
All values with no default are reset to their zero value.
func (*BluemixServiceInstancePutParams) SetHTTPClient ¶
func (o *BluemixServiceInstancePutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) SetInstanceID ¶
func (o *BluemixServiceInstancePutParams) SetInstanceID(instanceID string)
SetInstanceID adds the instanceId to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) SetTimeout ¶
func (o *BluemixServiceInstancePutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) WithBody ¶
func (o *BluemixServiceInstancePutParams) WithBody(body *models.ServiceInstanceRequest) *BluemixServiceInstancePutParams
WithBody adds the body to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) WithContext ¶
func (o *BluemixServiceInstancePutParams) WithContext(ctx context.Context) *BluemixServiceInstancePutParams
WithContext adds the context to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) WithDefaults ¶ added in v1.1.0
func (o *BluemixServiceInstancePutParams) WithDefaults() *BluemixServiceInstancePutParams
WithDefaults hydrates default values in the bluemix service instance put params (not the query body).
All values with no default are reset to their zero value.
func (*BluemixServiceInstancePutParams) WithHTTPClient ¶
func (o *BluemixServiceInstancePutParams) WithHTTPClient(client *http.Client) *BluemixServiceInstancePutParams
WithHTTPClient adds the HTTPClient to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) WithInstanceID ¶
func (o *BluemixServiceInstancePutParams) WithInstanceID(instanceID string) *BluemixServiceInstancePutParams
WithInstanceID adds the instanceID to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) WithTimeout ¶
func (o *BluemixServiceInstancePutParams) WithTimeout(timeout time.Duration) *BluemixServiceInstancePutParams
WithTimeout adds the timeout to the bluemix service instance put params
func (*BluemixServiceInstancePutParams) WriteToRequest ¶
func (o *BluemixServiceInstancePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type BluemixServiceInstancePutReader ¶
type BluemixServiceInstancePutReader struct {
// contains filtered or unexported fields
}
BluemixServiceInstancePutReader is a Reader for the BluemixServiceInstancePut structure.
func (*BluemixServiceInstancePutReader) ReadResponse ¶
func (o *BluemixServiceInstancePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type BluemixServiceInstancePutUnauthorized ¶ added in v1.4.2
type BluemixServiceInstancePutUnauthorized struct {
}BluemixServiceInstancePutUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewBluemixServiceInstancePutUnauthorized ¶ added in v1.4.2
func NewBluemixServiceInstancePutUnauthorized() *BluemixServiceInstancePutUnauthorized
NewBluemixServiceInstancePutUnauthorized creates a BluemixServiceInstancePutUnauthorized with default headers values
func (*BluemixServiceInstancePutUnauthorized) Code ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) Code() int
Code gets the status code for the bluemix service instance put unauthorized response
func (*BluemixServiceInstancePutUnauthorized) Error ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) Error() string
func (*BluemixServiceInstancePutUnauthorized) GetPayload ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) GetPayload() *models.Error
func (*BluemixServiceInstancePutUnauthorized) IsClientError ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) IsClientError() bool
IsClientError returns true when this bluemix service instance put unauthorized response has a 4xx status code
func (*BluemixServiceInstancePutUnauthorized) IsCode ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) IsCode(code int) bool
IsCode returns true when this bluemix service instance put unauthorized response a status code equal to that given
func (*BluemixServiceInstancePutUnauthorized) IsRedirect ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) IsRedirect() bool
IsRedirect returns true when this bluemix service instance put unauthorized response has a 3xx status code
func (*BluemixServiceInstancePutUnauthorized) IsServerError ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) IsServerError() bool
IsServerError returns true when this bluemix service instance put unauthorized response has a 5xx status code
func (*BluemixServiceInstancePutUnauthorized) IsSuccess ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) IsSuccess() bool
IsSuccess returns true when this bluemix service instance put unauthorized response has a 2xx status code
func (*BluemixServiceInstancePutUnauthorized) String ¶ added in v1.4.2
func (o *BluemixServiceInstancePutUnauthorized) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for bluemix service instances API
func (*Client) BluemixServiceInstanceGet ¶
func (a *Client) BluemixServiceInstanceGet(params *BluemixServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstanceGetOK, error)
BluemixServiceInstanceGet gets the current state information associated with the service instance
func (*Client) BluemixServiceInstancePut ¶
func (a *Client) BluemixServiceInstancePut(params *BluemixServiceInstancePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstancePutOK, error)
BluemixServiceInstancePut updates disable or enable the state of a provisioned service instance
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v1.1.0
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶ added in v1.1.0
type ClientService interface { BluemixServiceInstanceGet(params *BluemixServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstanceGetOK, error) BluemixServiceInstancePut(params *BluemixServiceInstancePutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*BluemixServiceInstancePutOK, 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 bluemix service instances API client.
func NewClientWithBasicAuth ¶ added in v1.7.0
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new bluemix service instances API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶ added in v1.7.0
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new bluemix service instances API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.