Documentation ¶
Index ¶
- type BluemixServiceInstanceGetBadRequest
- type BluemixServiceInstanceGetOK
- 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) 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) 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 BluemixServiceInstancePutBadRequest
- type BluemixServiceInstancePutOK
- 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) 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) 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 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BluemixServiceInstanceGetBadRequest ¶
BluemixServiceInstanceGetBadRequest handles this case with default header values.
Bad Request
func NewBluemixServiceInstanceGetBadRequest ¶
func NewBluemixServiceInstanceGetBadRequest() *BluemixServiceInstanceGetBadRequest
NewBluemixServiceInstanceGetBadRequest creates a BluemixServiceInstanceGetBadRequest with default headers values
func (*BluemixServiceInstanceGetBadRequest) Error ¶
func (o *BluemixServiceInstanceGetBadRequest) Error() string
type BluemixServiceInstanceGetOK ¶
type BluemixServiceInstanceGetOK struct {
Payload *models.ServiceInstance
}
BluemixServiceInstanceGetOK handles this case with default header values.
OK
func NewBluemixServiceInstanceGetOK ¶
func NewBluemixServiceInstanceGetOK() *BluemixServiceInstanceGetOK
NewBluemixServiceInstanceGetOK creates a BluemixServiceInstanceGetOK with default headers values
func (*BluemixServiceInstanceGetOK) Error ¶
func (o *BluemixServiceInstanceGetOK) Error() 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 values initialized.
func NewBluemixServiceInstanceGetParamsWithContext ¶
func NewBluemixServiceInstanceGetParamsWithContext(ctx context.Context) *BluemixServiceInstanceGetParams
NewBluemixServiceInstanceGetParamsWithContext creates a new BluemixServiceInstanceGetParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 BluemixServiceInstancePutBadRequest ¶
BluemixServiceInstancePutBadRequest handles this case with default header values.
Bad Request
func NewBluemixServiceInstancePutBadRequest ¶
func NewBluemixServiceInstancePutBadRequest() *BluemixServiceInstancePutBadRequest
NewBluemixServiceInstancePutBadRequest creates a BluemixServiceInstancePutBadRequest with default headers values
func (*BluemixServiceInstancePutBadRequest) Error ¶
func (o *BluemixServiceInstancePutBadRequest) Error() string
type BluemixServiceInstancePutOK ¶
type BluemixServiceInstancePutOK struct {
Payload *models.ServiceInstance
}
BluemixServiceInstancePutOK handles this case with default header values.
OK
func NewBluemixServiceInstancePutOK ¶
func NewBluemixServiceInstancePutOK() *BluemixServiceInstancePutOK
NewBluemixServiceInstancePutOK creates a BluemixServiceInstancePutOK with default headers values
func (*BluemixServiceInstancePutOK) Error ¶
func (o *BluemixServiceInstancePutOK) Error() 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 values initialized.
func NewBluemixServiceInstancePutParamsWithContext ¶
func NewBluemixServiceInstancePutParamsWithContext(ctx context.Context) *BluemixServiceInstancePutParams
NewBluemixServiceInstancePutParamsWithContext creates a new BluemixServiceInstancePutParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for bluemix service instances API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new bluemix service instances API client.
func (*Client) BluemixServiceInstanceGet ¶
func (a *Client) BluemixServiceInstanceGet(params *BluemixServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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