Documentation ¶
Index ¶
- Constants
- type CreateServiceInstance
- type CreateServiceInstanceCreated
- func (o *CreateServiceInstanceCreated) SetPayload(payload *models.CreateServiceInstanceResponseResource)
- func (o *CreateServiceInstanceCreated) WithPayload(payload *models.CreateServiceInstanceResponseResource) *CreateServiceInstanceCreated
- func (o *CreateServiceInstanceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateServiceInstanceHandler
- type CreateServiceInstanceHandlerFunc
- type CreateServiceInstanceParams
- type CreateServiceInstanceURL
- func (o *CreateServiceInstanceURL) Build() (*url.URL, error)
- func (o *CreateServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateServiceInstanceURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateServiceInstanceURL) SetBasePath(bp string)
- func (o *CreateServiceInstanceURL) String() string
- func (o *CreateServiceInstanceURL) StringFull(scheme, host string) string
- func (o *CreateServiceInstanceURL) WithBasePath(bp string) *CreateServiceInstanceURL
- type DeleteServiceInstance
- type DeleteServiceInstanceHandler
- type DeleteServiceInstanceHandlerFunc
- type DeleteServiceInstanceNoContent
- type DeleteServiceInstanceParams
- type DeleteServiceInstanceURL
- func (o *DeleteServiceInstanceURL) Build() (*url.URL, error)
- func (o *DeleteServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteServiceInstanceURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteServiceInstanceURL) SetBasePath(bp string)
- func (o *DeleteServiceInstanceURL) String() string
- func (o *DeleteServiceInstanceURL) StringFull(scheme, host string) string
- func (o *DeleteServiceInstanceURL) WithBasePath(bp string) *DeleteServiceInstanceURL
- type ListAllServiceBindingsForServiceInstance
- type ListAllServiceBindingsForServiceInstanceHandler
- type ListAllServiceBindingsForServiceInstanceHandlerFunc
- type ListAllServiceBindingsForServiceInstanceOK
- func (o *ListAllServiceBindingsForServiceInstanceOK) SetPayload(payload *models.ListAllServiceBindingsForServiceInstanceResponsePaged)
- func (o *ListAllServiceBindingsForServiceInstanceOK) WithPayload(payload *models.ListAllServiceBindingsForServiceInstanceResponsePaged) *ListAllServiceBindingsForServiceInstanceOK
- func (o *ListAllServiceBindingsForServiceInstanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllServiceBindingsForServiceInstanceParams
- type ListAllServiceBindingsForServiceInstanceURL
- func (o *ListAllServiceBindingsForServiceInstanceURL) Build() (*url.URL, error)
- func (o *ListAllServiceBindingsForServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServiceBindingsForServiceInstanceURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServiceBindingsForServiceInstanceURL) SetBasePath(bp string)
- func (o *ListAllServiceBindingsForServiceInstanceURL) String() string
- func (o *ListAllServiceBindingsForServiceInstanceURL) StringFull(scheme, host string) string
- func (o *ListAllServiceBindingsForServiceInstanceURL) WithBasePath(bp string) *ListAllServiceBindingsForServiceInstanceURL
- type ListAllServiceInstances
- type ListAllServiceInstancesHandler
- type ListAllServiceInstancesHandlerFunc
- type ListAllServiceInstancesOK
- func (o *ListAllServiceInstancesOK) SetPayload(payload *models.ListAllServiceInstancesResponsePaged)
- func (o *ListAllServiceInstancesOK) WithPayload(payload *models.ListAllServiceInstancesResponsePaged) *ListAllServiceInstancesOK
- func (o *ListAllServiceInstancesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListAllServiceInstancesParams
- type ListAllServiceInstancesURL
- func (o *ListAllServiceInstancesURL) Build() (*url.URL, error)
- func (o *ListAllServiceInstancesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllServiceInstancesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllServiceInstancesURL) SetBasePath(bp string)
- func (o *ListAllServiceInstancesURL) String() string
- func (o *ListAllServiceInstancesURL) StringFull(scheme, host string) string
- func (o *ListAllServiceInstancesURL) WithBasePath(bp string) *ListAllServiceInstancesURL
- type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental
- type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler
- type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandlerFunc
- type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) SetPayload(...)
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WithPayload(...) *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams
- type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) Build() (*url.URL, error)
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) Must(u *url.URL, err error) *url.URL
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) SetBasePath(bp string)
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) String() string
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) StringFull(scheme, host string) string
- func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) WithBasePath(bp string) *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL
- type RetrieveServiceInstance
- type RetrieveServiceInstanceHandler
- type RetrieveServiceInstanceHandlerFunc
- type RetrieveServiceInstanceOK
- func (o *RetrieveServiceInstanceOK) SetPayload(payload *models.RetrieveServiceInstanceResponseResource)
- func (o *RetrieveServiceInstanceOK) WithPayload(payload *models.RetrieveServiceInstanceResponseResource) *RetrieveServiceInstanceOK
- func (o *RetrieveServiceInstanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrieveServiceInstanceParams
- type RetrieveServiceInstanceURL
- func (o *RetrieveServiceInstanceURL) Build() (*url.URL, error)
- func (o *RetrieveServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveServiceInstanceURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveServiceInstanceURL) SetBasePath(bp string)
- func (o *RetrieveServiceInstanceURL) String() string
- func (o *RetrieveServiceInstanceURL) StringFull(scheme, host string) string
- func (o *RetrieveServiceInstanceURL) WithBasePath(bp string) *RetrieveServiceInstanceURL
- type RetrievingPermissionsOnServiceInstance
- type RetrievingPermissionsOnServiceInstanceHandler
- type RetrievingPermissionsOnServiceInstanceHandlerFunc
- type RetrievingPermissionsOnServiceInstanceOK
- func (o *RetrievingPermissionsOnServiceInstanceOK) SetPayload(payload *models.RetrievingPermissionsOnServiceInstanceResponseResource)
- func (o *RetrievingPermissionsOnServiceInstanceOK) WithPayload(payload *models.RetrievingPermissionsOnServiceInstanceResponseResource) *RetrievingPermissionsOnServiceInstanceOK
- func (o *RetrievingPermissionsOnServiceInstanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type RetrievingPermissionsOnServiceInstanceParams
- type RetrievingPermissionsOnServiceInstanceURL
- func (o *RetrievingPermissionsOnServiceInstanceURL) Build() (*url.URL, error)
- func (o *RetrievingPermissionsOnServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrievingPermissionsOnServiceInstanceURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrievingPermissionsOnServiceInstanceURL) SetBasePath(bp string)
- func (o *RetrievingPermissionsOnServiceInstanceURL) String() string
- func (o *RetrievingPermissionsOnServiceInstanceURL) StringFull(scheme, host string) string
- func (o *RetrievingPermissionsOnServiceInstanceURL) WithBasePath(bp string) *RetrievingPermissionsOnServiceInstanceURL
- type UpdateServiceInstance
- type UpdateServiceInstanceCreated
- func (o *UpdateServiceInstanceCreated) SetPayload(payload *models.UpdateServiceInstanceResponseResource)
- func (o *UpdateServiceInstanceCreated) WithPayload(payload *models.UpdateServiceInstanceResponseResource) *UpdateServiceInstanceCreated
- func (o *UpdateServiceInstanceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateServiceInstanceHandler
- type UpdateServiceInstanceHandlerFunc
- type UpdateServiceInstanceParams
- type UpdateServiceInstanceURL
- func (o *UpdateServiceInstanceURL) Build() (*url.URL, error)
- func (o *UpdateServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateServiceInstanceURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateServiceInstanceURL) SetBasePath(bp string)
- func (o *UpdateServiceInstanceURL) String() string
- func (o *UpdateServiceInstanceURL) StringFull(scheme, host string) string
- func (o *UpdateServiceInstanceURL) WithBasePath(bp string) *UpdateServiceInstanceURL
Constants ¶
const CreateServiceInstanceCreatedCode int = 201
CreateServiceInstanceCreatedCode is the HTTP code returned for type CreateServiceInstanceCreated
const DeleteServiceInstanceNoContentCode int = 204
DeleteServiceInstanceNoContentCode is the HTTP code returned for type DeleteServiceInstanceNoContent
const ListAllServiceBindingsForServiceInstanceOKCode int = 200
ListAllServiceBindingsForServiceInstanceOKCode is the HTTP code returned for type ListAllServiceBindingsForServiceInstanceOK
const ListAllServiceInstancesOKCode int = 200
ListAllServiceInstancesOKCode is the HTTP code returned for type ListAllServiceInstancesOK
const MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOKCode int = 200
MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOKCode is the HTTP code returned for type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK
const RetrieveServiceInstanceOKCode int = 200
RetrieveServiceInstanceOKCode is the HTTP code returned for type RetrieveServiceInstanceOK
const RetrievingPermissionsOnServiceInstanceOKCode int = 200
RetrievingPermissionsOnServiceInstanceOKCode is the HTTP code returned for type RetrievingPermissionsOnServiceInstanceOK
const UpdateServiceInstanceCreatedCode int = 201
UpdateServiceInstanceCreatedCode is the HTTP code returned for type UpdateServiceInstanceCreated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceInstance ¶
type CreateServiceInstance struct { Context *middleware.Context Handler CreateServiceInstanceHandler }
CreateServiceInstance swagger:route POST /service_instances serviceInstances createServiceInstance
Creating a Service Instance ¶
curl --insecure -i %s/v2/service_instances -X POST -H 'Authorization: %s' -d '%s'
func NewCreateServiceInstance ¶
func NewCreateServiceInstance(ctx *middleware.Context, handler CreateServiceInstanceHandler) *CreateServiceInstance
NewCreateServiceInstance creates a new http.Handler for the create service instance operation
func (*CreateServiceInstance) ServeHTTP ¶
func (o *CreateServiceInstance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateServiceInstanceCreated ¶
type CreateServiceInstanceCreated struct { /* In: Body */ Payload *models.CreateServiceInstanceResponseResource `json:"body,omitempty"` }
CreateServiceInstanceCreated successful response
swagger:response createServiceInstanceCreated
func NewCreateServiceInstanceCreated ¶
func NewCreateServiceInstanceCreated() *CreateServiceInstanceCreated
NewCreateServiceInstanceCreated creates CreateServiceInstanceCreated with default headers values
func (*CreateServiceInstanceCreated) SetPayload ¶
func (o *CreateServiceInstanceCreated) SetPayload(payload *models.CreateServiceInstanceResponseResource)
SetPayload sets the payload to the create service instance created response
func (*CreateServiceInstanceCreated) WithPayload ¶
func (o *CreateServiceInstanceCreated) WithPayload(payload *models.CreateServiceInstanceResponseResource) *CreateServiceInstanceCreated
WithPayload adds the payload to the create service instance created response
func (*CreateServiceInstanceCreated) WriteResponse ¶
func (o *CreateServiceInstanceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateServiceInstanceHandler ¶
type CreateServiceInstanceHandler interface {
Handle(CreateServiceInstanceParams) middleware.Responder
}
CreateServiceInstanceHandler interface for that can handle valid create service instance params
type CreateServiceInstanceHandlerFunc ¶
type CreateServiceInstanceHandlerFunc func(CreateServiceInstanceParams) middleware.Responder
CreateServiceInstanceHandlerFunc turns a function with the right signature into a create service instance handler
func (CreateServiceInstanceHandlerFunc) Handle ¶
func (fn CreateServiceInstanceHandlerFunc) Handle(params CreateServiceInstanceParams) middleware.Responder
Handle executing the request and returning a response
type CreateServiceInstanceParams ¶
type CreateServiceInstanceParams 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.CreateServiceInstanceRequest }
CreateServiceInstanceParams contains all the bound params for the create service instance operation typically these are obtained from a http.Request
swagger:parameters createServiceInstance
func NewCreateServiceInstanceParams ¶
func NewCreateServiceInstanceParams() CreateServiceInstanceParams
NewCreateServiceInstanceParams creates a new CreateServiceInstanceParams object no default values defined in spec.
func (*CreateServiceInstanceParams) BindRequest ¶
func (o *CreateServiceInstanceParams) 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 NewCreateServiceInstanceParams() beforehand.
type CreateServiceInstanceURL ¶
type CreateServiceInstanceURL struct {
// contains filtered or unexported fields
}
CreateServiceInstanceURL generates an URL for the create service instance operation
func (*CreateServiceInstanceURL) Build ¶
func (o *CreateServiceInstanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateServiceInstanceURL) BuildFull ¶
func (o *CreateServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateServiceInstanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateServiceInstanceURL) SetBasePath ¶
func (o *CreateServiceInstanceURL) 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 (*CreateServiceInstanceURL) String ¶
func (o *CreateServiceInstanceURL) String() string
String returns the string representation of the path with query string
func (*CreateServiceInstanceURL) StringFull ¶
func (o *CreateServiceInstanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateServiceInstanceURL) WithBasePath ¶
func (o *CreateServiceInstanceURL) WithBasePath(bp string) *CreateServiceInstanceURL
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 DeleteServiceInstance ¶
type DeleteServiceInstance struct { Context *middleware.Context Handler DeleteServiceInstanceHandler }
DeleteServiceInstance swagger:route DELETE /service_instances/{guid} serviceInstances deleteServiceInstance
Delete a Particular Service Instance ¶
curl --insecure -i %s/v2/service_instances/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteServiceInstance ¶
func NewDeleteServiceInstance(ctx *middleware.Context, handler DeleteServiceInstanceHandler) *DeleteServiceInstance
NewDeleteServiceInstance creates a new http.Handler for the delete service instance operation
func (*DeleteServiceInstance) ServeHTTP ¶
func (o *DeleteServiceInstance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteServiceInstanceHandler ¶
type DeleteServiceInstanceHandler interface {
Handle(DeleteServiceInstanceParams) middleware.Responder
}
DeleteServiceInstanceHandler interface for that can handle valid delete service instance params
type DeleteServiceInstanceHandlerFunc ¶
type DeleteServiceInstanceHandlerFunc func(DeleteServiceInstanceParams) middleware.Responder
DeleteServiceInstanceHandlerFunc turns a function with the right signature into a delete service instance handler
func (DeleteServiceInstanceHandlerFunc) Handle ¶
func (fn DeleteServiceInstanceHandlerFunc) Handle(params DeleteServiceInstanceParams) middleware.Responder
Handle executing the request and returning a response
type DeleteServiceInstanceNoContent ¶
type DeleteServiceInstanceNoContent struct { }
DeleteServiceInstanceNoContent successful response
swagger:response deleteServiceInstanceNoContent
func NewDeleteServiceInstanceNoContent ¶
func NewDeleteServiceInstanceNoContent() *DeleteServiceInstanceNoContent
NewDeleteServiceInstanceNoContent creates DeleteServiceInstanceNoContent with default headers values
func (*DeleteServiceInstanceNoContent) WriteResponse ¶
func (o *DeleteServiceInstanceNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteServiceInstanceParams ¶
type DeleteServiceInstanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_instances/:guid' Required: true In: path */ GUID string }
DeleteServiceInstanceParams contains all the bound params for the delete service instance operation typically these are obtained from a http.Request
swagger:parameters deleteServiceInstance
func NewDeleteServiceInstanceParams ¶
func NewDeleteServiceInstanceParams() DeleteServiceInstanceParams
NewDeleteServiceInstanceParams creates a new DeleteServiceInstanceParams object no default values defined in spec.
func (*DeleteServiceInstanceParams) BindRequest ¶
func (o *DeleteServiceInstanceParams) 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 NewDeleteServiceInstanceParams() beforehand.
type DeleteServiceInstanceURL ¶
type DeleteServiceInstanceURL struct { GUID string // contains filtered or unexported fields }
DeleteServiceInstanceURL generates an URL for the delete service instance operation
func (*DeleteServiceInstanceURL) Build ¶
func (o *DeleteServiceInstanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteServiceInstanceURL) BuildFull ¶
func (o *DeleteServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteServiceInstanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteServiceInstanceURL) SetBasePath ¶
func (o *DeleteServiceInstanceURL) 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 (*DeleteServiceInstanceURL) String ¶
func (o *DeleteServiceInstanceURL) String() string
String returns the string representation of the path with query string
func (*DeleteServiceInstanceURL) StringFull ¶
func (o *DeleteServiceInstanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteServiceInstanceURL) WithBasePath ¶
func (o *DeleteServiceInstanceURL) WithBasePath(bp string) *DeleteServiceInstanceURL
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 ListAllServiceBindingsForServiceInstance ¶
type ListAllServiceBindingsForServiceInstance struct { Context *middleware.Context Handler ListAllServiceBindingsForServiceInstanceHandler }
ListAllServiceBindingsForServiceInstance swagger:route GET /service_instances/{guid}/service_bindings serviceInstances listAllServiceBindingsForServiceInstance
List all Service Bindings for the Service Instance ¶
curl --insecure -i %s/v2/service_instances/{guid}/service_bindings -X GET -H 'Authorization: %s'
func NewListAllServiceBindingsForServiceInstance ¶
func NewListAllServiceBindingsForServiceInstance(ctx *middleware.Context, handler ListAllServiceBindingsForServiceInstanceHandler) *ListAllServiceBindingsForServiceInstance
NewListAllServiceBindingsForServiceInstance creates a new http.Handler for the list all service bindings for service instance operation
func (*ListAllServiceBindingsForServiceInstance) ServeHTTP ¶
func (o *ListAllServiceBindingsForServiceInstance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllServiceBindingsForServiceInstanceHandler ¶
type ListAllServiceBindingsForServiceInstanceHandler interface {
Handle(ListAllServiceBindingsForServiceInstanceParams) middleware.Responder
}
ListAllServiceBindingsForServiceInstanceHandler interface for that can handle valid list all service bindings for service instance params
type ListAllServiceBindingsForServiceInstanceHandlerFunc ¶
type ListAllServiceBindingsForServiceInstanceHandlerFunc func(ListAllServiceBindingsForServiceInstanceParams) middleware.Responder
ListAllServiceBindingsForServiceInstanceHandlerFunc turns a function with the right signature into a list all service bindings for service instance handler
func (ListAllServiceBindingsForServiceInstanceHandlerFunc) Handle ¶
func (fn ListAllServiceBindingsForServiceInstanceHandlerFunc) Handle(params ListAllServiceBindingsForServiceInstanceParams) middleware.Responder
Handle executing the request and returning a response
type ListAllServiceBindingsForServiceInstanceOK ¶
type ListAllServiceBindingsForServiceInstanceOK struct { /* In: Body */ Payload *models.ListAllServiceBindingsForServiceInstanceResponsePaged `json:"body,omitempty"` }
ListAllServiceBindingsForServiceInstanceOK successful response
swagger:response listAllServiceBindingsForServiceInstanceOK
func NewListAllServiceBindingsForServiceInstanceOK ¶
func NewListAllServiceBindingsForServiceInstanceOK() *ListAllServiceBindingsForServiceInstanceOK
NewListAllServiceBindingsForServiceInstanceOK creates ListAllServiceBindingsForServiceInstanceOK with default headers values
func (*ListAllServiceBindingsForServiceInstanceOK) SetPayload ¶
func (o *ListAllServiceBindingsForServiceInstanceOK) SetPayload(payload *models.ListAllServiceBindingsForServiceInstanceResponsePaged)
SetPayload sets the payload to the list all service bindings for service instance o k response
func (*ListAllServiceBindingsForServiceInstanceOK) WithPayload ¶
func (o *ListAllServiceBindingsForServiceInstanceOK) WithPayload(payload *models.ListAllServiceBindingsForServiceInstanceResponsePaged) *ListAllServiceBindingsForServiceInstanceOK
WithPayload adds the payload to the list all service bindings for service instance o k response
func (*ListAllServiceBindingsForServiceInstanceOK) WriteResponse ¶
func (o *ListAllServiceBindingsForServiceInstanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllServiceBindingsForServiceInstanceParams ¶
type ListAllServiceBindingsForServiceInstanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_instances/:guid/service_bindings' Required: true In: path */ GUID string }
ListAllServiceBindingsForServiceInstanceParams contains all the bound params for the list all service bindings for service instance operation typically these are obtained from a http.Request
swagger:parameters listAllServiceBindingsForServiceInstance
func NewListAllServiceBindingsForServiceInstanceParams ¶
func NewListAllServiceBindingsForServiceInstanceParams() ListAllServiceBindingsForServiceInstanceParams
NewListAllServiceBindingsForServiceInstanceParams creates a new ListAllServiceBindingsForServiceInstanceParams object no default values defined in spec.
func (*ListAllServiceBindingsForServiceInstanceParams) BindRequest ¶
func (o *ListAllServiceBindingsForServiceInstanceParams) 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 NewListAllServiceBindingsForServiceInstanceParams() beforehand.
type ListAllServiceBindingsForServiceInstanceURL ¶
type ListAllServiceBindingsForServiceInstanceURL struct { GUID string // contains filtered or unexported fields }
ListAllServiceBindingsForServiceInstanceURL generates an URL for the list all service bindings for service instance operation
func (*ListAllServiceBindingsForServiceInstanceURL) Build ¶
func (o *ListAllServiceBindingsForServiceInstanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllServiceBindingsForServiceInstanceURL) BuildFull ¶
func (o *ListAllServiceBindingsForServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllServiceBindingsForServiceInstanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllServiceBindingsForServiceInstanceURL) SetBasePath ¶
func (o *ListAllServiceBindingsForServiceInstanceURL) 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 (*ListAllServiceBindingsForServiceInstanceURL) String ¶
func (o *ListAllServiceBindingsForServiceInstanceURL) String() string
String returns the string representation of the path with query string
func (*ListAllServiceBindingsForServiceInstanceURL) StringFull ¶
func (o *ListAllServiceBindingsForServiceInstanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllServiceBindingsForServiceInstanceURL) WithBasePath ¶
func (o *ListAllServiceBindingsForServiceInstanceURL) WithBasePath(bp string) *ListAllServiceBindingsForServiceInstanceURL
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 ListAllServiceInstances ¶
type ListAllServiceInstances struct { Context *middleware.Context Handler ListAllServiceInstancesHandler }
ListAllServiceInstances swagger:route GET /service_instances serviceInstances listAllServiceInstances
List all Service Instances ¶
curl --insecure -i %s/v2/service_instances -X GET -H 'Authorization: %s'
func NewListAllServiceInstances ¶
func NewListAllServiceInstances(ctx *middleware.Context, handler ListAllServiceInstancesHandler) *ListAllServiceInstances
NewListAllServiceInstances creates a new http.Handler for the list all service instances operation
func (*ListAllServiceInstances) ServeHTTP ¶
func (o *ListAllServiceInstances) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllServiceInstancesHandler ¶
type ListAllServiceInstancesHandler interface {
Handle(ListAllServiceInstancesParams) middleware.Responder
}
ListAllServiceInstancesHandler interface for that can handle valid list all service instances params
type ListAllServiceInstancesHandlerFunc ¶
type ListAllServiceInstancesHandlerFunc func(ListAllServiceInstancesParams) middleware.Responder
ListAllServiceInstancesHandlerFunc turns a function with the right signature into a list all service instances handler
func (ListAllServiceInstancesHandlerFunc) Handle ¶
func (fn ListAllServiceInstancesHandlerFunc) Handle(params ListAllServiceInstancesParams) middleware.Responder
Handle executing the request and returning a response
type ListAllServiceInstancesOK ¶
type ListAllServiceInstancesOK struct { /* In: Body */ Payload *models.ListAllServiceInstancesResponsePaged `json:"body,omitempty"` }
ListAllServiceInstancesOK successful response
swagger:response listAllServiceInstancesOK
func NewListAllServiceInstancesOK ¶
func NewListAllServiceInstancesOK() *ListAllServiceInstancesOK
NewListAllServiceInstancesOK creates ListAllServiceInstancesOK with default headers values
func (*ListAllServiceInstancesOK) SetPayload ¶
func (o *ListAllServiceInstancesOK) SetPayload(payload *models.ListAllServiceInstancesResponsePaged)
SetPayload sets the payload to the list all service instances o k response
func (*ListAllServiceInstancesOK) WithPayload ¶
func (o *ListAllServiceInstancesOK) WithPayload(payload *models.ListAllServiceInstancesResponsePaged) *ListAllServiceInstancesOK
WithPayload adds the payload to the list all service instances o k response
func (*ListAllServiceInstancesOK) WriteResponse ¶
func (o *ListAllServiceInstancesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllServiceInstancesParams ¶
type ListAllServiceInstancesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListAllServiceInstancesParams contains all the bound params for the list all service instances operation typically these are obtained from a http.Request
swagger:parameters listAllServiceInstances
func NewListAllServiceInstancesParams ¶
func NewListAllServiceInstancesParams() ListAllServiceInstancesParams
NewListAllServiceInstancesParams creates a new ListAllServiceInstancesParams object no default values defined in spec.
func (*ListAllServiceInstancesParams) BindRequest ¶
func (o *ListAllServiceInstancesParams) 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 NewListAllServiceInstancesParams() beforehand.
type ListAllServiceInstancesURL ¶
type ListAllServiceInstancesURL struct {
// contains filtered or unexported fields
}
ListAllServiceInstancesURL generates an URL for the list all service instances operation
func (*ListAllServiceInstancesURL) Build ¶
func (o *ListAllServiceInstancesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllServiceInstancesURL) BuildFull ¶
func (o *ListAllServiceInstancesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllServiceInstancesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllServiceInstancesURL) SetBasePath ¶
func (o *ListAllServiceInstancesURL) 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 (*ListAllServiceInstancesURL) String ¶
func (o *ListAllServiceInstancesURL) String() string
String returns the string representation of the path with query string
func (*ListAllServiceInstancesURL) StringFull ¶
func (o *ListAllServiceInstancesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllServiceInstancesURL) WithBasePath ¶
func (o *ListAllServiceInstancesURL) WithBasePath(bp string) *ListAllServiceInstancesURL
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 MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental ¶
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental struct { Context *middleware.Context Handler MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler }
MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental swagger:route PUT /service_plans/{guid}/service_instances serviceInstances migrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental
Migrate Service Instances from one Service Plan to another Service Plan (experimental)
curl --insecure -i %s/v2/service_plans/{guid}/service_instances -X PUT -H 'Authorization: %s' -d '%s'
func NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental ¶
func NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental(ctx *middleware.Context, handler MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler) *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental
NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental creates a new http.Handler for the migrate service instances from one service plan to another service plan experimental operation
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental) ServeHTTP ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler ¶
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler interface {
Handle(MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams) middleware.Responder
}
MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandler interface for that can handle valid migrate service instances from one service plan to another service plan experimental params
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandlerFunc ¶
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandlerFunc func(MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams) middleware.Responder
MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandlerFunc turns a function with the right signature into a migrate service instances from one service plan to another service plan experimental handler
func (MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandlerFunc) Handle ¶
func (fn MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalHandlerFunc) Handle(params MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams) middleware.Responder
Handle executing the request and returning a response
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK ¶
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK struct { /* In: Body */ Payload *models.MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalResponseResource `json:"body,omitempty"` }
MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK successful response
swagger:response migrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK
func NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK ¶
func NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK() *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK
NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK creates MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK with default headers values
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) SetPayload ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) SetPayload(payload *models.MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalResponseResource)
SetPayload sets the payload to the migrate service instances from one service plan to another service plan experimental o k response
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WithPayload ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WithPayload(payload *models.MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalResponseResource) *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK
WithPayload adds the payload to the migrate service instances from one service plan to another service plan experimental o k response
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WriteResponse ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams ¶
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The service_plan_guid parameter is used as a part of the request URL: '/v2/service_plans/:service_plan_guid/service_instances' Required: true In: path */ GUID string /*An object instance that is serialized and sent as the request body. Required: true In: body */ Value *models.MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalRequest }
MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams contains all the bound params for the migrate service instances from one service plan to another service plan experimental operation typically these are obtained from a http.Request
swagger:parameters migrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental
func NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams ¶
func NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams() MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams
NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams creates a new MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams object no default values defined in spec.
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams) BindRequest ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams) 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 NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalParams() beforehand.
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL ¶
type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL struct { GUID string // contains filtered or unexported fields }
MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL generates an URL for the migrate service instances from one service plan to another service plan experimental operation
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) Build ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) Build() (*url.URL, error)
Build a url path and query string
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) BuildFull ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) Must ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) Must(u *url.URL, err error) *url.URL
Must is a helper function to panic when the url builder returns an error
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) SetBasePath ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) 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 (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) String ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) String() string
String returns the string representation of the path with query string
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) StringFull ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) WithBasePath ¶
func (o *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) WithBasePath(bp string) *MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL
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 RetrieveServiceInstance ¶
type RetrieveServiceInstance struct { Context *middleware.Context Handler RetrieveServiceInstanceHandler }
RetrieveServiceInstance swagger:route GET /service_instances/{guid} serviceInstances retrieveServiceInstance
Retrieve a Particular Service Instance ¶
curl --insecure -i %s/v2/service_instances/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveServiceInstance ¶
func NewRetrieveServiceInstance(ctx *middleware.Context, handler RetrieveServiceInstanceHandler) *RetrieveServiceInstance
NewRetrieveServiceInstance creates a new http.Handler for the retrieve service instance operation
func (*RetrieveServiceInstance) ServeHTTP ¶
func (o *RetrieveServiceInstance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveServiceInstanceHandler ¶
type RetrieveServiceInstanceHandler interface {
Handle(RetrieveServiceInstanceParams) middleware.Responder
}
RetrieveServiceInstanceHandler interface for that can handle valid retrieve service instance params
type RetrieveServiceInstanceHandlerFunc ¶
type RetrieveServiceInstanceHandlerFunc func(RetrieveServiceInstanceParams) middleware.Responder
RetrieveServiceInstanceHandlerFunc turns a function with the right signature into a retrieve service instance handler
func (RetrieveServiceInstanceHandlerFunc) Handle ¶
func (fn RetrieveServiceInstanceHandlerFunc) Handle(params RetrieveServiceInstanceParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveServiceInstanceOK ¶
type RetrieveServiceInstanceOK struct { /* In: Body */ Payload *models.RetrieveServiceInstanceResponseResource `json:"body,omitempty"` }
RetrieveServiceInstanceOK successful response
swagger:response retrieveServiceInstanceOK
func NewRetrieveServiceInstanceOK ¶
func NewRetrieveServiceInstanceOK() *RetrieveServiceInstanceOK
NewRetrieveServiceInstanceOK creates RetrieveServiceInstanceOK with default headers values
func (*RetrieveServiceInstanceOK) SetPayload ¶
func (o *RetrieveServiceInstanceOK) SetPayload(payload *models.RetrieveServiceInstanceResponseResource)
SetPayload sets the payload to the retrieve service instance o k response
func (*RetrieveServiceInstanceOK) WithPayload ¶
func (o *RetrieveServiceInstanceOK) WithPayload(payload *models.RetrieveServiceInstanceResponseResource) *RetrieveServiceInstanceOK
WithPayload adds the payload to the retrieve service instance o k response
func (*RetrieveServiceInstanceOK) WriteResponse ¶
func (o *RetrieveServiceInstanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveServiceInstanceParams ¶
type RetrieveServiceInstanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_instances/:guid' Required: true In: path */ GUID string }
RetrieveServiceInstanceParams contains all the bound params for the retrieve service instance operation typically these are obtained from a http.Request
swagger:parameters retrieveServiceInstance
func NewRetrieveServiceInstanceParams ¶
func NewRetrieveServiceInstanceParams() RetrieveServiceInstanceParams
NewRetrieveServiceInstanceParams creates a new RetrieveServiceInstanceParams object no default values defined in spec.
func (*RetrieveServiceInstanceParams) BindRequest ¶
func (o *RetrieveServiceInstanceParams) 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 NewRetrieveServiceInstanceParams() beforehand.
type RetrieveServiceInstanceURL ¶
type RetrieveServiceInstanceURL struct { GUID string // contains filtered or unexported fields }
RetrieveServiceInstanceURL generates an URL for the retrieve service instance operation
func (*RetrieveServiceInstanceURL) Build ¶
func (o *RetrieveServiceInstanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveServiceInstanceURL) BuildFull ¶
func (o *RetrieveServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveServiceInstanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveServiceInstanceURL) SetBasePath ¶
func (o *RetrieveServiceInstanceURL) 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 (*RetrieveServiceInstanceURL) String ¶
func (o *RetrieveServiceInstanceURL) String() string
String returns the string representation of the path with query string
func (*RetrieveServiceInstanceURL) StringFull ¶
func (o *RetrieveServiceInstanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveServiceInstanceURL) WithBasePath ¶
func (o *RetrieveServiceInstanceURL) WithBasePath(bp string) *RetrieveServiceInstanceURL
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 RetrievingPermissionsOnServiceInstance ¶
type RetrievingPermissionsOnServiceInstance struct { Context *middleware.Context Handler RetrievingPermissionsOnServiceInstanceHandler }
RetrievingPermissionsOnServiceInstance swagger:route GET /service_instances/{guid}/permissions serviceInstances retrievingPermissionsOnServiceInstance
Retrieving permissions on a Service Instance ¶
curl --insecure -i %s/v2/service_instances/{guid}/permissions -X GET -H 'Authorization: %s'
func NewRetrievingPermissionsOnServiceInstance ¶
func NewRetrievingPermissionsOnServiceInstance(ctx *middleware.Context, handler RetrievingPermissionsOnServiceInstanceHandler) *RetrievingPermissionsOnServiceInstance
NewRetrievingPermissionsOnServiceInstance creates a new http.Handler for the retrieving permissions on service instance operation
func (*RetrievingPermissionsOnServiceInstance) ServeHTTP ¶
func (o *RetrievingPermissionsOnServiceInstance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrievingPermissionsOnServiceInstanceHandler ¶
type RetrievingPermissionsOnServiceInstanceHandler interface {
Handle(RetrievingPermissionsOnServiceInstanceParams) middleware.Responder
}
RetrievingPermissionsOnServiceInstanceHandler interface for that can handle valid retrieving permissions on service instance params
type RetrievingPermissionsOnServiceInstanceHandlerFunc ¶
type RetrievingPermissionsOnServiceInstanceHandlerFunc func(RetrievingPermissionsOnServiceInstanceParams) middleware.Responder
RetrievingPermissionsOnServiceInstanceHandlerFunc turns a function with the right signature into a retrieving permissions on service instance handler
func (RetrievingPermissionsOnServiceInstanceHandlerFunc) Handle ¶
func (fn RetrievingPermissionsOnServiceInstanceHandlerFunc) Handle(params RetrievingPermissionsOnServiceInstanceParams) middleware.Responder
Handle executing the request and returning a response
type RetrievingPermissionsOnServiceInstanceOK ¶
type RetrievingPermissionsOnServiceInstanceOK struct { /* In: Body */ Payload *models.RetrievingPermissionsOnServiceInstanceResponseResource `json:"body,omitempty"` }
RetrievingPermissionsOnServiceInstanceOK successful response
swagger:response retrievingPermissionsOnServiceInstanceOK
func NewRetrievingPermissionsOnServiceInstanceOK ¶
func NewRetrievingPermissionsOnServiceInstanceOK() *RetrievingPermissionsOnServiceInstanceOK
NewRetrievingPermissionsOnServiceInstanceOK creates RetrievingPermissionsOnServiceInstanceOK with default headers values
func (*RetrievingPermissionsOnServiceInstanceOK) SetPayload ¶
func (o *RetrievingPermissionsOnServiceInstanceOK) SetPayload(payload *models.RetrievingPermissionsOnServiceInstanceResponseResource)
SetPayload sets the payload to the retrieving permissions on service instance o k response
func (*RetrievingPermissionsOnServiceInstanceOK) WithPayload ¶
func (o *RetrievingPermissionsOnServiceInstanceOK) WithPayload(payload *models.RetrievingPermissionsOnServiceInstanceResponseResource) *RetrievingPermissionsOnServiceInstanceOK
WithPayload adds the payload to the retrieving permissions on service instance o k response
func (*RetrievingPermissionsOnServiceInstanceOK) WriteResponse ¶
func (o *RetrievingPermissionsOnServiceInstanceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrievingPermissionsOnServiceInstanceParams ¶
type RetrievingPermissionsOnServiceInstanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_instances/:guid/permissions' Required: true In: path */ GUID string }
RetrievingPermissionsOnServiceInstanceParams contains all the bound params for the retrieving permissions on service instance operation typically these are obtained from a http.Request
swagger:parameters retrievingPermissionsOnServiceInstance
func NewRetrievingPermissionsOnServiceInstanceParams ¶
func NewRetrievingPermissionsOnServiceInstanceParams() RetrievingPermissionsOnServiceInstanceParams
NewRetrievingPermissionsOnServiceInstanceParams creates a new RetrievingPermissionsOnServiceInstanceParams object no default values defined in spec.
func (*RetrievingPermissionsOnServiceInstanceParams) BindRequest ¶
func (o *RetrievingPermissionsOnServiceInstanceParams) 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 NewRetrievingPermissionsOnServiceInstanceParams() beforehand.
type RetrievingPermissionsOnServiceInstanceURL ¶
type RetrievingPermissionsOnServiceInstanceURL struct { GUID string // contains filtered or unexported fields }
RetrievingPermissionsOnServiceInstanceURL generates an URL for the retrieving permissions on service instance operation
func (*RetrievingPermissionsOnServiceInstanceURL) Build ¶
func (o *RetrievingPermissionsOnServiceInstanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrievingPermissionsOnServiceInstanceURL) BuildFull ¶
func (o *RetrievingPermissionsOnServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrievingPermissionsOnServiceInstanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrievingPermissionsOnServiceInstanceURL) SetBasePath ¶
func (o *RetrievingPermissionsOnServiceInstanceURL) 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 (*RetrievingPermissionsOnServiceInstanceURL) String ¶
func (o *RetrievingPermissionsOnServiceInstanceURL) String() string
String returns the string representation of the path with query string
func (*RetrievingPermissionsOnServiceInstanceURL) StringFull ¶
func (o *RetrievingPermissionsOnServiceInstanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrievingPermissionsOnServiceInstanceURL) WithBasePath ¶
func (o *RetrievingPermissionsOnServiceInstanceURL) WithBasePath(bp string) *RetrievingPermissionsOnServiceInstanceURL
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 UpdateServiceInstance ¶
type UpdateServiceInstance struct { Context *middleware.Context Handler UpdateServiceInstanceHandler }
UpdateServiceInstance swagger:route PUT /service_instances/{guid} serviceInstances updateServiceInstance
Updating a service instance ¶
curl --insecure -i %s/v2/service_instances/{guid} -X PUT -H 'Authorization: %s' -d '%s'
func NewUpdateServiceInstance ¶
func NewUpdateServiceInstance(ctx *middleware.Context, handler UpdateServiceInstanceHandler) *UpdateServiceInstance
NewUpdateServiceInstance creates a new http.Handler for the update service instance operation
func (*UpdateServiceInstance) ServeHTTP ¶
func (o *UpdateServiceInstance) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateServiceInstanceCreated ¶
type UpdateServiceInstanceCreated struct { /* In: Body */ Payload *models.UpdateServiceInstanceResponseResource `json:"body,omitempty"` }
UpdateServiceInstanceCreated successful response
swagger:response updateServiceInstanceCreated
func NewUpdateServiceInstanceCreated ¶
func NewUpdateServiceInstanceCreated() *UpdateServiceInstanceCreated
NewUpdateServiceInstanceCreated creates UpdateServiceInstanceCreated with default headers values
func (*UpdateServiceInstanceCreated) SetPayload ¶
func (o *UpdateServiceInstanceCreated) SetPayload(payload *models.UpdateServiceInstanceResponseResource)
SetPayload sets the payload to the update service instance created response
func (*UpdateServiceInstanceCreated) WithPayload ¶
func (o *UpdateServiceInstanceCreated) WithPayload(payload *models.UpdateServiceInstanceResponseResource) *UpdateServiceInstanceCreated
WithPayload adds the payload to the update service instance created response
func (*UpdateServiceInstanceCreated) WriteResponse ¶
func (o *UpdateServiceInstanceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateServiceInstanceHandler ¶
type UpdateServiceInstanceHandler interface {
Handle(UpdateServiceInstanceParams) middleware.Responder
}
UpdateServiceInstanceHandler interface for that can handle valid update service instance params
type UpdateServiceInstanceHandlerFunc ¶
type UpdateServiceInstanceHandlerFunc func(UpdateServiceInstanceParams) middleware.Responder
UpdateServiceInstanceHandlerFunc turns a function with the right signature into a update service instance handler
func (UpdateServiceInstanceHandlerFunc) Handle ¶
func (fn UpdateServiceInstanceHandlerFunc) Handle(params UpdateServiceInstanceParams) middleware.Responder
Handle executing the request and returning a response
type UpdateServiceInstanceParams ¶
type UpdateServiceInstanceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/service_instances/: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.UpdateServiceInstanceRequest }
UpdateServiceInstanceParams contains all the bound params for the update service instance operation typically these are obtained from a http.Request
swagger:parameters updateServiceInstance
func NewUpdateServiceInstanceParams ¶
func NewUpdateServiceInstanceParams() UpdateServiceInstanceParams
NewUpdateServiceInstanceParams creates a new UpdateServiceInstanceParams object no default values defined in spec.
func (*UpdateServiceInstanceParams) BindRequest ¶
func (o *UpdateServiceInstanceParams) 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 NewUpdateServiceInstanceParams() beforehand.
type UpdateServiceInstanceURL ¶
type UpdateServiceInstanceURL struct { GUID string // contains filtered or unexported fields }
UpdateServiceInstanceURL generates an URL for the update service instance operation
func (*UpdateServiceInstanceURL) Build ¶
func (o *UpdateServiceInstanceURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateServiceInstanceURL) BuildFull ¶
func (o *UpdateServiceInstanceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateServiceInstanceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateServiceInstanceURL) SetBasePath ¶
func (o *UpdateServiceInstanceURL) 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 (*UpdateServiceInstanceURL) String ¶
func (o *UpdateServiceInstanceURL) String() string
String returns the string representation of the path with query string
func (*UpdateServiceInstanceURL) StringFull ¶
func (o *UpdateServiceInstanceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateServiceInstanceURL) WithBasePath ¶
func (o *UpdateServiceInstanceURL) WithBasePath(bp string) *UpdateServiceInstanceURL
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_instance.go
- create_service_instance_parameters.go
- create_service_instance_responses.go
- create_service_instance_urlbuilder.go
- delete_service_instance.go
- delete_service_instance_parameters.go
- delete_service_instance_responses.go
- delete_service_instance_urlbuilder.go
- list_all_service_bindings_for_service_instance.go
- list_all_service_bindings_for_service_instance_parameters.go
- list_all_service_bindings_for_service_instance_responses.go
- list_all_service_bindings_for_service_instance_urlbuilder.go
- list_all_service_instances.go
- list_all_service_instances_parameters.go
- list_all_service_instances_responses.go
- list_all_service_instances_urlbuilder.go
- migrate_service_instances_from_one_service_plan_to_another_service_plan_experimental.go
- migrate_service_instances_from_one_service_plan_to_another_service_plan_experimental_parameters.go
- migrate_service_instances_from_one_service_plan_to_another_service_plan_experimental_responses.go
- migrate_service_instances_from_one_service_plan_to_another_service_plan_experimental_urlbuilder.go
- retrieve_service_instance.go
- retrieve_service_instance_parameters.go
- retrieve_service_instance_responses.go
- retrieve_service_instance_urlbuilder.go
- retrieving_permissions_on_service_instance.go
- retrieving_permissions_on_service_instance_parameters.go
- retrieving_permissions_on_service_instance_responses.go
- retrieving_permissions_on_service_instance_urlbuilder.go
- update_service_instance.go
- update_service_instance_parameters.go
- update_service_instance_responses.go
- update_service_instance_urlbuilder.go