service_bindings

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

CreateServiceBindingCreatedCode is the HTTP code returned for type CreateServiceBindingCreated

View Source
const DeleteServiceBindingNoContentCode int = 204

DeleteServiceBindingNoContentCode is the HTTP code returned for type DeleteServiceBindingNoContent

View Source
const ListAllServiceBindingsOKCode int = 200

ListAllServiceBindingsOKCode is the HTTP code returned for type ListAllServiceBindingsOK

View Source
const RetrieveServiceBindingOKCode int = 200

RetrieveServiceBindingOKCode is the HTTP code returned for type RetrieveServiceBindingOK

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateServiceBinding

type CreateServiceBinding struct {
	Context *middleware.Context
	Handler CreateServiceBindingHandler
}

CreateServiceBinding swagger:route POST /service_bindings serviceBindings createServiceBinding

Create a Service Binding

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

func NewCreateServiceBinding

func NewCreateServiceBinding(ctx *middleware.Context, handler CreateServiceBindingHandler) *CreateServiceBinding

NewCreateServiceBinding creates a new http.Handler for the create service binding operation

func (*CreateServiceBinding) ServeHTTP

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

type CreateServiceBindingCreated

type CreateServiceBindingCreated struct {

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

CreateServiceBindingCreated successful response

swagger:response createServiceBindingCreated

func NewCreateServiceBindingCreated

func NewCreateServiceBindingCreated() *CreateServiceBindingCreated

NewCreateServiceBindingCreated creates CreateServiceBindingCreated with default headers values

func (*CreateServiceBindingCreated) SetPayload

SetPayload sets the payload to the create service binding created response

func (*CreateServiceBindingCreated) WithPayload

WithPayload adds the payload to the create service binding created response

func (*CreateServiceBindingCreated) WriteResponse

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

WriteResponse to the client

type CreateServiceBindingHandler

type CreateServiceBindingHandler interface {
	Handle(CreateServiceBindingParams) middleware.Responder
}

CreateServiceBindingHandler interface for that can handle valid create service binding params

type CreateServiceBindingHandlerFunc

type CreateServiceBindingHandlerFunc func(CreateServiceBindingParams) middleware.Responder

CreateServiceBindingHandlerFunc turns a function with the right signature into a create service binding handler

func (CreateServiceBindingHandlerFunc) Handle

Handle executing the request and returning a response

type CreateServiceBindingParams

type CreateServiceBindingParams 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.CreateServiceBindingRequest
}

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

swagger:parameters createServiceBinding

func NewCreateServiceBindingParams

func NewCreateServiceBindingParams() CreateServiceBindingParams

NewCreateServiceBindingParams creates a new CreateServiceBindingParams object no default values defined in spec.

func (*CreateServiceBindingParams) 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 NewCreateServiceBindingParams() beforehand.

type CreateServiceBindingURL

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

CreateServiceBindingURL generates an URL for the create service binding operation

func (*CreateServiceBindingURL) Build

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

Build a url path and query string

func (*CreateServiceBindingURL) BuildFull

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

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

func (*CreateServiceBindingURL) Must

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

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

func (*CreateServiceBindingURL) SetBasePath

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

func (o *CreateServiceBindingURL) String() string

String returns the string representation of the path with query string

func (*CreateServiceBindingURL) StringFull

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

StringFull returns the string representation of a complete url

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

type DeleteServiceBinding struct {
	Context *middleware.Context
	Handler DeleteServiceBindingHandler
}

DeleteServiceBinding swagger:route DELETE /service_bindings/{guid} serviceBindings deleteServiceBinding

Delete a Particular Service Binding

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

func NewDeleteServiceBinding

func NewDeleteServiceBinding(ctx *middleware.Context, handler DeleteServiceBindingHandler) *DeleteServiceBinding

NewDeleteServiceBinding creates a new http.Handler for the delete service binding operation

func (*DeleteServiceBinding) ServeHTTP

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

type DeleteServiceBindingHandler

type DeleteServiceBindingHandler interface {
	Handle(DeleteServiceBindingParams) middleware.Responder
}

DeleteServiceBindingHandler interface for that can handle valid delete service binding params

type DeleteServiceBindingHandlerFunc

type DeleteServiceBindingHandlerFunc func(DeleteServiceBindingParams) middleware.Responder

DeleteServiceBindingHandlerFunc turns a function with the right signature into a delete service binding handler

