service_instances

package
v0.0.0-...-7977c27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const CreateServiceInstanceCreatedCode int = 201

CreateServiceInstanceCreatedCode is the HTTP code returned for type CreateServiceInstanceCreated

View Source
const DeleteServiceInstanceNoContentCode int = 204

DeleteServiceInstanceNoContentCode is the HTTP code returned for type DeleteServiceInstanceNoContent

View Source
const ListAllServiceBindingsForServiceInstanceOKCode int = 200

ListAllServiceBindingsForServiceInstanceOKCode is the HTTP code returned for type ListAllServiceBindingsForServiceInstanceOK

View Source
const ListAllServiceInstancesOKCode int = 200

ListAllServiceInstancesOKCode is the HTTP code returned for type ListAllServiceInstancesOK

View Source
const MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOKCode int = 200

MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOKCode is the HTTP code returned for type MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK

View Source
const RetrieveServiceInstanceOKCode int = 200

RetrieveServiceInstanceOKCode is the HTTP code returned for type RetrieveServiceInstanceOK

View Source
const RetrievingPermissionsOnServiceInstanceOKCode int = 200

RetrievingPermissionsOnServiceInstanceOKCode is the HTTP code returned for type RetrievingPermissionsOnServiceInstanceOK

View Source
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

SetPayload sets the payload to the create service instance created response

func (*CreateServiceInstanceCreated) WithPayload

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

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

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

func (o *CreateServiceInstanceURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

func (o *DeleteServiceInstanceURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

SetPayload sets the payload to the list all service bindings for service instance o k response

func (*ListAllServiceBindingsForServiceInstanceOK) WithPayload

WithPayload adds the payload to the list all service bindings for service instance o k response

func (*ListAllServiceBindingsForServiceInstanceOK) WriteResponse

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

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

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

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

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

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

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

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

SetPayload sets the payload to the list all service instances o k response

func (*ListAllServiceInstancesOK) WithPayload

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

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

func (o *ListAllServiceInstancesURL) Must(u *url.URL, err error) *url.URL

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

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

NewMigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental creates a new http.Handler for the migrate service instances from one service plan to another service plan experimental operation

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimental) ServeHTTP

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

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

SetPayload sets the payload to the migrate service instances from one service plan to another service plan experimental o k response

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WithPayload

WithPayload adds the payload to the migrate service instances from one service plan to another service plan experimental o k response

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalOK) WriteResponse

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

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

Build a url path and query string

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) BuildFull

BuildFull builds a full url with scheme, host, path and query string

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) Must

Must is a helper function to panic when the url builder returns an error

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) SetBasePath

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

String returns the string representation of the path with query string

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) StringFull

StringFull returns the string representation of a complete url

func (*MigrateServiceInstancesFromOneServicePlanToAnotherServicePlanExperimentalURL) WithBasePath

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

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

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

SetPayload sets the payload to the retrieve service instance o k response

func (*RetrieveServiceInstanceOK) WithPayload

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

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

func (o *RetrieveServiceInstanceURL) Must(u *url.URL, err error) *url.URL

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

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

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

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

SetPayload sets the payload to the retrieving permissions on service instance o k response

func (*RetrievingPermissionsOnServiceInstanceOK) WithPayload

WithPayload adds the payload to the retrieving permissions on service instance o k response

func (*RetrievingPermissionsOnServiceInstanceOK) WriteResponse

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

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

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

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

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

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

SetPayload sets the payload to the update service instance created response

func (*UpdateServiceInstanceCreated) WithPayload

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

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

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

func (o *UpdateServiceInstanceURL) Must(u *url.URL, err error) *url.URL

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL