knowledge_tools

package
v0.0.0-...-8832f83 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const WeaviateToolsMapForbiddenCode int = 403

WeaviateToolsMapForbiddenCode is the HTTP code returned for type WeaviateToolsMapForbidden

View Source
const WeaviateToolsMapInternalServerErrorCode int = 500

WeaviateToolsMapInternalServerErrorCode is the HTTP code returned for type WeaviateToolsMapInternalServerError

View Source
const WeaviateToolsMapNotFoundCode int = 404

WeaviateToolsMapNotFoundCode is the HTTP code returned for type WeaviateToolsMapNotFound

View Source
const WeaviateToolsMapNotImplementedCode int = 501

WeaviateToolsMapNotImplementedCode is the HTTP code returned for type WeaviateToolsMapNotImplemented

View Source
const WeaviateToolsMapOKCode int = 200

WeaviateToolsMapOKCode is the HTTP code returned for type WeaviateToolsMapOK

View Source
const WeaviateToolsMapUnauthorizedCode int = 401

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

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

SetPayload sets the payload to the weaviate tools map internal server error response

func (*WeaviateToolsMapInternalServerError) WithPayload

WithPayload adds the payload to the weaviate tools map internal server error response

func (*WeaviateToolsMapInternalServerError) WriteResponse

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

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

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

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

Jump to

Keyboard shortcuts

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