Documentation ¶
Index ¶
- type Client
- func (a *Client) ServiceInstanceDeprovision(params *ServiceInstanceDeprovisionParams, ...) (*ServiceInstanceDeprovisionOK, *ServiceInstanceDeprovisionAccepted, error)
- func (a *Client) ServiceInstanceGet(params *ServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServiceInstanceGetOK, error)
- func (a *Client) ServiceInstanceLastOperationGet(params *ServiceInstanceLastOperationGetParams, ...) (*ServiceInstanceLastOperationGetOK, error)
- func (a *Client) ServiceInstanceProvision(params *ServiceInstanceProvisionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServiceInstanceProvisionOK, *ServiceInstanceProvisionCreated, ...)
- func (a *Client) ServiceInstanceUpdate(params *ServiceInstanceUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ServiceInstanceUpdateOK, *ServiceInstanceUpdateAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ServiceInstanceDeprovisionAccepted
- type ServiceInstanceDeprovisionBadRequest
- type ServiceInstanceDeprovisionGone
- type ServiceInstanceDeprovisionOK
- type ServiceInstanceDeprovisionParams
- func NewServiceInstanceDeprovisionParams() *ServiceInstanceDeprovisionParams
- func NewServiceInstanceDeprovisionParamsWithContext(ctx context.Context) *ServiceInstanceDeprovisionParams
- func NewServiceInstanceDeprovisionParamsWithHTTPClient(client *http.Client) *ServiceInstanceDeprovisionParams
- func NewServiceInstanceDeprovisionParamsWithTimeout(timeout time.Duration) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) SetAcceptsIncomplete(acceptsIncomplete *bool)
- func (o *ServiceInstanceDeprovisionParams) SetContext(ctx context.Context)
- func (o *ServiceInstanceDeprovisionParams) SetDefaults()
- func (o *ServiceInstanceDeprovisionParams) SetHTTPClient(client *http.Client)
- func (o *ServiceInstanceDeprovisionParams) SetInstanceID(instanceID string)
- func (o *ServiceInstanceDeprovisionParams) SetPlanID(planID string)
- func (o *ServiceInstanceDeprovisionParams) SetServiceID(serviceID string)
- func (o *ServiceInstanceDeprovisionParams) SetTimeout(timeout time.Duration)
- func (o *ServiceInstanceDeprovisionParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
- func (o *ServiceInstanceDeprovisionParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
- func (o *ServiceInstanceDeprovisionParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithContext(ctx context.Context) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithDefaults() *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithHTTPClient(client *http.Client) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithInstanceID(instanceID string) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithPlanID(planID string) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithServiceID(serviceID string) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithTimeout(timeout time.Duration) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceDeprovisionParams
- func (o *ServiceInstanceDeprovisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceInstanceDeprovisionReader
- type ServiceInstanceDeprovisionUnprocessableEntity
- type ServiceInstanceGetNotFound
- type ServiceInstanceGetOK
- type ServiceInstanceGetParams
- func NewServiceInstanceGetParams() *ServiceInstanceGetParams
- func NewServiceInstanceGetParamsWithContext(ctx context.Context) *ServiceInstanceGetParams
- func NewServiceInstanceGetParamsWithHTTPClient(client *http.Client) *ServiceInstanceGetParams
- func NewServiceInstanceGetParamsWithTimeout(timeout time.Duration) *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) SetContext(ctx context.Context)
- func (o *ServiceInstanceGetParams) SetDefaults()
- func (o *ServiceInstanceGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceInstanceGetParams) SetInstanceID(instanceID string)
- func (o *ServiceInstanceGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceInstanceGetParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
- func (o *ServiceInstanceGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
- func (o *ServiceInstanceGetParams) WithContext(ctx context.Context) *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) WithDefaults() *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) WithHTTPClient(client *http.Client) *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) WithInstanceID(instanceID string) *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) WithTimeout(timeout time.Duration) *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceGetParams
- func (o *ServiceInstanceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceInstanceGetReader
- type ServiceInstanceLastOperationGetBadRequest
- type ServiceInstanceLastOperationGetGone
- type ServiceInstanceLastOperationGetOK
- type ServiceInstanceLastOperationGetParams
- func NewServiceInstanceLastOperationGetParams() *ServiceInstanceLastOperationGetParams
- func NewServiceInstanceLastOperationGetParamsWithContext(ctx context.Context) *ServiceInstanceLastOperationGetParams
- func NewServiceInstanceLastOperationGetParamsWithHTTPClient(client *http.Client) *ServiceInstanceLastOperationGetParams
- func NewServiceInstanceLastOperationGetParamsWithTimeout(timeout time.Duration) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) SetContext(ctx context.Context)
- func (o *ServiceInstanceLastOperationGetParams) SetDefaults()
- func (o *ServiceInstanceLastOperationGetParams) SetHTTPClient(client *http.Client)
- func (o *ServiceInstanceLastOperationGetParams) SetInstanceID(instanceID string)
- func (o *ServiceInstanceLastOperationGetParams) SetOperation(operation *string)
- func (o *ServiceInstanceLastOperationGetParams) SetPlanID(planID *string)
- func (o *ServiceInstanceLastOperationGetParams) SetServiceID(serviceID *string)
- func (o *ServiceInstanceLastOperationGetParams) SetTimeout(timeout time.Duration)
- func (o *ServiceInstanceLastOperationGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
- func (o *ServiceInstanceLastOperationGetParams) WithContext(ctx context.Context) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithDefaults() *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithHTTPClient(client *http.Client) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithInstanceID(instanceID string) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithOperation(operation *string) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithPlanID(planID *string) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithServiceID(serviceID *string) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithTimeout(timeout time.Duration) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceLastOperationGetParams
- func (o *ServiceInstanceLastOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceInstanceLastOperationGetReader
- type ServiceInstanceProvisionAccepted
- type ServiceInstanceProvisionBadRequest
- type ServiceInstanceProvisionConflict
- type ServiceInstanceProvisionCreated
- type ServiceInstanceProvisionOK
- type ServiceInstanceProvisionParams
- func NewServiceInstanceProvisionParams() *ServiceInstanceProvisionParams
- func NewServiceInstanceProvisionParamsWithContext(ctx context.Context) *ServiceInstanceProvisionParams
- func NewServiceInstanceProvisionParamsWithHTTPClient(client *http.Client) *ServiceInstanceProvisionParams
- func NewServiceInstanceProvisionParamsWithTimeout(timeout time.Duration) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) SetAcceptsIncomplete(acceptsIncomplete *bool)
- func (o *ServiceInstanceProvisionParams) SetBody(body *models.ServiceInstanceProvisionRequest)
- func (o *ServiceInstanceProvisionParams) SetContext(ctx context.Context)
- func (o *ServiceInstanceProvisionParams) SetDefaults()
- func (o *ServiceInstanceProvisionParams) SetHTTPClient(client *http.Client)
- func (o *ServiceInstanceProvisionParams) SetInstanceID(instanceID string)
- func (o *ServiceInstanceProvisionParams) SetTimeout(timeout time.Duration)
- func (o *ServiceInstanceProvisionParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
- func (o *ServiceInstanceProvisionParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
- func (o *ServiceInstanceProvisionParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithBody(body *models.ServiceInstanceProvisionRequest) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithContext(ctx context.Context) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithDefaults() *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithHTTPClient(client *http.Client) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithInstanceID(instanceID string) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithTimeout(timeout time.Duration) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceProvisionParams
- func (o *ServiceInstanceProvisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceInstanceProvisionReader
- type ServiceInstanceProvisionUnprocessableEntity
- type ServiceInstanceUpdateAccepted
- type ServiceInstanceUpdateBadRequest
- type ServiceInstanceUpdateOK
- type ServiceInstanceUpdateParams
- func NewServiceInstanceUpdateParams() *ServiceInstanceUpdateParams
- func NewServiceInstanceUpdateParamsWithContext(ctx context.Context) *ServiceInstanceUpdateParams
- func NewServiceInstanceUpdateParamsWithHTTPClient(client *http.Client) *ServiceInstanceUpdateParams
- func NewServiceInstanceUpdateParamsWithTimeout(timeout time.Duration) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) SetAcceptsIncomplete(acceptsIncomplete *bool)
- func (o *ServiceInstanceUpdateParams) SetBody(body *models.ServiceInstanceUpdateRequest)
- func (o *ServiceInstanceUpdateParams) SetContext(ctx context.Context)
- func (o *ServiceInstanceUpdateParams) SetDefaults()
- func (o *ServiceInstanceUpdateParams) SetHTTPClient(client *http.Client)
- func (o *ServiceInstanceUpdateParams) SetInstanceID(instanceID string)
- func (o *ServiceInstanceUpdateParams) SetTimeout(timeout time.Duration)
- func (o *ServiceInstanceUpdateParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
- func (o *ServiceInstanceUpdateParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
- func (o *ServiceInstanceUpdateParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithBody(body *models.ServiceInstanceUpdateRequest) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithContext(ctx context.Context) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithDefaults() *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithHTTPClient(client *http.Client) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithInstanceID(instanceID string) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithTimeout(timeout time.Duration) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceUpdateParams
- func (o *ServiceInstanceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServiceInstanceUpdateReader
- type ServiceInstanceUpdateUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for service instances API
func (*Client) ServiceInstanceDeprovision ¶
func (a *Client) ServiceInstanceDeprovision(params *ServiceInstanceDeprovisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceDeprovisionOK, *ServiceInstanceDeprovisionAccepted, error)
ServiceInstanceDeprovision deprovisions a service instance
func (*Client) ServiceInstanceGet ¶
func (a *Client) ServiceInstanceGet(params *ServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceGetOK, error)
ServiceInstanceGet gets a service instance
func (*Client) ServiceInstanceLastOperationGet ¶
func (a *Client) ServiceInstanceLastOperationGet(params *ServiceInstanceLastOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceLastOperationGetOK, error)
ServiceInstanceLastOperationGet lasts requested operation state for service instance
func (*Client) ServiceInstanceProvision ¶
func (a *Client) ServiceInstanceProvision(params *ServiceInstanceProvisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceProvisionOK, *ServiceInstanceProvisionCreated, *ServiceInstanceProvisionAccepted, error)
ServiceInstanceProvision provisions a service instance
func (*Client) ServiceInstanceUpdate ¶
func (a *Client) ServiceInstanceUpdate(params *ServiceInstanceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceUpdateOK, *ServiceInstanceUpdateAccepted, error)
ServiceInstanceUpdate updates a 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 is the option for Client methods
type ClientService ¶ added in v1.1.0
type ClientService interface { ServiceInstanceDeprovision(params *ServiceInstanceDeprovisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceDeprovisionOK, *ServiceInstanceDeprovisionAccepted, error) ServiceInstanceGet(params *ServiceInstanceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceGetOK, error) ServiceInstanceLastOperationGet(params *ServiceInstanceLastOperationGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceLastOperationGetOK, error) ServiceInstanceProvision(params *ServiceInstanceProvisionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceProvisionOK, *ServiceInstanceProvisionCreated, *ServiceInstanceProvisionAccepted, error) ServiceInstanceUpdate(params *ServiceInstanceUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServiceInstanceUpdateOK, *ServiceInstanceUpdateAccepted, 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 service instances API client.
type ServiceInstanceDeprovisionAccepted ¶
type ServiceInstanceDeprovisionAccepted struct {
Payload *models.AsyncOperation
}
ServiceInstanceDeprovisionAccepted describes a response with status code 202, with default header values.
Accepted
func NewServiceInstanceDeprovisionAccepted ¶
func NewServiceInstanceDeprovisionAccepted() *ServiceInstanceDeprovisionAccepted
NewServiceInstanceDeprovisionAccepted creates a ServiceInstanceDeprovisionAccepted with default headers values
func (*ServiceInstanceDeprovisionAccepted) Error ¶
func (o *ServiceInstanceDeprovisionAccepted) Error() string
func (*ServiceInstanceDeprovisionAccepted) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceDeprovisionAccepted) GetPayload() *models.AsyncOperation
type ServiceInstanceDeprovisionBadRequest ¶
ServiceInstanceDeprovisionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewServiceInstanceDeprovisionBadRequest ¶
func NewServiceInstanceDeprovisionBadRequest() *ServiceInstanceDeprovisionBadRequest
NewServiceInstanceDeprovisionBadRequest creates a ServiceInstanceDeprovisionBadRequest with default headers values
func (*ServiceInstanceDeprovisionBadRequest) Error ¶
func (o *ServiceInstanceDeprovisionBadRequest) Error() string
func (*ServiceInstanceDeprovisionBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceDeprovisionBadRequest) GetPayload() *models.Error
type ServiceInstanceDeprovisionGone ¶
ServiceInstanceDeprovisionGone describes a response with status code 410, with default header values.
Gone
func NewServiceInstanceDeprovisionGone ¶
func NewServiceInstanceDeprovisionGone() *ServiceInstanceDeprovisionGone
NewServiceInstanceDeprovisionGone creates a ServiceInstanceDeprovisionGone with default headers values
func (*ServiceInstanceDeprovisionGone) Error ¶
func (o *ServiceInstanceDeprovisionGone) Error() string
func (*ServiceInstanceDeprovisionGone) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceDeprovisionGone) GetPayload() *models.Error
type ServiceInstanceDeprovisionOK ¶
ServiceInstanceDeprovisionOK describes a response with status code 200, with default header values.
OK
func NewServiceInstanceDeprovisionOK ¶
func NewServiceInstanceDeprovisionOK() *ServiceInstanceDeprovisionOK
NewServiceInstanceDeprovisionOK creates a ServiceInstanceDeprovisionOK with default headers values
func (*ServiceInstanceDeprovisionOK) Error ¶
func (o *ServiceInstanceDeprovisionOK) Error() string
func (*ServiceInstanceDeprovisionOK) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceDeprovisionOK) GetPayload() models.Object
type ServiceInstanceDeprovisionParams ¶
type ServiceInstanceDeprovisionParams struct { /* XBrokerAPIOriginatingIdentity. identity of the user that initiated the request from the Platform */ XBrokerAPIOriginatingIdentity *string /* XBrokerAPIVersion. version number of the Service Broker API that the Platform will use */ XBrokerAPIVersion string /* AcceptsIncomplete. asynchronous operations supported */ AcceptsIncomplete *bool /* InstanceID. instance id of instance to provision */ InstanceID string /* PlanID. id of the plan associated with the instance being deleted */ PlanID string /* ServiceID. id of the service associated with the instance being deleted */ ServiceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceInstanceDeprovisionParams contains all the parameters to send to the API endpoint
for the service instance deprovision operation. Typically these are written to a http.Request.
func NewServiceInstanceDeprovisionParams ¶
func NewServiceInstanceDeprovisionParams() *ServiceInstanceDeprovisionParams
NewServiceInstanceDeprovisionParams creates a new ServiceInstanceDeprovisionParams 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 NewServiceInstanceDeprovisionParamsWithContext ¶
func NewServiceInstanceDeprovisionParamsWithContext(ctx context.Context) *ServiceInstanceDeprovisionParams
NewServiceInstanceDeprovisionParamsWithContext creates a new ServiceInstanceDeprovisionParams object with the ability to set a context for a request.
func NewServiceInstanceDeprovisionParamsWithHTTPClient ¶
func NewServiceInstanceDeprovisionParamsWithHTTPClient(client *http.Client) *ServiceInstanceDeprovisionParams
NewServiceInstanceDeprovisionParamsWithHTTPClient creates a new ServiceInstanceDeprovisionParams object with the ability to set a custom HTTPClient for a request.
func NewServiceInstanceDeprovisionParamsWithTimeout ¶
func NewServiceInstanceDeprovisionParamsWithTimeout(timeout time.Duration) *ServiceInstanceDeprovisionParams
NewServiceInstanceDeprovisionParamsWithTimeout creates a new ServiceInstanceDeprovisionParams object with the ability to set a timeout on a request.
func (*ServiceInstanceDeprovisionParams) SetAcceptsIncomplete ¶
func (o *ServiceInstanceDeprovisionParams) SetAcceptsIncomplete(acceptsIncomplete *bool)
SetAcceptsIncomplete adds the acceptsIncomplete to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetContext ¶
func (o *ServiceInstanceDeprovisionParams) SetContext(ctx context.Context)
SetContext adds the context to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceInstanceDeprovisionParams) SetDefaults()
SetDefaults hydrates default values in the service instance deprovision params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceDeprovisionParams) SetHTTPClient ¶
func (o *ServiceInstanceDeprovisionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetInstanceID ¶
func (o *ServiceInstanceDeprovisionParams) SetInstanceID(instanceID string)
SetInstanceID adds the instanceId to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetPlanID ¶
func (o *ServiceInstanceDeprovisionParams) SetPlanID(planID string)
SetPlanID adds the planId to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetServiceID ¶
func (o *ServiceInstanceDeprovisionParams) SetServiceID(serviceID string)
SetServiceID adds the serviceId to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetTimeout ¶
func (o *ServiceInstanceDeprovisionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceDeprovisionParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) SetXBrokerAPIVersion ¶
func (o *ServiceInstanceDeprovisionParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithAcceptsIncomplete ¶
func (o *ServiceInstanceDeprovisionParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceInstanceDeprovisionParams
WithAcceptsIncomplete adds the acceptsIncomplete to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithContext ¶
func (o *ServiceInstanceDeprovisionParams) WithContext(ctx context.Context) *ServiceInstanceDeprovisionParams
WithContext adds the context to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceInstanceDeprovisionParams) WithDefaults() *ServiceInstanceDeprovisionParams
WithDefaults hydrates default values in the service instance deprovision params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceDeprovisionParams) WithHTTPClient ¶
func (o *ServiceInstanceDeprovisionParams) WithHTTPClient(client *http.Client) *ServiceInstanceDeprovisionParams
WithHTTPClient adds the HTTPClient to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithInstanceID ¶
func (o *ServiceInstanceDeprovisionParams) WithInstanceID(instanceID string) *ServiceInstanceDeprovisionParams
WithInstanceID adds the instanceID to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithPlanID ¶
func (o *ServiceInstanceDeprovisionParams) WithPlanID(planID string) *ServiceInstanceDeprovisionParams
WithPlanID adds the planID to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithServiceID ¶
func (o *ServiceInstanceDeprovisionParams) WithServiceID(serviceID string) *ServiceInstanceDeprovisionParams
WithServiceID adds the serviceID to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithTimeout ¶
func (o *ServiceInstanceDeprovisionParams) WithTimeout(timeout time.Duration) *ServiceInstanceDeprovisionParams
WithTimeout adds the timeout to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceDeprovisionParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceDeprovisionParams
WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WithXBrokerAPIVersion ¶
func (o *ServiceInstanceDeprovisionParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceDeprovisionParams
WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance deprovision params
func (*ServiceInstanceDeprovisionParams) WriteToRequest ¶
func (o *ServiceInstanceDeprovisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceInstanceDeprovisionReader ¶
type ServiceInstanceDeprovisionReader struct {
// contains filtered or unexported fields
}
ServiceInstanceDeprovisionReader is a Reader for the ServiceInstanceDeprovision structure.
func (*ServiceInstanceDeprovisionReader) ReadResponse ¶
func (o *ServiceInstanceDeprovisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceInstanceDeprovisionUnprocessableEntity ¶
ServiceInstanceDeprovisionUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewServiceInstanceDeprovisionUnprocessableEntity ¶
func NewServiceInstanceDeprovisionUnprocessableEntity() *ServiceInstanceDeprovisionUnprocessableEntity
NewServiceInstanceDeprovisionUnprocessableEntity creates a ServiceInstanceDeprovisionUnprocessableEntity with default headers values
func (*ServiceInstanceDeprovisionUnprocessableEntity) Error ¶
func (o *ServiceInstanceDeprovisionUnprocessableEntity) Error() string
func (*ServiceInstanceDeprovisionUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceDeprovisionUnprocessableEntity) GetPayload() *models.Error
type ServiceInstanceGetNotFound ¶
ServiceInstanceGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewServiceInstanceGetNotFound ¶
func NewServiceInstanceGetNotFound() *ServiceInstanceGetNotFound
NewServiceInstanceGetNotFound creates a ServiceInstanceGetNotFound with default headers values
func (*ServiceInstanceGetNotFound) Error ¶
func (o *ServiceInstanceGetNotFound) Error() string
func (*ServiceInstanceGetNotFound) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceGetNotFound) GetPayload() *models.Error
type ServiceInstanceGetOK ¶
type ServiceInstanceGetOK struct {
Payload *models.ServiceInstanceResource
}
ServiceInstanceGetOK describes a response with status code 200, with default header values.
OK
func NewServiceInstanceGetOK ¶
func NewServiceInstanceGetOK() *ServiceInstanceGetOK
NewServiceInstanceGetOK creates a ServiceInstanceGetOK with default headers values
func (*ServiceInstanceGetOK) Error ¶
func (o *ServiceInstanceGetOK) Error() string
func (*ServiceInstanceGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceGetOK) GetPayload() *models.ServiceInstanceResource
type ServiceInstanceGetParams ¶
type ServiceInstanceGetParams struct { /* XBrokerAPIOriginatingIdentity. identity of the user that initiated the request from the Platform */ XBrokerAPIOriginatingIdentity *string /* XBrokerAPIVersion. version number of the Service Broker API that the Platform will use */ XBrokerAPIVersion string /* InstanceID. instance id of instance to provision */ InstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceInstanceGetParams contains all the parameters to send to the API endpoint
for the service instance get operation. Typically these are written to a http.Request.
func NewServiceInstanceGetParams ¶
func NewServiceInstanceGetParams() *ServiceInstanceGetParams
NewServiceInstanceGetParams creates a new ServiceInstanceGetParams 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 NewServiceInstanceGetParamsWithContext ¶
func NewServiceInstanceGetParamsWithContext(ctx context.Context) *ServiceInstanceGetParams
NewServiceInstanceGetParamsWithContext creates a new ServiceInstanceGetParams object with the ability to set a context for a request.
func NewServiceInstanceGetParamsWithHTTPClient ¶
func NewServiceInstanceGetParamsWithHTTPClient(client *http.Client) *ServiceInstanceGetParams
NewServiceInstanceGetParamsWithHTTPClient creates a new ServiceInstanceGetParams object with the ability to set a custom HTTPClient for a request.
func NewServiceInstanceGetParamsWithTimeout ¶
func NewServiceInstanceGetParamsWithTimeout(timeout time.Duration) *ServiceInstanceGetParams
NewServiceInstanceGetParamsWithTimeout creates a new ServiceInstanceGetParams object with the ability to set a timeout on a request.
func (*ServiceInstanceGetParams) SetContext ¶
func (o *ServiceInstanceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the service instance get params
func (*ServiceInstanceGetParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceInstanceGetParams) SetDefaults()
SetDefaults hydrates default values in the service instance get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceGetParams) SetHTTPClient ¶
func (o *ServiceInstanceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service instance get params
func (*ServiceInstanceGetParams) SetInstanceID ¶
func (o *ServiceInstanceGetParams) SetInstanceID(instanceID string)
SetInstanceID adds the instanceId to the service instance get params
func (*ServiceInstanceGetParams) SetTimeout ¶
func (o *ServiceInstanceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service instance get params
func (*ServiceInstanceGetParams) SetXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceGetParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance get params
func (*ServiceInstanceGetParams) SetXBrokerAPIVersion ¶
func (o *ServiceInstanceGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance get params
func (*ServiceInstanceGetParams) WithContext ¶
func (o *ServiceInstanceGetParams) WithContext(ctx context.Context) *ServiceInstanceGetParams
WithContext adds the context to the service instance get params
func (*ServiceInstanceGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceInstanceGetParams) WithDefaults() *ServiceInstanceGetParams
WithDefaults hydrates default values in the service instance get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceGetParams) WithHTTPClient ¶
func (o *ServiceInstanceGetParams) WithHTTPClient(client *http.Client) *ServiceInstanceGetParams
WithHTTPClient adds the HTTPClient to the service instance get params
func (*ServiceInstanceGetParams) WithInstanceID ¶
func (o *ServiceInstanceGetParams) WithInstanceID(instanceID string) *ServiceInstanceGetParams
WithInstanceID adds the instanceID to the service instance get params
func (*ServiceInstanceGetParams) WithTimeout ¶
func (o *ServiceInstanceGetParams) WithTimeout(timeout time.Duration) *ServiceInstanceGetParams
WithTimeout adds the timeout to the service instance get params
func (*ServiceInstanceGetParams) WithXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceGetParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceGetParams
WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance get params
func (*ServiceInstanceGetParams) WithXBrokerAPIVersion ¶
func (o *ServiceInstanceGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceGetParams
WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance get params
func (*ServiceInstanceGetParams) WriteToRequest ¶
func (o *ServiceInstanceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceInstanceGetReader ¶
type ServiceInstanceGetReader struct {
// contains filtered or unexported fields
}
ServiceInstanceGetReader is a Reader for the ServiceInstanceGet structure.
func (*ServiceInstanceGetReader) ReadResponse ¶
func (o *ServiceInstanceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceInstanceLastOperationGetBadRequest ¶
ServiceInstanceLastOperationGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewServiceInstanceLastOperationGetBadRequest ¶
func NewServiceInstanceLastOperationGetBadRequest() *ServiceInstanceLastOperationGetBadRequest
NewServiceInstanceLastOperationGetBadRequest creates a ServiceInstanceLastOperationGetBadRequest with default headers values
func (*ServiceInstanceLastOperationGetBadRequest) Error ¶
func (o *ServiceInstanceLastOperationGetBadRequest) Error() string
func (*ServiceInstanceLastOperationGetBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceLastOperationGetBadRequest) GetPayload() *models.Error
type ServiceInstanceLastOperationGetGone ¶
ServiceInstanceLastOperationGetGone describes a response with status code 410, with default header values.
Gone
func NewServiceInstanceLastOperationGetGone ¶
func NewServiceInstanceLastOperationGetGone() *ServiceInstanceLastOperationGetGone
NewServiceInstanceLastOperationGetGone creates a ServiceInstanceLastOperationGetGone with default headers values
func (*ServiceInstanceLastOperationGetGone) Error ¶
func (o *ServiceInstanceLastOperationGetGone) Error() string
func (*ServiceInstanceLastOperationGetGone) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceLastOperationGetGone) GetPayload() *models.Error
type ServiceInstanceLastOperationGetOK ¶
type ServiceInstanceLastOperationGetOK struct {
Payload *models.LastOperationResource
}
ServiceInstanceLastOperationGetOK describes a response with status code 200, with default header values.
OK
func NewServiceInstanceLastOperationGetOK ¶
func NewServiceInstanceLastOperationGetOK() *ServiceInstanceLastOperationGetOK
NewServiceInstanceLastOperationGetOK creates a ServiceInstanceLastOperationGetOK with default headers values
func (*ServiceInstanceLastOperationGetOK) Error ¶
func (o *ServiceInstanceLastOperationGetOK) Error() string
func (*ServiceInstanceLastOperationGetOK) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceLastOperationGetOK) GetPayload() *models.LastOperationResource
type ServiceInstanceLastOperationGetParams ¶
type ServiceInstanceLastOperationGetParams struct { /* XBrokerAPIVersion. version number of the Service Broker API that the Platform will use */ XBrokerAPIVersion string /* InstanceID. instance id of instance to provision */ InstanceID string /* Operation. a provided identifier for the operation */ Operation *string /* PlanID. id of the plan associated with the instance */ PlanID *string /* ServiceID. id of the service associated with the instance */ ServiceID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceInstanceLastOperationGetParams contains all the parameters to send to the API endpoint
for the service instance last operation get operation. Typically these are written to a http.Request.
func NewServiceInstanceLastOperationGetParams ¶
func NewServiceInstanceLastOperationGetParams() *ServiceInstanceLastOperationGetParams
NewServiceInstanceLastOperationGetParams creates a new ServiceInstanceLastOperationGetParams 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 NewServiceInstanceLastOperationGetParamsWithContext ¶
func NewServiceInstanceLastOperationGetParamsWithContext(ctx context.Context) *ServiceInstanceLastOperationGetParams
NewServiceInstanceLastOperationGetParamsWithContext creates a new ServiceInstanceLastOperationGetParams object with the ability to set a context for a request.
func NewServiceInstanceLastOperationGetParamsWithHTTPClient ¶
func NewServiceInstanceLastOperationGetParamsWithHTTPClient(client *http.Client) *ServiceInstanceLastOperationGetParams
NewServiceInstanceLastOperationGetParamsWithHTTPClient creates a new ServiceInstanceLastOperationGetParams object with the ability to set a custom HTTPClient for a request.
func NewServiceInstanceLastOperationGetParamsWithTimeout ¶
func NewServiceInstanceLastOperationGetParamsWithTimeout(timeout time.Duration) *ServiceInstanceLastOperationGetParams
NewServiceInstanceLastOperationGetParamsWithTimeout creates a new ServiceInstanceLastOperationGetParams object with the ability to set a timeout on a request.
func (*ServiceInstanceLastOperationGetParams) SetContext ¶
func (o *ServiceInstanceLastOperationGetParams) SetContext(ctx context.Context)
SetContext adds the context to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceInstanceLastOperationGetParams) SetDefaults()
SetDefaults hydrates default values in the service instance last operation get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceLastOperationGetParams) SetHTTPClient ¶
func (o *ServiceInstanceLastOperationGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) SetInstanceID ¶
func (o *ServiceInstanceLastOperationGetParams) SetInstanceID(instanceID string)
SetInstanceID adds the instanceId to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) SetOperation ¶
func (o *ServiceInstanceLastOperationGetParams) SetOperation(operation *string)
SetOperation adds the operation to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) SetPlanID ¶
func (o *ServiceInstanceLastOperationGetParams) SetPlanID(planID *string)
SetPlanID adds the planId to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) SetServiceID ¶
func (o *ServiceInstanceLastOperationGetParams) SetServiceID(serviceID *string)
SetServiceID adds the serviceId to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) SetTimeout ¶
func (o *ServiceInstanceLastOperationGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) SetXBrokerAPIVersion ¶
func (o *ServiceInstanceLastOperationGetParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithContext ¶
func (o *ServiceInstanceLastOperationGetParams) WithContext(ctx context.Context) *ServiceInstanceLastOperationGetParams
WithContext adds the context to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceInstanceLastOperationGetParams) WithDefaults() *ServiceInstanceLastOperationGetParams
WithDefaults hydrates default values in the service instance last operation get params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceLastOperationGetParams) WithHTTPClient ¶
func (o *ServiceInstanceLastOperationGetParams) WithHTTPClient(client *http.Client) *ServiceInstanceLastOperationGetParams
WithHTTPClient adds the HTTPClient to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithInstanceID ¶
func (o *ServiceInstanceLastOperationGetParams) WithInstanceID(instanceID string) *ServiceInstanceLastOperationGetParams
WithInstanceID adds the instanceID to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithOperation ¶
func (o *ServiceInstanceLastOperationGetParams) WithOperation(operation *string) *ServiceInstanceLastOperationGetParams
WithOperation adds the operation to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithPlanID ¶
func (o *ServiceInstanceLastOperationGetParams) WithPlanID(planID *string) *ServiceInstanceLastOperationGetParams
WithPlanID adds the planID to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithServiceID ¶
func (o *ServiceInstanceLastOperationGetParams) WithServiceID(serviceID *string) *ServiceInstanceLastOperationGetParams
WithServiceID adds the serviceID to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithTimeout ¶
func (o *ServiceInstanceLastOperationGetParams) WithTimeout(timeout time.Duration) *ServiceInstanceLastOperationGetParams
WithTimeout adds the timeout to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WithXBrokerAPIVersion ¶
func (o *ServiceInstanceLastOperationGetParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceLastOperationGetParams
WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance last operation get params
func (*ServiceInstanceLastOperationGetParams) WriteToRequest ¶
func (o *ServiceInstanceLastOperationGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceInstanceLastOperationGetReader ¶
type ServiceInstanceLastOperationGetReader struct {
// contains filtered or unexported fields
}
ServiceInstanceLastOperationGetReader is a Reader for the ServiceInstanceLastOperationGet structure.
func (*ServiceInstanceLastOperationGetReader) ReadResponse ¶
func (o *ServiceInstanceLastOperationGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceInstanceProvisionAccepted ¶
type ServiceInstanceProvisionAccepted struct {
Payload *models.ServiceInstanceAsyncOperation
}
ServiceInstanceProvisionAccepted describes a response with status code 202, with default header values.
Accepted
func NewServiceInstanceProvisionAccepted ¶
func NewServiceInstanceProvisionAccepted() *ServiceInstanceProvisionAccepted
NewServiceInstanceProvisionAccepted creates a ServiceInstanceProvisionAccepted with default headers values
func (*ServiceInstanceProvisionAccepted) Error ¶
func (o *ServiceInstanceProvisionAccepted) Error() string
func (*ServiceInstanceProvisionAccepted) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceProvisionAccepted) GetPayload() *models.ServiceInstanceAsyncOperation
type ServiceInstanceProvisionBadRequest ¶
ServiceInstanceProvisionBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewServiceInstanceProvisionBadRequest ¶
func NewServiceInstanceProvisionBadRequest() *ServiceInstanceProvisionBadRequest
NewServiceInstanceProvisionBadRequest creates a ServiceInstanceProvisionBadRequest with default headers values
func (*ServiceInstanceProvisionBadRequest) Error ¶
func (o *ServiceInstanceProvisionBadRequest) Error() string
func (*ServiceInstanceProvisionBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceProvisionBadRequest) GetPayload() *models.Error
type ServiceInstanceProvisionConflict ¶
ServiceInstanceProvisionConflict describes a response with status code 409, with default header values.
Conflict
func NewServiceInstanceProvisionConflict ¶
func NewServiceInstanceProvisionConflict() *ServiceInstanceProvisionConflict
NewServiceInstanceProvisionConflict creates a ServiceInstanceProvisionConflict with default headers values
func (*ServiceInstanceProvisionConflict) Error ¶
func (o *ServiceInstanceProvisionConflict) Error() string
func (*ServiceInstanceProvisionConflict) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceProvisionConflict) GetPayload() *models.Error
type ServiceInstanceProvisionCreated ¶
type ServiceInstanceProvisionCreated struct {
Payload *models.ServiceInstanceProvision
}
ServiceInstanceProvisionCreated describes a response with status code 201, with default header values.
Created
func NewServiceInstanceProvisionCreated ¶
func NewServiceInstanceProvisionCreated() *ServiceInstanceProvisionCreated
NewServiceInstanceProvisionCreated creates a ServiceInstanceProvisionCreated with default headers values
func (*ServiceInstanceProvisionCreated) Error ¶
func (o *ServiceInstanceProvisionCreated) Error() string
func (*ServiceInstanceProvisionCreated) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceProvisionCreated) GetPayload() *models.ServiceInstanceProvision
type ServiceInstanceProvisionOK ¶
type ServiceInstanceProvisionOK struct {
Payload *models.ServiceInstanceProvision
}
ServiceInstanceProvisionOK describes a response with status code 200, with default header values.
OK
func NewServiceInstanceProvisionOK ¶
func NewServiceInstanceProvisionOK() *ServiceInstanceProvisionOK
NewServiceInstanceProvisionOK creates a ServiceInstanceProvisionOK with default headers values
func (*ServiceInstanceProvisionOK) Error ¶
func (o *ServiceInstanceProvisionOK) Error() string
func (*ServiceInstanceProvisionOK) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceProvisionOK) GetPayload() *models.ServiceInstanceProvision
type ServiceInstanceProvisionParams ¶
type ServiceInstanceProvisionParams struct { /* XBrokerAPIOriginatingIdentity. identity of the user that initiated the request from the Platform */ XBrokerAPIOriginatingIdentity *string /* XBrokerAPIVersion. version number of the Service Broker API that the Platform will use */ XBrokerAPIVersion string /* AcceptsIncomplete. asynchronous operations supported */ AcceptsIncomplete *bool /* Body. parameters for the requested service instance provision */ Body *models.ServiceInstanceProvisionRequest /* InstanceID. instance id of instance to provision */ InstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceInstanceProvisionParams contains all the parameters to send to the API endpoint
for the service instance provision operation. Typically these are written to a http.Request.
func NewServiceInstanceProvisionParams ¶
func NewServiceInstanceProvisionParams() *ServiceInstanceProvisionParams
NewServiceInstanceProvisionParams creates a new ServiceInstanceProvisionParams 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 NewServiceInstanceProvisionParamsWithContext ¶
func NewServiceInstanceProvisionParamsWithContext(ctx context.Context) *ServiceInstanceProvisionParams
NewServiceInstanceProvisionParamsWithContext creates a new ServiceInstanceProvisionParams object with the ability to set a context for a request.
func NewServiceInstanceProvisionParamsWithHTTPClient ¶
func NewServiceInstanceProvisionParamsWithHTTPClient(client *http.Client) *ServiceInstanceProvisionParams
NewServiceInstanceProvisionParamsWithHTTPClient creates a new ServiceInstanceProvisionParams object with the ability to set a custom HTTPClient for a request.
func NewServiceInstanceProvisionParamsWithTimeout ¶
func NewServiceInstanceProvisionParamsWithTimeout(timeout time.Duration) *ServiceInstanceProvisionParams
NewServiceInstanceProvisionParamsWithTimeout creates a new ServiceInstanceProvisionParams object with the ability to set a timeout on a request.
func (*ServiceInstanceProvisionParams) SetAcceptsIncomplete ¶
func (o *ServiceInstanceProvisionParams) SetAcceptsIncomplete(acceptsIncomplete *bool)
SetAcceptsIncomplete adds the acceptsIncomplete to the service instance provision params
func (*ServiceInstanceProvisionParams) SetBody ¶
func (o *ServiceInstanceProvisionParams) SetBody(body *models.ServiceInstanceProvisionRequest)
SetBody adds the body to the service instance provision params
func (*ServiceInstanceProvisionParams) SetContext ¶
func (o *ServiceInstanceProvisionParams) SetContext(ctx context.Context)
SetContext adds the context to the service instance provision params
func (*ServiceInstanceProvisionParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceInstanceProvisionParams) SetDefaults()
SetDefaults hydrates default values in the service instance provision params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceProvisionParams) SetHTTPClient ¶
func (o *ServiceInstanceProvisionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service instance provision params
func (*ServiceInstanceProvisionParams) SetInstanceID ¶
func (o *ServiceInstanceProvisionParams) SetInstanceID(instanceID string)
SetInstanceID adds the instanceId to the service instance provision params
func (*ServiceInstanceProvisionParams) SetTimeout ¶
func (o *ServiceInstanceProvisionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service instance provision params
func (*ServiceInstanceProvisionParams) SetXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceProvisionParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance provision params
func (*ServiceInstanceProvisionParams) SetXBrokerAPIVersion ¶
func (o *ServiceInstanceProvisionParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance provision params
func (*ServiceInstanceProvisionParams) WithAcceptsIncomplete ¶
func (o *ServiceInstanceProvisionParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceInstanceProvisionParams
WithAcceptsIncomplete adds the acceptsIncomplete to the service instance provision params
func (*ServiceInstanceProvisionParams) WithBody ¶
func (o *ServiceInstanceProvisionParams) WithBody(body *models.ServiceInstanceProvisionRequest) *ServiceInstanceProvisionParams
WithBody adds the body to the service instance provision params
func (*ServiceInstanceProvisionParams) WithContext ¶
func (o *ServiceInstanceProvisionParams) WithContext(ctx context.Context) *ServiceInstanceProvisionParams
WithContext adds the context to the service instance provision params
func (*ServiceInstanceProvisionParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceInstanceProvisionParams) WithDefaults() *ServiceInstanceProvisionParams
WithDefaults hydrates default values in the service instance provision params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceProvisionParams) WithHTTPClient ¶
func (o *ServiceInstanceProvisionParams) WithHTTPClient(client *http.Client) *ServiceInstanceProvisionParams
WithHTTPClient adds the HTTPClient to the service instance provision params
func (*ServiceInstanceProvisionParams) WithInstanceID ¶
func (o *ServiceInstanceProvisionParams) WithInstanceID(instanceID string) *ServiceInstanceProvisionParams
WithInstanceID adds the instanceID to the service instance provision params
func (*ServiceInstanceProvisionParams) WithTimeout ¶
func (o *ServiceInstanceProvisionParams) WithTimeout(timeout time.Duration) *ServiceInstanceProvisionParams
WithTimeout adds the timeout to the service instance provision params
func (*ServiceInstanceProvisionParams) WithXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceProvisionParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceProvisionParams
WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance provision params
func (*ServiceInstanceProvisionParams) WithXBrokerAPIVersion ¶
func (o *ServiceInstanceProvisionParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceProvisionParams
WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance provision params
func (*ServiceInstanceProvisionParams) WriteToRequest ¶
func (o *ServiceInstanceProvisionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceInstanceProvisionReader ¶
type ServiceInstanceProvisionReader struct {
// contains filtered or unexported fields
}
ServiceInstanceProvisionReader is a Reader for the ServiceInstanceProvision structure.
func (*ServiceInstanceProvisionReader) ReadResponse ¶
func (o *ServiceInstanceProvisionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceInstanceProvisionUnprocessableEntity ¶
ServiceInstanceProvisionUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Entity
func NewServiceInstanceProvisionUnprocessableEntity ¶
func NewServiceInstanceProvisionUnprocessableEntity() *ServiceInstanceProvisionUnprocessableEntity
NewServiceInstanceProvisionUnprocessableEntity creates a ServiceInstanceProvisionUnprocessableEntity with default headers values
func (*ServiceInstanceProvisionUnprocessableEntity) Error ¶
func (o *ServiceInstanceProvisionUnprocessableEntity) Error() string
func (*ServiceInstanceProvisionUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceProvisionUnprocessableEntity) GetPayload() *models.Error
type ServiceInstanceUpdateAccepted ¶
type ServiceInstanceUpdateAccepted struct {
Payload *models.ServiceInstanceAsyncOperation
}
ServiceInstanceUpdateAccepted describes a response with status code 202, with default header values.
Accepted
func NewServiceInstanceUpdateAccepted ¶
func NewServiceInstanceUpdateAccepted() *ServiceInstanceUpdateAccepted
NewServiceInstanceUpdateAccepted creates a ServiceInstanceUpdateAccepted with default headers values
func (*ServiceInstanceUpdateAccepted) Error ¶
func (o *ServiceInstanceUpdateAccepted) Error() string
func (*ServiceInstanceUpdateAccepted) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceUpdateAccepted) GetPayload() *models.ServiceInstanceAsyncOperation
type ServiceInstanceUpdateBadRequest ¶
ServiceInstanceUpdateBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewServiceInstanceUpdateBadRequest ¶
func NewServiceInstanceUpdateBadRequest() *ServiceInstanceUpdateBadRequest
NewServiceInstanceUpdateBadRequest creates a ServiceInstanceUpdateBadRequest with default headers values
func (*ServiceInstanceUpdateBadRequest) Error ¶
func (o *ServiceInstanceUpdateBadRequest) Error() string
func (*ServiceInstanceUpdateBadRequest) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceUpdateBadRequest) GetPayload() *models.Error
type ServiceInstanceUpdateOK ¶
ServiceInstanceUpdateOK describes a response with status code 200, with default header values.
OK
func NewServiceInstanceUpdateOK ¶
func NewServiceInstanceUpdateOK() *ServiceInstanceUpdateOK
NewServiceInstanceUpdateOK creates a ServiceInstanceUpdateOK with default headers values
func (*ServiceInstanceUpdateOK) Error ¶
func (o *ServiceInstanceUpdateOK) Error() string
func (*ServiceInstanceUpdateOK) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceUpdateOK) GetPayload() models.Object
type ServiceInstanceUpdateParams ¶
type ServiceInstanceUpdateParams struct { /* XBrokerAPIOriginatingIdentity. identity of the user that initiated the request from the Platform */ XBrokerAPIOriginatingIdentity *string /* XBrokerAPIVersion. version number of the Service Broker API that the Platform will use */ XBrokerAPIVersion string /* AcceptsIncomplete. asynchronous operations supported */ AcceptsIncomplete *bool /* Body. parameters for the requested service instance update */ Body *models.ServiceInstanceUpdateRequest /* InstanceID. instance id of instance to provision */ InstanceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServiceInstanceUpdateParams contains all the parameters to send to the API endpoint
for the service instance update operation. Typically these are written to a http.Request.
func NewServiceInstanceUpdateParams ¶
func NewServiceInstanceUpdateParams() *ServiceInstanceUpdateParams
NewServiceInstanceUpdateParams creates a new ServiceInstanceUpdateParams 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 NewServiceInstanceUpdateParamsWithContext ¶
func NewServiceInstanceUpdateParamsWithContext(ctx context.Context) *ServiceInstanceUpdateParams
NewServiceInstanceUpdateParamsWithContext creates a new ServiceInstanceUpdateParams object with the ability to set a context for a request.
func NewServiceInstanceUpdateParamsWithHTTPClient ¶
func NewServiceInstanceUpdateParamsWithHTTPClient(client *http.Client) *ServiceInstanceUpdateParams
NewServiceInstanceUpdateParamsWithHTTPClient creates a new ServiceInstanceUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewServiceInstanceUpdateParamsWithTimeout ¶
func NewServiceInstanceUpdateParamsWithTimeout(timeout time.Duration) *ServiceInstanceUpdateParams
NewServiceInstanceUpdateParamsWithTimeout creates a new ServiceInstanceUpdateParams object with the ability to set a timeout on a request.
func (*ServiceInstanceUpdateParams) SetAcceptsIncomplete ¶
func (o *ServiceInstanceUpdateParams) SetAcceptsIncomplete(acceptsIncomplete *bool)
SetAcceptsIncomplete adds the acceptsIncomplete to the service instance update params
func (*ServiceInstanceUpdateParams) SetBody ¶
func (o *ServiceInstanceUpdateParams) SetBody(body *models.ServiceInstanceUpdateRequest)
SetBody adds the body to the service instance update params
func (*ServiceInstanceUpdateParams) SetContext ¶
func (o *ServiceInstanceUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the service instance update params
func (*ServiceInstanceUpdateParams) SetDefaults ¶ added in v1.1.0
func (o *ServiceInstanceUpdateParams) SetDefaults()
SetDefaults hydrates default values in the service instance update params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceUpdateParams) SetHTTPClient ¶
func (o *ServiceInstanceUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the service instance update params
func (*ServiceInstanceUpdateParams) SetInstanceID ¶
func (o *ServiceInstanceUpdateParams) SetInstanceID(instanceID string)
SetInstanceID adds the instanceId to the service instance update params
func (*ServiceInstanceUpdateParams) SetTimeout ¶
func (o *ServiceInstanceUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the service instance update params
func (*ServiceInstanceUpdateParams) SetXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceUpdateParams) SetXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string)
SetXBrokerAPIOriginatingIdentity adds the xBrokerApiOriginatingIdentity to the service instance update params
func (*ServiceInstanceUpdateParams) SetXBrokerAPIVersion ¶
func (o *ServiceInstanceUpdateParams) SetXBrokerAPIVersion(xBrokerAPIVersion string)
SetXBrokerAPIVersion adds the xBrokerApiVersion to the service instance update params
func (*ServiceInstanceUpdateParams) WithAcceptsIncomplete ¶
func (o *ServiceInstanceUpdateParams) WithAcceptsIncomplete(acceptsIncomplete *bool) *ServiceInstanceUpdateParams
WithAcceptsIncomplete adds the acceptsIncomplete to the service instance update params
func (*ServiceInstanceUpdateParams) WithBody ¶
func (o *ServiceInstanceUpdateParams) WithBody(body *models.ServiceInstanceUpdateRequest) *ServiceInstanceUpdateParams
WithBody adds the body to the service instance update params
func (*ServiceInstanceUpdateParams) WithContext ¶
func (o *ServiceInstanceUpdateParams) WithContext(ctx context.Context) *ServiceInstanceUpdateParams
WithContext adds the context to the service instance update params
func (*ServiceInstanceUpdateParams) WithDefaults ¶ added in v1.1.0
func (o *ServiceInstanceUpdateParams) WithDefaults() *ServiceInstanceUpdateParams
WithDefaults hydrates default values in the service instance update params (not the query body).
All values with no default are reset to their zero value.
func (*ServiceInstanceUpdateParams) WithHTTPClient ¶
func (o *ServiceInstanceUpdateParams) WithHTTPClient(client *http.Client) *ServiceInstanceUpdateParams
WithHTTPClient adds the HTTPClient to the service instance update params
func (*ServiceInstanceUpdateParams) WithInstanceID ¶
func (o *ServiceInstanceUpdateParams) WithInstanceID(instanceID string) *ServiceInstanceUpdateParams
WithInstanceID adds the instanceID to the service instance update params
func (*ServiceInstanceUpdateParams) WithTimeout ¶
func (o *ServiceInstanceUpdateParams) WithTimeout(timeout time.Duration) *ServiceInstanceUpdateParams
WithTimeout adds the timeout to the service instance update params
func (*ServiceInstanceUpdateParams) WithXBrokerAPIOriginatingIdentity ¶
func (o *ServiceInstanceUpdateParams) WithXBrokerAPIOriginatingIdentity(xBrokerAPIOriginatingIdentity *string) *ServiceInstanceUpdateParams
WithXBrokerAPIOriginatingIdentity adds the xBrokerAPIOriginatingIdentity to the service instance update params
func (*ServiceInstanceUpdateParams) WithXBrokerAPIVersion ¶
func (o *ServiceInstanceUpdateParams) WithXBrokerAPIVersion(xBrokerAPIVersion string) *ServiceInstanceUpdateParams
WithXBrokerAPIVersion adds the xBrokerAPIVersion to the service instance update params
func (*ServiceInstanceUpdateParams) WriteToRequest ¶
func (o *ServiceInstanceUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServiceInstanceUpdateReader ¶
type ServiceInstanceUpdateReader struct {
// contains filtered or unexported fields
}
ServiceInstanceUpdateReader is a Reader for the ServiceInstanceUpdate structure.
func (*ServiceInstanceUpdateReader) ReadResponse ¶
func (o *ServiceInstanceUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServiceInstanceUpdateUnprocessableEntity ¶
ServiceInstanceUpdateUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewServiceInstanceUpdateUnprocessableEntity ¶
func NewServiceInstanceUpdateUnprocessableEntity() *ServiceInstanceUpdateUnprocessableEntity
NewServiceInstanceUpdateUnprocessableEntity creates a ServiceInstanceUpdateUnprocessableEntity with default headers values
func (*ServiceInstanceUpdateUnprocessableEntity) Error ¶
func (o *ServiceInstanceUpdateUnprocessableEntity) Error() string
func (*ServiceInstanceUpdateUnprocessableEntity) GetPayload ¶ added in v1.1.0
func (o *ServiceInstanceUpdateUnprocessableEntity) GetPayload() *models.Error
Source Files ¶
- service_instance_deprovision_parameters.go
- service_instance_deprovision_responses.go
- service_instance_get_parameters.go
- service_instance_get_responses.go
- service_instance_last_operation_get_parameters.go
- service_instance_last_operation_get_responses.go
- service_instance_provision_parameters.go
- service_instance_provision_responses.go
- service_instance_update_parameters.go
- service_instance_update_responses.go
- service_instances_client.go