Documentation ¶
Index ¶
- Constants
- type WeaviateToolsMap
- type WeaviateToolsMapForbidden
- type WeaviateToolsMapHandler
- type WeaviateToolsMapHandlerFunc
- type WeaviateToolsMapInternalServerError
- func (o *WeaviateToolsMapInternalServerError) SetPayload(payload *models.ErrorResponse)
- func (o *WeaviateToolsMapInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateToolsMapInternalServerError
- func (o *WeaviateToolsMapInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type WeaviateToolsMapNotFound
- type WeaviateToolsMapNotImplemented
- type WeaviateToolsMapOK
- type WeaviateToolsMapParams
- type WeaviateToolsMapURL
- func (o *WeaviateToolsMapURL) Build() (*url.URL, error)
- func (o *WeaviateToolsMapURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *WeaviateToolsMapURL) Must(u *url.URL, err error) *url.URL
- func (o *WeaviateToolsMapURL) SetBasePath(bp string)
- func (o *WeaviateToolsMapURL) String() string
- func (o *WeaviateToolsMapURL) StringFull(scheme, host string) string
- func (o *WeaviateToolsMapURL) WithBasePath(bp string) *WeaviateToolsMapURL
- type WeaviateToolsMapUnauthorized
Constants ¶
const WeaviateToolsMapForbiddenCode int = 403
WeaviateToolsMapForbiddenCode is the HTTP code returned for type WeaviateToolsMapForbidden
const WeaviateToolsMapInternalServerErrorCode int = 500
WeaviateToolsMapInternalServerErrorCode is the HTTP code returned for type WeaviateToolsMapInternalServerError
const WeaviateToolsMapNotFoundCode int = 404
WeaviateToolsMapNotFoundCode is the HTTP code returned for type WeaviateToolsMapNotFound
const WeaviateToolsMapNotImplementedCode int = 501
WeaviateToolsMapNotImplementedCode is the HTTP code returned for type WeaviateToolsMapNotImplemented
const WeaviateToolsMapOKCode int = 200
WeaviateToolsMapOKCode is the HTTP code returned for type WeaviateToolsMapOK
WeaviateToolsMapUnauthorizedCode is the HTTP code returned for type WeaviateToolsMapUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeaviateToolsMap ¶
type WeaviateToolsMap struct { Context *middleware.Context Handler WeaviateToolsMapHandler }
WeaviateToolsMap swagger:route POST /tools/map knowledge tools weaviateToolsMap
Tool to render a map of concepts, based on ontologies available over the network.
Tool to render a map of concepts, based on ontologies available over the network.
func NewWeaviateToolsMap ¶
func NewWeaviateToolsMap(ctx *middleware.Context, handler WeaviateToolsMapHandler) *WeaviateToolsMap
NewWeaviateToolsMap creates a new http.Handler for the weaviate tools map operation
func (*WeaviateToolsMap) ServeHTTP ¶
func (o *WeaviateToolsMap) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type WeaviateToolsMapForbidden ¶
type WeaviateToolsMapForbidden struct { }
WeaviateToolsMapForbidden The used API-key has insufficient permissions.
swagger:response weaviateToolsMapForbidden
func NewWeaviateToolsMapForbidden ¶
func NewWeaviateToolsMapForbidden() *WeaviateToolsMapForbidden
NewWeaviateToolsMapForbidden creates WeaviateToolsMapForbidden with default headers values
func (*WeaviateToolsMapForbidden) WriteResponse ¶
func (o *WeaviateToolsMapForbidden) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateToolsMapHandler ¶
type WeaviateToolsMapHandler interface {
Handle(WeaviateToolsMapParams) middleware.Responder
}
WeaviateToolsMapHandler interface for that can handle valid weaviate tools map params
type WeaviateToolsMapHandlerFunc ¶
type WeaviateToolsMapHandlerFunc func(WeaviateToolsMapParams) middleware.Responder
WeaviateToolsMapHandlerFunc turns a function with the right signature into a weaviate tools map handler
func (WeaviateToolsMapHandlerFunc) Handle ¶
func (fn WeaviateToolsMapHandlerFunc) Handle(params WeaviateToolsMapParams) middleware.Responder
Handle executing the request and returning a response
type WeaviateToolsMapInternalServerError ¶
type WeaviateToolsMapInternalServerError struct { /* In: Body */ Payload *models.ErrorResponse `json:"body,omitempty"` }
WeaviateToolsMapInternalServerError An error has occurred while trying to fulfill the request. Most likely the ErrorResponse will contain more information about the error.
swagger:response weaviateToolsMapInternalServerError
func NewWeaviateToolsMapInternalServerError ¶
func NewWeaviateToolsMapInternalServerError() *WeaviateToolsMapInternalServerError
NewWeaviateToolsMapInternalServerError creates WeaviateToolsMapInternalServerError with default headers values
func (*WeaviateToolsMapInternalServerError) SetPayload ¶
func (o *WeaviateToolsMapInternalServerError) SetPayload(payload *models.ErrorResponse)
SetPayload sets the payload to the weaviate tools map internal server error response
func (*WeaviateToolsMapInternalServerError) WithPayload ¶
func (o *WeaviateToolsMapInternalServerError) WithPayload(payload *models.ErrorResponse) *WeaviateToolsMapInternalServerError
WithPayload adds the payload to the weaviate tools map internal server error response
func (*WeaviateToolsMapInternalServerError) WriteResponse ¶
func (o *WeaviateToolsMapInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateToolsMapNotFound ¶
type WeaviateToolsMapNotFound struct { }
WeaviateToolsMapNotFound Successful query result but no resource was found.
swagger:response weaviateToolsMapNotFound
func NewWeaviateToolsMapNotFound ¶
func NewWeaviateToolsMapNotFound() *WeaviateToolsMapNotFound
NewWeaviateToolsMapNotFound creates WeaviateToolsMapNotFound with default headers values
func (*WeaviateToolsMapNotFound) WriteResponse ¶
func (o *WeaviateToolsMapNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateToolsMapNotImplemented ¶
type WeaviateToolsMapNotImplemented struct { }
WeaviateToolsMapNotImplemented Not (yet) implemented.
swagger:response weaviateToolsMapNotImplemented
func NewWeaviateToolsMapNotImplemented ¶
func NewWeaviateToolsMapNotImplemented() *WeaviateToolsMapNotImplemented
NewWeaviateToolsMapNotImplemented creates WeaviateToolsMapNotImplemented with default headers values
func (*WeaviateToolsMapNotImplemented) WriteResponse ¶
func (o *WeaviateToolsMapNotImplemented) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateToolsMapOK ¶
type WeaviateToolsMapOK struct { /* In: Body */ Payload *models.ToolsMapRequestResponse `json:"body,omitempty"` }
WeaviateToolsMapOK Successful response.
swagger:response weaviateToolsMapOK
func NewWeaviateToolsMapOK ¶
func NewWeaviateToolsMapOK() *WeaviateToolsMapOK
NewWeaviateToolsMapOK creates WeaviateToolsMapOK with default headers values
func (*WeaviateToolsMapOK) SetPayload ¶
func (o *WeaviateToolsMapOK) SetPayload(payload *models.ToolsMapRequestResponse)
SetPayload sets the payload to the weaviate tools map o k response
func (*WeaviateToolsMapOK) WithPayload ¶
func (o *WeaviateToolsMapOK) WithPayload(payload *models.ToolsMapRequestResponse) *WeaviateToolsMapOK
WithPayload adds the payload to the weaviate tools map o k response
func (*WeaviateToolsMapOK) WriteResponse ¶
func (o *WeaviateToolsMapOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type WeaviateToolsMapParams ¶
type WeaviateToolsMapParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.ToolsMapRequest }
WeaviateToolsMapParams contains all the bound params for the weaviate tools map operation typically these are obtained from a http.Request
swagger:parameters weaviate.tools.map
func NewWeaviateToolsMapParams ¶
func NewWeaviateToolsMapParams() WeaviateToolsMapParams
NewWeaviateToolsMapParams creates a new WeaviateToolsMapParams object no default values defined in spec.
func (*WeaviateToolsMapParams) BindRequest ¶
func (o *WeaviateToolsMapParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewWeaviateToolsMapParams() beforehand.
type WeaviateToolsMapURL ¶
type WeaviateToolsMapURL struct {
// contains filtered or unexported fields
}
WeaviateToolsMapURL generates an URL for the weaviate tools map operation
func (*WeaviateToolsMapURL) Build ¶
func (o *WeaviateToolsMapURL) Build() (*url.URL, error)
Build a url path and query string
func (*WeaviateToolsMapURL) BuildFull ¶
func (o *WeaviateToolsMapURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*WeaviateToolsMapURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*WeaviateToolsMapURL) SetBasePath ¶
func (o *WeaviateToolsMapURL) 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 (*WeaviateToolsMapURL) String ¶
func (o *WeaviateToolsMapURL) String() string
String returns the string representation of the path with query string
func (*WeaviateToolsMapURL) StringFull ¶
func (o *WeaviateToolsMapURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*WeaviateToolsMapURL) WithBasePath ¶
func (o *WeaviateToolsMapURL) WithBasePath(bp string) *WeaviateToolsMapURL
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 WeaviateToolsMapUnauthorized ¶
type WeaviateToolsMapUnauthorized struct { }
WeaviateToolsMapUnauthorized Unauthorized or invalid credentials.
swagger:response weaviateToolsMapUnauthorized
func NewWeaviateToolsMapUnauthorized ¶
func NewWeaviateToolsMapUnauthorized() *WeaviateToolsMapUnauthorized
NewWeaviateToolsMapUnauthorized creates WeaviateToolsMapUnauthorized with default headers values
func (*WeaviateToolsMapUnauthorized) WriteResponse ¶
func (o *WeaviateToolsMapUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client