service_instances

package
v0.0.0-...-347bf9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceInstanceDeprovisionAcceptedCode int = 202

ServiceInstanceDeprovisionAcceptedCode is the HTTP code returned for type ServiceInstanceDeprovisionAccepted

View Source
const ServiceInstanceDeprovisionBadRequestCode int = 400

ServiceInstanceDeprovisionBadRequestCode is the HTTP code returned for type ServiceInstanceDeprovisionBadRequest

View Source
const ServiceInstanceDeprovisionGoneCode int = 410

ServiceInstanceDeprovisionGoneCode is the HTTP code returned for type ServiceInstanceDeprovisionGone

View Source
const ServiceInstanceDeprovisionOKCode int = 200

ServiceInstanceDeprovisionOKCode is the HTTP code returned for type ServiceInstanceDeprovisionOK

View Source
const ServiceInstanceDeprovisionPreconditionFailedCode int = 412

ServiceInstanceDeprovisionPreconditionFailedCode is the HTTP code returned for type ServiceInstanceDeprovisionPreconditionFailed

View Source
const ServiceInstanceDeprovisionUnauthorizedCode int = 401

ServiceInstanceDeprovisionUnauthorizedCode is the HTTP code returned for type ServiceInstanceDeprovisionUnauthorized

View Source
const ServiceInstanceDeprovisionUnprocessableEntityCode int = 422

ServiceInstanceDeprovisionUnprocessableEntityCode is the HTTP code returned for type ServiceInstanceDeprovisionUnprocessableEntity

View Source
const ServiceInstanceGetNotFoundCode int = 404

ServiceInstanceGetNotFoundCode is the HTTP code returned for type ServiceInstanceGetNotFound

View Source
const ServiceInstanceGetOKCode int = 200

ServiceInstanceGetOKCode is the HTTP code returned for type ServiceInstanceGetOK

View Source
const ServiceInstanceGetPreconditionFailedCode int = 412

ServiceInstanceGetPreconditionFailedCode is the HTTP code returned for type ServiceInstanceGetPreconditionFailed

View Source
const ServiceInstanceGetUnauthorizedCode int = 401

ServiceInstanceGetUnauthorizedCode is the HTTP code returned for type ServiceInstanceGetUnauthorized

View Source
const ServiceInstanceLastOperationGetBadRequestCode int = 400

ServiceInstanceLastOperationGetBadRequestCode is the HTTP code returned for type ServiceInstanceLastOperationGetBadRequest

View Source
const ServiceInstanceLastOperationGetGoneCode int = 410

ServiceInstanceLastOperationGetGoneCode is the HTTP code returned for type ServiceInstanceLastOperationGetGone

View Source
const ServiceInstanceLastOperationGetNotFoundCode int = 404

ServiceInstanceLastOperationGetNotFoundCode is the HTTP code returned for type ServiceInstanceLastOperationGetNotFound

View Source
const ServiceInstanceLastOperationGetOKCode int = 200

ServiceInstanceLastOperationGetOKCode is the HTTP code returned for type ServiceInstanceLastOperationGetOK

View Source
const ServiceInstanceLastOperationGetPreconditionFailedCode int = 412

ServiceInstanceLastOperationGetPreconditionFailedCode is the HTTP code returned for type ServiceInstanceLastOperationGetPreconditionFailed

View Source
const ServiceInstanceLastOperationGetUnauthorizedCode int = 401

ServiceInstanceLastOperationGetUnauthorizedCode is the HTTP code returned for type ServiceInstanceLastOperationGetUnauthorized

View Source
const ServiceInstanceProvisionAcceptedCode int = 202

ServiceInstanceProvisionAcceptedCode is the HTTP code returned for type ServiceInstanceProvisionAccepted

View Source
const ServiceInstanceProvisionBadRequestCode int = 400

ServiceInstanceProvisionBadRequestCode is the HTTP code returned for type ServiceInstanceProvisionBadRequest

View Source
const ServiceInstanceProvisionConflictCode int = 409

ServiceInstanceProvisionConflictCode is the HTTP code returned for type ServiceInstanceProvisionConflict

View Source
const ServiceInstanceProvisionCreatedCode int = 201

ServiceInstanceProvisionCreatedCode is the HTTP code returned for type ServiceInstanceProvisionCreated

View Source
const ServiceInstanceProvisionOKCode int = 200

ServiceInstanceProvisionOKCode is the HTTP code returned for type ServiceInstanceProvisionOK

View Source
const ServiceInstanceProvisionPreconditionFailedCode int = 412

ServiceInstanceProvisionPreconditionFailedCode is the HTTP code returned for type ServiceInstanceProvisionPreconditionFailed

View Source
const ServiceInstanceProvisionUnauthorizedCode int = 401

ServiceInstanceProvisionUnauthorizedCode is the HTTP code returned for type ServiceInstanceProvisionUnauthorized

View Source
const ServiceInstanceProvisionUnprocessableEntityCode int = 422

ServiceInstanceProvisionUnprocessableEntityCode is the HTTP code returned for type ServiceInstanceProvisionUnprocessableEntity

View Source
const ServiceInstanceUpdateAcceptedCode int = 202

ServiceInstanceUpdateAcceptedCode is the HTTP code returned for type ServiceInstanceUpdateAccepted

View Source
const ServiceInstanceUpdateBadRequestCode int = 400

ServiceInstanceUpdateBadRequestCode is the HTTP code returned for type ServiceInstanceUpdateBadRequest

View Source
const ServiceInstanceUpdateOKCode int = 200

ServiceInstanceUpdateOKCode is the HTTP code returned for type ServiceInstanceUpdateOK

View Source
const ServiceInstanceUpdatePreconditionFailedCode int = 412

