service_instance

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 13 Imported by: 6

Documentation

Index

Constants

View Source
const AddServiceInstanceBadRequestCode int = 400

AddServiceInstanceBadRequestCode is the HTTP code returned for type AddServiceInstanceBadRequest

View Source
const AddServiceInstanceConflictCode int = 409

AddServiceInstanceConflictCode is the HTTP code returned for type AddServiceInstanceConflict

View Source
const AddServiceInstanceCreatedCode int = 201

AddServiceInstanceCreatedCode is the HTTP code returned for type AddServiceInstanceCreated

View Source
const AddServiceInstanceForbiddenCode int = 403

AddServiceInstanceForbiddenCode is the HTTP code returned for type AddServiceInstanceForbidden

View Source
const AddServiceInstanceUnauthorizedCode int = 401

AddServiceInstanceUnauthorizedCode is the HTTP code returned for type AddServiceInstanceUnauthorized

View Source
const DeleteServiceInstanceByNameBadRequestCode int = 400

DeleteServiceInstanceByNameBadRequestCode is the HTTP code returned for type DeleteServiceInstanceByNameBadRequest

View Source
const DeleteServiceInstanceByNameForbiddenCode int = 403

DeleteServiceInstanceByNameForbiddenCode is the HTTP code returned for type DeleteServiceInstanceByNameForbidden

View Source
const DeleteServiceInstanceByNameNotFoundCode int = 404

DeleteServiceInstanceByNameNotFoundCode is the HTTP code returned for type DeleteServiceInstanceByNameNotFound

View Source
const DeleteServiceInstanceByNameOKCode int = 200

DeleteServiceInstanceByNameOKCode is the HTTP code returned for type DeleteServiceInstanceByNameOK

View Source
const DeleteServiceInstanceByNameUnauthorizedCode int = 401

DeleteServiceInstanceByNameUnauthorizedCode is the HTTP code returned for type DeleteServiceInstanceByNameUnauthorized

View Source
const GetServiceInstanceByNameBadRequestCode int = 400

GetServiceInstanceByNameBadRequestCode is the HTTP code returned for type GetServiceInstanceByNameBadRequest

View Source
const GetServiceInstanceByNameForbiddenCode int = 403

GetServiceInstanceByNameForbiddenCode is the HTTP code returned for type GetServiceInstanceByNameForbidden

View Source
const GetServiceInstanceByNameNotFoundCode int = 404

GetServiceInstanceByNameNotFoundCode is the HTTP code returned for type GetServiceInstanceByNameNotFound

View Source
const GetServiceInstanceByNameOKCode int = 200

GetServiceInstanceByNameOKCode is the HTTP code returned for type GetServiceInstanceByNameOK

View Source
const GetServiceInstanceByNameUnauthorizedCode int = 401

GetServiceInstanceByNameUnauthorizedCode is the HTTP code returned for type GetServiceInstanceByNameUnauthorized

View Source
const GetServiceInstancesBadRequestCode int = 400

GetServiceInstancesBadRequestCode is the HTTP code returned for type GetServiceInstancesBadRequest

View Source
const GetServiceInstancesForbiddenCode int = 403

GetServiceInstancesForbiddenCode is the HTTP code returned for type GetServiceInstancesForbidden

View Source
const GetServiceInstancesOKCode int = 200

GetServiceInstancesOKCode is the HTTP code returned for type GetServiceInstancesOK

View Source
const GetServiceInstancesUnauthorizedCode int = 401

GetServiceInstancesUnauthorizedCode is the HTTP code returned for type GetServiceInstancesUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddServiceInstance

type AddServiceInstance struct {
	Context *middleware.Context
	Handler AddServiceInstanceHandler
}

AddServiceInstance swagger:route POST /serviceinstance serviceInstance addServiceInstance

Add a new service instance

func NewAddServiceInstance

func NewAddServiceInstance(ctx *middleware.Context, handler AddServiceInstanceHandler) *AddServiceInstance

NewAddServiceInstance creates a new http.Handler for the add service instance operation

func (*AddServiceInstance) ServeHTTP

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

type AddServiceInstanceBadRequest

type AddServiceInstanceBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceInstanceBadRequest Invalid input

