Documentation
¶
Index ¶
- Constants
- type ServiceInstanceDeprovision
- type ServiceInstanceDeprovisionAccepted
- func (o *ServiceInstanceDeprovisionAccepted) SetPayload(payload *models.AsyncOperation)
- func (o *ServiceInstanceDeprovisionAccepted) WithPayload(payload *models.AsyncOperation) *ServiceInstanceDeprovisionAccepted
- func (o *ServiceInstanceDeprovisionAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceDeprovisionBadRequest
- func (o *ServiceInstanceDeprovisionBadRequest) SetPayload(payload *models.Error)
- func (o *ServiceInstanceDeprovisionBadRequest) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionBadRequest
- func (o *ServiceInstanceDeprovisionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceDeprovisionDefault
- func (o *ServiceInstanceDeprovisionDefault) SetPayload(payload *models.Error)
- func (o *ServiceInstanceDeprovisionDefault) SetStatusCode(code int)
- func (o *ServiceInstanceDeprovisionDefault) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionDefault
- func (o *ServiceInstanceDeprovisionDefault) WithStatusCode(code int) *ServiceInstanceDeprovisionDefault
- func (o *ServiceInstanceDeprovisionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceDeprovisionGone
- type ServiceInstanceDeprovisionHandler
- type ServiceInstanceDeprovisionHandlerFunc
- type ServiceInstanceDeprovisionOK
- type ServiceInstanceDeprovisionParams
- type ServiceInstanceDeprovisionPreconditionFailed
- func (o *ServiceInstanceDeprovisionPreconditionFailed) SetPayload(payload *models.Error)
- func (o *ServiceInstanceDeprovisionPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionPreconditionFailed
- func (o *ServiceInstanceDeprovisionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceDeprovisionURL
- func (o *ServiceInstanceDeprovisionURL) Build() (*url.URL, error)
- func (o *ServiceInstanceDeprovisionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ServiceInstanceDeprovisionURL) Must(u *url.URL, err error) *url.URL
- func (o *ServiceInstanceDeprovisionURL) SetBasePath(bp string)
- func (o *ServiceInstanceDeprovisionURL) String() string
- func (o *ServiceInstanceDeprovisionURL) StringFull(scheme, host string) string
- func (o *ServiceInstanceDeprovisionURL) WithBasePath(bp string) *ServiceInstanceDeprovisionURL
- type ServiceInstanceDeprovisionUnauthorized
- func (o *ServiceInstanceDeprovisionUnauthorized) SetPayload(payload *models.Error)
- func (o *ServiceInstanceDeprovisionUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionUnauthorized
- func (o *ServiceInstanceDeprovisionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceDeprovisionUnprocessableEntity
- func (o *ServiceInstanceDeprovisionUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *ServiceInstanceDeprovisionUnprocessableEntity) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionUnprocessableEntity
- func (o *ServiceInstanceDeprovisionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceGet
- type ServiceInstanceGetDefault
- func (o *ServiceInstanceGetDefault) SetPayload(payload *models.Error)
- func (o *ServiceInstanceGetDefault) SetStatusCode(code int)
- func (o *ServiceInstanceGetDefault) WithPayload(payload *models.Error) *ServiceInstanceGetDefault
- func (o *ServiceInstanceGetDefault) WithStatusCode(code int) *ServiceInstanceGetDefault
- func (o *ServiceInstanceGetDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceGetHandler
- type ServiceInstanceGetHandlerFunc
- type ServiceInstanceGetNotFound
- type ServiceInstanceGetOK
- type ServiceInstanceGetParams
- type ServiceInstanceGetPreconditionFailed
- func (o *ServiceInstanceGetPreconditionFailed) SetPayload(payload *models.Error)
- func (o *ServiceInstanceGetPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceGetPreconditionFailed
- func (o *ServiceInstanceGetPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceGetURL
- func (o *ServiceInstanceGetURL) Build() (*url.URL, error)
- func (o *ServiceInstanceGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ServiceInstanceGetURL) Must(u *url.URL, err error) *url.URL
- func (o *ServiceInstanceGetURL) SetBasePath(bp string)
- func (o *ServiceInstanceGetURL) String() string
- func (o *ServiceInstanceGetURL) StringFull(scheme, host string) string
- func (o *ServiceInstanceGetURL) WithBasePath(bp string) *ServiceInstanceGetURL
- type ServiceInstanceGetUnauthorized
- type ServiceInstanceLastOperationGet
- type ServiceInstanceLastOperationGetBadRequest
- func (o *ServiceInstanceLastOperationGetBadRequest) SetPayload(payload *models.Error)
- func (o *ServiceInstanceLastOperationGetBadRequest) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetBadRequest
- func (o *ServiceInstanceLastOperationGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceLastOperationGetDefault
- func (o *ServiceInstanceLastOperationGetDefault) SetPayload(payload *models.Error)
- func (o *ServiceInstanceLastOperationGetDefault) SetStatusCode(code int)
- func (o *ServiceInstanceLastOperationGetDefault) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetDefault
- func (o *ServiceInstanceLastOperationGetDefault) WithStatusCode(code int) *ServiceInstanceLastOperationGetDefault
- func (o *ServiceInstanceLastOperationGetDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceLastOperationGetGone
- func (o *ServiceInstanceLastOperationGetGone) SetPayload(payload *models.Error)
- func (o *ServiceInstanceLastOperationGetGone) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetGone
- func (o *ServiceInstanceLastOperationGetGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceLastOperationGetHandler
- type ServiceInstanceLastOperationGetHandlerFunc
- type ServiceInstanceLastOperationGetNotFound
- func (o *ServiceInstanceLastOperationGetNotFound) SetPayload(payload *models.Error)
- func (o *ServiceInstanceLastOperationGetNotFound) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetNotFound
- func (o *ServiceInstanceLastOperationGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceLastOperationGetOK
- func (o *ServiceInstanceLastOperationGetOK) SetPayload(payload *models.LastOperationResource)
- func (o *ServiceInstanceLastOperationGetOK) SetRetryAfter(retryAfter string)
- func (o *ServiceInstanceLastOperationGetOK) WithPayload(payload *models.LastOperationResource) *ServiceInstanceLastOperationGetOK
- func (o *ServiceInstanceLastOperationGetOK) WithRetryAfter(retryAfter string) *ServiceInstanceLastOperationGetOK
- func (o *ServiceInstanceLastOperationGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceLastOperationGetParams
- type ServiceInstanceLastOperationGetPreconditionFailed
- func (o *ServiceInstanceLastOperationGetPreconditionFailed) SetPayload(payload *models.Error)
- func (o *ServiceInstanceLastOperationGetPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetPreconditionFailed
- func (o *ServiceInstanceLastOperationGetPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceLastOperationGetURL
- func (o *ServiceInstanceLastOperationGetURL) Build() (*url.URL, error)
- func (o *ServiceInstanceLastOperationGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ServiceInstanceLastOperationGetURL) Must(u *url.URL, err error) *url.URL
- func (o *ServiceInstanceLastOperationGetURL) SetBasePath(bp string)
- func (o *ServiceInstanceLastOperationGetURL) String() string
- func (o *ServiceInstanceLastOperationGetURL) StringFull(scheme, host string) string
- func (o *ServiceInstanceLastOperationGetURL) WithBasePath(bp string) *ServiceInstanceLastOperationGetURL
- type ServiceInstanceLastOperationGetUnauthorized
- func (o *ServiceInstanceLastOperationGetUnauthorized) SetPayload(payload *models.Error)
- func (o *ServiceInstanceLastOperationGetUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetUnauthorized
- func (o *ServiceInstanceLastOperationGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvision
- type ServiceInstanceProvisionAccepted
- func (o *ServiceInstanceProvisionAccepted) SetPayload(payload *models.ServiceInstanceAsyncOperation)
- func (o *ServiceInstanceProvisionAccepted) WithPayload(payload *models.ServiceInstanceAsyncOperation) *ServiceInstanceProvisionAccepted
- func (o *ServiceInstanceProvisionAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvisionBadRequest
- func (o *ServiceInstanceProvisionBadRequest) SetPayload(payload *models.Error)
- func (o *ServiceInstanceProvisionBadRequest) WithPayload(payload *models.Error) *ServiceInstanceProvisionBadRequest
- func (o *ServiceInstanceProvisionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvisionConflict
- type ServiceInstanceProvisionCreated
- func (o *ServiceInstanceProvisionCreated) SetPayload(payload *models.ServiceInstanceProvisionResponse)
- func (o *ServiceInstanceProvisionCreated) WithPayload(payload *models.ServiceInstanceProvisionResponse) *ServiceInstanceProvisionCreated
- func (o *ServiceInstanceProvisionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvisionDefault
- func (o *ServiceInstanceProvisionDefault) SetPayload(payload *models.Error)
- func (o *ServiceInstanceProvisionDefault) SetStatusCode(code int)
- func (o *ServiceInstanceProvisionDefault) WithPayload(payload *models.Error) *ServiceInstanceProvisionDefault
- func (o *ServiceInstanceProvisionDefault) WithStatusCode(code int) *ServiceInstanceProvisionDefault
- func (o *ServiceInstanceProvisionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvisionHandler
- type ServiceInstanceProvisionHandlerFunc
- type ServiceInstanceProvisionOK
- func (o *ServiceInstanceProvisionOK) SetPayload(payload *models.ServiceInstanceProvisionResponse)
- func (o *ServiceInstanceProvisionOK) WithPayload(payload *models.ServiceInstanceProvisionResponse) *ServiceInstanceProvisionOK
- func (o *ServiceInstanceProvisionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvisionParams
- type ServiceInstanceProvisionPreconditionFailed
- func (o *ServiceInstanceProvisionPreconditionFailed) SetPayload(payload *models.Error)
- func (o *ServiceInstanceProvisionPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceProvisionPreconditionFailed
- func (o *ServiceInstanceProvisionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvisionURL
- func (o *ServiceInstanceProvisionURL) Build() (*url.URL, error)
- func (o *ServiceInstanceProvisionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ServiceInstanceProvisionURL) Must(u *url.URL, err error) *url.URL
- func (o *ServiceInstanceProvisionURL) SetBasePath(bp string)
- func (o *ServiceInstanceProvisionURL) String() string
- func (o *ServiceInstanceProvisionURL) StringFull(scheme, host string) string
- func (o *ServiceInstanceProvisionURL) WithBasePath(bp string) *ServiceInstanceProvisionURL
- type ServiceInstanceProvisionUnauthorized
- func (o *ServiceInstanceProvisionUnauthorized) SetPayload(payload *models.Error)
- func (o *ServiceInstanceProvisionUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceProvisionUnauthorized
- func (o *ServiceInstanceProvisionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceProvisionUnprocessableEntity
- func (o *ServiceInstanceProvisionUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *ServiceInstanceProvisionUnprocessableEntity) WithPayload(payload *models.Error) *ServiceInstanceProvisionUnprocessableEntity
- func (o *ServiceInstanceProvisionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceUpdate
- type ServiceInstanceUpdateAccepted
- func (o *ServiceInstanceUpdateAccepted) SetPayload(payload *models.ServiceInstanceAsyncOperation)
- func (o *ServiceInstanceUpdateAccepted) WithPayload(payload *models.ServiceInstanceAsyncOperation) *ServiceInstanceUpdateAccepted
- func (o *ServiceInstanceUpdateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceUpdateBadRequest
- type ServiceInstanceUpdateDefault
- func (o *ServiceInstanceUpdateDefault) SetPayload(payload *models.Error)
- func (o *ServiceInstanceUpdateDefault) SetStatusCode(code int)
- func (o *ServiceInstanceUpdateDefault) WithPayload(payload *models.Error) *ServiceInstanceUpdateDefault
- func (o *ServiceInstanceUpdateDefault) WithStatusCode(code int) *ServiceInstanceUpdateDefault
- func (o *ServiceInstanceUpdateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceUpdateHandler
- type ServiceInstanceUpdateHandlerFunc
- type ServiceInstanceUpdateOK
- type ServiceInstanceUpdateParams
- type ServiceInstanceUpdatePreconditionFailed
- func (o *ServiceInstanceUpdatePreconditionFailed) SetPayload(payload *models.Error)
- func (o *ServiceInstanceUpdatePreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceUpdatePreconditionFailed
- func (o *ServiceInstanceUpdatePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceUpdateURL
- func (o *ServiceInstanceUpdateURL) Build() (*url.URL, error)
- func (o *ServiceInstanceUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ServiceInstanceUpdateURL) Must(u *url.URL, err error) *url.URL
- func (o *ServiceInstanceUpdateURL) SetBasePath(bp string)
- func (o *ServiceInstanceUpdateURL) String() string
- func (o *ServiceInstanceUpdateURL) StringFull(scheme, host string) string
- func (o *ServiceInstanceUpdateURL) WithBasePath(bp string) *ServiceInstanceUpdateURL
- type ServiceInstanceUpdateUnauthorized
- func (o *ServiceInstanceUpdateUnauthorized) SetPayload(payload *models.Error)
- func (o *ServiceInstanceUpdateUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceUpdateUnauthorized
- func (o *ServiceInstanceUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ServiceInstanceUpdateUnprocessableEntity
- func (o *ServiceInstanceUpdateUnprocessableEntity) SetPayload(payload *models.Error)
- func (o *ServiceInstanceUpdateUnprocessableEntity) WithPayload(payload *models.Error) *ServiceInstanceUpdateUnprocessableEntity
- func (o *ServiceInstanceUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const ServiceInstanceDeprovisionAcceptedCode int = 202
ServiceInstanceDeprovisionAcceptedCode is the HTTP code returned for type ServiceInstanceDeprovisionAccepted
const ServiceInstanceDeprovisionBadRequestCode int = 400
ServiceInstanceDeprovisionBadRequestCode is the HTTP code returned for type ServiceInstanceDeprovisionBadRequest
const ServiceInstanceDeprovisionGoneCode int = 410
ServiceInstanceDeprovisionGoneCode is the HTTP code returned for type ServiceInstanceDeprovisionGone
const ServiceInstanceDeprovisionOKCode int = 200
ServiceInstanceDeprovisionOKCode is the HTTP code returned for type ServiceInstanceDeprovisionOK
const ServiceInstanceDeprovisionPreconditionFailedCode int = 412
ServiceInstanceDeprovisionPreconditionFailedCode is the HTTP code returned for type ServiceInstanceDeprovisionPreconditionFailed
ServiceInstanceDeprovisionUnauthorizedCode is the HTTP code returned for type ServiceInstanceDeprovisionUnauthorized
const ServiceInstanceDeprovisionUnprocessableEntityCode int = 422
ServiceInstanceDeprovisionUnprocessableEntityCode is the HTTP code returned for type ServiceInstanceDeprovisionUnprocessableEntity
const ServiceInstanceGetNotFoundCode int = 404
ServiceInstanceGetNotFoundCode is the HTTP code returned for type ServiceInstanceGetNotFound
const ServiceInstanceGetOKCode int = 200
ServiceInstanceGetOKCode is the HTTP code returned for type ServiceInstanceGetOK
const ServiceInstanceGetPreconditionFailedCode int = 412
ServiceInstanceGetPreconditionFailedCode is the HTTP code returned for type ServiceInstanceGetPreconditionFailed
ServiceInstanceGetUnauthorizedCode is the HTTP code returned for type ServiceInstanceGetUnauthorized
const ServiceInstanceLastOperationGetBadRequestCode int = 400
ServiceInstanceLastOperationGetBadRequestCode is the HTTP code returned for type ServiceInstanceLastOperationGetBadRequest
const ServiceInstanceLastOperationGetGoneCode int = 410
ServiceInstanceLastOperationGetGoneCode is the HTTP code returned for type ServiceInstanceLastOperationGetGone
const ServiceInstanceLastOperationGetNotFoundCode int = 404
ServiceInstanceLastOperationGetNotFoundCode is the HTTP code returned for type ServiceInstanceLastOperationGetNotFound
const ServiceInstanceLastOperationGetOKCode int = 200
ServiceInstanceLastOperationGetOKCode is the HTTP code returned for type ServiceInstanceLastOperationGetOK
const ServiceInstanceLastOperationGetPreconditionFailedCode int = 412
ServiceInstanceLastOperationGetPreconditionFailedCode is the HTTP code returned for type ServiceInstanceLastOperationGetPreconditionFailed
ServiceInstanceLastOperationGetUnauthorizedCode is the HTTP code returned for type ServiceInstanceLastOperationGetUnauthorized
const ServiceInstanceProvisionAcceptedCode int = 202
ServiceInstanceProvisionAcceptedCode is the HTTP code returned for type ServiceInstanceProvisionAccepted
const ServiceInstanceProvisionBadRequestCode int = 400
ServiceInstanceProvisionBadRequestCode is the HTTP code returned for type ServiceInstanceProvisionBadRequest
const ServiceInstanceProvisionConflictCode int = 409
ServiceInstanceProvisionConflictCode is the HTTP code returned for type ServiceInstanceProvisionConflict
const ServiceInstanceProvisionCreatedCode int = 201
ServiceInstanceProvisionCreatedCode is the HTTP code returned for type ServiceInstanceProvisionCreated
const ServiceInstanceProvisionOKCode int = 200
ServiceInstanceProvisionOKCode is the HTTP code returned for type ServiceInstanceProvisionOK
const ServiceInstanceProvisionPreconditionFailedCode int = 412
ServiceInstanceProvisionPreconditionFailedCode is the HTTP code returned for type ServiceInstanceProvisionPreconditionFailed
ServiceInstanceProvisionUnauthorizedCode is the HTTP code returned for type ServiceInstanceProvisionUnauthorized
const ServiceInstanceProvisionUnprocessableEntityCode int = 422
ServiceInstanceProvisionUnprocessableEntityCode is the HTTP code returned for type ServiceInstanceProvisionUnprocessableEntity
const ServiceInstanceUpdateAcceptedCode int = 202
ServiceInstanceUpdateAcceptedCode is the HTTP code returned for type ServiceInstanceUpdateAccepted
const ServiceInstanceUpdateBadRequestCode int = 400
ServiceInstanceUpdateBadRequestCode is the HTTP code returned for type ServiceInstanceUpdateBadRequest
const ServiceInstanceUpdateOKCode int = 200
ServiceInstanceUpdateOKCode is the HTTP code returned for type ServiceInstanceUpdateOK
const ServiceInstanceUpdatePreconditionFailedCode int = 412
ServiceInstanceUpdatePreconditionFailedCode is the HTTP code returned for type ServiceInstanceUpdatePreconditionFailed
ServiceInstanceUpdateUnauthorizedCode is the HTTP code returned for type ServiceInstanceUpdateUnauthorized
const ServiceInstanceUpdateUnprocessableEntityCode int = 422
ServiceInstanceUpdateUnprocessableEntityCode is the HTTP code returned for type ServiceInstanceUpdateUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceInstanceDeprovision ¶
type ServiceInstanceDeprovision struct {
Context *middleware.Context
Handler ServiceInstanceDeprovisionHandler
}
ServiceInstanceDeprovision swagger:route DELETE /v2/service_instances/{instance_id} ServiceInstances serviceInstanceDeprovision
deprovision a service instance
func NewServiceInstanceDeprovision ¶
func NewServiceInstanceDeprovision(ctx *middleware.Context, handler ServiceInstanceDeprovisionHandler) *ServiceInstanceDeprovision
NewServiceInstanceDeprovision creates a new http.Handler for the service instance deprovision operation
func (*ServiceInstanceDeprovision) ServeHTTP ¶
func (o *ServiceInstanceDeprovision) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ServiceInstanceDeprovisionAccepted ¶
type ServiceInstanceDeprovisionAccepted struct {
/*
In: Body
*/
Payload *models.AsyncOperation `json:"body,omitempty"`
}
ServiceInstanceDeprovisionAccepted Accepted
swagger:response serviceInstanceDeprovisionAccepted
func NewServiceInstanceDeprovisionAccepted ¶
func NewServiceInstanceDeprovisionAccepted() *ServiceInstanceDeprovisionAccepted
NewServiceInstanceDeprovisionAccepted creates ServiceInstanceDeprovisionAccepted with default headers values
func (*ServiceInstanceDeprovisionAccepted) SetPayload ¶
func (o *ServiceInstanceDeprovisionAccepted) SetPayload(payload *models.AsyncOperation)
SetPayload sets the payload to the service instance deprovision accepted response
func (*ServiceInstanceDeprovisionAccepted) WithPayload ¶
func (o *ServiceInstanceDeprovisionAccepted) WithPayload(payload *models.AsyncOperation) *ServiceInstanceDeprovisionAccepted
WithPayload adds the payload to the service instance deprovision accepted response
func (*ServiceInstanceDeprovisionAccepted) WriteResponse ¶
func (o *ServiceInstanceDeprovisionAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceDeprovisionBadRequest ¶
type ServiceInstanceDeprovisionBadRequest struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceDeprovisionBadRequest Bad Request
swagger:response serviceInstanceDeprovisionBadRequest
func NewServiceInstanceDeprovisionBadRequest ¶
func NewServiceInstanceDeprovisionBadRequest() *ServiceInstanceDeprovisionBadRequest
NewServiceInstanceDeprovisionBadRequest creates ServiceInstanceDeprovisionBadRequest with default headers values
func (*ServiceInstanceDeprovisionBadRequest) SetPayload ¶
func (o *ServiceInstanceDeprovisionBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance deprovision bad request response
func (*ServiceInstanceDeprovisionBadRequest) WithPayload ¶
func (o *ServiceInstanceDeprovisionBadRequest) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionBadRequest
WithPayload adds the payload to the service instance deprovision bad request response
func (*ServiceInstanceDeprovisionBadRequest) WriteResponse ¶
func (o *ServiceInstanceDeprovisionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceDeprovisionDefault ¶
type ServiceInstanceDeprovisionDefault struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
// contains filtered or unexported fields
}
ServiceInstanceDeprovisionDefault Unexpected
swagger:response serviceInstanceDeprovisionDefault
func NewServiceInstanceDeprovisionDefault ¶
func NewServiceInstanceDeprovisionDefault(code int) *ServiceInstanceDeprovisionDefault
NewServiceInstanceDeprovisionDefault creates ServiceInstanceDeprovisionDefault with default headers values
func (*ServiceInstanceDeprovisionDefault) SetPayload ¶
func (o *ServiceInstanceDeprovisionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance deprovision default response
func (*ServiceInstanceDeprovisionDefault) SetStatusCode ¶
func (o *ServiceInstanceDeprovisionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the service instance deprovision default response
func (*ServiceInstanceDeprovisionDefault) WithPayload ¶
func (o *ServiceInstanceDeprovisionDefault) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionDefault
WithPayload adds the payload to the service instance deprovision default response
func (*ServiceInstanceDeprovisionDefault) WithStatusCode ¶
func (o *ServiceInstanceDeprovisionDefault) WithStatusCode(code int) *ServiceInstanceDeprovisionDefault
WithStatusCode adds the status to the service instance deprovision default response
func (*ServiceInstanceDeprovisionDefault) WriteResponse ¶
func (o *ServiceInstanceDeprovisionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceDeprovisionGone ¶
type ServiceInstanceDeprovisionGone struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceDeprovisionGone Gone
swagger:response serviceInstanceDeprovisionGone
func NewServiceInstanceDeprovisionGone ¶
func NewServiceInstanceDeprovisionGone() *ServiceInstanceDeprovisionGone
NewServiceInstanceDeprovisionGone creates ServiceInstanceDeprovisionGone with default headers values
func (*ServiceInstanceDeprovisionGone) SetPayload ¶
func (o *ServiceInstanceDeprovisionGone) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance deprovision gone response
func (*ServiceInstanceDeprovisionGone) WithPayload ¶
func (o *ServiceInstanceDeprovisionGone) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionGone
WithPayload adds the payload to the service instance deprovision gone response
func (*ServiceInstanceDeprovisionGone) WriteResponse ¶
func (o *ServiceInstanceDeprovisionGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceDeprovisionHandler ¶
type ServiceInstanceDeprovisionHandler interface {
Handle(ServiceInstanceDeprovisionParams, interface{}) middleware.Responder
}
ServiceInstanceDeprovisionHandler interface for that can handle valid service instance deprovision params
type ServiceInstanceDeprovisionHandlerFunc ¶
type ServiceInstanceDeprovisionHandlerFunc func(ServiceInstanceDeprovisionParams, interface{}) middleware.Responder
ServiceInstanceDeprovisionHandlerFunc turns a function with the right signature into a service instance deprovision handler
func (ServiceInstanceDeprovisionHandlerFunc) Handle ¶
func (fn ServiceInstanceDeprovisionHandlerFunc) Handle(params ServiceInstanceDeprovisionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ServiceInstanceDeprovisionOK ¶
type ServiceInstanceDeprovisionOK struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
ServiceInstanceDeprovisionOK OK
swagger:response serviceInstanceDeprovisionOK
func NewServiceInstanceDeprovisionOK ¶
func NewServiceInstanceDeprovisionOK() *ServiceInstanceDeprovisionOK
NewServiceInstanceDeprovisionOK creates ServiceInstanceDeprovisionOK with default headers values
func (*ServiceInstanceDeprovisionOK) SetPayload ¶
func (o *ServiceInstanceDeprovisionOK) SetPayload(payload interface{})
SetPayload sets the payload to the service instance deprovision o k response
func (*ServiceInstanceDeprovisionOK) WithPayload ¶
func (o *ServiceInstanceDeprovisionOK) WithPayload(payload interface{}) *ServiceInstanceDeprovisionOK
WithPayload adds the payload to the service instance deprovision o k response
func (*ServiceInstanceDeprovisionOK) WriteResponse ¶
func (o *ServiceInstanceDeprovisionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceDeprovisionParams ¶
type ServiceInstanceDeprovisionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*identity of the user that initiated the request from the Platform
In: header
*/
XBrokerAPIOriginatingIdentity *string
/*idenity of the request from the Platform
In: header
*/
XBrokerAPIRequestIdentity *string
/*version number of the Service Broker API that the Platform will use
Required: true
In: header
*/
XBrokerAPIVersion string
/*asynchronous operations supported
In: query
*/
AcceptsIncomplete *bool
/*instance id of instance to provision
Required: true
In: path
*/
InstanceID string
/*id of the plan associated with the instance being deleted
Required: true
In: query
*/
PlanID string
/*id of the service associated with the instance being deleted
Required: true
In: query
*/
ServiceID string
}
ServiceInstanceDeprovisionParams contains all the bound params for the service instance deprovision operation typically these are obtained from a http.Request
swagger:parameters serviceInstance.deprovision
func NewServiceInstanceDeprovisionParams ¶
func NewServiceInstanceDeprovisionParams() ServiceInstanceDeprovisionParams
NewServiceInstanceDeprovisionParams creates a new ServiceInstanceDeprovisionParams object
There are no default values defined in the spec.
func (*ServiceInstanceDeprovisionParams) BindRequest ¶
func (o *ServiceInstanceDeprovisionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewServiceInstanceDeprovisionParams() beforehand.
type ServiceInstanceDeprovisionPreconditionFailed ¶
type ServiceInstanceDeprovisionPreconditionFailed struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceDeprovisionPreconditionFailed Precondition Failed
swagger:response serviceInstanceDeprovisionPreconditionFailed
func NewServiceInstanceDeprovisionPreconditionFailed ¶
func NewServiceInstanceDeprovisionPreconditionFailed() *ServiceInstanceDeprovisionPreconditionFailed
NewServiceInstanceDeprovisionPreconditionFailed creates ServiceInstanceDeprovisionPreconditionFailed with default headers values
func (*ServiceInstanceDeprovisionPreconditionFailed) SetPayload ¶
func (o *ServiceInstanceDeprovisionPreconditionFailed) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance deprovision precondition failed response
func (*ServiceInstanceDeprovisionPreconditionFailed) WithPayload ¶
func (o *ServiceInstanceDeprovisionPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionPreconditionFailed
WithPayload adds the payload to the service instance deprovision precondition failed response
func (*ServiceInstanceDeprovisionPreconditionFailed) WriteResponse ¶
func (o *ServiceInstanceDeprovisionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceDeprovisionURL ¶
type ServiceInstanceDeprovisionURL struct {
InstanceID string
AcceptsIncomplete *bool
PlanID string
ServiceID string
// contains filtered or unexported fields
}
ServiceInstanceDeprovisionURL generates an URL for the service instance deprovision operation
func (*ServiceInstanceDeprovisionURL) Build ¶
func (o *ServiceInstanceDeprovisionURL) Build() (*url.URL, error)
Build a url path and query string
func (*ServiceInstanceDeprovisionURL) BuildFull ¶
func (o *ServiceInstanceDeprovisionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ServiceInstanceDeprovisionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ServiceInstanceDeprovisionURL) SetBasePath ¶
func (o *ServiceInstanceDeprovisionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ServiceInstanceDeprovisionURL) String ¶
func (o *ServiceInstanceDeprovisionURL) String() string
String returns the string representation of the path with query string
func (*ServiceInstanceDeprovisionURL) StringFull ¶
func (o *ServiceInstanceDeprovisionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ServiceInstanceDeprovisionURL) WithBasePath ¶
func (o *ServiceInstanceDeprovisionURL) WithBasePath(bp string) *ServiceInstanceDeprovisionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ServiceInstanceDeprovisionUnauthorized ¶
type ServiceInstanceDeprovisionUnauthorized struct {
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceDeprovisionUnauthorized Unauthorized
swagger:response serviceInstanceDeprovisionUnauthorized
func NewServiceInstanceDeprovisionUnauthorized ¶
func NewServiceInstanceDeprovisionUnauthorized() *ServiceInstanceDeprovisionUnauthorized
NewServiceInstanceDeprovisionUnauthorized creates ServiceInstanceDeprovisionUnauthorized with default headers values
func (*ServiceInstanceDeprovisionUnauthorized) SetPayload ¶
func (o *ServiceInstanceDeprovisionUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance deprovision unauthorized response
func (*ServiceInstanceDeprovisionUnauthorized) WithPayload ¶
func (o *ServiceInstanceDeprovisionUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionUnauthorized
WithPayload adds the payload to the service instance deprovision unauthorized response
func (*ServiceInstanceDeprovisionUnauthorized) WriteResponse ¶
func (o *ServiceInstanceDeprovisionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceDeprovisionUnprocessableEntity ¶
type ServiceInstanceDeprovisionUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceDeprovisionUnprocessableEntity Unprocessable Entity
swagger:response serviceInstanceDeprovisionUnprocessableEntity
func NewServiceInstanceDeprovisionUnprocessableEntity ¶
func NewServiceInstanceDeprovisionUnprocessableEntity() *ServiceInstanceDeprovisionUnprocessableEntity
NewServiceInstanceDeprovisionUnprocessableEntity creates ServiceInstanceDeprovisionUnprocessableEntity with default headers values
func (*ServiceInstanceDeprovisionUnprocessableEntity) SetPayload ¶
func (o *ServiceInstanceDeprovisionUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance deprovision unprocessable entity response
func (*ServiceInstanceDeprovisionUnprocessableEntity) WithPayload ¶
func (o *ServiceInstanceDeprovisionUnprocessableEntity) WithPayload(payload *models.Error) *ServiceInstanceDeprovisionUnprocessableEntity
WithPayload adds the payload to the service instance deprovision unprocessable entity response
func (*ServiceInstanceDeprovisionUnprocessableEntity) WriteResponse ¶
func (o *ServiceInstanceDeprovisionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceGet ¶
type ServiceInstanceGet struct {
Context *middleware.Context
Handler ServiceInstanceGetHandler
}
ServiceInstanceGet swagger:route GET /v2/service_instances/{instance_id} ServiceInstances serviceInstanceGet
gets a service instance
func NewServiceInstanceGet ¶
func NewServiceInstanceGet(ctx *middleware.Context, handler ServiceInstanceGetHandler) *ServiceInstanceGet
NewServiceInstanceGet creates a new http.Handler for the service instance get operation
func (*ServiceInstanceGet) ServeHTTP ¶
func (o *ServiceInstanceGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ServiceInstanceGetDefault ¶
type ServiceInstanceGetDefault struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
// contains filtered or unexported fields
}
ServiceInstanceGetDefault Unexpected
swagger:response serviceInstanceGetDefault
func NewServiceInstanceGetDefault ¶
func NewServiceInstanceGetDefault(code int) *ServiceInstanceGetDefault
NewServiceInstanceGetDefault creates ServiceInstanceGetDefault with default headers values
func (*ServiceInstanceGetDefault) SetPayload ¶
func (o *ServiceInstanceGetDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance get default response
func (*ServiceInstanceGetDefault) SetStatusCode ¶
func (o *ServiceInstanceGetDefault) SetStatusCode(code int)
SetStatusCode sets the status to the service instance get default response
func (*ServiceInstanceGetDefault) WithPayload ¶
func (o *ServiceInstanceGetDefault) WithPayload(payload *models.Error) *ServiceInstanceGetDefault
WithPayload adds the payload to the service instance get default response
func (*ServiceInstanceGetDefault) WithStatusCode ¶
func (o *ServiceInstanceGetDefault) WithStatusCode(code int) *ServiceInstanceGetDefault
WithStatusCode adds the status to the service instance get default response
func (*ServiceInstanceGetDefault) WriteResponse ¶
func (o *ServiceInstanceGetDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceGetHandler ¶
type ServiceInstanceGetHandler interface {
Handle(ServiceInstanceGetParams, interface{}) middleware.Responder
}
ServiceInstanceGetHandler interface for that can handle valid service instance get params
type ServiceInstanceGetHandlerFunc ¶
type ServiceInstanceGetHandlerFunc func(ServiceInstanceGetParams, interface{}) middleware.Responder
ServiceInstanceGetHandlerFunc turns a function with the right signature into a service instance get handler
func (ServiceInstanceGetHandlerFunc) Handle ¶
func (fn ServiceInstanceGetHandlerFunc) Handle(params ServiceInstanceGetParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ServiceInstanceGetNotFound ¶
type ServiceInstanceGetNotFound struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceGetNotFound Not Found
swagger:response serviceInstanceGetNotFound
func NewServiceInstanceGetNotFound ¶
func NewServiceInstanceGetNotFound() *ServiceInstanceGetNotFound
NewServiceInstanceGetNotFound creates ServiceInstanceGetNotFound with default headers values
func (*ServiceInstanceGetNotFound) SetPayload ¶
func (o *ServiceInstanceGetNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance get not found response
func (*ServiceInstanceGetNotFound) WithPayload ¶
func (o *ServiceInstanceGetNotFound) WithPayload(payload *models.Error) *ServiceInstanceGetNotFound
WithPayload adds the payload to the service instance get not found response
func (*ServiceInstanceGetNotFound) WriteResponse ¶
func (o *ServiceInstanceGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceGetOK ¶
type ServiceInstanceGetOK struct {
/*
In: Body
*/
Payload *models.ServiceInstanceResource `json:"body,omitempty"`
}
ServiceInstanceGetOK OK
swagger:response serviceInstanceGetOK
func NewServiceInstanceGetOK ¶
func NewServiceInstanceGetOK() *ServiceInstanceGetOK
NewServiceInstanceGetOK creates ServiceInstanceGetOK with default headers values
func (*ServiceInstanceGetOK) SetPayload ¶
func (o *ServiceInstanceGetOK) SetPayload(payload *models.ServiceInstanceResource)
SetPayload sets the payload to the service instance get o k response
func (*ServiceInstanceGetOK) WithPayload ¶
func (o *ServiceInstanceGetOK) WithPayload(payload *models.ServiceInstanceResource) *ServiceInstanceGetOK
WithPayload adds the payload to the service instance get o k response
func (*ServiceInstanceGetOK) WriteResponse ¶
func (o *ServiceInstanceGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceGetParams ¶
type ServiceInstanceGetParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*identity of the user that initiated the request from the Platform
In: header
*/
XBrokerAPIOriginatingIdentity *string
/*idenity of the request from the Platform
In: header
*/
XBrokerAPIRequestIdentity *string
/*version number of the Service Broker API that the Platform will use
Required: true
In: header
*/
XBrokerAPIVersion string
/*instance id of instance to provision
Required: true
In: path
*/
InstanceID string
/*id of the plan associated with the instance
In: query
*/
PlanID *string
/*id of the service associated with the instance
In: query
*/
ServiceID *string
}
ServiceInstanceGetParams contains all the bound params for the service instance get operation typically these are obtained from a http.Request
swagger:parameters serviceInstance.get
func NewServiceInstanceGetParams ¶
func NewServiceInstanceGetParams() ServiceInstanceGetParams
NewServiceInstanceGetParams creates a new ServiceInstanceGetParams object
There are no default values defined in the spec.
func (*ServiceInstanceGetParams) BindRequest ¶
func (o *ServiceInstanceGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewServiceInstanceGetParams() beforehand.
type ServiceInstanceGetPreconditionFailed ¶
type ServiceInstanceGetPreconditionFailed struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceGetPreconditionFailed Precondition Failed
swagger:response serviceInstanceGetPreconditionFailed
func NewServiceInstanceGetPreconditionFailed ¶
func NewServiceInstanceGetPreconditionFailed() *ServiceInstanceGetPreconditionFailed
NewServiceInstanceGetPreconditionFailed creates ServiceInstanceGetPreconditionFailed with default headers values
func (*ServiceInstanceGetPreconditionFailed) SetPayload ¶
func (o *ServiceInstanceGetPreconditionFailed) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance get precondition failed response
func (*ServiceInstanceGetPreconditionFailed) WithPayload ¶
func (o *ServiceInstanceGetPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceGetPreconditionFailed
WithPayload adds the payload to the service instance get precondition failed response
func (*ServiceInstanceGetPreconditionFailed) WriteResponse ¶
func (o *ServiceInstanceGetPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceGetURL ¶
type ServiceInstanceGetURL struct {
InstanceID string
PlanID *string
ServiceID *string
// contains filtered or unexported fields
}
ServiceInstanceGetURL generates an URL for the service instance get operation
func (*ServiceInstanceGetURL) Build ¶
func (o *ServiceInstanceGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*ServiceInstanceGetURL) BuildFull ¶
func (o *ServiceInstanceGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ServiceInstanceGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ServiceInstanceGetURL) SetBasePath ¶
func (o *ServiceInstanceGetURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ServiceInstanceGetURL) String ¶
func (o *ServiceInstanceGetURL) String() string
String returns the string representation of the path with query string
func (*ServiceInstanceGetURL) StringFull ¶
func (o *ServiceInstanceGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ServiceInstanceGetURL) WithBasePath ¶
func (o *ServiceInstanceGetURL) WithBasePath(bp string) *ServiceInstanceGetURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ServiceInstanceGetUnauthorized ¶
ServiceInstanceGetUnauthorized Unauthorized
swagger:response serviceInstanceGetUnauthorized
func NewServiceInstanceGetUnauthorized ¶
func NewServiceInstanceGetUnauthorized() *ServiceInstanceGetUnauthorized
NewServiceInstanceGetUnauthorized creates ServiceInstanceGetUnauthorized with default headers values
func (*ServiceInstanceGetUnauthorized) SetPayload ¶
func (o *ServiceInstanceGetUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance get unauthorized response
func (*ServiceInstanceGetUnauthorized) WithPayload ¶
func (o *ServiceInstanceGetUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceGetUnauthorized
WithPayload adds the payload to the service instance get unauthorized response
func (*ServiceInstanceGetUnauthorized) WriteResponse ¶
func (o *ServiceInstanceGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceLastOperationGet ¶
type ServiceInstanceLastOperationGet struct {
Context *middleware.Context
Handler ServiceInstanceLastOperationGetHandler
}
ServiceInstanceLastOperationGet swagger:route GET /v2/service_instances/{instance_id}/last_operation ServiceInstances serviceInstanceLastOperationGet
last requested operation state for service instance
func NewServiceInstanceLastOperationGet ¶
func NewServiceInstanceLastOperationGet(ctx *middleware.Context, handler ServiceInstanceLastOperationGetHandler) *ServiceInstanceLastOperationGet
NewServiceInstanceLastOperationGet creates a new http.Handler for the service instance last operation get operation
func (*ServiceInstanceLastOperationGet) ServeHTTP ¶
func (o *ServiceInstanceLastOperationGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ServiceInstanceLastOperationGetBadRequest ¶
type ServiceInstanceLastOperationGetBadRequest struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceLastOperationGetBadRequest Bad Request
swagger:response serviceInstanceLastOperationGetBadRequest
func NewServiceInstanceLastOperationGetBadRequest ¶
func NewServiceInstanceLastOperationGetBadRequest() *ServiceInstanceLastOperationGetBadRequest
NewServiceInstanceLastOperationGetBadRequest creates ServiceInstanceLastOperationGetBadRequest with default headers values
func (*ServiceInstanceLastOperationGetBadRequest) SetPayload ¶
func (o *ServiceInstanceLastOperationGetBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance last operation get bad request response
func (*ServiceInstanceLastOperationGetBadRequest) WithPayload ¶
func (o *ServiceInstanceLastOperationGetBadRequest) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetBadRequest
WithPayload adds the payload to the service instance last operation get bad request response
func (*ServiceInstanceLastOperationGetBadRequest) WriteResponse ¶
func (o *ServiceInstanceLastOperationGetBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceLastOperationGetDefault ¶
type ServiceInstanceLastOperationGetDefault struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
// contains filtered or unexported fields
}
ServiceInstanceLastOperationGetDefault Unexpected
swagger:response serviceInstanceLastOperationGetDefault
func NewServiceInstanceLastOperationGetDefault ¶
func NewServiceInstanceLastOperationGetDefault(code int) *ServiceInstanceLastOperationGetDefault
NewServiceInstanceLastOperationGetDefault creates ServiceInstanceLastOperationGetDefault with default headers values
func (*ServiceInstanceLastOperationGetDefault) SetPayload ¶
func (o *ServiceInstanceLastOperationGetDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance last operation get default response
func (*ServiceInstanceLastOperationGetDefault) SetStatusCode ¶
func (o *ServiceInstanceLastOperationGetDefault) SetStatusCode(code int)
SetStatusCode sets the status to the service instance last operation get default response
func (*ServiceInstanceLastOperationGetDefault) WithPayload ¶
func (o *ServiceInstanceLastOperationGetDefault) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetDefault
WithPayload adds the payload to the service instance last operation get default response
func (*ServiceInstanceLastOperationGetDefault) WithStatusCode ¶
func (o *ServiceInstanceLastOperationGetDefault) WithStatusCode(code int) *ServiceInstanceLastOperationGetDefault
WithStatusCode adds the status to the service instance last operation get default response
func (*ServiceInstanceLastOperationGetDefault) WriteResponse ¶
func (o *ServiceInstanceLastOperationGetDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceLastOperationGetGone ¶
type ServiceInstanceLastOperationGetGone struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceLastOperationGetGone Gone
swagger:response serviceInstanceLastOperationGetGone
func NewServiceInstanceLastOperationGetGone ¶
func NewServiceInstanceLastOperationGetGone() *ServiceInstanceLastOperationGetGone
NewServiceInstanceLastOperationGetGone creates ServiceInstanceLastOperationGetGone with default headers values
func (*ServiceInstanceLastOperationGetGone) SetPayload ¶
func (o *ServiceInstanceLastOperationGetGone) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance last operation get gone response
func (*ServiceInstanceLastOperationGetGone) WithPayload ¶
func (o *ServiceInstanceLastOperationGetGone) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetGone
WithPayload adds the payload to the service instance last operation get gone response
func (*ServiceInstanceLastOperationGetGone) WriteResponse ¶
func (o *ServiceInstanceLastOperationGetGone) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceLastOperationGetHandler ¶
type ServiceInstanceLastOperationGetHandler interface {
Handle(ServiceInstanceLastOperationGetParams, interface{}) middleware.Responder
}
ServiceInstanceLastOperationGetHandler interface for that can handle valid service instance last operation get params
type ServiceInstanceLastOperationGetHandlerFunc ¶
type ServiceInstanceLastOperationGetHandlerFunc func(ServiceInstanceLastOperationGetParams, interface{}) middleware.Responder
ServiceInstanceLastOperationGetHandlerFunc turns a function with the right signature into a service instance last operation get handler
func (ServiceInstanceLastOperationGetHandlerFunc) Handle ¶
func (fn ServiceInstanceLastOperationGetHandlerFunc) Handle(params ServiceInstanceLastOperationGetParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ServiceInstanceLastOperationGetNotFound ¶
type ServiceInstanceLastOperationGetNotFound struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceLastOperationGetNotFound Not Found
swagger:response serviceInstanceLastOperationGetNotFound
func NewServiceInstanceLastOperationGetNotFound ¶
func NewServiceInstanceLastOperationGetNotFound() *ServiceInstanceLastOperationGetNotFound
NewServiceInstanceLastOperationGetNotFound creates ServiceInstanceLastOperationGetNotFound with default headers values
func (*ServiceInstanceLastOperationGetNotFound) SetPayload ¶
func (o *ServiceInstanceLastOperationGetNotFound) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance last operation get not found response
func (*ServiceInstanceLastOperationGetNotFound) WithPayload ¶
func (o *ServiceInstanceLastOperationGetNotFound) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetNotFound
WithPayload adds the payload to the service instance last operation get not found response
func (*ServiceInstanceLastOperationGetNotFound) WriteResponse ¶
func (o *ServiceInstanceLastOperationGetNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceLastOperationGetOK ¶
type ServiceInstanceLastOperationGetOK struct {
/*Indicates when to retry the request
*/
RetryAfter string `json:"RetryAfter"`
/*
In: Body
*/
Payload *models.LastOperationResource `json:"body,omitempty"`
}
ServiceInstanceLastOperationGetOK OK
swagger:response serviceInstanceLastOperationGetOK
func NewServiceInstanceLastOperationGetOK ¶
func NewServiceInstanceLastOperationGetOK() *ServiceInstanceLastOperationGetOK
NewServiceInstanceLastOperationGetOK creates ServiceInstanceLastOperationGetOK with default headers values
func (*ServiceInstanceLastOperationGetOK) SetPayload ¶
func (o *ServiceInstanceLastOperationGetOK) SetPayload(payload *models.LastOperationResource)
SetPayload sets the payload to the service instance last operation get o k response
func (*ServiceInstanceLastOperationGetOK) SetRetryAfter ¶
func (o *ServiceInstanceLastOperationGetOK) SetRetryAfter(retryAfter string)
SetRetryAfter sets the retryAfter to the service instance last operation get o k response
func (*ServiceInstanceLastOperationGetOK) WithPayload ¶
func (o *ServiceInstanceLastOperationGetOK) WithPayload(payload *models.LastOperationResource) *ServiceInstanceLastOperationGetOK
WithPayload adds the payload to the service instance last operation get o k response
func (*ServiceInstanceLastOperationGetOK) WithRetryAfter ¶
func (o *ServiceInstanceLastOperationGetOK) WithRetryAfter(retryAfter string) *ServiceInstanceLastOperationGetOK
WithRetryAfter adds the retryAfter to the service instance last operation get o k response
func (*ServiceInstanceLastOperationGetOK) WriteResponse ¶
func (o *ServiceInstanceLastOperationGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceLastOperationGetParams ¶
type ServiceInstanceLastOperationGetParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*identity of the user that initiated the request from the Platform
In: header
*/
XBrokerAPIOriginatingIdentity *string
/*idenity of the request from the Platform
In: header
*/
XBrokerAPIRequestIdentity *string
/*version number of the Service Broker API that the Platform will use
Required: true
In: header
*/
XBrokerAPIVersion string
/*instance id of instance to provision
Required: true
In: path
*/
InstanceID string
/*a provided identifier for the operation
In: query
*/
Operation *string
/*id of the plan associated with the instance
In: query
*/
PlanID *string
/*id of the service associated with the instance
In: query
*/
ServiceID *string
}
ServiceInstanceLastOperationGetParams contains all the bound params for the service instance last operation get operation typically these are obtained from a http.Request
swagger:parameters serviceInstance.lastOperation.get
func NewServiceInstanceLastOperationGetParams ¶
func NewServiceInstanceLastOperationGetParams() ServiceInstanceLastOperationGetParams
NewServiceInstanceLastOperationGetParams creates a new ServiceInstanceLastOperationGetParams object
There are no default values defined in the spec.
func (*ServiceInstanceLastOperationGetParams) BindRequest ¶
func (o *ServiceInstanceLastOperationGetParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewServiceInstanceLastOperationGetParams() beforehand.
type ServiceInstanceLastOperationGetPreconditionFailed ¶
type ServiceInstanceLastOperationGetPreconditionFailed struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceLastOperationGetPreconditionFailed Precondition Failed
swagger:response serviceInstanceLastOperationGetPreconditionFailed
func NewServiceInstanceLastOperationGetPreconditionFailed ¶
func NewServiceInstanceLastOperationGetPreconditionFailed() *ServiceInstanceLastOperationGetPreconditionFailed
NewServiceInstanceLastOperationGetPreconditionFailed creates ServiceInstanceLastOperationGetPreconditionFailed with default headers values
func (*ServiceInstanceLastOperationGetPreconditionFailed) SetPayload ¶
func (o *ServiceInstanceLastOperationGetPreconditionFailed) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance last operation get precondition failed response
func (*ServiceInstanceLastOperationGetPreconditionFailed) WithPayload ¶
func (o *ServiceInstanceLastOperationGetPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetPreconditionFailed
WithPayload adds the payload to the service instance last operation get precondition failed response
func (*ServiceInstanceLastOperationGetPreconditionFailed) WriteResponse ¶
func (o *ServiceInstanceLastOperationGetPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceLastOperationGetURL ¶
type ServiceInstanceLastOperationGetURL struct {
InstanceID string
Operation *string
PlanID *string
ServiceID *string
// contains filtered or unexported fields
}
ServiceInstanceLastOperationGetURL generates an URL for the service instance last operation get operation
func (*ServiceInstanceLastOperationGetURL) Build ¶
func (o *ServiceInstanceLastOperationGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*ServiceInstanceLastOperationGetURL) BuildFull ¶
func (o *ServiceInstanceLastOperationGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ServiceInstanceLastOperationGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ServiceInstanceLastOperationGetURL) SetBasePath ¶
func (o *ServiceInstanceLastOperationGetURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ServiceInstanceLastOperationGetURL) String ¶
func (o *ServiceInstanceLastOperationGetURL) String() string
String returns the string representation of the path with query string
func (*ServiceInstanceLastOperationGetURL) StringFull ¶
func (o *ServiceInstanceLastOperationGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ServiceInstanceLastOperationGetURL) WithBasePath ¶
func (o *ServiceInstanceLastOperationGetURL) WithBasePath(bp string) *ServiceInstanceLastOperationGetURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ServiceInstanceLastOperationGetUnauthorized ¶
type ServiceInstanceLastOperationGetUnauthorized struct {
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceLastOperationGetUnauthorized Unauthorized
swagger:response serviceInstanceLastOperationGetUnauthorized
func NewServiceInstanceLastOperationGetUnauthorized ¶
func NewServiceInstanceLastOperationGetUnauthorized() *ServiceInstanceLastOperationGetUnauthorized
NewServiceInstanceLastOperationGetUnauthorized creates ServiceInstanceLastOperationGetUnauthorized with default headers values
func (*ServiceInstanceLastOperationGetUnauthorized) SetPayload ¶
func (o *ServiceInstanceLastOperationGetUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance last operation get unauthorized response
func (*ServiceInstanceLastOperationGetUnauthorized) WithPayload ¶
func (o *ServiceInstanceLastOperationGetUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceLastOperationGetUnauthorized
WithPayload adds the payload to the service instance last operation get unauthorized response
func (*ServiceInstanceLastOperationGetUnauthorized) WriteResponse ¶
func (o *ServiceInstanceLastOperationGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvision ¶
type ServiceInstanceProvision struct {
Context *middleware.Context
Handler ServiceInstanceProvisionHandler
}
ServiceInstanceProvision swagger:route PUT /v2/service_instances/{instance_id} ServiceInstances serviceInstanceProvision
provision a service instance
func NewServiceInstanceProvision ¶
func NewServiceInstanceProvision(ctx *middleware.Context, handler ServiceInstanceProvisionHandler) *ServiceInstanceProvision
NewServiceInstanceProvision creates a new http.Handler for the service instance provision operation
func (*ServiceInstanceProvision) ServeHTTP ¶
func (o *ServiceInstanceProvision) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ServiceInstanceProvisionAccepted ¶
type ServiceInstanceProvisionAccepted struct {
/*
In: Body
*/
Payload *models.ServiceInstanceAsyncOperation `json:"body,omitempty"`
}
ServiceInstanceProvisionAccepted Accepted
swagger:response serviceInstanceProvisionAccepted
func NewServiceInstanceProvisionAccepted ¶
func NewServiceInstanceProvisionAccepted() *ServiceInstanceProvisionAccepted
NewServiceInstanceProvisionAccepted creates ServiceInstanceProvisionAccepted with default headers values
func (*ServiceInstanceProvisionAccepted) SetPayload ¶
func (o *ServiceInstanceProvisionAccepted) SetPayload(payload *models.ServiceInstanceAsyncOperation)
SetPayload sets the payload to the service instance provision accepted response
func (*ServiceInstanceProvisionAccepted) WithPayload ¶
func (o *ServiceInstanceProvisionAccepted) WithPayload(payload *models.ServiceInstanceAsyncOperation) *ServiceInstanceProvisionAccepted
WithPayload adds the payload to the service instance provision accepted response
func (*ServiceInstanceProvisionAccepted) WriteResponse ¶
func (o *ServiceInstanceProvisionAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionBadRequest ¶
type ServiceInstanceProvisionBadRequest struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceProvisionBadRequest Bad Request
swagger:response serviceInstanceProvisionBadRequest
func NewServiceInstanceProvisionBadRequest ¶
func NewServiceInstanceProvisionBadRequest() *ServiceInstanceProvisionBadRequest
NewServiceInstanceProvisionBadRequest creates ServiceInstanceProvisionBadRequest with default headers values
func (*ServiceInstanceProvisionBadRequest) SetPayload ¶
func (o *ServiceInstanceProvisionBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance provision bad request response
func (*ServiceInstanceProvisionBadRequest) WithPayload ¶
func (o *ServiceInstanceProvisionBadRequest) WithPayload(payload *models.Error) *ServiceInstanceProvisionBadRequest
WithPayload adds the payload to the service instance provision bad request response
func (*ServiceInstanceProvisionBadRequest) WriteResponse ¶
func (o *ServiceInstanceProvisionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionConflict ¶
type ServiceInstanceProvisionConflict struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceProvisionConflict Conflict
swagger:response serviceInstanceProvisionConflict
func NewServiceInstanceProvisionConflict ¶
func NewServiceInstanceProvisionConflict() *ServiceInstanceProvisionConflict
NewServiceInstanceProvisionConflict creates ServiceInstanceProvisionConflict with default headers values
func (*ServiceInstanceProvisionConflict) SetPayload ¶
func (o *ServiceInstanceProvisionConflict) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance provision conflict response
func (*ServiceInstanceProvisionConflict) WithPayload ¶
func (o *ServiceInstanceProvisionConflict) WithPayload(payload *models.Error) *ServiceInstanceProvisionConflict
WithPayload adds the payload to the service instance provision conflict response
func (*ServiceInstanceProvisionConflict) WriteResponse ¶
func (o *ServiceInstanceProvisionConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionCreated ¶
type ServiceInstanceProvisionCreated struct {
/*
In: Body
*/
Payload *models.ServiceInstanceProvisionResponse `json:"body,omitempty"`
}
ServiceInstanceProvisionCreated Created
swagger:response serviceInstanceProvisionCreated
func NewServiceInstanceProvisionCreated ¶
func NewServiceInstanceProvisionCreated() *ServiceInstanceProvisionCreated
NewServiceInstanceProvisionCreated creates ServiceInstanceProvisionCreated with default headers values
func (*ServiceInstanceProvisionCreated) SetPayload ¶
func (o *ServiceInstanceProvisionCreated) SetPayload(payload *models.ServiceInstanceProvisionResponse)
SetPayload sets the payload to the service instance provision created response
func (*ServiceInstanceProvisionCreated) WithPayload ¶
func (o *ServiceInstanceProvisionCreated) WithPayload(payload *models.ServiceInstanceProvisionResponse) *ServiceInstanceProvisionCreated
WithPayload adds the payload to the service instance provision created response
func (*ServiceInstanceProvisionCreated) WriteResponse ¶
func (o *ServiceInstanceProvisionCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionDefault ¶
type ServiceInstanceProvisionDefault struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
// contains filtered or unexported fields
}
ServiceInstanceProvisionDefault Unexpected
swagger:response serviceInstanceProvisionDefault
func NewServiceInstanceProvisionDefault ¶
func NewServiceInstanceProvisionDefault(code int) *ServiceInstanceProvisionDefault
NewServiceInstanceProvisionDefault creates ServiceInstanceProvisionDefault with default headers values
func (*ServiceInstanceProvisionDefault) SetPayload ¶
func (o *ServiceInstanceProvisionDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance provision default response
func (*ServiceInstanceProvisionDefault) SetStatusCode ¶
func (o *ServiceInstanceProvisionDefault) SetStatusCode(code int)
SetStatusCode sets the status to the service instance provision default response
func (*ServiceInstanceProvisionDefault) WithPayload ¶
func (o *ServiceInstanceProvisionDefault) WithPayload(payload *models.Error) *ServiceInstanceProvisionDefault
WithPayload adds the payload to the service instance provision default response
func (*ServiceInstanceProvisionDefault) WithStatusCode ¶
func (o *ServiceInstanceProvisionDefault) WithStatusCode(code int) *ServiceInstanceProvisionDefault
WithStatusCode adds the status to the service instance provision default response
func (*ServiceInstanceProvisionDefault) WriteResponse ¶
func (o *ServiceInstanceProvisionDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionHandler ¶
type ServiceInstanceProvisionHandler interface {
Handle(ServiceInstanceProvisionParams, interface{}) middleware.Responder
}
ServiceInstanceProvisionHandler interface for that can handle valid service instance provision params
type ServiceInstanceProvisionHandlerFunc ¶
type ServiceInstanceProvisionHandlerFunc func(ServiceInstanceProvisionParams, interface{}) middleware.Responder
ServiceInstanceProvisionHandlerFunc turns a function with the right signature into a service instance provision handler
func (ServiceInstanceProvisionHandlerFunc) Handle ¶
func (fn ServiceInstanceProvisionHandlerFunc) Handle(params ServiceInstanceProvisionParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ServiceInstanceProvisionOK ¶
type ServiceInstanceProvisionOK struct {
/*
In: Body
*/
Payload *models.ServiceInstanceProvisionResponse `json:"body,omitempty"`
}
ServiceInstanceProvisionOK OK
swagger:response serviceInstanceProvisionOK
func NewServiceInstanceProvisionOK ¶
func NewServiceInstanceProvisionOK() *ServiceInstanceProvisionOK
NewServiceInstanceProvisionOK creates ServiceInstanceProvisionOK with default headers values
func (*ServiceInstanceProvisionOK) SetPayload ¶
func (o *ServiceInstanceProvisionOK) SetPayload(payload *models.ServiceInstanceProvisionResponse)
SetPayload sets the payload to the service instance provision o k response
func (*ServiceInstanceProvisionOK) WithPayload ¶
func (o *ServiceInstanceProvisionOK) WithPayload(payload *models.ServiceInstanceProvisionResponse) *ServiceInstanceProvisionOK
WithPayload adds the payload to the service instance provision o k response
func (*ServiceInstanceProvisionOK) WriteResponse ¶
func (o *ServiceInstanceProvisionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionParams ¶
type ServiceInstanceProvisionParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*identity of the user that initiated the request from the Platform
In: header
*/
XBrokerAPIOriginatingIdentity *string
/*idenity of the request from the Platform
In: header
*/
XBrokerAPIRequestIdentity *string
/*version number of the Service Broker API that the Platform will use
Required: true
In: header
*/
XBrokerAPIVersion string
/*asynchronous operations supported
In: query
*/
AcceptsIncomplete *bool
/*parameters for the requested service instance provision
Required: true
In: body
*/
Body *models.ServiceInstanceProvisionRequest
/*instance id of instance to provision
Required: true
In: path
*/
InstanceID string
}
ServiceInstanceProvisionParams contains all the bound params for the service instance provision operation typically these are obtained from a http.Request
swagger:parameters serviceInstance.provision
func NewServiceInstanceProvisionParams ¶
func NewServiceInstanceProvisionParams() ServiceInstanceProvisionParams
NewServiceInstanceProvisionParams creates a new ServiceInstanceProvisionParams object
There are no default values defined in the spec.
func (*ServiceInstanceProvisionParams) BindRequest ¶
func (o *ServiceInstanceProvisionParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewServiceInstanceProvisionParams() beforehand.
type ServiceInstanceProvisionPreconditionFailed ¶
type ServiceInstanceProvisionPreconditionFailed struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceProvisionPreconditionFailed Precondition Failed
swagger:response serviceInstanceProvisionPreconditionFailed
func NewServiceInstanceProvisionPreconditionFailed ¶
func NewServiceInstanceProvisionPreconditionFailed() *ServiceInstanceProvisionPreconditionFailed
NewServiceInstanceProvisionPreconditionFailed creates ServiceInstanceProvisionPreconditionFailed with default headers values
func (*ServiceInstanceProvisionPreconditionFailed) SetPayload ¶
func (o *ServiceInstanceProvisionPreconditionFailed) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance provision precondition failed response
func (*ServiceInstanceProvisionPreconditionFailed) WithPayload ¶
func (o *ServiceInstanceProvisionPreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceProvisionPreconditionFailed
WithPayload adds the payload to the service instance provision precondition failed response
func (*ServiceInstanceProvisionPreconditionFailed) WriteResponse ¶
func (o *ServiceInstanceProvisionPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionURL ¶
type ServiceInstanceProvisionURL struct {
InstanceID string
AcceptsIncomplete *bool
// contains filtered or unexported fields
}
ServiceInstanceProvisionURL generates an URL for the service instance provision operation
func (*ServiceInstanceProvisionURL) Build ¶
func (o *ServiceInstanceProvisionURL) Build() (*url.URL, error)
Build a url path and query string
func (*ServiceInstanceProvisionURL) BuildFull ¶
func (o *ServiceInstanceProvisionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ServiceInstanceProvisionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ServiceInstanceProvisionURL) SetBasePath ¶
func (o *ServiceInstanceProvisionURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ServiceInstanceProvisionURL) String ¶
func (o *ServiceInstanceProvisionURL) String() string
String returns the string representation of the path with query string
func (*ServiceInstanceProvisionURL) StringFull ¶
func (o *ServiceInstanceProvisionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ServiceInstanceProvisionURL) WithBasePath ¶
func (o *ServiceInstanceProvisionURL) WithBasePath(bp string) *ServiceInstanceProvisionURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ServiceInstanceProvisionUnauthorized ¶
ServiceInstanceProvisionUnauthorized Unauthorized
swagger:response serviceInstanceProvisionUnauthorized
func NewServiceInstanceProvisionUnauthorized ¶
func NewServiceInstanceProvisionUnauthorized() *ServiceInstanceProvisionUnauthorized
NewServiceInstanceProvisionUnauthorized creates ServiceInstanceProvisionUnauthorized with default headers values
func (*ServiceInstanceProvisionUnauthorized) SetPayload ¶
func (o *ServiceInstanceProvisionUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance provision unauthorized response
func (*ServiceInstanceProvisionUnauthorized) WithPayload ¶
func (o *ServiceInstanceProvisionUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceProvisionUnauthorized
WithPayload adds the payload to the service instance provision unauthorized response
func (*ServiceInstanceProvisionUnauthorized) WriteResponse ¶
func (o *ServiceInstanceProvisionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceProvisionUnprocessableEntity ¶
type ServiceInstanceProvisionUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceProvisionUnprocessableEntity Unprocessable Entity
swagger:response serviceInstanceProvisionUnprocessableEntity
func NewServiceInstanceProvisionUnprocessableEntity ¶
func NewServiceInstanceProvisionUnprocessableEntity() *ServiceInstanceProvisionUnprocessableEntity
NewServiceInstanceProvisionUnprocessableEntity creates ServiceInstanceProvisionUnprocessableEntity with default headers values
func (*ServiceInstanceProvisionUnprocessableEntity) SetPayload ¶
func (o *ServiceInstanceProvisionUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance provision unprocessable entity response
func (*ServiceInstanceProvisionUnprocessableEntity) WithPayload ¶
func (o *ServiceInstanceProvisionUnprocessableEntity) WithPayload(payload *models.Error) *ServiceInstanceProvisionUnprocessableEntity
WithPayload adds the payload to the service instance provision unprocessable entity response
func (*ServiceInstanceProvisionUnprocessableEntity) WriteResponse ¶
func (o *ServiceInstanceProvisionUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceUpdate ¶
type ServiceInstanceUpdate struct {
Context *middleware.Context
Handler ServiceInstanceUpdateHandler
}
ServiceInstanceUpdate swagger:route PATCH /v2/service_instances/{instance_id} ServiceInstances serviceInstanceUpdate
update a service instance
func NewServiceInstanceUpdate ¶
func NewServiceInstanceUpdate(ctx *middleware.Context, handler ServiceInstanceUpdateHandler) *ServiceInstanceUpdate
NewServiceInstanceUpdate creates a new http.Handler for the service instance update operation
func (*ServiceInstanceUpdate) ServeHTTP ¶
func (o *ServiceInstanceUpdate) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ServiceInstanceUpdateAccepted ¶
type ServiceInstanceUpdateAccepted struct {
/*
In: Body
*/
Payload *models.ServiceInstanceAsyncOperation `json:"body,omitempty"`
}
ServiceInstanceUpdateAccepted Accepted
swagger:response serviceInstanceUpdateAccepted
func NewServiceInstanceUpdateAccepted ¶
func NewServiceInstanceUpdateAccepted() *ServiceInstanceUpdateAccepted
NewServiceInstanceUpdateAccepted creates ServiceInstanceUpdateAccepted with default headers values
func (*ServiceInstanceUpdateAccepted) SetPayload ¶
func (o *ServiceInstanceUpdateAccepted) SetPayload(payload *models.ServiceInstanceAsyncOperation)
SetPayload sets the payload to the service instance update accepted response
func (*ServiceInstanceUpdateAccepted) WithPayload ¶
func (o *ServiceInstanceUpdateAccepted) WithPayload(payload *models.ServiceInstanceAsyncOperation) *ServiceInstanceUpdateAccepted
WithPayload adds the payload to the service instance update accepted response
func (*ServiceInstanceUpdateAccepted) WriteResponse ¶
func (o *ServiceInstanceUpdateAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceUpdateBadRequest ¶
type ServiceInstanceUpdateBadRequest struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceUpdateBadRequest Bad Request
swagger:response serviceInstanceUpdateBadRequest
func NewServiceInstanceUpdateBadRequest ¶
func NewServiceInstanceUpdateBadRequest() *ServiceInstanceUpdateBadRequest
NewServiceInstanceUpdateBadRequest creates ServiceInstanceUpdateBadRequest with default headers values
func (*ServiceInstanceUpdateBadRequest) SetPayload ¶
func (o *ServiceInstanceUpdateBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance update bad request response
func (*ServiceInstanceUpdateBadRequest) WithPayload ¶
func (o *ServiceInstanceUpdateBadRequest) WithPayload(payload *models.Error) *ServiceInstanceUpdateBadRequest
WithPayload adds the payload to the service instance update bad request response
func (*ServiceInstanceUpdateBadRequest) WriteResponse ¶
func (o *ServiceInstanceUpdateBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceUpdateDefault ¶
type ServiceInstanceUpdateDefault struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
// contains filtered or unexported fields
}
ServiceInstanceUpdateDefault Unexpected
swagger:response serviceInstanceUpdateDefault
func NewServiceInstanceUpdateDefault ¶
func NewServiceInstanceUpdateDefault(code int) *ServiceInstanceUpdateDefault
NewServiceInstanceUpdateDefault creates ServiceInstanceUpdateDefault with default headers values
func (*ServiceInstanceUpdateDefault) SetPayload ¶
func (o *ServiceInstanceUpdateDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance update default response
func (*ServiceInstanceUpdateDefault) SetStatusCode ¶
func (o *ServiceInstanceUpdateDefault) SetStatusCode(code int)
SetStatusCode sets the status to the service instance update default response
func (*ServiceInstanceUpdateDefault) WithPayload ¶
func (o *ServiceInstanceUpdateDefault) WithPayload(payload *models.Error) *ServiceInstanceUpdateDefault
WithPayload adds the payload to the service instance update default response
func (*ServiceInstanceUpdateDefault) WithStatusCode ¶
func (o *ServiceInstanceUpdateDefault) WithStatusCode(code int) *ServiceInstanceUpdateDefault
WithStatusCode adds the status to the service instance update default response
func (*ServiceInstanceUpdateDefault) WriteResponse ¶
func (o *ServiceInstanceUpdateDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceUpdateHandler ¶
type ServiceInstanceUpdateHandler interface {
Handle(ServiceInstanceUpdateParams, interface{}) middleware.Responder
}
ServiceInstanceUpdateHandler interface for that can handle valid service instance update params
type ServiceInstanceUpdateHandlerFunc ¶
type ServiceInstanceUpdateHandlerFunc func(ServiceInstanceUpdateParams, interface{}) middleware.Responder
ServiceInstanceUpdateHandlerFunc turns a function with the right signature into a service instance update handler
func (ServiceInstanceUpdateHandlerFunc) Handle ¶
func (fn ServiceInstanceUpdateHandlerFunc) Handle(params ServiceInstanceUpdateParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ServiceInstanceUpdateOK ¶
type ServiceInstanceUpdateOK struct {
/*
In: Body
*/
Payload interface{} `json:"body,omitempty"`
}
ServiceInstanceUpdateOK OK
swagger:response serviceInstanceUpdateOK
func NewServiceInstanceUpdateOK ¶
func NewServiceInstanceUpdateOK() *ServiceInstanceUpdateOK
NewServiceInstanceUpdateOK creates ServiceInstanceUpdateOK with default headers values
func (*ServiceInstanceUpdateOK) SetPayload ¶
func (o *ServiceInstanceUpdateOK) SetPayload(payload interface{})
SetPayload sets the payload to the service instance update o k response
func (*ServiceInstanceUpdateOK) WithPayload ¶
func (o *ServiceInstanceUpdateOK) WithPayload(payload interface{}) *ServiceInstanceUpdateOK
WithPayload adds the payload to the service instance update o k response
func (*ServiceInstanceUpdateOK) WriteResponse ¶
func (o *ServiceInstanceUpdateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceUpdateParams ¶
type ServiceInstanceUpdateParams struct {
// HTTP Request Object
HTTPRequest *http.Request `json:"-"`
/*identity of the user that initiated the request from the Platform
In: header
*/
XBrokerAPIOriginatingIdentity *string
/*idenity of the request from the Platform
In: header
*/
XBrokerAPIRequestIdentity *string
/*version number of the Service Broker API that the Platform will use
Required: true
In: header
*/
XBrokerAPIVersion string
/*asynchronous operations supported
In: query
*/
AcceptsIncomplete *bool
/*parameters for the requested service instance update
Required: true
In: body
*/
Body *models.ServiceInstanceUpdateRequest
/*instance id of instance to provision
Required: true
In: path
*/
InstanceID string
}
ServiceInstanceUpdateParams contains all the bound params for the service instance update operation typically these are obtained from a http.Request
swagger:parameters serviceInstance.update
func NewServiceInstanceUpdateParams ¶
func NewServiceInstanceUpdateParams() ServiceInstanceUpdateParams
NewServiceInstanceUpdateParams creates a new ServiceInstanceUpdateParams object
There are no default values defined in the spec.
func (*ServiceInstanceUpdateParams) BindRequest ¶
func (o *ServiceInstanceUpdateParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewServiceInstanceUpdateParams() beforehand.
type ServiceInstanceUpdatePreconditionFailed ¶
type ServiceInstanceUpdatePreconditionFailed struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceUpdatePreconditionFailed Precondition Failed
swagger:response serviceInstanceUpdatePreconditionFailed
func NewServiceInstanceUpdatePreconditionFailed ¶
func NewServiceInstanceUpdatePreconditionFailed() *ServiceInstanceUpdatePreconditionFailed
NewServiceInstanceUpdatePreconditionFailed creates ServiceInstanceUpdatePreconditionFailed with default headers values
func (*ServiceInstanceUpdatePreconditionFailed) SetPayload ¶
func (o *ServiceInstanceUpdatePreconditionFailed) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance update precondition failed response
func (*ServiceInstanceUpdatePreconditionFailed) WithPayload ¶
func (o *ServiceInstanceUpdatePreconditionFailed) WithPayload(payload *models.Error) *ServiceInstanceUpdatePreconditionFailed
WithPayload adds the payload to the service instance update precondition failed response
func (*ServiceInstanceUpdatePreconditionFailed) WriteResponse ¶
func (o *ServiceInstanceUpdatePreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceUpdateURL ¶
type ServiceInstanceUpdateURL struct {
InstanceID string
AcceptsIncomplete *bool
// contains filtered or unexported fields
}
ServiceInstanceUpdateURL generates an URL for the service instance update operation
func (*ServiceInstanceUpdateURL) Build ¶
func (o *ServiceInstanceUpdateURL) Build() (*url.URL, error)
Build a url path and query string
func (*ServiceInstanceUpdateURL) BuildFull ¶
func (o *ServiceInstanceUpdateURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ServiceInstanceUpdateURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ServiceInstanceUpdateURL) SetBasePath ¶
func (o *ServiceInstanceUpdateURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ServiceInstanceUpdateURL) String ¶
func (o *ServiceInstanceUpdateURL) String() string
String returns the string representation of the path with query string
func (*ServiceInstanceUpdateURL) StringFull ¶
func (o *ServiceInstanceUpdateURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ServiceInstanceUpdateURL) WithBasePath ¶
func (o *ServiceInstanceUpdateURL) WithBasePath(bp string) *ServiceInstanceUpdateURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ServiceInstanceUpdateUnauthorized ¶
ServiceInstanceUpdateUnauthorized Unauthorized
swagger:response serviceInstanceUpdateUnauthorized
func NewServiceInstanceUpdateUnauthorized ¶
func NewServiceInstanceUpdateUnauthorized() *ServiceInstanceUpdateUnauthorized
NewServiceInstanceUpdateUnauthorized creates ServiceInstanceUpdateUnauthorized with default headers values
func (*ServiceInstanceUpdateUnauthorized) SetPayload ¶
func (o *ServiceInstanceUpdateUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance update unauthorized response
func (*ServiceInstanceUpdateUnauthorized) WithPayload ¶
func (o *ServiceInstanceUpdateUnauthorized) WithPayload(payload *models.Error) *ServiceInstanceUpdateUnauthorized
WithPayload adds the payload to the service instance update unauthorized response
func (*ServiceInstanceUpdateUnauthorized) WriteResponse ¶
func (o *ServiceInstanceUpdateUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ServiceInstanceUpdateUnprocessableEntity ¶
type ServiceInstanceUpdateUnprocessableEntity struct {
/*
In: Body
*/
Payload *models.Error `json:"body,omitempty"`
}
ServiceInstanceUpdateUnprocessableEntity Unprocessable Entity
swagger:response serviceInstanceUpdateUnprocessableEntity
func NewServiceInstanceUpdateUnprocessableEntity ¶
func NewServiceInstanceUpdateUnprocessableEntity() *ServiceInstanceUpdateUnprocessableEntity
NewServiceInstanceUpdateUnprocessableEntity creates ServiceInstanceUpdateUnprocessableEntity with default headers values
func (*ServiceInstanceUpdateUnprocessableEntity) SetPayload ¶
func (o *ServiceInstanceUpdateUnprocessableEntity) SetPayload(payload *models.Error)
SetPayload sets the payload to the service instance update unprocessable entity response
func (*ServiceInstanceUpdateUnprocessableEntity) WithPayload ¶
func (o *ServiceInstanceUpdateUnprocessableEntity) WithPayload(payload *models.Error) *ServiceInstanceUpdateUnprocessableEntity
WithPayload adds the payload to the service instance update unprocessable entity response
func (*ServiceInstanceUpdateUnprocessableEntity) WriteResponse ¶
func (o *ServiceInstanceUpdateUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- service_instance_deprovision.go
- service_instance_deprovision_parameters.go
- service_instance_deprovision_responses.go
- service_instance_deprovision_urlbuilder.go
- service_instance_get.go
- service_instance_get_parameters.go
- service_instance_get_responses.go
- service_instance_get_urlbuilder.go
- service_instance_last_operation_get.go
- service_instance_last_operation_get_parameters.go
- service_instance_last_operation_get_responses.go
- service_instance_last_operation_get_urlbuilder.go
- service_instance_provision.go
- service_instance_provision_parameters.go
- service_instance_provision_responses.go
- service_instance_provision_urlbuilder.go
- service_instance_update.go
- service_instance_update_parameters.go
- service_instance_update_responses.go
- service_instance_update_urlbuilder.go