ServiceInstanceUpdatePreconditionFailedCode is the HTTP code returned for type ServiceInstanceUpdatePreconditionFailed

View Source
const ServiceInstanceUpdateUnauthorizedCode int = 401

ServiceInstanceUpdateUnauthorizedCode is the HTTP code returned for type ServiceInstanceUpdateUnauthorized

View Source
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

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

SetPayload sets the payload to the service instance deprovision accepted response

func (*ServiceInstanceDeprovisionAccepted) WithPayload

WithPayload adds the payload to the service instance deprovision accepted response

func (*ServiceInstanceDeprovisionAccepted) WriteResponse

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

WithPayload adds the payload to the service instance deprovision bad request response

func (*ServiceInstanceDeprovisionBadRequest) WriteResponse

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

WithPayload adds the payload to the service instance deprovision default response

func (*ServiceInstanceDeprovisionDefault) WithStatusCode

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

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

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

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

SetPayload sets the payload to the service instance deprovision precondition failed response

func (*ServiceInstanceDeprovisionPreconditionFailed) WithPayload

WithPayload adds the payload to the service instance deprovision precondition failed response

func (*ServiceInstanceDeprovisionPreconditionFailed) WriteResponse

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

func (o *ServiceInstanceDeprovisionURL) Must(u *url.URL, err error) *url.URL

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

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

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 {

	/*
	  In: Body
	*/
	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

WithPayload adds the payload to the service instance deprovision unauthorized response

func (*ServiceInstanceDeprovisionUnauthorized) WriteResponse

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

SetPayload sets the payload to the service instance deprovision unprocessable entity response

func (*ServiceInstanceDeprovisionUnprocessableEntity) WithPayload

WithPayload adds the payload to the service instance deprovision unprocessable entity response

func (*ServiceInstanceDeprovisionUnprocessableEntity) WriteResponse

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

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

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

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

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

WithPayload adds the payload to the service instance get precondition failed response

func (*ServiceInstanceGetPreconditionFailed) WriteResponse

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

func (o *ServiceInstanceGetURL) Must(u *url.URL, err error) *url.URL

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

type ServiceInstanceGetUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

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

WithPayload adds the payload to the service instance last operation get bad request response

func (*ServiceInstanceLastOperationGetBadRequest) WriteResponse

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

WithPayload adds the payload to the service instance last operation get default response

func (*ServiceInstanceLastOperationGetDefault) WithStatusCode

WithStatusCode adds the status to the service instance last operation get default response

func (*ServiceInstanceLastOperationGetDefault) WriteResponse

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

WithPayload adds the payload to the service instance last operation get gone response

func (*ServiceInstanceLastOperationGetGone) WriteResponse

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

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

WithPayload adds the payload to the service instance last operation get not found response

func (*ServiceInstanceLastOperationGetNotFound) WriteResponse

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

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

WithPayload adds the payload to the service instance last operation get o k response

func (*ServiceInstanceLastOperationGetOK) WithRetryAfter

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

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

SetPayload sets the payload to the service instance last operation get precondition failed response

func (*ServiceInstanceLastOperationGetPreconditionFailed) WithPayload

WithPayload adds the payload to the service instance last operation get precondition failed response

func (*ServiceInstanceLastOperationGetPreconditionFailed) WriteResponse

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

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

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

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 {

	/*
	  In: Body
	*/
	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

SetPayload sets the payload to the service instance last operation get unauthorized response

func (*ServiceInstanceLastOperationGetUnauthorized) WithPayload

WithPayload adds the payload to the service instance last operation get unauthorized response

func (*ServiceInstanceLastOperationGetUnauthorized) WriteResponse

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

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

SetPayload sets the payload to the service instance provision accepted response

func (*ServiceInstanceProvisionAccepted) WithPayload

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

WithPayload adds the payload to the service instance provision bad request response

func (*ServiceInstanceProvisionBadRequest) WriteResponse

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

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

SetPayload sets the payload to the service instance provision created response

func (*ServiceInstanceProvisionCreated) WithPayload

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

WithPayload adds the payload to the service instance provision default response

func (*ServiceInstanceProvisionDefault) WithStatusCode

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

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

SetPayload sets the payload to the service instance provision o k response

func (*ServiceInstanceProvisionOK) WithPayload

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

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

SetPayload sets the payload to the service instance provision precondition failed response

func (*ServiceInstanceProvisionPreconditionFailed) WithPayload

WithPayload adds the payload to the service instance provision precondition failed response

func (*ServiceInstanceProvisionPreconditionFailed) WriteResponse

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

func (o *ServiceInstanceProvisionURL) Must(u *url.URL, err error) *url.URL

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

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

type ServiceInstanceProvisionUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

WithPayload adds the payload to the service instance provision unauthorized response

func (*ServiceInstanceProvisionUnauthorized) WriteResponse

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

SetPayload sets the payload to the service instance provision unprocessable entity response

func (*ServiceInstanceProvisionUnprocessableEntity) WithPayload

WithPayload adds the payload to the service instance provision unprocessable entity response

func (*ServiceInstanceProvisionUnprocessableEntity) WriteResponse

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

SetPayload sets the payload to the service instance update accepted response

func (*ServiceInstanceUpdateAccepted) WithPayload

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

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

WithPayload adds the payload to the service instance update default response

func (*ServiceInstanceUpdateDefault) WithStatusCode

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

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

WithPayload adds the payload to the service instance update precondition failed response

func (*ServiceInstanceUpdatePreconditionFailed) WriteResponse

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

func (o *ServiceInstanceUpdateURL) Must(u *url.URL, err error) *url.URL

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

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

type ServiceInstanceUpdateUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

WithPayload adds the payload to the service instance update unprocessable entity response

func (*ServiceInstanceUpdateUnprocessableEntity) WriteResponse

WriteResponse to the client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL