service_brokers

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 CreateServiceBrokerCreatedCode int = 201

CreateServiceBrokerCreatedCode is the HTTP code returned for type CreateServiceBrokerCreated

View Source
const DeleteServiceBrokerNoContentCode int = 204

DeleteServiceBrokerNoContentCode is the HTTP code returned for type DeleteServiceBrokerNoContent

View Source
const ListAllServiceBrokersOKCode int = 200

ListAllServiceBrokersOKCode is the HTTP code returned for type ListAllServiceBrokersOK

View Source
const RetrieveServiceBrokerOKCode int = 200

RetrieveServiceBrokerOKCode is the HTTP code returned for type RetrieveServiceBrokerOK

View Source
const UpdateServiceBrokerOKCode int = 200

UpdateServiceBrokerOKCode is the HTTP code returned for type UpdateServiceBrokerOK

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateServiceBroker

type CreateServiceBroker struct {
	Context *middleware.Context
	Handler CreateServiceBrokerHandler
}

CreateServiceBroker swagger:route POST /service_brokers serviceBrokers createServiceBroker

Create a Service Broker

curl --insecure -i %s/v2/service_brokers -X POST -H 'Authorization: %s' -d '%s'

func NewCreateServiceBroker

func NewCreateServiceBroker(ctx *middleware.Context, handler CreateServiceBrokerHandler) *CreateServiceBroker

NewCreateServiceBroker creates a new http.Handler for the create service broker operation

func (*CreateServiceBroker) ServeHTTP

