Documentation ¶
Index ¶
- Constants
- type CreateServiceBroker
- type CreateServiceBrokerCreated
- func (o *CreateServiceBrokerCreated) SetPayload(payload *models.CreateServiceBrokerResponseResource)
- func (o *CreateServiceBrokerCreated) WithPayload(payload *models.CreateServiceBrokerResponseResource) *CreateServiceBrokerCreated
- func (o *CreateServiceBrokerCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceBrokerHandler
- type CreateServiceBrokerHandlerFunc
- type CreateServiceBrokerParams
- type CreateServiceBrokerURL
- func (o *CreateServiceBrokerURL) Build() (*url.URL, error)
- func (o *CreateServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceBrokerURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceBrokerURL) SetBasePath(bp string)
- func (o *CreateServiceBrokerURL) String() string
- func (o *CreateServiceBrokerURL) StringFull(scheme, host string) string
- func (o *CreateServiceBrokerURL) WithBasePath(bp string) *CreateServiceBrokerURL
- type DeleteServiceBroker
- type DeleteServiceBrokerHandler
- type DeleteServiceBrokerHandlerFunc
- type DeleteServiceBrokerNoContent
- type DeleteServiceBrokerParams
- type DeleteServiceBrokerURL
- func (o *DeleteServiceBrokerURL) Build() (*url.URL, error)
- func (o *DeleteServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceBrokerURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceBrokerURL) SetBasePath(bp string)
- func (o *DeleteServiceBrokerURL) String() string
- func (o *DeleteServiceBrokerURL) StringFull(scheme, host string) string
- func (o *DeleteServiceBrokerURL) WithBasePath(bp string) *DeleteServiceBrokerURL
- type ListAllServiceBrokers
- type ListAllServiceBrokersHandler
- type ListAllServiceBrokersHandlerFunc
- type ListAllServiceBrokersOK
- func (o *ListAllServiceBrokersOK) SetPayload(payload *models.ListAllServiceBrokersResponsePaged)
- func (o *ListAllServiceBrokersOK) WithPayload(payload *models.ListAllServiceBrokersResponsePaged) *ListAllServiceBrokersOK
- func (o *ListAllServiceBrokersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllServiceBrokersParams
- type ListAllServiceBrokersURL
- func (o *ListAllServiceBrokersURL) Build() (*url.URL, error)
- func (o *ListAllServiceBrokersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServiceBrokersURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServiceBrokersURL) SetBasePath(bp string)
- func (o *ListAllServiceBrokersURL) String() string
- func (o *ListAllServiceBrokersURL) StringFull(scheme, host string) string
- func (o *ListAllServiceBrokersURL) WithBasePath(bp string) *ListAllServiceBrokersURL
- type RetrieveServiceBroker
- type RetrieveServiceBrokerHandler
- type RetrieveServiceBrokerHandlerFunc
- type RetrieveServiceBrokerOK
- func (o *RetrieveServiceBrokerOK) SetPayload(payload *models.RetrieveServiceBrokerResponseResource)
- func (o *RetrieveServiceBrokerOK) WithPayload(payload *models.RetrieveServiceBrokerResponseResource) *RetrieveServiceBrokerOK
- func (o *RetrieveServiceBrokerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrieveServiceBrokerParams
- type RetrieveServiceBrokerURL
- func (o *RetrieveServiceBrokerURL) Build() (*url.URL, error)
- func (o *RetrieveServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveServiceBrokerURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveServiceBrokerURL) SetBasePath(bp string)
- func (o *RetrieveServiceBrokerURL) String() string
- func (o *RetrieveServiceBrokerURL) StringFull(scheme, host string) string
- func (o *RetrieveServiceBrokerURL) WithBasePath(bp string) *RetrieveServiceBrokerURL
- type UpdateServiceBroker
- type UpdateServiceBrokerHandler
- type UpdateServiceBrokerHandlerFunc
- type UpdateServiceBrokerOK
- func (o *UpdateServiceBrokerOK) SetPayload(payload *models.UpdateServiceBrokerResponseResource)
- func (o *UpdateServiceBrokerOK) WithPayload(payload *models.UpdateServiceBrokerResponseResource) *UpdateServiceBrokerOK
- func (o *UpdateServiceBrokerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceBrokerParams
- type UpdateServiceBrokerURL
- func (o *UpdateServiceBrokerURL) Build() (*url.URL, error)
- func (o *UpdateServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceBrokerURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceBrokerURL) SetBasePath(bp string)
- func (o *UpdateServiceBrokerURL) String() string
- func (o *UpdateServiceBrokerURL) StringFull(scheme, host string) string
- func (o *UpdateServiceBrokerURL) WithBasePath(bp string) *UpdateServiceBrokerURL
Constants ¶
const CreateServiceBrokerCreatedCode int = 201
CreateServiceBrokerCreatedCode is the HTTP code returned for type CreateServiceBrokerCreated
const DeleteServiceBrokerNoContentCode int = 204
DeleteServiceBrokerNoContentCode is the HTTP code returned for type DeleteServiceBrokerNoContent
const ListAllServiceBrokersOKCode int = 200
ListAllServiceBrokersOKCode is the HTTP code returned for type ListAllServiceBrokersOK
const RetrieveServiceBrokerOKCode int = 200
RetrieveServiceBrokerOKCode is the HTTP code returned for type RetrieveServiceBrokerOK
const UpdateServiceBrokerOKCode int = 200
UpdateServiceBrokerOKCode is the HTTP code returned for type UpdateServiceBrokerOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceBroker ¶
type CreateServiceBroker struct { Context *middleware.Context Handler CreateServiceBrokerHandler }
CreateServiceBroker swagger:route POST /service_brokers serviceBrokers createServiceBroker
Create a Service Broker ¶
curl --insecure -i %s/v2/service_brokers -X POST -H 'Authorization: %s' -d '%s'
func NewCreateServiceBroker ¶
func NewCreateServiceBroker(ctx *middleware.Context, handler CreateServiceBrokerHandler) *CreateServiceBroker
NewCreateServiceBroker creates a new http.Handler for the create service broker operation
func (*CreateServiceBroker) ServeHTTP ¶
func (o *CreateServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceBrokerCreated ¶
type CreateServiceBrokerCreated struct { /* In: Body */ Payload *models.CreateServiceBrokerResponseResource `json:"body,omitempty"` }
CreateServiceBrokerCreated successful response
swagger:response createServiceBrokerCreated
func NewCreateServiceBrokerCreated ¶
func NewCreateServiceBrokerCreated() *CreateServiceBrokerCreated
NewCreateServiceBrokerCreated creates CreateServiceBrokerCreated with default headers values
func (*CreateServiceBrokerCreated) SetPayload ¶
func (o *CreateServiceBrokerCreated) SetPayload(payload *models.CreateServiceBrokerResponseResource)
SetPayload sets the payload to the create service broker created response
func (*CreateServiceBrokerCreated) WithPayload ¶
func (o *CreateServiceBrokerCreated) WithPayload(payload *models.CreateServiceBrokerResponseResource) *CreateServiceBrokerCreated
WithPayload adds the payload to the create service broker created response
func (*CreateServiceBrokerCreated) WriteResponse ¶
func (o *CreateServiceBrokerCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceBrokerHandler ¶
type CreateServiceBrokerHandler interface {
Handle(CreateServiceBrokerParams) middleware.Responder
}
CreateServiceBrokerHandler interface for that can handle valid create service broker params
type CreateServiceBrokerHandlerFunc ¶
type CreateServiceBrokerHandlerFunc func(CreateServiceBrokerParams) middleware.Responder
CreateServiceBrokerHandlerFunc turns a function with the right signature into a create service broker handler
func (CreateServiceBrokerHandlerFunc) Handle ¶
func (fn CreateServiceBrokerHandlerFunc) Handle(params CreateServiceBrokerParams) middleware.Responder
Handle executing the request and returning a response
type CreateServiceBrokerParams ¶
type CreateServiceBrokerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*An object instance that is serialized and sent as the request body. Required: true In: body */ Value *models.CreateServiceBrokerRequest }
CreateServiceBrokerParams contains all the bound params for the create service broker operation typically these are obtained from a http.Request
swagger:parameters createServiceBroker
func NewCreateServiceBrokerParams ¶
func NewCreateServiceBrokerParams() CreateServiceBrokerParams
NewCreateServiceBrokerParams creates a new CreateServiceBrokerParams object no default values defined in spec.
func (*CreateServiceBrokerParams) BindRequest ¶
func (o *CreateServiceBrokerParams) 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 NewCreateServiceBrokerParams() beforehand.
type CreateServiceBrokerURL ¶
type CreateServiceBrokerURL struct {
// contains filtered or unexported fields
}
CreateServiceBrokerURL generates an URL for the create service broker operation
func (*CreateServiceBrokerURL) Build ¶
func (o *CreateServiceBrokerURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceBrokerURL) BuildFull ¶
func (o *CreateServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceBrokerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceBrokerURL) SetBasePath ¶
func (o *CreateServiceBrokerURL) 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 (*CreateServiceBrokerURL) String ¶
func (o *CreateServiceBrokerURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceBrokerURL) StringFull ¶
func (o *CreateServiceBrokerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceBrokerURL) WithBasePath ¶
func (o *CreateServiceBrokerURL) WithBasePath(bp string) *CreateServiceBrokerURL
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 DeleteServiceBroker ¶
type DeleteServiceBroker struct { Context *middleware.Context Handler DeleteServiceBrokerHandler }
DeleteServiceBroker swagger:route DELETE /service_brokers/{guid} serviceBrokers deleteServiceBroker
Delete a Particular Service Broker ¶
curl --insecure -i %s/v2/service_brokers/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteServiceBroker ¶
func NewDeleteServiceBroker(ctx *middleware.Context, handler DeleteServiceBrokerHandler) *DeleteServiceBroker
NewDeleteServiceBroker creates a new http.Handler for the delete service broker operation
func (*DeleteServiceBroker) ServeHTTP ¶
func (o *DeleteServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceBrokerHandler ¶
type DeleteServiceBrokerHandler interface {
Handle(DeleteServiceBrokerParams) middleware.Responder
}
DeleteServiceBrokerHandler interface for that can handle valid delete service broker params
type DeleteServiceBrokerHandlerFunc ¶
type DeleteServiceBrokerHandlerFunc func(DeleteServiceBrokerParams) middleware.Responder
DeleteServiceBrokerHandlerFunc turns a function with the right signature into a delete service broker handler
func (DeleteServiceBrokerHandlerFunc) Handle ¶
func (fn DeleteServiceBrokerHandlerFunc) Handle(params DeleteServiceBrokerParams) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceBrokerNoContent ¶
type DeleteServiceBrokerNoContent struct { }
DeleteServiceBrokerNoContent successful response
swagger:response deleteServiceBrokerNoContent
func NewDeleteServiceBrokerNoContent ¶
func NewDeleteServiceBrokerNoContent() *DeleteServiceBrokerNoContent
NewDeleteServiceBrokerNoContent creates DeleteServiceBrokerNoContent with default headers values
func (*DeleteServiceBrokerNoContent) WriteResponse ¶
func (o *DeleteServiceBrokerNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceBrokerParams ¶
type DeleteServiceBrokerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_brokers/:guid' Required: true In: path */ GUID string }
DeleteServiceBrokerParams contains all the bound params for the delete service broker operation typically these are obtained from a http.Request
swagger:parameters deleteServiceBroker
func NewDeleteServiceBrokerParams ¶
func NewDeleteServiceBrokerParams() DeleteServiceBrokerParams
NewDeleteServiceBrokerParams creates a new DeleteServiceBrokerParams object no default values defined in spec.
func (*DeleteServiceBrokerParams) BindRequest ¶
func (o *DeleteServiceBrokerParams) 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 NewDeleteServiceBrokerParams() beforehand.
type DeleteServiceBrokerURL ¶
type DeleteServiceBrokerURL struct { GUID string // contains filtered or unexported fields }
DeleteServiceBrokerURL generates an URL for the delete service broker operation
func (*DeleteServiceBrokerURL) Build ¶
func (o *DeleteServiceBrokerURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceBrokerURL) BuildFull ¶
func (o *DeleteServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceBrokerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceBrokerURL) SetBasePath ¶
func (o *DeleteServiceBrokerURL) 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 (*DeleteServiceBrokerURL) String ¶
func (o *DeleteServiceBrokerURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceBrokerURL) StringFull ¶
func (o *DeleteServiceBrokerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceBrokerURL) WithBasePath ¶
func (o *DeleteServiceBrokerURL) WithBasePath(bp string) *DeleteServiceBrokerURL
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 ListAllServiceBrokers ¶
type ListAllServiceBrokers struct { Context *middleware.Context Handler ListAllServiceBrokersHandler }
ListAllServiceBrokers swagger:route GET /service_brokers serviceBrokers listAllServiceBrokers
List all Service Brokers ¶
curl --insecure -i %s/v2/service_brokers -X GET -H 'Authorization: %s'
func NewListAllServiceBrokers ¶
func NewListAllServiceBrokers(ctx *middleware.Context, handler ListAllServiceBrokersHandler) *ListAllServiceBrokers
NewListAllServiceBrokers creates a new http.Handler for the list all service brokers operation
func (*ListAllServiceBrokers) ServeHTTP ¶
func (o *ListAllServiceBrokers) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllServiceBrokersHandler ¶
type ListAllServiceBrokersHandler interface {
Handle(ListAllServiceBrokersParams) middleware.Responder
}
ListAllServiceBrokersHandler interface for that can handle valid list all service brokers params
type ListAllServiceBrokersHandlerFunc ¶
type ListAllServiceBrokersHandlerFunc func(ListAllServiceBrokersParams) middleware.Responder
ListAllServiceBrokersHandlerFunc turns a function with the right signature into a list all service brokers handler
func (ListAllServiceBrokersHandlerFunc) Handle ¶
func (fn ListAllServiceBrokersHandlerFunc) Handle(params ListAllServiceBrokersParams) middleware.Responder
Handle executing the request and returning a response
type ListAllServiceBrokersOK ¶
type ListAllServiceBrokersOK struct { /* In: Body */ Payload *models.ListAllServiceBrokersResponsePaged `json:"body,omitempty"` }
ListAllServiceBrokersOK successful response
swagger:response listAllServiceBrokersOK
func NewListAllServiceBrokersOK ¶
func NewListAllServiceBrokersOK() *ListAllServiceBrokersOK
NewListAllServiceBrokersOK creates ListAllServiceBrokersOK with default headers values
func (*ListAllServiceBrokersOK) SetPayload ¶
func (o *ListAllServiceBrokersOK) SetPayload(payload *models.ListAllServiceBrokersResponsePaged)
SetPayload sets the payload to the list all service brokers o k response
func (*ListAllServiceBrokersOK) WithPayload ¶
func (o *ListAllServiceBrokersOK) WithPayload(payload *models.ListAllServiceBrokersResponsePaged) *ListAllServiceBrokersOK
WithPayload adds the payload to the list all service brokers o k response
func (*ListAllServiceBrokersOK) WriteResponse ¶
func (o *ListAllServiceBrokersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllServiceBrokersParams ¶
type ListAllServiceBrokersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListAllServiceBrokersParams contains all the bound params for the list all service brokers operation typically these are obtained from a http.Request
swagger:parameters listAllServiceBrokers
func NewListAllServiceBrokersParams ¶
func NewListAllServiceBrokersParams() ListAllServiceBrokersParams
NewListAllServiceBrokersParams creates a new ListAllServiceBrokersParams object no default values defined in spec.
func (*ListAllServiceBrokersParams) BindRequest ¶
func (o *ListAllServiceBrokersParams) 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 NewListAllServiceBrokersParams() beforehand.
type ListAllServiceBrokersURL ¶
type ListAllServiceBrokersURL struct {
// contains filtered or unexported fields
}
ListAllServiceBrokersURL generates an URL for the list all service brokers operation
func (*ListAllServiceBrokersURL) Build ¶
func (o *ListAllServiceBrokersURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllServiceBrokersURL) BuildFull ¶
func (o *ListAllServiceBrokersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllServiceBrokersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllServiceBrokersURL) SetBasePath ¶
func (o *ListAllServiceBrokersURL) 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 (*ListAllServiceBrokersURL) String ¶
func (o *ListAllServiceBrokersURL) String() string
String returns the string representation of the path with query string
func (*ListAllServiceBrokersURL) StringFull ¶
func (o *ListAllServiceBrokersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllServiceBrokersURL) WithBasePath ¶
func (o *ListAllServiceBrokersURL) WithBasePath(bp string) *ListAllServiceBrokersURL
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 RetrieveServiceBroker ¶
type RetrieveServiceBroker struct { Context *middleware.Context Handler RetrieveServiceBrokerHandler }
RetrieveServiceBroker swagger:route GET /service_brokers/{guid} serviceBrokers retrieveServiceBroker
Retrieve a Particular Service Broker ¶
curl --insecure -i %s/v2/service_brokers/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveServiceBroker ¶
func NewRetrieveServiceBroker(ctx *middleware.Context, handler RetrieveServiceBrokerHandler) *RetrieveServiceBroker
NewRetrieveServiceBroker creates a new http.Handler for the retrieve service broker operation
func (*RetrieveServiceBroker) ServeHTTP ¶
func (o *RetrieveServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveServiceBrokerHandler ¶
type RetrieveServiceBrokerHandler interface {
Handle(RetrieveServiceBrokerParams) middleware.Responder
}
RetrieveServiceBrokerHandler interface for that can handle valid retrieve service broker params
type RetrieveServiceBrokerHandlerFunc ¶
type RetrieveServiceBrokerHandlerFunc func(RetrieveServiceBrokerParams) middleware.Responder
RetrieveServiceBrokerHandlerFunc turns a function with the right signature into a retrieve service broker handler
func (RetrieveServiceBrokerHandlerFunc) Handle ¶
func (fn RetrieveServiceBrokerHandlerFunc) Handle(params RetrieveServiceBrokerParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveServiceBrokerOK ¶
type RetrieveServiceBrokerOK struct { /* In: Body */ Payload *models.RetrieveServiceBrokerResponseResource `json:"body,omitempty"` }
RetrieveServiceBrokerOK successful response
swagger:response retrieveServiceBrokerOK
func NewRetrieveServiceBrokerOK ¶
func NewRetrieveServiceBrokerOK() *RetrieveServiceBrokerOK
NewRetrieveServiceBrokerOK creates RetrieveServiceBrokerOK with default headers values
func (*RetrieveServiceBrokerOK) SetPayload ¶
func (o *RetrieveServiceBrokerOK) SetPayload(payload *models.RetrieveServiceBrokerResponseResource)
SetPayload sets the payload to the retrieve service broker o k response
func (*RetrieveServiceBrokerOK) WithPayload ¶
func (o *RetrieveServiceBrokerOK) WithPayload(payload *models.RetrieveServiceBrokerResponseResource) *RetrieveServiceBrokerOK
WithPayload adds the payload to the retrieve service broker o k response
func (*RetrieveServiceBrokerOK) WriteResponse ¶
func (o *RetrieveServiceBrokerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveServiceBrokerParams ¶
type RetrieveServiceBrokerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_brokers/:guid' Required: true In: path */ GUID string }
RetrieveServiceBrokerParams contains all the bound params for the retrieve service broker operation typically these are obtained from a http.Request
swagger:parameters retrieveServiceBroker
func NewRetrieveServiceBrokerParams ¶
func NewRetrieveServiceBrokerParams() RetrieveServiceBrokerParams
NewRetrieveServiceBrokerParams creates a new RetrieveServiceBrokerParams object no default values defined in spec.
func (*RetrieveServiceBrokerParams) BindRequest ¶
func (o *RetrieveServiceBrokerParams) 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 NewRetrieveServiceBrokerParams() beforehand.
type RetrieveServiceBrokerURL ¶
type RetrieveServiceBrokerURL struct { GUID string // contains filtered or unexported fields }
RetrieveServiceBrokerURL generates an URL for the retrieve service broker operation
func (*RetrieveServiceBrokerURL) Build ¶
func (o *RetrieveServiceBrokerURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveServiceBrokerURL) BuildFull ¶
func (o *RetrieveServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveServiceBrokerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveServiceBrokerURL) SetBasePath ¶
func (o *RetrieveServiceBrokerURL) 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 (*RetrieveServiceBrokerURL) String ¶
func (o *RetrieveServiceBrokerURL) String() string
String returns the string representation of the path with query string
func (*RetrieveServiceBrokerURL) StringFull ¶
func (o *RetrieveServiceBrokerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveServiceBrokerURL) WithBasePath ¶
func (o *RetrieveServiceBrokerURL) WithBasePath(bp string) *RetrieveServiceBrokerURL
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 UpdateServiceBroker ¶
type UpdateServiceBroker struct { Context *middleware.Context Handler UpdateServiceBrokerHandler }
UpdateServiceBroker swagger:route PUT /service_brokers/{guid} serviceBrokers updateServiceBroker
Update a Service Broker ¶
curl --insecure -i %s/v2/service_brokers/{guid} -X PUT -H 'Authorization: %s' -d '%s'
func NewUpdateServiceBroker ¶
func NewUpdateServiceBroker(ctx *middleware.Context, handler UpdateServiceBrokerHandler) *UpdateServiceBroker
NewUpdateServiceBroker creates a new http.Handler for the update service broker operation
func (*UpdateServiceBroker) ServeHTTP ¶
func (o *UpdateServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceBrokerHandler ¶
type UpdateServiceBrokerHandler interface {
Handle(UpdateServiceBrokerParams) middleware.Responder
}
UpdateServiceBrokerHandler interface for that can handle valid update service broker params
type UpdateServiceBrokerHandlerFunc ¶
type UpdateServiceBrokerHandlerFunc func(UpdateServiceBrokerParams) middleware.Responder
UpdateServiceBrokerHandlerFunc turns a function with the right signature into a update service broker handler
func (UpdateServiceBrokerHandlerFunc) Handle ¶
func (fn UpdateServiceBrokerHandlerFunc) Handle(params UpdateServiceBrokerParams) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceBrokerOK ¶
type UpdateServiceBrokerOK struct { /* In: Body */ Payload *models.UpdateServiceBrokerResponseResource `json:"body,omitempty"` }
UpdateServiceBrokerOK successful response
swagger:response updateServiceBrokerOK
func NewUpdateServiceBrokerOK ¶
func NewUpdateServiceBrokerOK() *UpdateServiceBrokerOK
NewUpdateServiceBrokerOK creates UpdateServiceBrokerOK with default headers values
func (*UpdateServiceBrokerOK) SetPayload ¶
func (o *UpdateServiceBrokerOK) SetPayload(payload *models.UpdateServiceBrokerResponseResource)
SetPayload sets the payload to the update service broker o k response
func (*UpdateServiceBrokerOK) WithPayload ¶
func (o *UpdateServiceBrokerOK) WithPayload(payload *models.UpdateServiceBrokerResponseResource) *UpdateServiceBrokerOK
WithPayload adds the payload to the update service broker o k response
func (*UpdateServiceBrokerOK) WriteResponse ¶
func (o *UpdateServiceBrokerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceBrokerParams ¶
type UpdateServiceBrokerParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_brokers/:guid' Required: true In: path */ GUID string /*An object instance that is serialized and sent as the request body. Required: true In: body */ Value *models.UpdateServiceBrokerRequest }
UpdateServiceBrokerParams contains all the bound params for the update service broker operation typically these are obtained from a http.Request
swagger:parameters updateServiceBroker
func NewUpdateServiceBrokerParams ¶
func NewUpdateServiceBrokerParams() UpdateServiceBrokerParams
NewUpdateServiceBrokerParams creates a new UpdateServiceBrokerParams object no default values defined in spec.
func (*UpdateServiceBrokerParams) BindRequest ¶
func (o *UpdateServiceBrokerParams) 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 NewUpdateServiceBrokerParams() beforehand.
type UpdateServiceBrokerURL ¶
type UpdateServiceBrokerURL struct { GUID string // contains filtered or unexported fields }
UpdateServiceBrokerURL generates an URL for the update service broker operation
func (*UpdateServiceBrokerURL) Build ¶
func (o *UpdateServiceBrokerURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceBrokerURL) BuildFull ¶
func (o *UpdateServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceBrokerURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceBrokerURL) SetBasePath ¶
func (o *UpdateServiceBrokerURL) 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 (*UpdateServiceBrokerURL) String ¶
func (o *UpdateServiceBrokerURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceBrokerURL) StringFull ¶
func (o *UpdateServiceBrokerURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceBrokerURL) WithBasePath ¶
func (o *UpdateServiceBrokerURL) WithBasePath(bp string) *UpdateServiceBrokerURL
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
Source Files ¶
- create_service_broker.go
- create_service_broker_parameters.go
- create_service_broker_responses.go
- create_service_broker_urlbuilder.go
- delete_service_broker.go
- delete_service_broker_parameters.go
- delete_service_broker_responses.go
- delete_service_broker_urlbuilder.go
- list_all_service_brokers.go
- list_all_service_brokers_parameters.go
- list_all_service_brokers_responses.go
- list_all_service_brokers_urlbuilder.go
- retrieve_service_broker.go
- retrieve_service_broker_parameters.go
- retrieve_service_broker_responses.go
- retrieve_service_broker_urlbuilder.go
- update_service_broker.go
- update_service_broker_parameters.go
- update_service_broker_responses.go
- update_service_broker_urlbuilder.go