func (DeleteServiceBindingHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteServiceBindingNoContent

type DeleteServiceBindingNoContent struct {
}

DeleteServiceBindingNoContent successful response

swagger:response deleteServiceBindingNoContent

func NewDeleteServiceBindingNoContent

func NewDeleteServiceBindingNoContent() *DeleteServiceBindingNoContent

NewDeleteServiceBindingNoContent creates DeleteServiceBindingNoContent with default headers values

func (*DeleteServiceBindingNoContent) WriteResponse

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

WriteResponse to the client

type DeleteServiceBindingParams

type DeleteServiceBindingParams struct {

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

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

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

swagger:parameters deleteServiceBinding

func NewDeleteServiceBindingParams

func NewDeleteServiceBindingParams() DeleteServiceBindingParams

NewDeleteServiceBindingParams creates a new DeleteServiceBindingParams object no default values defined in spec.

func (*DeleteServiceBindingParams) 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 NewDeleteServiceBindingParams() beforehand.

type DeleteServiceBindingURL

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

DeleteServiceBindingURL generates an URL for the delete service binding operation

func (*DeleteServiceBindingURL) Build

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

Build a url path and query string

func (*DeleteServiceBindingURL) BuildFull

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

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

func (*DeleteServiceBindingURL) Must

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

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

func (*DeleteServiceBindingURL) SetBasePath

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

func (o *DeleteServiceBindingURL) String() string

String returns the string representation of the path with query string

func (*DeleteServiceBindingURL) StringFull

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

StringFull returns the string representation of a complete url

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

type ListAllServiceBindings struct {
	Context *middleware.Context
	Handler ListAllServiceBindingsHandler
}

ListAllServiceBindings swagger:route GET /service_bindings serviceBindings listAllServiceBindings

List all Service Bindings

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

func NewListAllServiceBindings

func NewListAllServiceBindings(ctx *middleware.Context, handler ListAllServiceBindingsHandler) *ListAllServiceBindings

NewListAllServiceBindings creates a new http.Handler for the list all service bindings operation

func (*ListAllServiceBindings) ServeHTTP

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

type ListAllServiceBindingsHandler

type ListAllServiceBindingsHandler interface {
	Handle(ListAllServiceBindingsParams) middleware.Responder
}

ListAllServiceBindingsHandler interface for that can handle valid list all service bindings params

type ListAllServiceBindingsHandlerFunc

type ListAllServiceBindingsHandlerFunc func(ListAllServiceBindingsParams) middleware.Responder

ListAllServiceBindingsHandlerFunc turns a function with the right signature into a list all service bindings handler

func (ListAllServiceBindingsHandlerFunc) Handle

Handle executing the request and returning a response

type ListAllServiceBindingsOK

type ListAllServiceBindingsOK struct {

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

ListAllServiceBindingsOK successful response

swagger:response listAllServiceBindingsOK

func NewListAllServiceBindingsOK

func NewListAllServiceBindingsOK() *ListAllServiceBindingsOK

NewListAllServiceBindingsOK creates ListAllServiceBindingsOK with default headers values

func (*ListAllServiceBindingsOK) SetPayload

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

func (*ListAllServiceBindingsOK) WithPayload

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

func (*ListAllServiceBindingsOK) WriteResponse

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

WriteResponse to the client

type ListAllServiceBindingsParams

type ListAllServiceBindingsParams struct {

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

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

swagger:parameters listAllServiceBindings

func NewListAllServiceBindingsParams

func NewListAllServiceBindingsParams() ListAllServiceBindingsParams

NewListAllServiceBindingsParams creates a new ListAllServiceBindingsParams object no default values defined in spec.

func (*ListAllServiceBindingsParams) 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 NewListAllServiceBindingsParams() beforehand.

type ListAllServiceBindingsURL

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

ListAllServiceBindingsURL generates an URL for the list all service bindings operation

func (*ListAllServiceBindingsURL) Build

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

Build a url path and query string

func (*ListAllServiceBindingsURL) BuildFull

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

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

func (*ListAllServiceBindingsURL) Must

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

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

func (*ListAllServiceBindingsURL) SetBasePath

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

func (o *ListAllServiceBindingsURL) String() string

String returns the string representation of the path with query string

func (*ListAllServiceBindingsURL) StringFull

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

StringFull returns the string representation of a complete url

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

type RetrieveServiceBinding struct {
	Context *middleware.Context
	Handler RetrieveServiceBindingHandler
}

RetrieveServiceBinding swagger:route GET /service_bindings/{guid} serviceBindings retrieveServiceBinding

Retrieve a Particular Service Binding

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

func NewRetrieveServiceBinding

func NewRetrieveServiceBinding(ctx *middleware.Context, handler RetrieveServiceBindingHandler) *RetrieveServiceBinding

NewRetrieveServiceBinding creates a new http.Handler for the retrieve service binding operation

func (*RetrieveServiceBinding) ServeHTTP

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

type RetrieveServiceBindingHandler

type RetrieveServiceBindingHandler interface {
	Handle(RetrieveServiceBindingParams) middleware.Responder
}

RetrieveServiceBindingHandler interface for that can handle valid retrieve service binding params

type RetrieveServiceBindingHandlerFunc

type RetrieveServiceBindingHandlerFunc func(RetrieveServiceBindingParams) middleware.Responder

RetrieveServiceBindingHandlerFunc turns a function with the right signature into a retrieve service binding handler

func (RetrieveServiceBindingHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveServiceBindingOK

type RetrieveServiceBindingOK struct {

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

RetrieveServiceBindingOK successful response

swagger:response retrieveServiceBindingOK

func NewRetrieveServiceBindingOK

func NewRetrieveServiceBindingOK() *RetrieveServiceBindingOK

NewRetrieveServiceBindingOK creates RetrieveServiceBindingOK with default headers values

func (*RetrieveServiceBindingOK) SetPayload

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

func (*RetrieveServiceBindingOK) WithPayload

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

func (*RetrieveServiceBindingOK) WriteResponse

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

WriteResponse to the client

type RetrieveServiceBindingParams

type RetrieveServiceBindingParams struct {

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

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

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

swagger:parameters retrieveServiceBinding

func NewRetrieveServiceBindingParams

func NewRetrieveServiceBindingParams() RetrieveServiceBindingParams

NewRetrieveServiceBindingParams creates a new RetrieveServiceBindingParams object no default values defined in spec.

func (*RetrieveServiceBindingParams) 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 NewRetrieveServiceBindingParams() beforehand.

type RetrieveServiceBindingURL

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

RetrieveServiceBindingURL generates an URL for the retrieve service binding operation

func (*RetrieveServiceBindingURL) Build

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

Build a url path and query string

func (*RetrieveServiceBindingURL) BuildFull

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

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

func (*RetrieveServiceBindingURL) Must

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

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

func (*RetrieveServiceBindingURL) SetBasePath

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

func (o *RetrieveServiceBindingURL) String() string

String returns the string representation of the path with query string

func (*RetrieveServiceBindingURL) StringFull

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

StringFull returns the string representation of a complete url

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