swagger:response addServiceInstanceBadRequest

func NewAddServiceInstanceBadRequest

func NewAddServiceInstanceBadRequest() *AddServiceInstanceBadRequest

NewAddServiceInstanceBadRequest creates AddServiceInstanceBadRequest with default headers values

func (*AddServiceInstanceBadRequest) SetPayload

func (o *AddServiceInstanceBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service instance bad request response

func (*AddServiceInstanceBadRequest) WithPayload

WithPayload adds the payload to the add service instance bad request response

func (*AddServiceInstanceBadRequest) WriteResponse

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

WriteResponse to the client

type AddServiceInstanceConflict

type AddServiceInstanceConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceInstanceConflict Already Exists

swagger:response addServiceInstanceConflict

func NewAddServiceInstanceConflict

func NewAddServiceInstanceConflict() *AddServiceInstanceConflict

NewAddServiceInstanceConflict creates AddServiceInstanceConflict with default headers values

func (*AddServiceInstanceConflict) SetPayload

func (o *AddServiceInstanceConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service instance conflict response

func (*AddServiceInstanceConflict) WithPayload

WithPayload adds the payload to the add service instance conflict response

func (*AddServiceInstanceConflict) WriteResponse

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

WriteResponse to the client

type AddServiceInstanceCreated

type AddServiceInstanceCreated struct {

	/*
	  In: Body
	*/
	Payload *v1.ServiceInstance `json:"body,omitempty"`
}

AddServiceInstanceCreated created

swagger:response addServiceInstanceCreated

func NewAddServiceInstanceCreated

func NewAddServiceInstanceCreated() *AddServiceInstanceCreated

NewAddServiceInstanceCreated creates AddServiceInstanceCreated with default headers values

func (*AddServiceInstanceCreated) SetPayload

func (o *AddServiceInstanceCreated) SetPayload(payload *v1.ServiceInstance)

SetPayload sets the payload to the add service instance created response

func (*AddServiceInstanceCreated) WithPayload

WithPayload adds the payload to the add service instance created response

func (*AddServiceInstanceCreated) WriteResponse

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

WriteResponse to the client

type AddServiceInstanceDefault

type AddServiceInstanceDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddServiceInstanceDefault Generic error response

swagger:response addServiceInstanceDefault

func NewAddServiceInstanceDefault

func NewAddServiceInstanceDefault(code int) *AddServiceInstanceDefault

NewAddServiceInstanceDefault creates AddServiceInstanceDefault with default headers values

func (*AddServiceInstanceDefault) SetPayload

func (o *AddServiceInstanceDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service instance default response

func (*AddServiceInstanceDefault) SetStatusCode

func (o *AddServiceInstanceDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add service instance default response

func (*AddServiceInstanceDefault) WithPayload

func (o *AddServiceInstanceDefault) WithPayload(payload *v1.Error) *AddServiceInstanceDefault

WithPayload adds the payload to the add service instance default response

func (*AddServiceInstanceDefault) WithStatusCode

func (o *AddServiceInstanceDefault) WithStatusCode(code int) *AddServiceInstanceDefault

WithStatusCode adds the status to the add service instance default response

func (*AddServiceInstanceDefault) WriteResponse

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

WriteResponse to the client

type AddServiceInstanceForbidden added in v0.1.18

type AddServiceInstanceForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceInstanceForbidden access to this resource is forbidden

swagger:response addServiceInstanceForbidden

func NewAddServiceInstanceForbidden added in v0.1.18

func NewAddServiceInstanceForbidden() *AddServiceInstanceForbidden

NewAddServiceInstanceForbidden creates AddServiceInstanceForbidden with default headers values

func (*AddServiceInstanceForbidden) SetPayload added in v0.1.18

func (o *AddServiceInstanceForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service instance forbidden response

func (*AddServiceInstanceForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the add service instance forbidden response

func (*AddServiceInstanceForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type AddServiceInstanceHandler

type AddServiceInstanceHandler interface {
	Handle(AddServiceInstanceParams, interface{}) middleware.Responder
}

AddServiceInstanceHandler interface for that can handle valid add service instance params

type AddServiceInstanceHandlerFunc

type AddServiceInstanceHandlerFunc func(AddServiceInstanceParams, interface{}) middleware.Responder

AddServiceInstanceHandlerFunc turns a function with the right signature into a add service instance handler

func (AddServiceInstanceHandlerFunc) Handle

func (fn AddServiceInstanceHandlerFunc) Handle(params AddServiceInstanceParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddServiceInstanceParams

type AddServiceInstanceParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Service instance object
	  Required: true
	  In: body
	*/
	Body *v1.ServiceInstance
}

AddServiceInstanceParams contains all the bound params for the add service instance operation typically these are obtained from a http.Request

swagger:parameters addServiceInstance

func NewAddServiceInstanceParams

func NewAddServiceInstanceParams() AddServiceInstanceParams

NewAddServiceInstanceParams creates a new AddServiceInstanceParams object no default values defined in spec.

func (*AddServiceInstanceParams) 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 NewAddServiceInstanceParams() beforehand.

type AddServiceInstanceURL

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

AddServiceInstanceURL generates an URL for the add service instance operation

func (*AddServiceInstanceURL) Build

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

Build a url path and query string

func (*AddServiceInstanceURL) BuildFull

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

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

func (*AddServiceInstanceURL) Must

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

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

func (*AddServiceInstanceURL) SetBasePath

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

func (o *AddServiceInstanceURL) String() string

String returns the string representation of the path with query string

func (*AddServiceInstanceURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddServiceInstanceURL) WithBasePath

func (o *AddServiceInstanceURL) WithBasePath(bp string) *AddServiceInstanceURL

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 AddServiceInstanceUnauthorized added in v0.1.18

type AddServiceInstanceUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddServiceInstanceUnauthorized Unauthorized Request

swagger:response addServiceInstanceUnauthorized

func NewAddServiceInstanceUnauthorized added in v0.1.18

func NewAddServiceInstanceUnauthorized() *AddServiceInstanceUnauthorized

NewAddServiceInstanceUnauthorized creates AddServiceInstanceUnauthorized with default headers values

func (*AddServiceInstanceUnauthorized) SetPayload added in v0.1.18

func (o *AddServiceInstanceUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add service instance unauthorized response

func (*AddServiceInstanceUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the add service instance unauthorized response

func (*AddServiceInstanceUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteServiceInstanceByName

type DeleteServiceInstanceByName struct {
	Context *middleware.Context
	Handler DeleteServiceInstanceByNameHandler
}

DeleteServiceInstanceByName swagger:route DELETE /serviceinstance/{serviceInstanceName} serviceInstance deleteServiceInstanceByName

Deletes a service instance

func NewDeleteServiceInstanceByName

func NewDeleteServiceInstanceByName(ctx *middleware.Context, handler DeleteServiceInstanceByNameHandler) *DeleteServiceInstanceByName

NewDeleteServiceInstanceByName creates a new http.Handler for the delete service instance by name operation

func (*DeleteServiceInstanceByName) ServeHTTP

type DeleteServiceInstanceByNameBadRequest

type DeleteServiceInstanceByNameBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceInstanceByNameBadRequest Invalid name supplied

swagger:response deleteServiceInstanceByNameBadRequest

func NewDeleteServiceInstanceByNameBadRequest

func NewDeleteServiceInstanceByNameBadRequest() *DeleteServiceInstanceByNameBadRequest

NewDeleteServiceInstanceByNameBadRequest creates DeleteServiceInstanceByNameBadRequest with default headers values

func (*DeleteServiceInstanceByNameBadRequest) SetPayload

func (o *DeleteServiceInstanceByNameBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service instance by name bad request response

func (*DeleteServiceInstanceByNameBadRequest) WithPayload

WithPayload adds the payload to the delete service instance by name bad request response

func (*DeleteServiceInstanceByNameBadRequest) WriteResponse

WriteResponse to the client

type DeleteServiceInstanceByNameDefault

type DeleteServiceInstanceByNameDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteServiceInstanceByNameDefault Generic error response

swagger:response deleteServiceInstanceByNameDefault

func NewDeleteServiceInstanceByNameDefault

func NewDeleteServiceInstanceByNameDefault(code int) *DeleteServiceInstanceByNameDefault

NewDeleteServiceInstanceByNameDefault creates DeleteServiceInstanceByNameDefault with default headers values

func (*DeleteServiceInstanceByNameDefault) SetPayload

func (o *DeleteServiceInstanceByNameDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service instance by name default response

func (*DeleteServiceInstanceByNameDefault) SetStatusCode

func (o *DeleteServiceInstanceByNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete service instance by name default response

func (*DeleteServiceInstanceByNameDefault) WithPayload

WithPayload adds the payload to the delete service instance by name default response

func (*DeleteServiceInstanceByNameDefault) WithStatusCode

WithStatusCode adds the status to the delete service instance by name default response

func (*DeleteServiceInstanceByNameDefault) WriteResponse

WriteResponse to the client

type DeleteServiceInstanceByNameForbidden added in v0.1.18

type DeleteServiceInstanceByNameForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceInstanceByNameForbidden access to this resource is forbidden

swagger:response deleteServiceInstanceByNameForbidden

func NewDeleteServiceInstanceByNameForbidden added in v0.1.18

func NewDeleteServiceInstanceByNameForbidden() *DeleteServiceInstanceByNameForbidden

NewDeleteServiceInstanceByNameForbidden creates DeleteServiceInstanceByNameForbidden with default headers values

func (*DeleteServiceInstanceByNameForbidden) SetPayload added in v0.1.18

func (o *DeleteServiceInstanceByNameForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service instance by name forbidden response

func (*DeleteServiceInstanceByNameForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the delete service instance by name forbidden response

func (*DeleteServiceInstanceByNameForbidden) WriteResponse added in v0.1.18

WriteResponse to the client

type DeleteServiceInstanceByNameHandler

type DeleteServiceInstanceByNameHandler interface {
	Handle(DeleteServiceInstanceByNameParams, interface{}) middleware.Responder
}

DeleteServiceInstanceByNameHandler interface for that can handle valid delete service instance by name params

type DeleteServiceInstanceByNameHandlerFunc

type DeleteServiceInstanceByNameHandlerFunc func(DeleteServiceInstanceByNameParams, interface{}) middleware.Responder

DeleteServiceInstanceByNameHandlerFunc turns a function with the right signature into a delete service instance by name handler

func (DeleteServiceInstanceByNameHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteServiceInstanceByNameNotFound

type DeleteServiceInstanceByNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceInstanceByNameNotFound Service instance not found

swagger:response deleteServiceInstanceByNameNotFound

func NewDeleteServiceInstanceByNameNotFound

func NewDeleteServiceInstanceByNameNotFound() *DeleteServiceInstanceByNameNotFound

NewDeleteServiceInstanceByNameNotFound creates DeleteServiceInstanceByNameNotFound with default headers values

func (*DeleteServiceInstanceByNameNotFound) SetPayload

func (o *DeleteServiceInstanceByNameNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service instance by name not found response

func (*DeleteServiceInstanceByNameNotFound) WithPayload

WithPayload adds the payload to the delete service instance by name not found response

func (*DeleteServiceInstanceByNameNotFound) WriteResponse

WriteResponse to the client

type DeleteServiceInstanceByNameOK

type DeleteServiceInstanceByNameOK struct {

	/*
	  In: Body
	*/
	Payload *v1.ServiceInstance `json:"body,omitempty"`
}

DeleteServiceInstanceByNameOK successful operation

swagger:response deleteServiceInstanceByNameOK

func NewDeleteServiceInstanceByNameOK

func NewDeleteServiceInstanceByNameOK() *DeleteServiceInstanceByNameOK

NewDeleteServiceInstanceByNameOK creates DeleteServiceInstanceByNameOK with default headers values

func (*DeleteServiceInstanceByNameOK) SetPayload

func (o *DeleteServiceInstanceByNameOK) SetPayload(payload *v1.ServiceInstance)

SetPayload sets the payload to the delete service instance by name o k response

func (*DeleteServiceInstanceByNameOK) WithPayload

WithPayload adds the payload to the delete service instance by name o k response

func (*DeleteServiceInstanceByNameOK) WriteResponse

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

WriteResponse to the client

type DeleteServiceInstanceByNameParams

type DeleteServiceInstanceByNameParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of service instance to return
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ServiceInstanceName string
}

DeleteServiceInstanceByNameParams contains all the bound params for the delete service instance by name operation typically these are obtained from a http.Request

swagger:parameters deleteServiceInstanceByName

func NewDeleteServiceInstanceByNameParams

func NewDeleteServiceInstanceByNameParams() DeleteServiceInstanceByNameParams

NewDeleteServiceInstanceByNameParams creates a new DeleteServiceInstanceByNameParams object no default values defined in spec.

func (*DeleteServiceInstanceByNameParams) 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 NewDeleteServiceInstanceByNameParams() beforehand.

type DeleteServiceInstanceByNameURL

type DeleteServiceInstanceByNameURL struct {
	ServiceInstanceName string
	// contains filtered or unexported fields
}

DeleteServiceInstanceByNameURL generates an URL for the delete service instance by name operation

func (*DeleteServiceInstanceByNameURL) Build

Build a url path and query string

func (*DeleteServiceInstanceByNameURL) BuildFull

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

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

func (*DeleteServiceInstanceByNameURL) Must

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

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

func (*DeleteServiceInstanceByNameURL) SetBasePath

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

String returns the string representation of the path with query string

func (*DeleteServiceInstanceByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteServiceInstanceByNameURL) 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 DeleteServiceInstanceByNameUnauthorized added in v0.1.18

type DeleteServiceInstanceByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteServiceInstanceByNameUnauthorized Unauthorized Request

swagger:response deleteServiceInstanceByNameUnauthorized

func NewDeleteServiceInstanceByNameUnauthorized added in v0.1.18

func NewDeleteServiceInstanceByNameUnauthorized() *DeleteServiceInstanceByNameUnauthorized

NewDeleteServiceInstanceByNameUnauthorized creates DeleteServiceInstanceByNameUnauthorized with default headers values

func (*DeleteServiceInstanceByNameUnauthorized) SetPayload added in v0.1.18

func (o *DeleteServiceInstanceByNameUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete service instance by name unauthorized response

func (*DeleteServiceInstanceByNameUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the delete service instance by name unauthorized response

func (*DeleteServiceInstanceByNameUnauthorized) WriteResponse added in v0.1.18

WriteResponse to the client

type GetServiceInstanceByName

type GetServiceInstanceByName struct {
	Context *middleware.Context
	Handler GetServiceInstanceByNameHandler
}

GetServiceInstanceByName swagger:route GET /serviceinstance/{serviceInstanceName} serviceInstance getServiceInstanceByName

Find service instance by name

Returns a single service instance

func NewGetServiceInstanceByName

func NewGetServiceInstanceByName(ctx *middleware.Context, handler GetServiceInstanceByNameHandler) *GetServiceInstanceByName

NewGetServiceInstanceByName creates a new http.Handler for the get service instance by name operation

func (*GetServiceInstanceByName) ServeHTTP

type GetServiceInstanceByNameBadRequest

type GetServiceInstanceByNameBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceInstanceByNameBadRequest Invalid ID supplied

swagger:response getServiceInstanceByNameBadRequest

func NewGetServiceInstanceByNameBadRequest

func NewGetServiceInstanceByNameBadRequest() *GetServiceInstanceByNameBadRequest

NewGetServiceInstanceByNameBadRequest creates GetServiceInstanceByNameBadRequest with default headers values

func (*GetServiceInstanceByNameBadRequest) SetPayload

func (o *GetServiceInstanceByNameBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instance by name bad request response

func (*GetServiceInstanceByNameBadRequest) WithPayload

WithPayload adds the payload to the get service instance by name bad request response

func (*GetServiceInstanceByNameBadRequest) WriteResponse

WriteResponse to the client

type GetServiceInstanceByNameDefault

type GetServiceInstanceByNameDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetServiceInstanceByNameDefault Generic error response

swagger:response getServiceInstanceByNameDefault

func NewGetServiceInstanceByNameDefault

func NewGetServiceInstanceByNameDefault(code int) *GetServiceInstanceByNameDefault

NewGetServiceInstanceByNameDefault creates GetServiceInstanceByNameDefault with default headers values

func (*GetServiceInstanceByNameDefault) SetPayload

func (o *GetServiceInstanceByNameDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instance by name default response

func (*GetServiceInstanceByNameDefault) SetStatusCode

func (o *GetServiceInstanceByNameDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get service instance by name default response

func (*GetServiceInstanceByNameDefault) WithPayload

WithPayload adds the payload to the get service instance by name default response

func (*GetServiceInstanceByNameDefault) WithStatusCode

WithStatusCode adds the status to the get service instance by name default response

func (*GetServiceInstanceByNameDefault) WriteResponse

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

WriteResponse to the client

type GetServiceInstanceByNameForbidden added in v0.1.18

type GetServiceInstanceByNameForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceInstanceByNameForbidden access to this resource is forbidden

swagger:response getServiceInstanceByNameForbidden

func NewGetServiceInstanceByNameForbidden added in v0.1.18

func NewGetServiceInstanceByNameForbidden() *GetServiceInstanceByNameForbidden

NewGetServiceInstanceByNameForbidden creates GetServiceInstanceByNameForbidden with default headers values

func (*GetServiceInstanceByNameForbidden) SetPayload added in v0.1.18

func (o *GetServiceInstanceByNameForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instance by name forbidden response

func (*GetServiceInstanceByNameForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the get service instance by name forbidden response

func (*GetServiceInstanceByNameForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetServiceInstanceByNameHandler

type GetServiceInstanceByNameHandler interface {
	Handle(GetServiceInstanceByNameParams, interface{}) middleware.Responder
}

GetServiceInstanceByNameHandler interface for that can handle valid get service instance by name params

type GetServiceInstanceByNameHandlerFunc

type GetServiceInstanceByNameHandlerFunc func(GetServiceInstanceByNameParams, interface{}) middleware.Responder

GetServiceInstanceByNameHandlerFunc turns a function with the right signature into a get service instance by name handler

func (GetServiceInstanceByNameHandlerFunc) Handle

Handle executing the request and returning a response

type GetServiceInstanceByNameNotFound

type GetServiceInstanceByNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceInstanceByNameNotFound Service instance not found

swagger:response getServiceInstanceByNameNotFound

func NewGetServiceInstanceByNameNotFound

func NewGetServiceInstanceByNameNotFound() *GetServiceInstanceByNameNotFound

NewGetServiceInstanceByNameNotFound creates GetServiceInstanceByNameNotFound with default headers values

func (*GetServiceInstanceByNameNotFound) SetPayload

func (o *GetServiceInstanceByNameNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instance by name not found response

func (*GetServiceInstanceByNameNotFound) WithPayload

WithPayload adds the payload to the get service instance by name not found response

func (*GetServiceInstanceByNameNotFound) WriteResponse

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

WriteResponse to the client

type GetServiceInstanceByNameOK

type GetServiceInstanceByNameOK struct {

	/*
	  In: Body
	*/
	Payload *v1.ServiceInstance `json:"body,omitempty"`
}

GetServiceInstanceByNameOK successful operation

swagger:response getServiceInstanceByNameOK

func NewGetServiceInstanceByNameOK

func NewGetServiceInstanceByNameOK() *GetServiceInstanceByNameOK

NewGetServiceInstanceByNameOK creates GetServiceInstanceByNameOK with default headers values

func (*GetServiceInstanceByNameOK) SetPayload

func (o *GetServiceInstanceByNameOK) SetPayload(payload *v1.ServiceInstance)

SetPayload sets the payload to the get service instance by name o k response

func (*GetServiceInstanceByNameOK) WithPayload

WithPayload adds the payload to the get service instance by name o k response

func (*GetServiceInstanceByNameOK) WriteResponse

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

WriteResponse to the client

type GetServiceInstanceByNameParams

type GetServiceInstanceByNameParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of service instance to return
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	ServiceInstanceName string
}

GetServiceInstanceByNameParams contains all the bound params for the get service instance by name operation typically these are obtained from a http.Request

swagger:parameters getServiceInstanceByName

func NewGetServiceInstanceByNameParams

func NewGetServiceInstanceByNameParams() GetServiceInstanceByNameParams

NewGetServiceInstanceByNameParams creates a new GetServiceInstanceByNameParams object no default values defined in spec.

func (*GetServiceInstanceByNameParams) 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 NewGetServiceInstanceByNameParams() beforehand.

type GetServiceInstanceByNameURL

type GetServiceInstanceByNameURL struct {
	ServiceInstanceName string
	// contains filtered or unexported fields
}

GetServiceInstanceByNameURL generates an URL for the get service instance by name operation

func (*GetServiceInstanceByNameURL) Build

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

Build a url path and query string

func (*GetServiceInstanceByNameURL) BuildFull

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

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

func (*GetServiceInstanceByNameURL) Must

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

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

func (*GetServiceInstanceByNameURL) SetBasePath

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

func (o *GetServiceInstanceByNameURL) String() string

String returns the string representation of the path with query string

func (*GetServiceInstanceByNameURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetServiceInstanceByNameURL) 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 GetServiceInstanceByNameUnauthorized added in v0.1.18

type GetServiceInstanceByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceInstanceByNameUnauthorized Unauthorized Request

swagger:response getServiceInstanceByNameUnauthorized

func NewGetServiceInstanceByNameUnauthorized added in v0.1.18

func NewGetServiceInstanceByNameUnauthorized() *GetServiceInstanceByNameUnauthorized

NewGetServiceInstanceByNameUnauthorized creates GetServiceInstanceByNameUnauthorized with default headers values

func (*GetServiceInstanceByNameUnauthorized) SetPayload added in v0.1.18

func (o *GetServiceInstanceByNameUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instance by name unauthorized response

func (*GetServiceInstanceByNameUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get service instance by name unauthorized response

func (*GetServiceInstanceByNameUnauthorized) WriteResponse added in v0.1.18

WriteResponse to the client

type GetServiceInstances

type GetServiceInstances struct {
	Context *middleware.Context
	Handler GetServiceInstancesHandler
}

GetServiceInstances swagger:route GET /serviceinstance serviceInstance getServiceInstances

Get all service instances

List all service instances

func NewGetServiceInstances

func NewGetServiceInstances(ctx *middleware.Context, handler GetServiceInstancesHandler) *GetServiceInstances

NewGetServiceInstances creates a new http.Handler for the get service instances operation

func (*GetServiceInstances) ServeHTTP

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

type GetServiceInstancesBadRequest

type GetServiceInstancesBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceInstancesBadRequest Invalid input

swagger:response getServiceInstancesBadRequest

func NewGetServiceInstancesBadRequest

func NewGetServiceInstancesBadRequest() *GetServiceInstancesBadRequest

NewGetServiceInstancesBadRequest creates GetServiceInstancesBadRequest with default headers values

func (*GetServiceInstancesBadRequest) SetPayload

func (o *GetServiceInstancesBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instances bad request response

func (*GetServiceInstancesBadRequest) WithPayload

WithPayload adds the payload to the get service instances bad request response

func (*GetServiceInstancesBadRequest) WriteResponse

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

WriteResponse to the client

type GetServiceInstancesDefault

type GetServiceInstancesDefault struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetServiceInstancesDefault Generic error response

swagger:response getServiceInstancesDefault

func NewGetServiceInstancesDefault

func NewGetServiceInstancesDefault(code int) *GetServiceInstancesDefault

NewGetServiceInstancesDefault creates GetServiceInstancesDefault with default headers values

func (*GetServiceInstancesDefault) SetPayload

func (o *GetServiceInstancesDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instances default response

func (*GetServiceInstancesDefault) SetStatusCode

func (o *GetServiceInstancesDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get service instances default response

func (*GetServiceInstancesDefault) WithPayload

WithPayload adds the payload to the get service instances default response

func (*GetServiceInstancesDefault) WithStatusCode

WithStatusCode adds the status to the get service instances default response

func (*GetServiceInstancesDefault) WriteResponse

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

WriteResponse to the client

type GetServiceInstancesForbidden added in v0.1.18

type GetServiceInstancesForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceInstancesForbidden access to this resource is forbidden

swagger:response getServiceInstancesForbidden

func NewGetServiceInstancesForbidden added in v0.1.18

func NewGetServiceInstancesForbidden() *GetServiceInstancesForbidden

NewGetServiceInstancesForbidden creates GetServiceInstancesForbidden with default headers values

func (*GetServiceInstancesForbidden) SetPayload added in v0.1.18

func (o *GetServiceInstancesForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instances forbidden response

func (*GetServiceInstancesForbidden) WithPayload added in v0.1.18

WithPayload adds the payload to the get service instances forbidden response

func (*GetServiceInstancesForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetServiceInstancesHandler

type GetServiceInstancesHandler interface {
	Handle(GetServiceInstancesParams, interface{}) middleware.Responder
}

GetServiceInstancesHandler interface for that can handle valid get service instances params

type GetServiceInstancesHandlerFunc

type GetServiceInstancesHandlerFunc func(GetServiceInstancesParams, interface{}) middleware.Responder

GetServiceInstancesHandlerFunc turns a function with the right signature into a get service instances handler

func (GetServiceInstancesHandlerFunc) Handle

func (fn GetServiceInstancesHandlerFunc) Handle(params GetServiceInstancesParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetServiceInstancesOK

type GetServiceInstancesOK struct {

	/*
	  In: Body
	*/
	Payload []*v1.ServiceInstance `json:"body,omitempty"`
}

GetServiceInstancesOK successful operation

swagger:response getServiceInstancesOK

func NewGetServiceInstancesOK

func NewGetServiceInstancesOK() *GetServiceInstancesOK

NewGetServiceInstancesOK creates GetServiceInstancesOK with default headers values

func (*GetServiceInstancesOK) SetPayload

func (o *GetServiceInstancesOK) SetPayload(payload []*v1.ServiceInstance)

SetPayload sets the payload to the get service instances o k response

func (*GetServiceInstancesOK) WithPayload

func (o *GetServiceInstancesOK) WithPayload(payload []*v1.ServiceInstance) *GetServiceInstancesOK

WithPayload adds the payload to the get service instances o k response

func (*GetServiceInstancesOK) WriteResponse

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

WriteResponse to the client

type GetServiceInstancesParams

type GetServiceInstancesParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*service class name
	  In: query
	*/
	Serviceclass *string
	/*Filter on service instance tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

GetServiceInstancesParams contains all the bound params for the get service instances operation typically these are obtained from a http.Request

swagger:parameters getServiceInstances

func NewGetServiceInstancesParams

func NewGetServiceInstancesParams() GetServiceInstancesParams

NewGetServiceInstancesParams creates a new GetServiceInstancesParams object no default values defined in spec.

func (*GetServiceInstancesParams) 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 NewGetServiceInstancesParams() beforehand.

type GetServiceInstancesURL

type GetServiceInstancesURL struct {
	Serviceclass *string
	Tags         []string
	// contains filtered or unexported fields
}

GetServiceInstancesURL generates an URL for the get service instances operation

func (*GetServiceInstancesURL) Build

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

Build a url path and query string

func (*GetServiceInstancesURL) BuildFull

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

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

func (*GetServiceInstancesURL) Must

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

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

func (*GetServiceInstancesURL) SetBasePath

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

func (o *GetServiceInstancesURL) String() string

String returns the string representation of the path with query string

func (*GetServiceInstancesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetServiceInstancesURL) 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 GetServiceInstancesUnauthorized added in v0.1.18

type GetServiceInstancesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetServiceInstancesUnauthorized Unauthorized Request

swagger:response getServiceInstancesUnauthorized

func NewGetServiceInstancesUnauthorized added in v0.1.18

func NewGetServiceInstancesUnauthorized() *GetServiceInstancesUnauthorized

NewGetServiceInstancesUnauthorized creates GetServiceInstancesUnauthorized with default headers values

func (*GetServiceInstancesUnauthorized) SetPayload added in v0.1.18

func (o *GetServiceInstancesUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get service instances unauthorized response

func (*GetServiceInstancesUnauthorized) WithPayload added in v0.1.18

WithPayload adds the payload to the get service instances unauthorized response

func (*GetServiceInstancesUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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