func (o *CreateServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type CreateServiceBrokerCreated

type CreateServiceBrokerCreated struct {

	/*
	  In: Body
	*/
	Payload *models.CreateServiceBrokerResponseResource `json:"body,omitempty"`
}

CreateServiceBrokerCreated successful response

swagger:response createServiceBrokerCreated

func NewCreateServiceBrokerCreated

func NewCreateServiceBrokerCreated() *CreateServiceBrokerCreated

NewCreateServiceBrokerCreated creates CreateServiceBrokerCreated with default headers values

func (*CreateServiceBrokerCreated) SetPayload

SetPayload sets the payload to the create service broker created response

func (*CreateServiceBrokerCreated) WithPayload

WithPayload adds the payload to the create service broker created response

func (*CreateServiceBrokerCreated) WriteResponse

func (o *CreateServiceBrokerCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateServiceBrokerHandler

type CreateServiceBrokerHandler interface {
	Handle(CreateServiceBrokerParams) middleware.Responder
}

CreateServiceBrokerHandler interface for that can handle valid create service broker params

type CreateServiceBrokerHandlerFunc

type CreateServiceBrokerHandlerFunc func(CreateServiceBrokerParams) middleware.Responder

CreateServiceBrokerHandlerFunc turns a function with the right signature into a create service broker handler

func (CreateServiceBrokerHandlerFunc) Handle

Handle executing the request and returning a response

type CreateServiceBrokerParams

type CreateServiceBrokerParams 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.CreateServiceBrokerRequest
}

CreateServiceBrokerParams contains all the bound params for the create service broker operation typically these are obtained from a http.Request

swagger:parameters createServiceBroker

func NewCreateServiceBrokerParams

func NewCreateServiceBrokerParams() CreateServiceBrokerParams

NewCreateServiceBrokerParams creates a new CreateServiceBrokerParams object no default values defined in spec.

func (*CreateServiceBrokerParams) 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 NewCreateServiceBrokerParams() beforehand.

type CreateServiceBrokerURL

type CreateServiceBrokerURL struct {
	// contains filtered or unexported fields
}

CreateServiceBrokerURL generates an URL for the create service broker operation

func (*CreateServiceBrokerURL) Build

func (o *CreateServiceBrokerURL) Build() (*url.URL, error)

Build a url path and query string

func (*CreateServiceBrokerURL) BuildFull

func (o *CreateServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)

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

func (*CreateServiceBrokerURL) Must

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

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

func (*CreateServiceBrokerURL) SetBasePath

func (o *CreateServiceBrokerURL) 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 (*CreateServiceBrokerURL) String

func (o *CreateServiceBrokerURL) String() string

String returns the string representation of the path with query string

func (*CreateServiceBrokerURL) StringFull

func (o *CreateServiceBrokerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*CreateServiceBrokerURL) 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 DeleteServiceBroker

type DeleteServiceBroker struct {
	Context *middleware.Context
	Handler DeleteServiceBrokerHandler
}

DeleteServiceBroker swagger:route DELETE /service_brokers/{guid} serviceBrokers deleteServiceBroker

Delete a Particular Service Broker

curl --insecure -i %s/v2/service_brokers/{guid} -X DELETE -H 'Authorization: %s'

func NewDeleteServiceBroker

func NewDeleteServiceBroker(ctx *middleware.Context, handler DeleteServiceBrokerHandler) *DeleteServiceBroker

NewDeleteServiceBroker creates a new http.Handler for the delete service broker operation

func (*DeleteServiceBroker) ServeHTTP

func (o *DeleteServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteServiceBrokerHandler

type DeleteServiceBrokerHandler interface {
	Handle(DeleteServiceBrokerParams) middleware.Responder
}

DeleteServiceBrokerHandler interface for that can handle valid delete service broker params

type DeleteServiceBrokerHandlerFunc

type DeleteServiceBrokerHandlerFunc func(DeleteServiceBrokerParams) middleware.Responder

DeleteServiceBrokerHandlerFunc turns a function with the right signature into a delete service broker handler

func (DeleteServiceBrokerHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteServiceBrokerNoContent

type DeleteServiceBrokerNoContent struct {
}

DeleteServiceBrokerNoContent successful response

swagger:response deleteServiceBrokerNoContent

func NewDeleteServiceBrokerNoContent

func NewDeleteServiceBrokerNoContent() *DeleteServiceBrokerNoContent

NewDeleteServiceBrokerNoContent creates DeleteServiceBrokerNoContent with default headers values

func (*DeleteServiceBrokerNoContent) WriteResponse

func (o *DeleteServiceBrokerNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteServiceBrokerParams

type DeleteServiceBrokerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/service_brokers/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

DeleteServiceBrokerParams contains all the bound params for the delete service broker operation typically these are obtained from a http.Request

swagger:parameters deleteServiceBroker

func NewDeleteServiceBrokerParams

func NewDeleteServiceBrokerParams() DeleteServiceBrokerParams

NewDeleteServiceBrokerParams creates a new DeleteServiceBrokerParams object no default values defined in spec.

func (*DeleteServiceBrokerParams) 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 NewDeleteServiceBrokerParams() beforehand.

type DeleteServiceBrokerURL

type DeleteServiceBrokerURL struct {
	GUID string
	// contains filtered or unexported fields
}

DeleteServiceBrokerURL generates an URL for the delete service broker operation

func (*DeleteServiceBrokerURL) Build

func (o *DeleteServiceBrokerURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteServiceBrokerURL) BuildFull

func (o *DeleteServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)

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

func (*DeleteServiceBrokerURL) Must

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

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

func (*DeleteServiceBrokerURL) SetBasePath

func (o *DeleteServiceBrokerURL) 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 (*DeleteServiceBrokerURL) String

func (o *DeleteServiceBrokerURL) String() string

String returns the string representation of the path with query string

func (*DeleteServiceBrokerURL) StringFull

func (o *DeleteServiceBrokerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteServiceBrokerURL) 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 ListAllServiceBrokers

type ListAllServiceBrokers struct {
	Context *middleware.Context
	Handler ListAllServiceBrokersHandler
}

ListAllServiceBrokers swagger:route GET /service_brokers serviceBrokers listAllServiceBrokers

List all Service Brokers

curl --insecure -i %s/v2/service_brokers -X GET -H 'Authorization: %s'

func NewListAllServiceBrokers

func NewListAllServiceBrokers(ctx *middleware.Context, handler ListAllServiceBrokersHandler) *ListAllServiceBrokers

NewListAllServiceBrokers creates a new http.Handler for the list all service brokers operation

func (*ListAllServiceBrokers) ServeHTTP

func (o *ListAllServiceBrokers) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListAllServiceBrokersHandler

type ListAllServiceBrokersHandler interface {
	Handle(ListAllServiceBrokersParams) middleware.Responder
}

ListAllServiceBrokersHandler interface for that can handle valid list all service brokers params

type ListAllServiceBrokersHandlerFunc

type ListAllServiceBrokersHandlerFunc func(ListAllServiceBrokersParams) middleware.Responder

ListAllServiceBrokersHandlerFunc turns a function with the right signature into a list all service brokers handler

func (ListAllServiceBrokersHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllServiceBrokersOK

type ListAllServiceBrokersOK struct {

	/*
	  In: Body
	*/
	Payload *models.ListAllServiceBrokersResponsePaged `json:"body,omitempty"`
}

ListAllServiceBrokersOK successful response

swagger:response listAllServiceBrokersOK

func NewListAllServiceBrokersOK

func NewListAllServiceBrokersOK() *ListAllServiceBrokersOK

NewListAllServiceBrokersOK creates ListAllServiceBrokersOK with default headers values

func (*ListAllServiceBrokersOK) SetPayload

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

func (*ListAllServiceBrokersOK) WithPayload

WithPayload adds the payload to the list all service brokers o k response

func (*ListAllServiceBrokersOK) WriteResponse

func (o *ListAllServiceBrokersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListAllServiceBrokersParams

type ListAllServiceBrokersParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ListAllServiceBrokersParams contains all the bound params for the list all service brokers operation typically these are obtained from a http.Request

swagger:parameters listAllServiceBrokers

func NewListAllServiceBrokersParams

func NewListAllServiceBrokersParams() ListAllServiceBrokersParams

NewListAllServiceBrokersParams creates a new ListAllServiceBrokersParams object no default values defined in spec.

func (*ListAllServiceBrokersParams) 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 NewListAllServiceBrokersParams() beforehand.

type ListAllServiceBrokersURL

type ListAllServiceBrokersURL struct {
	// contains filtered or unexported fields
}

ListAllServiceBrokersURL generates an URL for the list all service brokers operation

func (*ListAllServiceBrokersURL) Build

func (o *ListAllServiceBrokersURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListAllServiceBrokersURL) BuildFull

func (o *ListAllServiceBrokersURL) BuildFull(scheme, host string) (*url.URL, error)

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

func (*ListAllServiceBrokersURL) Must

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

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

func (*ListAllServiceBrokersURL) SetBasePath

func (o *ListAllServiceBrokersURL) 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 (*ListAllServiceBrokersURL) String

func (o *ListAllServiceBrokersURL) String() string

String returns the string representation of the path with query string

func (*ListAllServiceBrokersURL) StringFull

func (o *ListAllServiceBrokersURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListAllServiceBrokersURL) 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 RetrieveServiceBroker

type RetrieveServiceBroker struct {
	Context *middleware.Context
	Handler RetrieveServiceBrokerHandler
}

RetrieveServiceBroker swagger:route GET /service_brokers/{guid} serviceBrokers retrieveServiceBroker

Retrieve a Particular Service Broker

curl --insecure -i %s/v2/service_brokers/{guid} -X GET -H 'Authorization: %s'

func NewRetrieveServiceBroker

func NewRetrieveServiceBroker(ctx *middleware.Context, handler RetrieveServiceBrokerHandler) *RetrieveServiceBroker

NewRetrieveServiceBroker creates a new http.Handler for the retrieve service broker operation

func (*RetrieveServiceBroker) ServeHTTP

func (o *RetrieveServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RetrieveServiceBrokerHandler

type RetrieveServiceBrokerHandler interface {
	Handle(RetrieveServiceBrokerParams) middleware.Responder
}

RetrieveServiceBrokerHandler interface for that can handle valid retrieve service broker params

type RetrieveServiceBrokerHandlerFunc

type RetrieveServiceBrokerHandlerFunc func(RetrieveServiceBrokerParams) middleware.Responder

RetrieveServiceBrokerHandlerFunc turns a function with the right signature into a retrieve service broker handler

func (RetrieveServiceBrokerHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveServiceBrokerOK

type RetrieveServiceBrokerOK struct {

	/*
	  In: Body
	*/
	Payload *models.RetrieveServiceBrokerResponseResource `json:"body,omitempty"`
}

RetrieveServiceBrokerOK successful response

swagger:response retrieveServiceBrokerOK

func NewRetrieveServiceBrokerOK

func NewRetrieveServiceBrokerOK() *RetrieveServiceBrokerOK

NewRetrieveServiceBrokerOK creates RetrieveServiceBrokerOK with default headers values

func (*RetrieveServiceBrokerOK) SetPayload

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

func (*RetrieveServiceBrokerOK) WithPayload

WithPayload adds the payload to the retrieve service broker o k response

func (*RetrieveServiceBrokerOK) WriteResponse

func (o *RetrieveServiceBrokerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RetrieveServiceBrokerParams

type RetrieveServiceBrokerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/service_brokers/:guid'
	  Required: true
	  In: path
	*/
	GUID string
}

RetrieveServiceBrokerParams contains all the bound params for the retrieve service broker operation typically these are obtained from a http.Request

swagger:parameters retrieveServiceBroker

func NewRetrieveServiceBrokerParams

func NewRetrieveServiceBrokerParams() RetrieveServiceBrokerParams

NewRetrieveServiceBrokerParams creates a new RetrieveServiceBrokerParams object no default values defined in spec.

func (*RetrieveServiceBrokerParams) 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 NewRetrieveServiceBrokerParams() beforehand.

type RetrieveServiceBrokerURL

type RetrieveServiceBrokerURL struct {
	GUID string
	// contains filtered or unexported fields
}

RetrieveServiceBrokerURL generates an URL for the retrieve service broker operation

func (*RetrieveServiceBrokerURL) Build

func (o *RetrieveServiceBrokerURL) Build() (*url.URL, error)

Build a url path and query string

func (*RetrieveServiceBrokerURL) BuildFull

func (o *RetrieveServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)

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

func (*RetrieveServiceBrokerURL) Must

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

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

func (*RetrieveServiceBrokerURL) SetBasePath

func (o *RetrieveServiceBrokerURL) 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 (*RetrieveServiceBrokerURL) String

func (o *RetrieveServiceBrokerURL) String() string

String returns the string representation of the path with query string

func (*RetrieveServiceBrokerURL) StringFull

func (o *RetrieveServiceBrokerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RetrieveServiceBrokerURL) 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 UpdateServiceBroker

type UpdateServiceBroker struct {
	Context *middleware.Context
	Handler UpdateServiceBrokerHandler
}

UpdateServiceBroker swagger:route PUT /service_brokers/{guid} serviceBrokers updateServiceBroker

Update a Service Broker

curl --insecure -i %s/v2/service_brokers/{guid} -X PUT -H 'Authorization: %s' -d '%s'

func NewUpdateServiceBroker

func NewUpdateServiceBroker(ctx *middleware.Context, handler UpdateServiceBrokerHandler) *UpdateServiceBroker

NewUpdateServiceBroker creates a new http.Handler for the update service broker operation

func (*UpdateServiceBroker) ServeHTTP

func (o *UpdateServiceBroker) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateServiceBrokerHandler

type UpdateServiceBrokerHandler interface {
	Handle(UpdateServiceBrokerParams) middleware.Responder
}

UpdateServiceBrokerHandler interface for that can handle valid update service broker params

type UpdateServiceBrokerHandlerFunc

type UpdateServiceBrokerHandlerFunc func(UpdateServiceBrokerParams) middleware.Responder

UpdateServiceBrokerHandlerFunc turns a function with the right signature into a update service broker handler

func (UpdateServiceBrokerHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateServiceBrokerOK

type UpdateServiceBrokerOK struct {

	/*
	  In: Body
	*/
	Payload *models.UpdateServiceBrokerResponseResource `json:"body,omitempty"`
}

UpdateServiceBrokerOK successful response

swagger:response updateServiceBrokerOK

func NewUpdateServiceBrokerOK

func NewUpdateServiceBrokerOK() *UpdateServiceBrokerOK

NewUpdateServiceBrokerOK creates UpdateServiceBrokerOK with default headers values

func (*UpdateServiceBrokerOK) SetPayload

SetPayload sets the payload to the update service broker o k response

func (*UpdateServiceBrokerOK) WithPayload

WithPayload adds the payload to the update service broker o k response

func (*UpdateServiceBrokerOK) WriteResponse

func (o *UpdateServiceBrokerOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type UpdateServiceBrokerParams

type UpdateServiceBrokerParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The guid parameter is used as a part of the request URL: '/v2/service_brokers/: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.UpdateServiceBrokerRequest
}

UpdateServiceBrokerParams contains all the bound params for the update service broker operation typically these are obtained from a http.Request

swagger:parameters updateServiceBroker

func NewUpdateServiceBrokerParams

func NewUpdateServiceBrokerParams() UpdateServiceBrokerParams

NewUpdateServiceBrokerParams creates a new UpdateServiceBrokerParams object no default values defined in spec.

func (*UpdateServiceBrokerParams) 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 NewUpdateServiceBrokerParams() beforehand.

type UpdateServiceBrokerURL

type UpdateServiceBrokerURL struct {
	GUID string
	// contains filtered or unexported fields
}

UpdateServiceBrokerURL generates an URL for the update service broker operation

func (*UpdateServiceBrokerURL) Build

func (o *UpdateServiceBrokerURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateServiceBrokerURL) BuildFull

func (o *UpdateServiceBrokerURL) BuildFull(scheme, host string) (*url.URL, error)

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

func (*UpdateServiceBrokerURL) Must

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

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

func (*UpdateServiceBrokerURL) SetBasePath

func (o *UpdateServiceBrokerURL) 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 (*UpdateServiceBrokerURL) String

func (o *UpdateServiceBrokerURL) String() string

String returns the string representation of the path with query string

func (*UpdateServiceBrokerURL) StringFull

func (o *UpdateServiceBrokerURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateServiceBrokerURL) 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

Jump to

Keyboard shortcuts

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