Documentation ¶
Index ¶
- Constants
- type CatalogGet
- type CatalogGetDefault
- func (o *CatalogGetDefault) SetPayload(payload *models.Error)
- func (o *CatalogGetDefault) SetStatusCode(code int)
- func (o *CatalogGetDefault) WithPayload(payload *models.Error) *CatalogGetDefault
- func (o *CatalogGetDefault) WithStatusCode(code int) *CatalogGetDefault
- func (o *CatalogGetDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CatalogGetHandler
- type CatalogGetHandlerFunc
- type CatalogGetOK
- type CatalogGetParams
- type CatalogGetPreconditionFailed
- type CatalogGetURL
- func (o *CatalogGetURL) Build() (*url.URL, error)
- func (o *CatalogGetURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CatalogGetURL) Must(u *url.URL, err error) *url.URL
- func (o *CatalogGetURL) SetBasePath(bp string)
- func (o *CatalogGetURL) String() string
- func (o *CatalogGetURL) StringFull(scheme, host string) string
- func (o *CatalogGetURL) WithBasePath(bp string) *CatalogGetURL
- type CatalogGetUnauthorized
Constants ¶
const CatalogGetOKCode int = 200
CatalogGetOKCode is the HTTP code returned for type CatalogGetOK
const CatalogGetPreconditionFailedCode int = 412
CatalogGetPreconditionFailedCode is the HTTP code returned for type CatalogGetPreconditionFailed
CatalogGetUnauthorizedCode is the HTTP code returned for type CatalogGetUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogGet ¶
type CatalogGet struct { Context *middleware.Context Handler CatalogGetHandler }
CatalogGet swagger:route GET /v2/catalog Catalog catalogGet
get the catalog of services that the service broker offers
func NewCatalogGet ¶
func NewCatalogGet(ctx *middleware.Context, handler CatalogGetHandler) *CatalogGet
NewCatalogGet creates a new http.Handler for the catalog get operation
func (*CatalogGet) ServeHTTP ¶
func (o *CatalogGet) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CatalogGetDefault ¶
type CatalogGetDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
CatalogGetDefault Unexpected
swagger:response catalogGetDefault
func NewCatalogGetDefault ¶
func NewCatalogGetDefault(code int) *CatalogGetDefault
NewCatalogGetDefault creates CatalogGetDefault with default headers values
func (*CatalogGetDefault) SetPayload ¶
func (o *CatalogGetDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the catalog get default response
func (*CatalogGetDefault) SetStatusCode ¶
func (o *CatalogGetDefault) SetStatusCode(code int)
SetStatusCode sets the status to the catalog get default response
func (*CatalogGetDefault) WithPayload ¶
func (o *CatalogGetDefault) WithPayload(payload *models.Error) *CatalogGetDefault
WithPayload adds the payload to the catalog get default response
func (*CatalogGetDefault) WithStatusCode ¶
func (o *CatalogGetDefault) WithStatusCode(code int) *CatalogGetDefault
WithStatusCode adds the status to the catalog get default response
func (*CatalogGetDefault) WriteResponse ¶
func (o *CatalogGetDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CatalogGetHandler ¶
type CatalogGetHandler interface {
Handle(CatalogGetParams, interface{}) middleware.Responder
}
CatalogGetHandler interface for that can handle valid catalog get params
type CatalogGetHandlerFunc ¶
type CatalogGetHandlerFunc func(CatalogGetParams, interface{}) middleware.Responder
CatalogGetHandlerFunc turns a function with the right signature into a catalog get handler
func (CatalogGetHandlerFunc) Handle ¶
func (fn CatalogGetHandlerFunc) Handle(params CatalogGetParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CatalogGetOK ¶
CatalogGetOK catalog response
swagger:response catalogGetOK
func NewCatalogGetOK ¶
func NewCatalogGetOK() *CatalogGetOK
NewCatalogGetOK creates CatalogGetOK with default headers values
func (*CatalogGetOK) SetPayload ¶
func (o *CatalogGetOK) SetPayload(payload *models.Catalog)
SetPayload sets the payload to the catalog get o k response
func (*CatalogGetOK) WithPayload ¶
func (o *CatalogGetOK) WithPayload(payload *models.Catalog) *CatalogGetOK
WithPayload adds the payload to the catalog get o k response
func (*CatalogGetOK) WriteResponse ¶
func (o *CatalogGetOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CatalogGetParams ¶
type CatalogGetParams 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 }
CatalogGetParams contains all the bound params for the catalog get operation typically these are obtained from a http.Request
swagger:parameters catalog.get
func NewCatalogGetParams ¶
func NewCatalogGetParams() CatalogGetParams
NewCatalogGetParams creates a new CatalogGetParams object
There are no default values defined in the spec.
func (*CatalogGetParams) BindRequest ¶
func (o *CatalogGetParams) 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 NewCatalogGetParams() beforehand.
type CatalogGetPreconditionFailed ¶
type CatalogGetPreconditionFailed struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CatalogGetPreconditionFailed Precondition Failed
swagger:response catalogGetPreconditionFailed
func NewCatalogGetPreconditionFailed ¶
func NewCatalogGetPreconditionFailed() *CatalogGetPreconditionFailed
NewCatalogGetPreconditionFailed creates CatalogGetPreconditionFailed with default headers values
func (*CatalogGetPreconditionFailed) SetPayload ¶
func (o *CatalogGetPreconditionFailed) SetPayload(payload *models.Error)
SetPayload sets the payload to the catalog get precondition failed response
func (*CatalogGetPreconditionFailed) WithPayload ¶
func (o *CatalogGetPreconditionFailed) WithPayload(payload *models.Error) *CatalogGetPreconditionFailed
WithPayload adds the payload to the catalog get precondition failed response
func (*CatalogGetPreconditionFailed) WriteResponse ¶
func (o *CatalogGetPreconditionFailed) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CatalogGetURL ¶
type CatalogGetURL struct {
// contains filtered or unexported fields
}
CatalogGetURL generates an URL for the catalog get operation
func (*CatalogGetURL) Build ¶
func (o *CatalogGetURL) Build() (*url.URL, error)
Build a url path and query string
func (*CatalogGetURL) BuildFull ¶
func (o *CatalogGetURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CatalogGetURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CatalogGetURL) SetBasePath ¶
func (o *CatalogGetURL) 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 (*CatalogGetURL) String ¶
func (o *CatalogGetURL) String() string
String returns the string representation of the path with query string
func (*CatalogGetURL) StringFull ¶
func (o *CatalogGetURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CatalogGetURL) WithBasePath ¶
func (o *CatalogGetURL) WithBasePath(bp string) *CatalogGetURL
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 CatalogGetUnauthorized ¶
CatalogGetUnauthorized Unauthorized
swagger:response catalogGetUnauthorized
func NewCatalogGetUnauthorized ¶
func NewCatalogGetUnauthorized() *CatalogGetUnauthorized
NewCatalogGetUnauthorized creates CatalogGetUnauthorized with default headers values
func (*CatalogGetUnauthorized) SetPayload ¶
func (o *CatalogGetUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the catalog get unauthorized response
func (*CatalogGetUnauthorized) WithPayload ¶
func (o *CatalogGetUnauthorized) WithPayload(payload *models.Error) *CatalogGetUnauthorized
WithPayload adds the payload to the catalog get unauthorized response
func (*CatalogGetUnauthorized) WriteResponse ¶
func (o *CatalogGetUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client