Documentation ¶
Index ¶
- Constants
- type AddServiceInstance
- type AddServiceInstanceBadRequest
- type AddServiceInstanceConflict
- type AddServiceInstanceCreated
- type AddServiceInstanceDefault
- func (o *AddServiceInstanceDefault) SetPayload(payload *v1.Error)
- func (o *AddServiceInstanceDefault) SetStatusCode(code int)
- func (o *AddServiceInstanceDefault) WithPayload(payload *v1.Error) *AddServiceInstanceDefault
- func (o *AddServiceInstanceDefault) WithStatusCode(code int) *AddServiceInstanceDefault
- func (o *AddServiceInstanceDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddServiceInstanceHandler
- type AddServiceInstanceHandlerFunc
- type AddServiceInstanceParams
- type AddServiceInstanceURL
- func (o *AddServiceInstanceURL) Build() (*url.URL, error)
- func (o *AddServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddServiceInstanceURL) Must(u *url.URL, err error) *url.URL
- func (o *AddServiceInstanceURL) SetBasePath(bp string)
- func (o *AddServiceInstanceURL) String() string
- func (o *AddServiceInstanceURL) StringFull(scheme, host string) string
- func (o *AddServiceInstanceURL) WithBasePath(bp string) *AddServiceInstanceURL
- type DeleteServiceInstanceByName
- type DeleteServiceInstanceByNameBadRequest
- func (o *DeleteServiceInstanceByNameBadRequest) SetPayload(payload *v1.Error)
- func (o *DeleteServiceInstanceByNameBadRequest) WithPayload(payload *v1.Error) *DeleteServiceInstanceByNameBadRequest
- func (o *DeleteServiceInstanceByNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceInstanceByNameDefault
- func (o *DeleteServiceInstanceByNameDefault) SetPayload(payload *v1.Error)
- func (o *DeleteServiceInstanceByNameDefault) SetStatusCode(code int)
- func (o *DeleteServiceInstanceByNameDefault) WithPayload(payload *v1.Error) *DeleteServiceInstanceByNameDefault
- func (o *DeleteServiceInstanceByNameDefault) WithStatusCode(code int) *DeleteServiceInstanceByNameDefault
- func (o *DeleteServiceInstanceByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceInstanceByNameHandler
- type DeleteServiceInstanceByNameHandlerFunc
- type DeleteServiceInstanceByNameNotFound
- func (o *DeleteServiceInstanceByNameNotFound) SetPayload(payload *v1.Error)
- func (o *DeleteServiceInstanceByNameNotFound) WithPayload(payload *v1.Error) *DeleteServiceInstanceByNameNotFound
- func (o *DeleteServiceInstanceByNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteServiceInstanceByNameOK
- type DeleteServiceInstanceByNameParams
- type DeleteServiceInstanceByNameURL
- func (o *DeleteServiceInstanceByNameURL) Build() (*url.URL, error)
- func (o *DeleteServiceInstanceByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceInstanceByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceInstanceByNameURL) SetBasePath(bp string)
- func (o *DeleteServiceInstanceByNameURL) String() string
- func (o *DeleteServiceInstanceByNameURL) StringFull(scheme, host string) string
- func (o *DeleteServiceInstanceByNameURL) WithBasePath(bp string) *DeleteServiceInstanceByNameURL
- type GetServiceInstanceByName
- type GetServiceInstanceByNameBadRequest
- type GetServiceInstanceByNameDefault
- func (o *GetServiceInstanceByNameDefault) SetPayload(payload *v1.Error)
- func (o *GetServiceInstanceByNameDefault) SetStatusCode(code int)
- func (o *GetServiceInstanceByNameDefault) WithPayload(payload *v1.Error) *GetServiceInstanceByNameDefault
- func (o *GetServiceInstanceByNameDefault) WithStatusCode(code int) *GetServiceInstanceByNameDefault
- func (o *GetServiceInstanceByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceInstanceByNameHandler
- type GetServiceInstanceByNameHandlerFunc
- type GetServiceInstanceByNameNotFound
- type GetServiceInstanceByNameOK
- type GetServiceInstanceByNameParams
- type GetServiceInstanceByNameURL
- func (o *GetServiceInstanceByNameURL) Build() (*url.URL, error)
- func (o *GetServiceInstanceByNameURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceInstanceByNameURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceInstanceByNameURL) SetBasePath(bp string)
- func (o *GetServiceInstanceByNameURL) String() string
- func (o *GetServiceInstanceByNameURL) StringFull(scheme, host string) string
- func (o *GetServiceInstanceByNameURL) WithBasePath(bp string) *GetServiceInstanceByNameURL
- type GetServiceInstances
- type GetServiceInstancesBadRequest
- type GetServiceInstancesDefault
- func (o *GetServiceInstancesDefault) SetPayload(payload *v1.Error)
- func (o *GetServiceInstancesDefault) SetStatusCode(code int)
- func (o *GetServiceInstancesDefault) WithPayload(payload *v1.Error) *GetServiceInstancesDefault
- func (o *GetServiceInstancesDefault) WithStatusCode(code int) *GetServiceInstancesDefault
- func (o *GetServiceInstancesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetServiceInstancesHandler
- type GetServiceInstancesHandlerFunc
- type GetServiceInstancesOK
- type GetServiceInstancesParams
- type GetServiceInstancesURL
- func (o *GetServiceInstancesURL) Build() (*url.URL, error)
- func (o *GetServiceInstancesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetServiceInstancesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetServiceInstancesURL) SetBasePath(bp string)
- func (o *GetServiceInstancesURL) String() string
- func (o *GetServiceInstancesURL) StringFull(scheme, host string) string
- func (o *GetServiceInstancesURL) WithBasePath(bp string) *GetServiceInstancesURL
Constants ¶
const AddServiceInstanceBadRequestCode int = 400
AddServiceInstanceBadRequestCode is the HTTP code returned for type AddServiceInstanceBadRequest
const AddServiceInstanceConflictCode int = 409
AddServiceInstanceConflictCode is the HTTP code returned for type AddServiceInstanceConflict
const AddServiceInstanceCreatedCode int = 201
AddServiceInstanceCreatedCode is the HTTP code returned for type AddServiceInstanceCreated
const DeleteServiceInstanceByNameBadRequestCode int = 400
DeleteServiceInstanceByNameBadRequestCode is the HTTP code returned for type DeleteServiceInstanceByNameBadRequest
const DeleteServiceInstanceByNameNotFoundCode int = 404
DeleteServiceInstanceByNameNotFoundCode is the HTTP code returned for type DeleteServiceInstanceByNameNotFound
const DeleteServiceInstanceByNameOKCode int = 200
DeleteServiceInstanceByNameOKCode is the HTTP code returned for type DeleteServiceInstanceByNameOK
const GetServiceInstanceByNameBadRequestCode int = 400
GetServiceInstanceByNameBadRequestCode is the HTTP code returned for type GetServiceInstanceByNameBadRequest
const GetServiceInstanceByNameNotFoundCode int = 404
GetServiceInstanceByNameNotFoundCode is the HTTP code returned for type GetServiceInstanceByNameNotFound
const GetServiceInstanceByNameOKCode int = 200
GetServiceInstanceByNameOKCode is the HTTP code returned for type GetServiceInstanceByNameOK
const GetServiceInstancesBadRequestCode int = 400
GetServiceInstancesBadRequestCode is the HTTP code returned for type GetServiceInstancesBadRequest
const GetServiceInstancesOKCode int = 200
GetServiceInstancesOKCode is the HTTP code returned for type GetServiceInstancesOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddServiceInstance ¶
type AddServiceInstance struct { Context *middleware.Context Handler AddServiceInstanceHandler }
AddServiceInstance swagger:route POST /serviceinstance serviceInstance addServiceInstance
Add a new service instance
func NewAddServiceInstance ¶
func NewAddServiceInstance(ctx *middleware.Context, handler AddServiceInstanceHandler) *AddServiceInstance
NewAddServiceInstance creates a new http.Handler for the add service instance operation
func (*AddServiceInstance) ServeHTTP ¶
func (o *AddServiceInstance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddServiceInstanceBadRequest ¶
type AddServiceInstanceBadRequest struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
AddServiceInstanceBadRequest Invalid input
swagger:response addServiceInstanceBadRequest
func NewAddServiceInstanceBadRequest ¶
func NewAddServiceInstanceBadRequest() *AddServiceInstanceBadRequest
NewAddServiceInstanceBadRequest creates AddServiceInstanceBadRequest with default headers values
func (*AddServiceInstanceBadRequest) SetPayload ¶
func (o *AddServiceInstanceBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add service instance bad request response
func (*AddServiceInstanceBadRequest) WithPayload ¶
func (o *AddServiceInstanceBadRequest) WithPayload(payload *v1.Error) *AddServiceInstanceBadRequest
WithPayload adds the payload to the add service instance bad request response
func (*AddServiceInstanceBadRequest) WriteResponse ¶
func (o *AddServiceInstanceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceInstanceConflict ¶
AddServiceInstanceConflict Already Exists
swagger:response addServiceInstanceConflict
func NewAddServiceInstanceConflict ¶
func NewAddServiceInstanceConflict() *AddServiceInstanceConflict
NewAddServiceInstanceConflict creates AddServiceInstanceConflict with default headers values
func (*AddServiceInstanceConflict) SetPayload ¶
func (o *AddServiceInstanceConflict) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add service instance conflict response
func (*AddServiceInstanceConflict) WithPayload ¶
func (o *AddServiceInstanceConflict) WithPayload(payload *v1.Error) *AddServiceInstanceConflict
WithPayload adds the payload to the add service instance conflict response
func (*AddServiceInstanceConflict) WriteResponse ¶
func (o *AddServiceInstanceConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceInstanceCreated ¶
type AddServiceInstanceCreated struct { /* In: Body */ Payload *v1.ServiceInstance `json:"body,omitempty"` }
AddServiceInstanceCreated created
swagger:response addServiceInstanceCreated
func NewAddServiceInstanceCreated ¶
func NewAddServiceInstanceCreated() *AddServiceInstanceCreated
NewAddServiceInstanceCreated creates AddServiceInstanceCreated with default headers values
func (*AddServiceInstanceCreated) SetPayload ¶
func (o *AddServiceInstanceCreated) SetPayload(payload *v1.ServiceInstance)
SetPayload sets the payload to the add service instance created response
func (*AddServiceInstanceCreated) WithPayload ¶
func (o *AddServiceInstanceCreated) WithPayload(payload *v1.ServiceInstance) *AddServiceInstanceCreated
WithPayload adds the payload to the add service instance created response
func (*AddServiceInstanceCreated) WriteResponse ¶
func (o *AddServiceInstanceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceInstanceDefault ¶
type AddServiceInstanceDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddServiceInstanceDefault Generic error response
swagger:response addServiceInstanceDefault
func NewAddServiceInstanceDefault ¶
func NewAddServiceInstanceDefault(code int) *AddServiceInstanceDefault
NewAddServiceInstanceDefault creates AddServiceInstanceDefault with default headers values
func (*AddServiceInstanceDefault) SetPayload ¶
func (o *AddServiceInstanceDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the add service instance default response
func (*AddServiceInstanceDefault) SetStatusCode ¶
func (o *AddServiceInstanceDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add service instance default response
func (*AddServiceInstanceDefault) WithPayload ¶
func (o *AddServiceInstanceDefault) WithPayload(payload *v1.Error) *AddServiceInstanceDefault
WithPayload adds the payload to the add service instance default response
func (*AddServiceInstanceDefault) WithStatusCode ¶
func (o *AddServiceInstanceDefault) WithStatusCode(code int) *AddServiceInstanceDefault
WithStatusCode adds the status to the add service instance default response
func (*AddServiceInstanceDefault) WriteResponse ¶
func (o *AddServiceInstanceDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddServiceInstanceHandler ¶
type AddServiceInstanceHandler interface {
Handle(AddServiceInstanceParams, interface{}) middleware.Responder
}
AddServiceInstanceHandler interface for that can handle valid add service instance params
type AddServiceInstanceHandlerFunc ¶
type AddServiceInstanceHandlerFunc func(AddServiceInstanceParams, interface{}) middleware.Responder
AddServiceInstanceHandlerFunc turns a function with the right signature into a add service instance handler
func (AddServiceInstanceHandlerFunc) Handle ¶
func (fn AddServiceInstanceHandlerFunc) Handle(params AddServiceInstanceParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type AddServiceInstanceParams ¶
type AddServiceInstanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Service instance object Required: true In: body */ Body *v1.ServiceInstance }
AddServiceInstanceParams contains all the bound params for the add service instance operation typically these are obtained from a http.Request
swagger:parameters addServiceInstance
func NewAddServiceInstanceParams ¶
func NewAddServiceInstanceParams() AddServiceInstanceParams
NewAddServiceInstanceParams creates a new AddServiceInstanceParams object no default values defined in spec.
func (*AddServiceInstanceParams) BindRequest ¶
func (o *AddServiceInstanceParams) 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 NewAddServiceInstanceParams() beforehand.
type AddServiceInstanceURL ¶
type AddServiceInstanceURL struct {
// contains filtered or unexported fields
}
AddServiceInstanceURL generates an URL for the add service instance operation
func (*AddServiceInstanceURL) Build ¶
func (o *AddServiceInstanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddServiceInstanceURL) BuildFull ¶
func (o *AddServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddServiceInstanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddServiceInstanceURL) SetBasePath ¶
func (o *AddServiceInstanceURL) 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 (*AddServiceInstanceURL) String ¶
func (o *AddServiceInstanceURL) String() string
String returns the string representation of the path with query string
func (*AddServiceInstanceURL) StringFull ¶
func (o *AddServiceInstanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddServiceInstanceURL) WithBasePath ¶
func (o *AddServiceInstanceURL) WithBasePath(bp string) *AddServiceInstanceURL
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 DeleteServiceInstanceByName ¶
type DeleteServiceInstanceByName struct { Context *middleware.Context Handler DeleteServiceInstanceByNameHandler }
DeleteServiceInstanceByName swagger:route DELETE /serviceinstance/{serviceInstanceName} serviceInstance deleteServiceInstanceByName
Deletes a service instance
func NewDeleteServiceInstanceByName ¶
func NewDeleteServiceInstanceByName(ctx *middleware.Context, handler DeleteServiceInstanceByNameHandler) *DeleteServiceInstanceByName
NewDeleteServiceInstanceByName creates a new http.Handler for the delete service instance by name operation
func (*DeleteServiceInstanceByName) ServeHTTP ¶
func (o *DeleteServiceInstanceByName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceInstanceByNameBadRequest ¶
type DeleteServiceInstanceByNameBadRequest struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
DeleteServiceInstanceByNameBadRequest Invalid name supplied
swagger:response deleteServiceInstanceByNameBadRequest
func NewDeleteServiceInstanceByNameBadRequest ¶
func NewDeleteServiceInstanceByNameBadRequest() *DeleteServiceInstanceByNameBadRequest
NewDeleteServiceInstanceByNameBadRequest creates DeleteServiceInstanceByNameBadRequest with default headers values
func (*DeleteServiceInstanceByNameBadRequest) SetPayload ¶
func (o *DeleteServiceInstanceByNameBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete service instance by name bad request response
func (*DeleteServiceInstanceByNameBadRequest) WithPayload ¶
func (o *DeleteServiceInstanceByNameBadRequest) WithPayload(payload *v1.Error) *DeleteServiceInstanceByNameBadRequest
WithPayload adds the payload to the delete service instance by name bad request response
func (*DeleteServiceInstanceByNameBadRequest) WriteResponse ¶
func (o *DeleteServiceInstanceByNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceInstanceByNameDefault ¶
type DeleteServiceInstanceByNameDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
DeleteServiceInstanceByNameDefault Generic error response
swagger:response deleteServiceInstanceByNameDefault
func NewDeleteServiceInstanceByNameDefault ¶
func NewDeleteServiceInstanceByNameDefault(code int) *DeleteServiceInstanceByNameDefault
NewDeleteServiceInstanceByNameDefault creates DeleteServiceInstanceByNameDefault with default headers values
func (*DeleteServiceInstanceByNameDefault) SetPayload ¶
func (o *DeleteServiceInstanceByNameDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete service instance by name default response
func (*DeleteServiceInstanceByNameDefault) SetStatusCode ¶
func (o *DeleteServiceInstanceByNameDefault) SetStatusCode(code int)
SetStatusCode sets the status to the delete service instance by name default response
func (*DeleteServiceInstanceByNameDefault) WithPayload ¶
func (o *DeleteServiceInstanceByNameDefault) WithPayload(payload *v1.Error) *DeleteServiceInstanceByNameDefault
WithPayload adds the payload to the delete service instance by name default response
func (*DeleteServiceInstanceByNameDefault) WithStatusCode ¶
func (o *DeleteServiceInstanceByNameDefault) WithStatusCode(code int) *DeleteServiceInstanceByNameDefault
WithStatusCode adds the status to the delete service instance by name default response
func (*DeleteServiceInstanceByNameDefault) WriteResponse ¶
func (o *DeleteServiceInstanceByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceInstanceByNameHandler ¶
type DeleteServiceInstanceByNameHandler interface {
Handle(DeleteServiceInstanceByNameParams, interface{}) middleware.Responder
}
DeleteServiceInstanceByNameHandler interface for that can handle valid delete service instance by name params
type DeleteServiceInstanceByNameHandlerFunc ¶
type DeleteServiceInstanceByNameHandlerFunc func(DeleteServiceInstanceByNameParams, interface{}) middleware.Responder
DeleteServiceInstanceByNameHandlerFunc turns a function with the right signature into a delete service instance by name handler
func (DeleteServiceInstanceByNameHandlerFunc) Handle ¶
func (fn DeleteServiceInstanceByNameHandlerFunc) Handle(params DeleteServiceInstanceByNameParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceInstanceByNameNotFound ¶
type DeleteServiceInstanceByNameNotFound struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
DeleteServiceInstanceByNameNotFound Service instance not found
swagger:response deleteServiceInstanceByNameNotFound
func NewDeleteServiceInstanceByNameNotFound ¶
func NewDeleteServiceInstanceByNameNotFound() *DeleteServiceInstanceByNameNotFound
NewDeleteServiceInstanceByNameNotFound creates DeleteServiceInstanceByNameNotFound with default headers values
func (*DeleteServiceInstanceByNameNotFound) SetPayload ¶
func (o *DeleteServiceInstanceByNameNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the delete service instance by name not found response
func (*DeleteServiceInstanceByNameNotFound) WithPayload ¶
func (o *DeleteServiceInstanceByNameNotFound) WithPayload(payload *v1.Error) *DeleteServiceInstanceByNameNotFound
WithPayload adds the payload to the delete service instance by name not found response
func (*DeleteServiceInstanceByNameNotFound) WriteResponse ¶
func (o *DeleteServiceInstanceByNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceInstanceByNameOK ¶
type DeleteServiceInstanceByNameOK struct { /* In: Body */ Payload *v1.ServiceInstance `json:"body,omitempty"` }
DeleteServiceInstanceByNameOK successful operation
swagger:response deleteServiceInstanceByNameOK
func NewDeleteServiceInstanceByNameOK ¶
func NewDeleteServiceInstanceByNameOK() *DeleteServiceInstanceByNameOK
NewDeleteServiceInstanceByNameOK creates DeleteServiceInstanceByNameOK with default headers values
func (*DeleteServiceInstanceByNameOK) SetPayload ¶
func (o *DeleteServiceInstanceByNameOK) SetPayload(payload *v1.ServiceInstance)
SetPayload sets the payload to the delete service instance by name o k response
func (*DeleteServiceInstanceByNameOK) WithPayload ¶
func (o *DeleteServiceInstanceByNameOK) WithPayload(payload *v1.ServiceInstance) *DeleteServiceInstanceByNameOK
WithPayload adds the payload to the delete service instance by name o k response
func (*DeleteServiceInstanceByNameOK) WriteResponse ¶
func (o *DeleteServiceInstanceByNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceInstanceByNameParams ¶
type DeleteServiceInstanceByNameParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of service instance to return Required: true Pattern: ^[\w\d\-]+$ In: path */ ServiceInstanceName string }
DeleteServiceInstanceByNameParams contains all the bound params for the delete service instance by name operation typically these are obtained from a http.Request
swagger:parameters deleteServiceInstanceByName
func NewDeleteServiceInstanceByNameParams ¶
func NewDeleteServiceInstanceByNameParams() DeleteServiceInstanceByNameParams
NewDeleteServiceInstanceByNameParams creates a new DeleteServiceInstanceByNameParams object no default values defined in spec.
func (*DeleteServiceInstanceByNameParams) BindRequest ¶
func (o *DeleteServiceInstanceByNameParams) 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 NewDeleteServiceInstanceByNameParams() beforehand.
type DeleteServiceInstanceByNameURL ¶
type DeleteServiceInstanceByNameURL struct { ServiceInstanceName string // contains filtered or unexported fields }
DeleteServiceInstanceByNameURL generates an URL for the delete service instance by name operation
func (*DeleteServiceInstanceByNameURL) Build ¶
func (o *DeleteServiceInstanceByNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceInstanceByNameURL) BuildFull ¶
func (o *DeleteServiceInstanceByNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceInstanceByNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceInstanceByNameURL) SetBasePath ¶
func (o *DeleteServiceInstanceByNameURL) 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 (*DeleteServiceInstanceByNameURL) String ¶
func (o *DeleteServiceInstanceByNameURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceInstanceByNameURL) StringFull ¶
func (o *DeleteServiceInstanceByNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceInstanceByNameURL) WithBasePath ¶
func (o *DeleteServiceInstanceByNameURL) WithBasePath(bp string) *DeleteServiceInstanceByNameURL
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 GetServiceInstanceByName ¶
type GetServiceInstanceByName struct { Context *middleware.Context Handler GetServiceInstanceByNameHandler }
GetServiceInstanceByName swagger:route GET /serviceinstance/{serviceInstanceName} serviceInstance getServiceInstanceByName
Find service instance by name ¶
Returns a single service instance
func NewGetServiceInstanceByName ¶
func NewGetServiceInstanceByName(ctx *middleware.Context, handler GetServiceInstanceByNameHandler) *GetServiceInstanceByName
NewGetServiceInstanceByName creates a new http.Handler for the get service instance by name operation
func (*GetServiceInstanceByName) ServeHTTP ¶
func (o *GetServiceInstanceByName) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceInstanceByNameBadRequest ¶
type GetServiceInstanceByNameBadRequest struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
GetServiceInstanceByNameBadRequest Invalid ID supplied
swagger:response getServiceInstanceByNameBadRequest
func NewGetServiceInstanceByNameBadRequest ¶
func NewGetServiceInstanceByNameBadRequest() *GetServiceInstanceByNameBadRequest
NewGetServiceInstanceByNameBadRequest creates GetServiceInstanceByNameBadRequest with default headers values
func (*GetServiceInstanceByNameBadRequest) SetPayload ¶
func (o *GetServiceInstanceByNameBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get service instance by name bad request response
func (*GetServiceInstanceByNameBadRequest) WithPayload ¶
func (o *GetServiceInstanceByNameBadRequest) WithPayload(payload *v1.Error) *GetServiceInstanceByNameBadRequest
WithPayload adds the payload to the get service instance by name bad request response
func (*GetServiceInstanceByNameBadRequest) WriteResponse ¶
func (o *GetServiceInstanceByNameBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceInstanceByNameDefault ¶
type GetServiceInstanceByNameDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServiceInstanceByNameDefault Generic error response
swagger:response getServiceInstanceByNameDefault
func NewGetServiceInstanceByNameDefault ¶
func NewGetServiceInstanceByNameDefault(code int) *GetServiceInstanceByNameDefault
NewGetServiceInstanceByNameDefault creates GetServiceInstanceByNameDefault with default headers values
func (*GetServiceInstanceByNameDefault) SetPayload ¶
func (o *GetServiceInstanceByNameDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get service instance by name default response
func (*GetServiceInstanceByNameDefault) SetStatusCode ¶
func (o *GetServiceInstanceByNameDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get service instance by name default response
func (*GetServiceInstanceByNameDefault) WithPayload ¶
func (o *GetServiceInstanceByNameDefault) WithPayload(payload *v1.Error) *GetServiceInstanceByNameDefault
WithPayload adds the payload to the get service instance by name default response
func (*GetServiceInstanceByNameDefault) WithStatusCode ¶
func (o *GetServiceInstanceByNameDefault) WithStatusCode(code int) *GetServiceInstanceByNameDefault
WithStatusCode adds the status to the get service instance by name default response
func (*GetServiceInstanceByNameDefault) WriteResponse ¶
func (o *GetServiceInstanceByNameDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceInstanceByNameHandler ¶
type GetServiceInstanceByNameHandler interface {
Handle(GetServiceInstanceByNameParams, interface{}) middleware.Responder
}
GetServiceInstanceByNameHandler interface for that can handle valid get service instance by name params
type GetServiceInstanceByNameHandlerFunc ¶
type GetServiceInstanceByNameHandlerFunc func(GetServiceInstanceByNameParams, interface{}) middleware.Responder
GetServiceInstanceByNameHandlerFunc turns a function with the right signature into a get service instance by name handler
func (GetServiceInstanceByNameHandlerFunc) Handle ¶
func (fn GetServiceInstanceByNameHandlerFunc) Handle(params GetServiceInstanceByNameParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServiceInstanceByNameNotFound ¶
type GetServiceInstanceByNameNotFound struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
GetServiceInstanceByNameNotFound Service instance not found
swagger:response getServiceInstanceByNameNotFound
func NewGetServiceInstanceByNameNotFound ¶
func NewGetServiceInstanceByNameNotFound() *GetServiceInstanceByNameNotFound
NewGetServiceInstanceByNameNotFound creates GetServiceInstanceByNameNotFound with default headers values
func (*GetServiceInstanceByNameNotFound) SetPayload ¶
func (o *GetServiceInstanceByNameNotFound) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get service instance by name not found response
func (*GetServiceInstanceByNameNotFound) WithPayload ¶
func (o *GetServiceInstanceByNameNotFound) WithPayload(payload *v1.Error) *GetServiceInstanceByNameNotFound
WithPayload adds the payload to the get service instance by name not found response
func (*GetServiceInstanceByNameNotFound) WriteResponse ¶
func (o *GetServiceInstanceByNameNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceInstanceByNameOK ¶
type GetServiceInstanceByNameOK struct { /* In: Body */ Payload *v1.ServiceInstance `json:"body,omitempty"` }
GetServiceInstanceByNameOK successful operation
swagger:response getServiceInstanceByNameOK
func NewGetServiceInstanceByNameOK ¶
func NewGetServiceInstanceByNameOK() *GetServiceInstanceByNameOK
NewGetServiceInstanceByNameOK creates GetServiceInstanceByNameOK with default headers values
func (*GetServiceInstanceByNameOK) SetPayload ¶
func (o *GetServiceInstanceByNameOK) SetPayload(payload *v1.ServiceInstance)
SetPayload sets the payload to the get service instance by name o k response
func (*GetServiceInstanceByNameOK) WithPayload ¶
func (o *GetServiceInstanceByNameOK) WithPayload(payload *v1.ServiceInstance) *GetServiceInstanceByNameOK
WithPayload adds the payload to the get service instance by name o k response
func (*GetServiceInstanceByNameOK) WriteResponse ¶
func (o *GetServiceInstanceByNameOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceInstanceByNameParams ¶
type GetServiceInstanceByNameParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Name of service instance to return Required: true Pattern: ^[\w\d\-]+$ In: path */ ServiceInstanceName string }
GetServiceInstanceByNameParams contains all the bound params for the get service instance by name operation typically these are obtained from a http.Request
swagger:parameters getServiceInstanceByName
func NewGetServiceInstanceByNameParams ¶
func NewGetServiceInstanceByNameParams() GetServiceInstanceByNameParams
NewGetServiceInstanceByNameParams creates a new GetServiceInstanceByNameParams object no default values defined in spec.
func (*GetServiceInstanceByNameParams) BindRequest ¶
func (o *GetServiceInstanceByNameParams) 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 NewGetServiceInstanceByNameParams() beforehand.
type GetServiceInstanceByNameURL ¶
type GetServiceInstanceByNameURL struct { ServiceInstanceName string // contains filtered or unexported fields }
GetServiceInstanceByNameURL generates an URL for the get service instance by name operation
func (*GetServiceInstanceByNameURL) Build ¶
func (o *GetServiceInstanceByNameURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceInstanceByNameURL) BuildFull ¶
func (o *GetServiceInstanceByNameURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceInstanceByNameURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceInstanceByNameURL) SetBasePath ¶
func (o *GetServiceInstanceByNameURL) 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 (*GetServiceInstanceByNameURL) String ¶
func (o *GetServiceInstanceByNameURL) String() string
String returns the string representation of the path with query string
func (*GetServiceInstanceByNameURL) StringFull ¶
func (o *GetServiceInstanceByNameURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceInstanceByNameURL) WithBasePath ¶
func (o *GetServiceInstanceByNameURL) WithBasePath(bp string) *GetServiceInstanceByNameURL
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 GetServiceInstances ¶
type GetServiceInstances struct { Context *middleware.Context Handler GetServiceInstancesHandler }
GetServiceInstances swagger:route GET /serviceinstance serviceInstance getServiceInstances
Get all service instances ¶
List all service instances
func NewGetServiceInstances ¶
func NewGetServiceInstances(ctx *middleware.Context, handler GetServiceInstancesHandler) *GetServiceInstances
NewGetServiceInstances creates a new http.Handler for the get service instances operation
func (*GetServiceInstances) ServeHTTP ¶
func (o *GetServiceInstances) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetServiceInstancesBadRequest ¶
type GetServiceInstancesBadRequest struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` }
GetServiceInstancesBadRequest Invalid input
swagger:response getServiceInstancesBadRequest
func NewGetServiceInstancesBadRequest ¶
func NewGetServiceInstancesBadRequest() *GetServiceInstancesBadRequest
NewGetServiceInstancesBadRequest creates GetServiceInstancesBadRequest with default headers values
func (*GetServiceInstancesBadRequest) SetPayload ¶
func (o *GetServiceInstancesBadRequest) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get service instances bad request response
func (*GetServiceInstancesBadRequest) WithPayload ¶
func (o *GetServiceInstancesBadRequest) WithPayload(payload *v1.Error) *GetServiceInstancesBadRequest
WithPayload adds the payload to the get service instances bad request response
func (*GetServiceInstancesBadRequest) WriteResponse ¶
func (o *GetServiceInstancesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceInstancesDefault ¶
type GetServiceInstancesDefault struct { /* In: Body */ Payload *v1.Error `json:"body,omitempty"` // contains filtered or unexported fields }
GetServiceInstancesDefault Generic error response
swagger:response getServiceInstancesDefault
func NewGetServiceInstancesDefault ¶
func NewGetServiceInstancesDefault(code int) *GetServiceInstancesDefault
NewGetServiceInstancesDefault creates GetServiceInstancesDefault with default headers values
func (*GetServiceInstancesDefault) SetPayload ¶
func (o *GetServiceInstancesDefault) SetPayload(payload *v1.Error)
SetPayload sets the payload to the get service instances default response
func (*GetServiceInstancesDefault) SetStatusCode ¶
func (o *GetServiceInstancesDefault) SetStatusCode(code int)
SetStatusCode sets the status to the get service instances default response
func (*GetServiceInstancesDefault) WithPayload ¶
func (o *GetServiceInstancesDefault) WithPayload(payload *v1.Error) *GetServiceInstancesDefault
WithPayload adds the payload to the get service instances default response
func (*GetServiceInstancesDefault) WithStatusCode ¶
func (o *GetServiceInstancesDefault) WithStatusCode(code int) *GetServiceInstancesDefault
WithStatusCode adds the status to the get service instances default response
func (*GetServiceInstancesDefault) WriteResponse ¶
func (o *GetServiceInstancesDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceInstancesHandler ¶
type GetServiceInstancesHandler interface {
Handle(GetServiceInstancesParams, interface{}) middleware.Responder
}
GetServiceInstancesHandler interface for that can handle valid get service instances params
type GetServiceInstancesHandlerFunc ¶
type GetServiceInstancesHandlerFunc func(GetServiceInstancesParams, interface{}) middleware.Responder
GetServiceInstancesHandlerFunc turns a function with the right signature into a get service instances handler
func (GetServiceInstancesHandlerFunc) Handle ¶
func (fn GetServiceInstancesHandlerFunc) Handle(params GetServiceInstancesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type GetServiceInstancesOK ¶
type GetServiceInstancesOK struct { /* In: Body */ Payload []*v1.ServiceInstance `json:"body,omitempty"` }
GetServiceInstancesOK successful operation
swagger:response getServiceInstancesOK
func NewGetServiceInstancesOK ¶
func NewGetServiceInstancesOK() *GetServiceInstancesOK
NewGetServiceInstancesOK creates GetServiceInstancesOK with default headers values
func (*GetServiceInstancesOK) SetPayload ¶
func (o *GetServiceInstancesOK) SetPayload(payload []*v1.ServiceInstance)
SetPayload sets the payload to the get service instances o k response
func (*GetServiceInstancesOK) WithPayload ¶
func (o *GetServiceInstancesOK) WithPayload(payload []*v1.ServiceInstance) *GetServiceInstancesOK
WithPayload adds the payload to the get service instances o k response
func (*GetServiceInstancesOK) WriteResponse ¶
func (o *GetServiceInstancesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetServiceInstancesParams ¶
type GetServiceInstancesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*service class name In: query */ Serviceclass *string /*Filter on service instance tags In: query Collection Format: multi */ Tags []string }
GetServiceInstancesParams contains all the bound params for the get service instances operation typically these are obtained from a http.Request
swagger:parameters getServiceInstances
func NewGetServiceInstancesParams ¶
func NewGetServiceInstancesParams() GetServiceInstancesParams
NewGetServiceInstancesParams creates a new GetServiceInstancesParams object no default values defined in spec.
func (*GetServiceInstancesParams) BindRequest ¶
func (o *GetServiceInstancesParams) 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 NewGetServiceInstancesParams() beforehand.
type GetServiceInstancesURL ¶
type GetServiceInstancesURL struct { Serviceclass *string Tags []string // contains filtered or unexported fields }
GetServiceInstancesURL generates an URL for the get service instances operation
func (*GetServiceInstancesURL) Build ¶
func (o *GetServiceInstancesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetServiceInstancesURL) BuildFull ¶
func (o *GetServiceInstancesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetServiceInstancesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetServiceInstancesURL) SetBasePath ¶
func (o *GetServiceInstancesURL) 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 (*GetServiceInstancesURL) String ¶
func (o *GetServiceInstancesURL) String() string
String returns the string representation of the path with query string
func (*GetServiceInstancesURL) StringFull ¶
func (o *GetServiceInstancesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetServiceInstancesURL) WithBasePath ¶
func (o *GetServiceInstancesURL) WithBasePath(bp string) *GetServiceInstancesURL
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 ¶
- add_service_instance.go
- add_service_instance_parameters.go
- add_service_instance_responses.go
- add_service_instance_urlbuilder.go
- delete_service_instance_by_name.go
- delete_service_instance_by_name_parameters.go
- delete_service_instance_by_name_responses.go
- delete_service_instance_by_name_urlbuilder.go
- get_service_instance_by_name.go
- get_service_instance_by_name_parameters.go
- get_service_instance_by_name_responses.go
- get_service_instance_by_name_urlbuilder.go
- get_service_instances.go
- get_service_instances_parameters.go
- get_service_instances_responses.go
- get_service_instances_urlbuilder.go