Documentation ¶
Index ¶
- Constants
- type CreateServiceDeprecated
- type CreateServiceDeprecatedCreated
- func (o *CreateServiceDeprecatedCreated) SetPayload(payload *models.CreateServiceDeprecatedResponseResource)
- func (o *CreateServiceDeprecatedCreated) WithPayload(payload *models.CreateServiceDeprecatedResponseResource) *CreateServiceDeprecatedCreated
- func (o *CreateServiceDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceDeprecatedHandler
- type CreateServiceDeprecatedHandlerFunc
- type CreateServiceDeprecatedParams
- type CreateServiceDeprecatedURL
- func (o *CreateServiceDeprecatedURL) Build() (*url.URL, error)
- func (o *CreateServiceDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceDeprecatedURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceDeprecatedURL) SetBasePath(bp string)
- func (o *CreateServiceDeprecatedURL) String() string
- func (o *CreateServiceDeprecatedURL) StringFull(scheme, host string) string
- func (o *CreateServiceDeprecatedURL) WithBasePath(bp string) *CreateServiceDeprecatedURL
- type DeleteService
- type DeleteServiceHandler
- type DeleteServiceHandlerFunc
- type DeleteServiceNoContent
- type DeleteServiceParams
- type DeleteServiceURL
- func (o *DeleteServiceURL) Build() (*url.URL, error)
- func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceURL) SetBasePath(bp string)
- func (o *DeleteServiceURL) String() string
- func (o *DeleteServiceURL) StringFull(scheme, host string) string
- func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL
- type ListAllServicePlansForService
- type ListAllServicePlansForServiceHandler
- type ListAllServicePlansForServiceHandlerFunc
- type ListAllServicePlansForServiceOK
- func (o *ListAllServicePlansForServiceOK) SetPayload(payload *models.ListAllServicePlansForServiceResponsePaged)
- func (o *ListAllServicePlansForServiceOK) WithPayload(payload *models.ListAllServicePlansForServiceResponsePaged) *ListAllServicePlansForServiceOK
- func (o *ListAllServicePlansForServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllServicePlansForServiceParams
- type ListAllServicePlansForServiceURL
- func (o *ListAllServicePlansForServiceURL) Build() (*url.URL, error)
- func (o *ListAllServicePlansForServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServicePlansForServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServicePlansForServiceURL) SetBasePath(bp string)
- func (o *ListAllServicePlansForServiceURL) String() string
- func (o *ListAllServicePlansForServiceURL) StringFull(scheme, host string) string
- func (o *ListAllServicePlansForServiceURL) WithBasePath(bp string) *ListAllServicePlansForServiceURL
- type ListAllServices
- type ListAllServicesHandler
- type ListAllServicesHandlerFunc
- type ListAllServicesOK
- type ListAllServicesParams
- type ListAllServicesURL
- func (o *ListAllServicesURL) Build() (*url.URL, error)
- func (o *ListAllServicesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServicesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServicesURL) SetBasePath(bp string)
- func (o *ListAllServicesURL) String() string
- func (o *ListAllServicesURL) StringFull(scheme, host string) string
- func (o *ListAllServicesURL) WithBasePath(bp string) *ListAllServicesURL
- type RetrieveService
- type RetrieveServiceHandler
- type RetrieveServiceHandlerFunc
- type RetrieveServiceOK
- type RetrieveServiceParams
- type RetrieveServiceURL
- func (o *RetrieveServiceURL) Build() (*url.URL, error)
- func (o *RetrieveServiceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveServiceURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveServiceURL) SetBasePath(bp string)
- func (o *RetrieveServiceURL) String() string
- func (o *RetrieveServiceURL) StringFull(scheme, host string) string
- func (o *RetrieveServiceURL) WithBasePath(bp string) *RetrieveServiceURL
- type UpdateServiceDeprecated
- type UpdateServiceDeprecatedCreated
- func (o *UpdateServiceDeprecatedCreated) SetPayload(payload *models.UpdateServiceDeprecatedResponseResource)
- func (o *UpdateServiceDeprecatedCreated) WithPayload(payload *models.UpdateServiceDeprecatedResponseResource) *UpdateServiceDeprecatedCreated
- func (o *UpdateServiceDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceDeprecatedHandler
- type UpdateServiceDeprecatedHandlerFunc
- type UpdateServiceDeprecatedParams
- type UpdateServiceDeprecatedURL
- func (o *UpdateServiceDeprecatedURL) Build() (*url.URL, error)
- func (o *UpdateServiceDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceDeprecatedURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceDeprecatedURL) SetBasePath(bp string)
- func (o *UpdateServiceDeprecatedURL) String() string
- func (o *UpdateServiceDeprecatedURL) StringFull(scheme, host string) string
- func (o *UpdateServiceDeprecatedURL) WithBasePath(bp string) *UpdateServiceDeprecatedURL
Constants ¶
const CreateServiceDeprecatedCreatedCode int = 201
CreateServiceDeprecatedCreatedCode is the HTTP code returned for type CreateServiceDeprecatedCreated
const DeleteServiceNoContentCode int = 204
DeleteServiceNoContentCode is the HTTP code returned for type DeleteServiceNoContent
const ListAllServicePlansForServiceOKCode int = 200
ListAllServicePlansForServiceOKCode is the HTTP code returned for type ListAllServicePlansForServiceOK
const ListAllServicesOKCode int = 200
ListAllServicesOKCode is the HTTP code returned for type ListAllServicesOK
const RetrieveServiceOKCode int = 200
RetrieveServiceOKCode is the HTTP code returned for type RetrieveServiceOK
const UpdateServiceDeprecatedCreatedCode int = 201
UpdateServiceDeprecatedCreatedCode is the HTTP code returned for type UpdateServiceDeprecatedCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceDeprecated ¶
type CreateServiceDeprecated struct { Context *middleware.Context Handler CreateServiceDeprecatedHandler }
CreateServiceDeprecated swagger:route POST /services services createServiceDeprecated
Creating a Service (deprecated)
curl --insecure -i %s/v2/services -X POST -H 'Authorization: %s' -d '%s'
func NewCreateServiceDeprecated ¶
func NewCreateServiceDeprecated(ctx *middleware.Context, handler CreateServiceDeprecatedHandler) *CreateServiceDeprecated
NewCreateServiceDeprecated creates a new http.Handler for the create service deprecated operation
func (*CreateServiceDeprecated) ServeHTTP ¶
func (o *CreateServiceDeprecated) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceDeprecatedCreated ¶
type CreateServiceDeprecatedCreated struct { /* In: Body */ Payload *models.CreateServiceDeprecatedResponseResource `json:"body,omitempty"` }
CreateServiceDeprecatedCreated successful response
swagger:response createServiceDeprecatedCreated
func NewCreateServiceDeprecatedCreated ¶
func NewCreateServiceDeprecatedCreated() *CreateServiceDeprecatedCreated
NewCreateServiceDeprecatedCreated creates CreateServiceDeprecatedCreated with default headers values
func (*CreateServiceDeprecatedCreated) SetPayload ¶
func (o *CreateServiceDeprecatedCreated) SetPayload(payload *models.CreateServiceDeprecatedResponseResource)
SetPayload sets the payload to the create service deprecated created response
func (*CreateServiceDeprecatedCreated) WithPayload ¶
func (o *CreateServiceDeprecatedCreated) WithPayload(payload *models.CreateServiceDeprecatedResponseResource) *CreateServiceDeprecatedCreated
WithPayload adds the payload to the create service deprecated created response
func (*CreateServiceDeprecatedCreated) WriteResponse ¶
func (o *CreateServiceDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceDeprecatedHandler ¶
type CreateServiceDeprecatedHandler interface {
Handle(CreateServiceDeprecatedParams) middleware.Responder
}
CreateServiceDeprecatedHandler interface for that can handle valid create service deprecated params
type CreateServiceDeprecatedHandlerFunc ¶
type CreateServiceDeprecatedHandlerFunc func(CreateServiceDeprecatedParams) middleware.Responder
CreateServiceDeprecatedHandlerFunc turns a function with the right signature into a create service deprecated handler
func (CreateServiceDeprecatedHandlerFunc) Handle ¶
func (fn CreateServiceDeprecatedHandlerFunc) Handle(params CreateServiceDeprecatedParams) middleware.Responder
Handle executing the request and returning a response
type CreateServiceDeprecatedParams ¶
type CreateServiceDeprecatedParams 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.CreateServiceDeprecatedRequest }
CreateServiceDeprecatedParams contains all the bound params for the create service deprecated operation typically these are obtained from a http.Request
swagger:parameters createServiceDeprecated
func NewCreateServiceDeprecatedParams ¶
func NewCreateServiceDeprecatedParams() CreateServiceDeprecatedParams
NewCreateServiceDeprecatedParams creates a new CreateServiceDeprecatedParams object no default values defined in spec.
func (*CreateServiceDeprecatedParams) BindRequest ¶
func (o *CreateServiceDeprecatedParams) 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 NewCreateServiceDeprecatedParams() beforehand.
type CreateServiceDeprecatedURL ¶
type CreateServiceDeprecatedURL struct {
// contains filtered or unexported fields
}
CreateServiceDeprecatedURL generates an URL for the create service deprecated operation
func (*CreateServiceDeprecatedURL) Build ¶
func (o *CreateServiceDeprecatedURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceDeprecatedURL) BuildFull ¶
func (o *CreateServiceDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceDeprecatedURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceDeprecatedURL) SetBasePath ¶
func (o *CreateServiceDeprecatedURL) 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 (*CreateServiceDeprecatedURL) String ¶
func (o *CreateServiceDeprecatedURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceDeprecatedURL) StringFull ¶
func (o *CreateServiceDeprecatedURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceDeprecatedURL) WithBasePath ¶
func (o *CreateServiceDeprecatedURL) WithBasePath(bp string) *CreateServiceDeprecatedURL
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 DeleteService ¶
type DeleteService struct { Context *middleware.Context Handler DeleteServiceHandler }
DeleteService swagger:route DELETE /services/{guid} services deleteService
Delete a Particular Service ¶
curl --insecure -i %s/v2/services/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteService ¶
func NewDeleteService(ctx *middleware.Context, handler DeleteServiceHandler) *DeleteService
NewDeleteService creates a new http.Handler for the delete service operation
func (*DeleteService) ServeHTTP ¶
func (o *DeleteService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceHandler ¶
type DeleteServiceHandler interface {
Handle(DeleteServiceParams) middleware.Responder
}
DeleteServiceHandler interface for that can handle valid delete service params
type DeleteServiceHandlerFunc ¶
type DeleteServiceHandlerFunc func(DeleteServiceParams) middleware.Responder
DeleteServiceHandlerFunc turns a function with the right signature into a delete service handler
func (DeleteServiceHandlerFunc) Handle ¶
func (fn DeleteServiceHandlerFunc) Handle(params DeleteServiceParams) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceNoContent ¶
type DeleteServiceNoContent struct { }
DeleteServiceNoContent successful response
swagger:response deleteServiceNoContent
func NewDeleteServiceNoContent ¶
func NewDeleteServiceNoContent() *DeleteServiceNoContent
NewDeleteServiceNoContent creates DeleteServiceNoContent with default headers values
func (*DeleteServiceNoContent) WriteResponse ¶
func (o *DeleteServiceNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceParams ¶
type DeleteServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/services/:guid' Required: true In: path */ GUID string }
DeleteServiceParams contains all the bound params for the delete service operation typically these are obtained from a http.Request
swagger:parameters deleteService
func NewDeleteServiceParams ¶
func NewDeleteServiceParams() DeleteServiceParams
NewDeleteServiceParams creates a new DeleteServiceParams object no default values defined in spec.
func (*DeleteServiceParams) BindRequest ¶
func (o *DeleteServiceParams) 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 NewDeleteServiceParams() beforehand.
type DeleteServiceURL ¶
type DeleteServiceURL struct { GUID string // contains filtered or unexported fields }
DeleteServiceURL generates an URL for the delete service operation
func (*DeleteServiceURL) Build ¶
func (o *DeleteServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceURL) BuildFull ¶
func (o *DeleteServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceURL) SetBasePath ¶
func (o *DeleteServiceURL) 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 (*DeleteServiceURL) String ¶
func (o *DeleteServiceURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceURL) StringFull ¶
func (o *DeleteServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceURL) WithBasePath ¶
func (o *DeleteServiceURL) WithBasePath(bp string) *DeleteServiceURL
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 ListAllServicePlansForService ¶
type ListAllServicePlansForService struct { Context *middleware.Context Handler ListAllServicePlansForServiceHandler }
ListAllServicePlansForService swagger:route GET /services/{guid}/service_plans services listAllServicePlansForService
List all Service Plans for the Service ¶
curl --insecure -i %s/v2/services/{guid}/service_plans -X GET -H 'Authorization: %s'
func NewListAllServicePlansForService ¶
func NewListAllServicePlansForService(ctx *middleware.Context, handler ListAllServicePlansForServiceHandler) *ListAllServicePlansForService
NewListAllServicePlansForService creates a new http.Handler for the list all service plans for service operation
func (*ListAllServicePlansForService) ServeHTTP ¶
func (o *ListAllServicePlansForService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllServicePlansForServiceHandler ¶
type ListAllServicePlansForServiceHandler interface {
Handle(ListAllServicePlansForServiceParams) middleware.Responder
}
ListAllServicePlansForServiceHandler interface for that can handle valid list all service plans for service params
type ListAllServicePlansForServiceHandlerFunc ¶
type ListAllServicePlansForServiceHandlerFunc func(ListAllServicePlansForServiceParams) middleware.Responder
ListAllServicePlansForServiceHandlerFunc turns a function with the right signature into a list all service plans for service handler
func (ListAllServicePlansForServiceHandlerFunc) Handle ¶
func (fn ListAllServicePlansForServiceHandlerFunc) Handle(params ListAllServicePlansForServiceParams) middleware.Responder
Handle executing the request and returning a response
type ListAllServicePlansForServiceOK ¶
type ListAllServicePlansForServiceOK struct { /* In: Body */ Payload *models.ListAllServicePlansForServiceResponsePaged `json:"body,omitempty"` }
ListAllServicePlansForServiceOK successful response
swagger:response listAllServicePlansForServiceOK
func NewListAllServicePlansForServiceOK ¶
func NewListAllServicePlansForServiceOK() *ListAllServicePlansForServiceOK
NewListAllServicePlansForServiceOK creates ListAllServicePlansForServiceOK with default headers values
func (*ListAllServicePlansForServiceOK) SetPayload ¶
func (o *ListAllServicePlansForServiceOK) SetPayload(payload *models.ListAllServicePlansForServiceResponsePaged)
SetPayload sets the payload to the list all service plans for service o k response
func (*ListAllServicePlansForServiceOK) WithPayload ¶
func (o *ListAllServicePlansForServiceOK) WithPayload(payload *models.ListAllServicePlansForServiceResponsePaged) *ListAllServicePlansForServiceOK
WithPayload adds the payload to the list all service plans for service o k response
func (*ListAllServicePlansForServiceOK) WriteResponse ¶
func (o *ListAllServicePlansForServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllServicePlansForServiceParams ¶
type ListAllServicePlansForServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/services/:guid/service_plans' Required: true In: path */ GUID string }
ListAllServicePlansForServiceParams contains all the bound params for the list all service plans for service operation typically these are obtained from a http.Request
swagger:parameters listAllServicePlansForService
func NewListAllServicePlansForServiceParams ¶
func NewListAllServicePlansForServiceParams() ListAllServicePlansForServiceParams
NewListAllServicePlansForServiceParams creates a new ListAllServicePlansForServiceParams object no default values defined in spec.
func (*ListAllServicePlansForServiceParams) BindRequest ¶
func (o *ListAllServicePlansForServiceParams) 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 NewListAllServicePlansForServiceParams() beforehand.
type ListAllServicePlansForServiceURL ¶
type ListAllServicePlansForServiceURL struct { GUID string // contains filtered or unexported fields }
ListAllServicePlansForServiceURL generates an URL for the list all service plans for service operation
func (*ListAllServicePlansForServiceURL) Build ¶
func (o *ListAllServicePlansForServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllServicePlansForServiceURL) BuildFull ¶
func (o *ListAllServicePlansForServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllServicePlansForServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllServicePlansForServiceURL) SetBasePath ¶
func (o *ListAllServicePlansForServiceURL) 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 (*ListAllServicePlansForServiceURL) String ¶
func (o *ListAllServicePlansForServiceURL) String() string
String returns the string representation of the path with query string
func (*ListAllServicePlansForServiceURL) StringFull ¶
func (o *ListAllServicePlansForServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllServicePlansForServiceURL) WithBasePath ¶
func (o *ListAllServicePlansForServiceURL) WithBasePath(bp string) *ListAllServicePlansForServiceURL
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 ListAllServices ¶
type ListAllServices struct { Context *middleware.Context Handler ListAllServicesHandler }
ListAllServices swagger:route GET /services services listAllServices
List all Services ¶
curl --insecure -i %s/v2/services -X GET -H 'Authorization: %s'
func NewListAllServices ¶
func NewListAllServices(ctx *middleware.Context, handler ListAllServicesHandler) *ListAllServices
NewListAllServices creates a new http.Handler for the list all services operation
func (*ListAllServices) ServeHTTP ¶
func (o *ListAllServices) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllServicesHandler ¶
type ListAllServicesHandler interface {
Handle(ListAllServicesParams) middleware.Responder
}
ListAllServicesHandler interface for that can handle valid list all services params
type ListAllServicesHandlerFunc ¶
type ListAllServicesHandlerFunc func(ListAllServicesParams) middleware.Responder
ListAllServicesHandlerFunc turns a function with the right signature into a list all services handler
func (ListAllServicesHandlerFunc) Handle ¶
func (fn ListAllServicesHandlerFunc) Handle(params ListAllServicesParams) middleware.Responder
Handle executing the request and returning a response
type ListAllServicesOK ¶
type ListAllServicesOK struct { /* In: Body */ Payload *models.ListAllServicesResponsePaged `json:"body,omitempty"` }
ListAllServicesOK successful response
swagger:response listAllServicesOK
func NewListAllServicesOK ¶
func NewListAllServicesOK() *ListAllServicesOK
NewListAllServicesOK creates ListAllServicesOK with default headers values
func (*ListAllServicesOK) SetPayload ¶
func (o *ListAllServicesOK) SetPayload(payload *models.ListAllServicesResponsePaged)
SetPayload sets the payload to the list all services o k response
func (*ListAllServicesOK) WithPayload ¶
func (o *ListAllServicesOK) WithPayload(payload *models.ListAllServicesResponsePaged) *ListAllServicesOK
WithPayload adds the payload to the list all services o k response
func (*ListAllServicesOK) WriteResponse ¶
func (o *ListAllServicesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllServicesParams ¶
ListAllServicesParams contains all the bound params for the list all services operation typically these are obtained from a http.Request
swagger:parameters listAllServices
func NewListAllServicesParams ¶
func NewListAllServicesParams() ListAllServicesParams
NewListAllServicesParams creates a new ListAllServicesParams object no default values defined in spec.
func (*ListAllServicesParams) BindRequest ¶
func (o *ListAllServicesParams) 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 NewListAllServicesParams() beforehand.
type ListAllServicesURL ¶
type ListAllServicesURL struct {
// contains filtered or unexported fields
}
ListAllServicesURL generates an URL for the list all services operation
func (*ListAllServicesURL) Build ¶
func (o *ListAllServicesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllServicesURL) BuildFull ¶
func (o *ListAllServicesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllServicesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllServicesURL) SetBasePath ¶
func (o *ListAllServicesURL) 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 (*ListAllServicesURL) String ¶
func (o *ListAllServicesURL) String() string
String returns the string representation of the path with query string
func (*ListAllServicesURL) StringFull ¶
func (o *ListAllServicesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllServicesURL) WithBasePath ¶
func (o *ListAllServicesURL) WithBasePath(bp string) *ListAllServicesURL
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 RetrieveService ¶
type RetrieveService struct { Context *middleware.Context Handler RetrieveServiceHandler }
RetrieveService swagger:route GET /services/{guid} services retrieveService
Retrieve a Particular Service ¶
curl --insecure -i %s/v2/services/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveService ¶
func NewRetrieveService(ctx *middleware.Context, handler RetrieveServiceHandler) *RetrieveService
NewRetrieveService creates a new http.Handler for the retrieve service operation
func (*RetrieveService) ServeHTTP ¶
func (o *RetrieveService) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveServiceHandler ¶
type RetrieveServiceHandler interface {
Handle(RetrieveServiceParams) middleware.Responder
}
RetrieveServiceHandler interface for that can handle valid retrieve service params
type RetrieveServiceHandlerFunc ¶
type RetrieveServiceHandlerFunc func(RetrieveServiceParams) middleware.Responder
RetrieveServiceHandlerFunc turns a function with the right signature into a retrieve service handler
func (RetrieveServiceHandlerFunc) Handle ¶
func (fn RetrieveServiceHandlerFunc) Handle(params RetrieveServiceParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveServiceOK ¶
type RetrieveServiceOK struct { /* In: Body */ Payload *models.RetrieveServiceResponseResource `json:"body,omitempty"` }
RetrieveServiceOK successful response
swagger:response retrieveServiceOK
func NewRetrieveServiceOK ¶
func NewRetrieveServiceOK() *RetrieveServiceOK
NewRetrieveServiceOK creates RetrieveServiceOK with default headers values
func (*RetrieveServiceOK) SetPayload ¶
func (o *RetrieveServiceOK) SetPayload(payload *models.RetrieveServiceResponseResource)
SetPayload sets the payload to the retrieve service o k response
func (*RetrieveServiceOK) WithPayload ¶
func (o *RetrieveServiceOK) WithPayload(payload *models.RetrieveServiceResponseResource) *RetrieveServiceOK
WithPayload adds the payload to the retrieve service o k response
func (*RetrieveServiceOK) WriteResponse ¶
func (o *RetrieveServiceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveServiceParams ¶
type RetrieveServiceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/services/:guid' Required: true In: path */ GUID string }
RetrieveServiceParams contains all the bound params for the retrieve service operation typically these are obtained from a http.Request
swagger:parameters retrieveService
func NewRetrieveServiceParams ¶
func NewRetrieveServiceParams() RetrieveServiceParams
NewRetrieveServiceParams creates a new RetrieveServiceParams object no default values defined in spec.
func (*RetrieveServiceParams) BindRequest ¶
func (o *RetrieveServiceParams) 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 NewRetrieveServiceParams() beforehand.
type RetrieveServiceURL ¶
type RetrieveServiceURL struct { GUID string // contains filtered or unexported fields }
RetrieveServiceURL generates an URL for the retrieve service operation
func (*RetrieveServiceURL) Build ¶
func (o *RetrieveServiceURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveServiceURL) BuildFull ¶
func (o *RetrieveServiceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveServiceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveServiceURL) SetBasePath ¶
func (o *RetrieveServiceURL) 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 (*RetrieveServiceURL) String ¶
func (o *RetrieveServiceURL) String() string
String returns the string representation of the path with query string
func (*RetrieveServiceURL) StringFull ¶
func (o *RetrieveServiceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveServiceURL) WithBasePath ¶
func (o *RetrieveServiceURL) WithBasePath(bp string) *RetrieveServiceURL
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 UpdateServiceDeprecated ¶
type UpdateServiceDeprecated struct { Context *middleware.Context Handler UpdateServiceDeprecatedHandler }
UpdateServiceDeprecated swagger:route PUT /services services updateServiceDeprecated
Updating a Service (deprecated)
curl --insecure -i %s/v2/services -X PUT -H 'Authorization: %s' -d '%s'
func NewUpdateServiceDeprecated ¶
func NewUpdateServiceDeprecated(ctx *middleware.Context, handler UpdateServiceDeprecatedHandler) *UpdateServiceDeprecated
NewUpdateServiceDeprecated creates a new http.Handler for the update service deprecated operation
func (*UpdateServiceDeprecated) ServeHTTP ¶
func (o *UpdateServiceDeprecated) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceDeprecatedCreated ¶
type UpdateServiceDeprecatedCreated struct { /* In: Body */ Payload *models.UpdateServiceDeprecatedResponseResource `json:"body,omitempty"` }
UpdateServiceDeprecatedCreated successful response
swagger:response updateServiceDeprecatedCreated
func NewUpdateServiceDeprecatedCreated ¶
func NewUpdateServiceDeprecatedCreated() *UpdateServiceDeprecatedCreated
NewUpdateServiceDeprecatedCreated creates UpdateServiceDeprecatedCreated with default headers values
func (*UpdateServiceDeprecatedCreated) SetPayload ¶
func (o *UpdateServiceDeprecatedCreated) SetPayload(payload *models.UpdateServiceDeprecatedResponseResource)
SetPayload sets the payload to the update service deprecated created response
func (*UpdateServiceDeprecatedCreated) WithPayload ¶
func (o *UpdateServiceDeprecatedCreated) WithPayload(payload *models.UpdateServiceDeprecatedResponseResource) *UpdateServiceDeprecatedCreated
WithPayload adds the payload to the update service deprecated created response
func (*UpdateServiceDeprecatedCreated) WriteResponse ¶
func (o *UpdateServiceDeprecatedCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceDeprecatedHandler ¶
type UpdateServiceDeprecatedHandler interface {
Handle(UpdateServiceDeprecatedParams) middleware.Responder
}
UpdateServiceDeprecatedHandler interface for that can handle valid update service deprecated params
type UpdateServiceDeprecatedHandlerFunc ¶
type UpdateServiceDeprecatedHandlerFunc func(UpdateServiceDeprecatedParams) middleware.Responder
UpdateServiceDeprecatedHandlerFunc turns a function with the right signature into a update service deprecated handler
func (UpdateServiceDeprecatedHandlerFunc) Handle ¶
func (fn UpdateServiceDeprecatedHandlerFunc) Handle(params UpdateServiceDeprecatedParams) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceDeprecatedParams ¶
type UpdateServiceDeprecatedParams 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.UpdateServiceDeprecatedRequest }
UpdateServiceDeprecatedParams contains all the bound params for the update service deprecated operation typically these are obtained from a http.Request
swagger:parameters updateServiceDeprecated
func NewUpdateServiceDeprecatedParams ¶
func NewUpdateServiceDeprecatedParams() UpdateServiceDeprecatedParams
NewUpdateServiceDeprecatedParams creates a new UpdateServiceDeprecatedParams object no default values defined in spec.
func (*UpdateServiceDeprecatedParams) BindRequest ¶
func (o *UpdateServiceDeprecatedParams) 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 NewUpdateServiceDeprecatedParams() beforehand.
type UpdateServiceDeprecatedURL ¶
type UpdateServiceDeprecatedURL struct {
// contains filtered or unexported fields
}
UpdateServiceDeprecatedURL generates an URL for the update service deprecated operation
func (*UpdateServiceDeprecatedURL) Build ¶
func (o *UpdateServiceDeprecatedURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceDeprecatedURL) BuildFull ¶
func (o *UpdateServiceDeprecatedURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceDeprecatedURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceDeprecatedURL) SetBasePath ¶
func (o *UpdateServiceDeprecatedURL) 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 (*UpdateServiceDeprecatedURL) String ¶
func (o *UpdateServiceDeprecatedURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceDeprecatedURL) StringFull ¶
func (o *UpdateServiceDeprecatedURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceDeprecatedURL) WithBasePath ¶
func (o *UpdateServiceDeprecatedURL) WithBasePath(bp string) *UpdateServiceDeprecatedURL
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_deprecated.go
- create_service_deprecated_parameters.go
- create_service_deprecated_responses.go
- create_service_deprecated_urlbuilder.go
- delete_service.go
- delete_service_parameters.go
- delete_service_responses.go
- delete_service_urlbuilder.go
- list_all_service_plans_for_service.go
- list_all_service_plans_for_service_parameters.go
- list_all_service_plans_for_service_responses.go
- list_all_service_plans_for_service_urlbuilder.go
- list_all_services.go
- list_all_services_parameters.go
- list_all_services_responses.go
- list_all_services_urlbuilder.go
- retrieve_service.go
- retrieve_service_parameters.go
- retrieve_service_responses.go
- retrieve_service_urlbuilder.go
- update_service_deprecated.go
- update_service_deprecated_parameters.go
- update_service_deprecated_responses.go
- update_service_deprecated_urlbuilder.go