operations

package
v0.0.0-...-1d7a7e7 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const AddExperimentBadRequestCode int = 400

AddExperimentBadRequestCode is the HTTP code returned for type AddExperimentBadRequest

View Source
const AddExperimentConflictCode int = 409

AddExperimentConflictCode is the HTTP code returned for type AddExperimentConflict

View Source
const AddExperimentOKCode int = 200

AddExperimentOKCode is the HTTP code returned for type AddExperimentOK

View Source
const AddPatientBadRequestCode int = 400

AddPatientBadRequestCode is the HTTP code returned for type AddPatientBadRequest

View Source
const AddPatientConflictCode int = 409

AddPatientConflictCode is the HTTP code returned for type AddPatientConflict

View Source
const AddPatientOKCode int = 200

AddPatientOKCode is the HTTP code returned for type AddPatientOK

View Source
const AddResultBadRequestCode int = 400

AddResultBadRequestCode is the HTTP code returned for type AddResultBadRequest

View Source
const AddResultConflictCode int = 409

AddResultConflictCode is the HTTP code returned for type AddResultConflict

View Source
const AddResultOKCode int = 200

AddResultOKCode is the HTTP code returned for type AddResultOK

View Source
const AddResultdetailsBadRequestCode int = 400

AddResultdetailsBadRequestCode is the HTTP code returned for type AddResultdetailsBadRequest

View Source
const AddResultdetailsConflictCode int = 409

AddResultdetailsConflictCode is the HTTP code returned for type AddResultdetailsConflict

View Source
const AddResultdetailsOKCode int = 200

AddResultdetailsOKCode is the HTTP code returned for type AddResultdetailsOK

View Source
const AddSampleBadRequestCode int = 400

AddSampleBadRequestCode is the HTTP code returned for type AddSampleBadRequest

View Source
const AddSampleConflictCode int = 409

AddSampleConflictCode is the HTTP code returned for type AddSampleConflict

View Source
const AddSampleOKCode int = 200

AddSampleOKCode is the HTTP code returned for type AddSampleOK

View Source
const GetSampleColumnsBadRequestCode int = 400

GetSampleColumnsBadRequestCode is the HTTP code returned for type GetSampleColumnsBadRequest

View Source
const GetSampleColumnsOKCode int = 200

GetSampleColumnsOKCode is the HTTP code returned for type GetSampleColumnsOK

View Source
const GetSamplesByQueryNotFoundCode int = 404

GetSamplesByQueryNotFoundCode is the HTTP code returned for type GetSamplesByQueryNotFound

View Source
const GetSamplesByQueryOKCode int = 200

GetSamplesByQueryOKCode is the HTTP code returned for type GetSamplesByQueryOK

View Source
const GetSearchableBadRequestCode int = 400

GetSearchableBadRequestCode is the HTTP code returned for type GetSearchableBadRequest

View Source
const GetSearchableOKCode int = 200

GetSearchableOKCode is the HTTP code returned for type GetSearchableOK

View Source
const GetUneditableBadRequestCode int = 400

GetUneditableBadRequestCode is the HTTP code returned for type GetUneditableBadRequest

View Source
const GetUneditableOKCode int = 200

GetUneditableOKCode is the HTTP code returned for type GetUneditableOK

View Source
const LogoutNotFoundCode int = 404

LogoutNotFoundCode is the HTTP code returned for type LogoutNotFound

View Source
const LogoutOKCode int = 200

LogoutOKCode is the HTTP code returned for type LogoutOK

View Source
const PostUploadConflictCode int = 409

PostUploadConflictCode is the HTTP code returned for type PostUploadConflict

View Source
const PostUploadNotFoundCode int = 404

PostUploadNotFoundCode is the HTTP code returned for type PostUploadNotFound

View Source
const PostUploadOKCode int = 200

PostUploadOKCode is the HTTP code returned for type PostUploadOK

Variables

This section is empty.

Functions

This section is empty.

Types

type AddExperiment

type AddExperiment struct {
	Context *middleware.Context
	Handler AddExperimentHandler
}

AddExperiment swagger:route POST /experiment addExperiment

adds an experiment item

Adds an experiment to the system

func NewAddExperiment

func NewAddExperiment(ctx *middleware.Context, handler AddExperimentHandler) *AddExperiment

NewAddExperiment creates a new http.Handler for the add experiment operation

func (*AddExperiment) ServeHTTP

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

type AddExperimentBadRequest

type AddExperimentBadRequest struct {
}

AddExperimentBadRequest invalid input, object invalid

swagger:response addExperimentBadRequest

func NewAddExperimentBadRequest

func NewAddExperimentBadRequest() *AddExperimentBadRequest

NewAddExperimentBadRequest creates AddExperimentBadRequest with default headers values

func (*AddExperimentBadRequest) WriteResponse

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

WriteResponse to the client

type AddExperimentConflict

type AddExperimentConflict struct {
}

AddExperimentConflict an existing item already exists

swagger:response addExperimentConflict

func NewAddExperimentConflict

func NewAddExperimentConflict() *AddExperimentConflict

NewAddExperimentConflict creates AddExperimentConflict with default headers values

func (*AddExperimentConflict) WriteResponse

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

WriteResponse to the client

type AddExperimentHandler

type AddExperimentHandler interface {
	Handle(AddExperimentParams) middleware.Responder
}

AddExperimentHandler interface for that can handle valid add experiment params

type AddExperimentHandlerFunc

type AddExperimentHandlerFunc func(AddExperimentParams) middleware.Responder

AddExperimentHandlerFunc turns a function with the right signature into a add experiment handler

func (AddExperimentHandlerFunc) Handle

Handle executing the request and returning a response

type AddExperimentOK

type AddExperimentOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

AddExperimentOK id

swagger:response addExperimentOK

func NewAddExperimentOK

func NewAddExperimentOK() *AddExperimentOK

NewAddExperimentOK creates AddExperimentOK with default headers values

func (*AddExperimentOK) SetPayload

func (o *AddExperimentOK) SetPayload(payload string)

SetPayload sets the payload to the add experiment o k response

func (*AddExperimentOK) WithPayload

func (o *AddExperimentOK) WithPayload(payload string) *AddExperimentOK

WithPayload adds the payload to the add experiment o k response

func (*AddExperimentOK) WriteResponse

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

WriteResponse to the client

type AddExperimentParams

type AddExperimentParams struct {

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

	/*Experiment
	  In: body
	*/
	Experiment *models.Experiment
}

AddExperimentParams contains all the bound params for the add experiment operation typically these are obtained from a http.Request

swagger:parameters addExperiment

func NewAddExperimentParams

func NewAddExperimentParams() AddExperimentParams

NewAddExperimentParams creates a new AddExperimentParams object with the default values initialized.

func (*AddExperimentParams) BindRequest

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

type AddExperimentURL

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

AddExperimentURL generates an URL for the add experiment operation

func (*AddExperimentURL) Build

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

Build a url path and query string

func (*AddExperimentURL) BuildFull

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

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

func (*AddExperimentURL) Must

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

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

func (*AddExperimentURL) SetBasePath

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

func (o *AddExperimentURL) String() string

String returns the string representation of the path with query string

func (*AddExperimentURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddExperimentURL) WithBasePath

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

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 AddPatient

type AddPatient struct {
	Context *middleware.Context
	Handler AddPatientHandler
}

AddPatient swagger:route POST /patient addPatient

adds a patient item

Adds a patient to the system

func NewAddPatient

func NewAddPatient(ctx *middleware.Context, handler AddPatientHandler) *AddPatient

NewAddPatient creates a new http.Handler for the add patient operation

func (*AddPatient) ServeHTTP

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

type AddPatientBadRequest

type AddPatientBadRequest struct {
}

AddPatientBadRequest invalid input, object invalid

swagger:response addPatientBadRequest

func NewAddPatientBadRequest

func NewAddPatientBadRequest() *AddPatientBadRequest

NewAddPatientBadRequest creates AddPatientBadRequest with default headers values

func (*AddPatientBadRequest) WriteResponse

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

WriteResponse to the client

type AddPatientConflict

type AddPatientConflict struct {
}

AddPatientConflict an existing item already exists

swagger:response addPatientConflict

func NewAddPatientConflict

func NewAddPatientConflict() *AddPatientConflict

NewAddPatientConflict creates AddPatientConflict with default headers values

func (*AddPatientConflict) WriteResponse

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

WriteResponse to the client

type AddPatientHandler

type AddPatientHandler interface {
	Handle(AddPatientParams) middleware.Responder
}

AddPatientHandler interface for that can handle valid add patient params

type AddPatientHandlerFunc

type AddPatientHandlerFunc func(AddPatientParams) middleware.Responder

AddPatientHandlerFunc turns a function with the right signature into a add patient handler

func (AddPatientHandlerFunc) Handle

Handle executing the request and returning a response

type AddPatientOK

type AddPatientOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

AddPatientOK id

swagger:response addPatientOK

func NewAddPatientOK

func NewAddPatientOK() *AddPatientOK

NewAddPatientOK creates AddPatientOK with default headers values

func (*AddPatientOK) SetPayload

func (o *AddPatientOK) SetPayload(payload string)

SetPayload sets the payload to the add patient o k response

func (*AddPatientOK) WithPayload

func (o *AddPatientOK) WithPayload(payload string) *AddPatientOK

WithPayload adds the payload to the add patient o k response

func (*AddPatientOK) WriteResponse

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

WriteResponse to the client

type AddPatientParams

type AddPatientParams struct {

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

	/*Patient
	  In: body
	*/
	Patient *models.Patient
}

AddPatientParams contains all the bound params for the add patient operation typically these are obtained from a http.Request

swagger:parameters addPatient

func NewAddPatientParams

func NewAddPatientParams() AddPatientParams

NewAddPatientParams creates a new AddPatientParams object with the default values initialized.

func (*AddPatientParams) BindRequest

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

type AddPatientURL

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

AddPatientURL generates an URL for the add patient operation

func (*AddPatientURL) Build

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

Build a url path and query string

func (*AddPatientURL) BuildFull

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

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

func (*AddPatientURL) Must

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

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

func (*AddPatientURL) SetBasePath

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

func (o *AddPatientURL) String() string

String returns the string representation of the path with query string

func (*AddPatientURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddPatientURL) WithBasePath

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

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 AddResult

type AddResult struct {
	Context *middleware.Context
	Handler AddResultHandler
}

AddResult swagger:route POST /result addResult

adds a result item

Adds a result to the system

func NewAddResult

func NewAddResult(ctx *middleware.Context, handler AddResultHandler) *AddResult

NewAddResult creates a new http.Handler for the add result operation

func (*AddResult) ServeHTTP

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

type AddResultBadRequest

type AddResultBadRequest struct {
}

AddResultBadRequest invalid input, object invalid

swagger:response addResultBadRequest

func NewAddResultBadRequest

func NewAddResultBadRequest() *AddResultBadRequest

NewAddResultBadRequest creates AddResultBadRequest with default headers values

func (*AddResultBadRequest) WriteResponse

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

WriteResponse to the client

type AddResultConflict

type AddResultConflict struct {
}

AddResultConflict an existing item already exists

swagger:response addResultConflict

func NewAddResultConflict

func NewAddResultConflict() *AddResultConflict

NewAddResultConflict creates AddResultConflict with default headers values

func (*AddResultConflict) WriteResponse

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

WriteResponse to the client

type AddResultHandler

type AddResultHandler interface {
	Handle(AddResultParams) middleware.Responder
}

AddResultHandler interface for that can handle valid add result params

type AddResultHandlerFunc

type AddResultHandlerFunc func(AddResultParams) middleware.Responder

AddResultHandlerFunc turns a function with the right signature into a add result handler

func (AddResultHandlerFunc) Handle

Handle executing the request and returning a response

type AddResultOK

type AddResultOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

AddResultOK id

swagger:response addResultOK

func NewAddResultOK

func NewAddResultOK() *AddResultOK

NewAddResultOK creates AddResultOK with default headers values

func (*AddResultOK) SetPayload

func (o *AddResultOK) SetPayload(payload string)

SetPayload sets the payload to the add result o k response

func (*AddResultOK) WithPayload

func (o *AddResultOK) WithPayload(payload string) *AddResultOK

WithPayload adds the payload to the add result o k response

func (*AddResultOK) WriteResponse

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

WriteResponse to the client

type AddResultParams

type AddResultParams struct {

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

	/*Result
	  In: body
	*/
	Result *models.Result
}

AddResultParams contains all the bound params for the add result operation typically these are obtained from a http.Request

swagger:parameters addResult

func NewAddResultParams

func NewAddResultParams() AddResultParams

NewAddResultParams creates a new AddResultParams object with the default values initialized.

func (*AddResultParams) BindRequest

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

type AddResultURL

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

AddResultURL generates an URL for the add result operation

func (*AddResultURL) Build

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

Build a url path and query string

func (*AddResultURL) BuildFull

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

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

func (*AddResultURL) Must

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

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

func (*AddResultURL) SetBasePath

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

func (o *AddResultURL) String() string

String returns the string representation of the path with query string

func (*AddResultURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddResultURL) WithBasePath

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

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 AddResultdetails

type AddResultdetails struct {
	Context *middleware.Context
	Handler AddResultdetailsHandler
}

AddResultdetails swagger:route POST /resultdetails addResultdetails

adds a resultdetails item

Adds a resultdetails to the system

func NewAddResultdetails

func NewAddResultdetails(ctx *middleware.Context, handler AddResultdetailsHandler) *AddResultdetails

NewAddResultdetails creates a new http.Handler for the add resultdetails operation

func (*AddResultdetails) ServeHTTP

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

type AddResultdetailsBadRequest

type AddResultdetailsBadRequest struct {
}

AddResultdetailsBadRequest invalid input, object invalid

swagger:response addResultdetailsBadRequest

func NewAddResultdetailsBadRequest

func NewAddResultdetailsBadRequest() *AddResultdetailsBadRequest

NewAddResultdetailsBadRequest creates AddResultdetailsBadRequest with default headers values

func (*AddResultdetailsBadRequest) WriteResponse

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

WriteResponse to the client

type AddResultdetailsConflict

type AddResultdetailsConflict struct {
}

AddResultdetailsConflict an existing item already exists

swagger:response addResultdetailsConflict

func NewAddResultdetailsConflict

func NewAddResultdetailsConflict() *AddResultdetailsConflict

NewAddResultdetailsConflict creates AddResultdetailsConflict with default headers values

func (*AddResultdetailsConflict) WriteResponse

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

WriteResponse to the client

type AddResultdetailsHandler

type AddResultdetailsHandler interface {
	Handle(AddResultdetailsParams) middleware.Responder
}

AddResultdetailsHandler interface for that can handle valid add resultdetails params

type AddResultdetailsHandlerFunc

type AddResultdetailsHandlerFunc func(AddResultdetailsParams) middleware.Responder

AddResultdetailsHandlerFunc turns a function with the right signature into a add resultdetails handler

func (AddResultdetailsHandlerFunc) Handle

Handle executing the request and returning a response

type AddResultdetailsOK

type AddResultdetailsOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

AddResultdetailsOK id

swagger:response addResultdetailsOK

func NewAddResultdetailsOK

func NewAddResultdetailsOK() *AddResultdetailsOK

NewAddResultdetailsOK creates AddResultdetailsOK with default headers values

func (*AddResultdetailsOK) SetPayload

func (o *AddResultdetailsOK) SetPayload(payload string)

SetPayload sets the payload to the add resultdetails o k response

func (*AddResultdetailsOK) WithPayload

func (o *AddResultdetailsOK) WithPayload(payload string) *AddResultdetailsOK

WithPayload adds the payload to the add resultdetails o k response

func (*AddResultdetailsOK) WriteResponse

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

WriteResponse to the client

type AddResultdetailsParams

type AddResultdetailsParams struct {

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

	/*Resultdetails
	  In: body
	*/
	Resultdetails *models.Resultdetails
}

AddResultdetailsParams contains all the bound params for the add resultdetails operation typically these are obtained from a http.Request

swagger:parameters addResultdetails

func NewAddResultdetailsParams

func NewAddResultdetailsParams() AddResultdetailsParams

NewAddResultdetailsParams creates a new AddResultdetailsParams object with the default values initialized.

func (*AddResultdetailsParams) BindRequest

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

type AddResultdetailsURL

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

AddResultdetailsURL generates an URL for the add resultdetails operation

func (*AddResultdetailsURL) Build

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

Build a url path and query string

func (*AddResultdetailsURL) BuildFull

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

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

func (*AddResultdetailsURL) Must

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

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

func (*AddResultdetailsURL) SetBasePath

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

func (o *AddResultdetailsURL) String() string

String returns the string representation of the path with query string

func (*AddResultdetailsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddResultdetailsURL) WithBasePath

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

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 AddSample

type AddSample struct {
	Context *middleware.Context
	Handler AddSampleHandler
}

AddSample swagger:route POST /sample addSample

adds a sample

Adds a sample to the system

func NewAddSample

func NewAddSample(ctx *middleware.Context, handler AddSampleHandler) *AddSample

NewAddSample creates a new http.Handler for the add sample operation

func (*AddSample) ServeHTTP

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

type AddSampleBadRequest

type AddSampleBadRequest struct {
}

AddSampleBadRequest invalid input, object invalid

swagger:response addSampleBadRequest

func NewAddSampleBadRequest

func NewAddSampleBadRequest() *AddSampleBadRequest

NewAddSampleBadRequest creates AddSampleBadRequest with default headers values

func (*AddSampleBadRequest) WriteResponse

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

WriteResponse to the client

type AddSampleConflict

type AddSampleConflict struct {
}

AddSampleConflict an existing item already exists

swagger:response addSampleConflict

func NewAddSampleConflict

func NewAddSampleConflict() *AddSampleConflict

NewAddSampleConflict creates AddSampleConflict with default headers values

func (*AddSampleConflict) WriteResponse

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

WriteResponse to the client

type AddSampleHandler

type AddSampleHandler interface {
	Handle(AddSampleParams) middleware.Responder
}

AddSampleHandler interface for that can handle valid add sample params

type AddSampleHandlerFunc

type AddSampleHandlerFunc func(AddSampleParams) middleware.Responder

AddSampleHandlerFunc turns a function with the right signature into a add sample handler

func (AddSampleHandlerFunc) Handle

Handle executing the request and returning a response

type AddSampleOK

type AddSampleOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

AddSampleOK id

swagger:response addSampleOK

func NewAddSampleOK

func NewAddSampleOK() *AddSampleOK

NewAddSampleOK creates AddSampleOK with default headers values

func (*AddSampleOK) SetPayload

func (o *AddSampleOK) SetPayload(payload string)

SetPayload sets the payload to the add sample o k response

func (*AddSampleOK) WithPayload

func (o *AddSampleOK) WithPayload(payload string) *AddSampleOK

WithPayload adds the payload to the add sample o k response

func (*AddSampleOK) WriteResponse

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

WriteResponse to the client

type AddSampleParams

type AddSampleParams struct {

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

	/*Sample
	  In: body
	*/
	Sample *models.Sample
}

AddSampleParams contains all the bound params for the add sample operation typically these are obtained from a http.Request

swagger:parameters addSample

func NewAddSampleParams

func NewAddSampleParams() AddSampleParams

NewAddSampleParams creates a new AddSampleParams object with the default values initialized.

func (*AddSampleParams) BindRequest

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

type AddSampleURL

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

AddSampleURL generates an URL for the add sample operation

func (*AddSampleURL) Build

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

Build a url path and query string

func (*AddSampleURL) BuildFull

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

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

func (*AddSampleURL) Must

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

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

func (*AddSampleURL) SetBasePath

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

func (o *AddSampleURL) String() string

String returns the string representation of the path with query string

func (*AddSampleURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddSampleURL) WithBasePath

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

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 GetSampleColumns

type GetSampleColumns struct {
	Context *middleware.Context
	Handler GetSampleColumnsHandler
}

GetSampleColumns swagger:route GET /columns getSampleColumns

gets columns

gets column names

func NewGetSampleColumns

func NewGetSampleColumns(ctx *middleware.Context, handler GetSampleColumnsHandler) *GetSampleColumns

NewGetSampleColumns creates a new http.Handler for the get sample columns operation

func (*GetSampleColumns) ServeHTTP

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

type GetSampleColumnsBadRequest

type GetSampleColumnsBadRequest struct {
}

GetSampleColumnsBadRequest bad input parameter

swagger:response getSampleColumnsBadRequest

func NewGetSampleColumnsBadRequest

func NewGetSampleColumnsBadRequest() *GetSampleColumnsBadRequest

NewGetSampleColumnsBadRequest creates GetSampleColumnsBadRequest with default headers values

func (*GetSampleColumnsBadRequest) WriteResponse

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

WriteResponse to the client

type GetSampleColumnsHandler

type GetSampleColumnsHandler interface {
	Handle(GetSampleColumnsParams) middleware.Responder
}

GetSampleColumnsHandler interface for that can handle valid get sample columns params

type GetSampleColumnsHandlerFunc

type GetSampleColumnsHandlerFunc func(GetSampleColumnsParams) middleware.Responder

GetSampleColumnsHandlerFunc turns a function with the right signature into a get sample columns handler

func (GetSampleColumnsHandlerFunc) Handle

Handle executing the request and returning a response

type GetSampleColumnsOK

type GetSampleColumnsOK struct {

	/*
	  In: Body
	*/
	Payload [][]string `json:"body,omitempty"`
}

GetSampleColumnsOK columns

swagger:response getSampleColumnsOK

func NewGetSampleColumnsOK

func NewGetSampleColumnsOK() *GetSampleColumnsOK

NewGetSampleColumnsOK creates GetSampleColumnsOK with default headers values

func (*GetSampleColumnsOK) SetPayload

func (o *GetSampleColumnsOK) SetPayload(payload [][]string)

SetPayload sets the payload to the get sample columns o k response

func (*GetSampleColumnsOK) WithPayload

func (o *GetSampleColumnsOK) WithPayload(payload [][]string) *GetSampleColumnsOK

WithPayload adds the payload to the get sample columns o k response

func (*GetSampleColumnsOK) WriteResponse

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

WriteResponse to the client

type GetSampleColumnsParams

type GetSampleColumnsParams struct {

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

GetSampleColumnsParams contains all the bound params for the get sample columns operation typically these are obtained from a http.Request

swagger:parameters getSampleColumns

func NewGetSampleColumnsParams

func NewGetSampleColumnsParams() GetSampleColumnsParams

NewGetSampleColumnsParams creates a new GetSampleColumnsParams object with the default values initialized.

func (*GetSampleColumnsParams) BindRequest

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

type GetSampleColumnsURL

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

GetSampleColumnsURL generates an URL for the get sample columns operation

func (*GetSampleColumnsURL) Build

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

Build a url path and query string

func (*GetSampleColumnsURL) BuildFull

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

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

func (*GetSampleColumnsURL) Must

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

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

func (*GetSampleColumnsURL) SetBasePath

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

func (o *GetSampleColumnsURL) String() string

String returns the string representation of the path with query string

func (*GetSampleColumnsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetSampleColumnsURL) WithBasePath

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

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 GetSamplesByQuery

type GetSamplesByQuery struct {
	Context *middleware.Context
	Handler GetSamplesByQueryHandler
}

GetSamplesByQuery swagger:route POST /query getSamplesByQuery

Query for Sample

func NewGetSamplesByQuery

func NewGetSamplesByQuery(ctx *middleware.Context, handler GetSamplesByQueryHandler) *GetSamplesByQuery

NewGetSamplesByQuery creates a new http.Handler for the get samples by query operation

func (*GetSamplesByQuery) ServeHTTP

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

type GetSamplesByQueryHandler

type GetSamplesByQueryHandler interface {
	Handle(GetSamplesByQueryParams) middleware.Responder
}

GetSamplesByQueryHandler interface for that can handle valid get samples by query params

type GetSamplesByQueryHandlerFunc

type GetSamplesByQueryHandlerFunc func(GetSamplesByQueryParams) middleware.Responder

GetSamplesByQueryHandlerFunc turns a function with the right signature into a get samples by query handler

func (GetSamplesByQueryHandlerFunc) Handle

Handle executing the request and returning a response

type GetSamplesByQueryNotFound

type GetSamplesByQueryNotFound struct {
}

GetSamplesByQueryNotFound Sample not found

swagger:response getSamplesByQueryNotFound

func NewGetSamplesByQueryNotFound

func NewGetSamplesByQueryNotFound() *GetSamplesByQueryNotFound

NewGetSamplesByQueryNotFound creates GetSamplesByQueryNotFound with default headers values

func (*GetSamplesByQueryNotFound) WriteResponse

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

WriteResponse to the client

type GetSamplesByQueryOK

type GetSamplesByQueryOK struct {

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

GetSamplesByQueryOK OK

swagger:response getSamplesByQueryOK

func NewGetSamplesByQueryOK

func NewGetSamplesByQueryOK() *GetSamplesByQueryOK

NewGetSamplesByQueryOK creates GetSamplesByQueryOK with default headers values

func (*GetSamplesByQueryOK) SetPayload

func (o *GetSamplesByQueryOK) SetPayload(payload models.GetSamplesByQueryOKBody)

SetPayload sets the payload to the get samples by query o k response

func (*GetSamplesByQueryOK) WithPayload

WithPayload adds the payload to the get samples by query o k response

func (*GetSamplesByQueryOK) WriteResponse

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

WriteResponse to the client

type GetSamplesByQueryParams

type GetSamplesByQueryParams struct {

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

	/*
	  In: body
	*/
	Query *models.Query
}

GetSamplesByQueryParams contains all the bound params for the get samples by query operation typically these are obtained from a http.Request

swagger:parameters getSamplesByQuery

func NewGetSamplesByQueryParams

func NewGetSamplesByQueryParams() GetSamplesByQueryParams

NewGetSamplesByQueryParams creates a new GetSamplesByQueryParams object with the default values initialized.

func (*GetSamplesByQueryParams) BindRequest

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

type GetSamplesByQueryURL

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

GetSamplesByQueryURL generates an URL for the get samples by query operation

func (*GetSamplesByQueryURL) Build

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

Build a url path and query string

func (*GetSamplesByQueryURL) BuildFull

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

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

func (*GetSamplesByQueryURL) Must

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

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

func (*GetSamplesByQueryURL) SetBasePath

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

func (o *GetSamplesByQueryURL) String() string

String returns the string representation of the path with query string

func (*GetSamplesByQueryURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetSamplesByQueryURL) WithBasePath

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

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 GetSearchable

type GetSearchable struct {
	Context *middleware.Context
	Handler GetSearchableHandler
}

GetSearchable swagger:route GET /searchable getSearchable

gets columns

gets searchable

func NewGetSearchable

func NewGetSearchable(ctx *middleware.Context, handler GetSearchableHandler) *GetSearchable

NewGetSearchable creates a new http.Handler for the get searchable operation

func (*GetSearchable) ServeHTTP

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

type GetSearchableBadRequest

type GetSearchableBadRequest struct {
}

GetSearchableBadRequest bad input parameter

swagger:response getSearchableBadRequest

func NewGetSearchableBadRequest

func NewGetSearchableBadRequest() *GetSearchableBadRequest

NewGetSearchableBadRequest creates GetSearchableBadRequest with default headers values

func (*GetSearchableBadRequest) WriteResponse

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

WriteResponse to the client

type GetSearchableHandler

type GetSearchableHandler interface {
	Handle(GetSearchableParams) middleware.Responder
}

GetSearchableHandler interface for that can handle valid get searchable params

type GetSearchableHandlerFunc

type GetSearchableHandlerFunc func(GetSearchableParams) middleware.Responder

GetSearchableHandlerFunc turns a function with the right signature into a get searchable handler

func (GetSearchableHandlerFunc) Handle

Handle executing the request and returning a response

type GetSearchableOK

type GetSearchableOK struct {

	/*
	  In: Body
	*/
	Payload []string `json:"body,omitempty"`
}

GetSearchableOK columns

swagger:response getSearchableOK

func NewGetSearchableOK

func NewGetSearchableOK() *GetSearchableOK

NewGetSearchableOK creates GetSearchableOK with default headers values

func (*GetSearchableOK) SetPayload

func (o *GetSearchableOK) SetPayload(payload []string)

SetPayload sets the payload to the get searchable o k response

func (*GetSearchableOK) WithPayload

func (o *GetSearchableOK) WithPayload(payload []string) *GetSearchableOK

WithPayload adds the payload to the get searchable o k response

func (*GetSearchableOK) WriteResponse

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

WriteResponse to the client

type GetSearchableParams

type GetSearchableParams struct {

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

GetSearchableParams contains all the bound params for the get searchable operation typically these are obtained from a http.Request

swagger:parameters getSearchable

func NewGetSearchableParams

func NewGetSearchableParams() GetSearchableParams

NewGetSearchableParams creates a new GetSearchableParams object with the default values initialized.

func (*GetSearchableParams) BindRequest

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

type GetSearchableURL

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

GetSearchableURL generates an URL for the get searchable operation

func (*GetSearchableURL) Build

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

Build a url path and query string

func (*GetSearchableURL) BuildFull

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

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

func (*GetSearchableURL) Must

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

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

func (*GetSearchableURL) SetBasePath

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

func (o *GetSearchableURL) String() string

String returns the string representation of the path with query string

func (*GetSearchableURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetSearchableURL) WithBasePath

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

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 GetUneditable

type GetUneditable struct {
	Context *middleware.Context
	Handler GetUneditableHandler
}

GetUneditable swagger:route GET /uneditable getUneditable

gets columns

gets uneditable

func NewGetUneditable

func NewGetUneditable(ctx *middleware.Context, handler GetUneditableHandler) *GetUneditable

NewGetUneditable creates a new http.Handler for the get uneditable operation

func (*GetUneditable) ServeHTTP

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

type GetUneditableBadRequest

type GetUneditableBadRequest struct {
}

GetUneditableBadRequest bad input parameter

swagger:response getUneditableBadRequest

func NewGetUneditableBadRequest

func NewGetUneditableBadRequest() *GetUneditableBadRequest

NewGetUneditableBadRequest creates GetUneditableBadRequest with default headers values

func (*GetUneditableBadRequest) WriteResponse

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

WriteResponse to the client

type GetUneditableHandler

type GetUneditableHandler interface {
	Handle(GetUneditableParams) middleware.Responder
}

GetUneditableHandler interface for that can handle valid get uneditable params

type GetUneditableHandlerFunc

type GetUneditableHandlerFunc func(GetUneditableParams) middleware.Responder

GetUneditableHandlerFunc turns a function with the right signature into a get uneditable handler

func (GetUneditableHandlerFunc) Handle

Handle executing the request and returning a response

type GetUneditableOK

type GetUneditableOK struct {

	/*
	  In: Body
	*/
	Payload []string `json:"body,omitempty"`
}

GetUneditableOK columns

swagger:response getUneditableOK

func NewGetUneditableOK

func NewGetUneditableOK() *GetUneditableOK

NewGetUneditableOK creates GetUneditableOK with default headers values

func (*GetUneditableOK) SetPayload

func (o *GetUneditableOK) SetPayload(payload []string)

SetPayload sets the payload to the get uneditable o k response

func (*GetUneditableOK) WithPayload

func (o *GetUneditableOK) WithPayload(payload []string) *GetUneditableOK

WithPayload adds the payload to the get uneditable o k response

func (*GetUneditableOK) WriteResponse

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

WriteResponse to the client

type GetUneditableParams

type GetUneditableParams struct {

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

GetUneditableParams contains all the bound params for the get uneditable operation typically these are obtained from a http.Request

swagger:parameters getUneditable

func NewGetUneditableParams

func NewGetUneditableParams() GetUneditableParams

NewGetUneditableParams creates a new GetUneditableParams object with the default values initialized.

func (*GetUneditableParams) BindRequest

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

type GetUneditableURL

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

GetUneditableURL generates an URL for the get uneditable operation

func (*GetUneditableURL) Build

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

Build a url path and query string

func (*GetUneditableURL) BuildFull

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

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

func (*GetUneditableURL) Must

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

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

func (*GetUneditableURL) SetBasePath

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

func (o *GetUneditableURL) String() string

String returns the string representation of the path with query string

func (*GetUneditableURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetUneditableURL) WithBasePath

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

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 JtreeMetadataAPI

type JtreeMetadataAPI struct {
	Middleware func(middleware.Builder) http.Handler

	// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
	// It has a default implemention in the security package, however you can replace it for your particular usage.
	BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator
	// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
	// It has a default implemention in the security package, however you can replace it for your particular usage.
	APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator
	// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
	// It has a default implemention in the security package, however you can replace it for your particular usage.
	BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator

	// JSONConsumer registers a consumer for a "application/json" mime type
	JSONConsumer runtime.Consumer
	// MultipartformConsumer registers a consumer for a "multipart/form-data" mime type
	MultipartformConsumer runtime.Consumer

	// JSONProducer registers a producer for a "application/json" mime type
	JSONProducer runtime.Producer
	// PostUploadHandler sets the operation handler for the post upload operation
	PostUploadHandler PostUploadHandler
	// AddExperimentHandler sets the operation handler for the add experiment operation
	AddExperimentHandler AddExperimentHandler
	// AddPatientHandler sets the operation handler for the add patient operation
	AddPatientHandler AddPatientHandler
	// AddResultHandler sets the operation handler for the add result operation
	AddResultHandler AddResultHandler
	// AddResultdetailsHandler sets the operation handler for the add resultdetails operation
	AddResultdetailsHandler AddResultdetailsHandler
	// AddSampleHandler sets the operation handler for the add sample operation
	AddSampleHandler AddSampleHandler
	// GetSampleColumnsHandler sets the operation handler for the get sample columns operation
	GetSampleColumnsHandler GetSampleColumnsHandler
	// GetSamplesByQueryHandler sets the operation handler for the get samples by query operation
	GetSamplesByQueryHandler GetSamplesByQueryHandler
	// GetSearchableHandler sets the operation handler for the get searchable operation
	GetSearchableHandler GetSearchableHandler
	// GetUneditableHandler sets the operation handler for the get uneditable operation
	GetUneditableHandler GetUneditableHandler
	// LogoutHandler sets the operation handler for the logout operation
	LogoutHandler LogoutHandler

	// ServeError is called when an error is received, there is a default handler
	// but you can set your own with this
	ServeError func(http.ResponseWriter, *http.Request, error)

	// ServerShutdown is called when the HTTP(S) server is shut down and done
	// handling all active connections and does not accept connections any more
	ServerShutdown func()

	// Custom command line argument groups with their descriptions
	CommandLineOptionsGroups []swag.CommandLineOptionsGroup

	// User defined logger function.
	Logger func(string, ...interface{})
	// contains filtered or unexported fields
}

JtreeMetadataAPI Metadata API

func NewJtreeMetadataAPI

func NewJtreeMetadataAPI(spec *loads.Document) *JtreeMetadataAPI

NewJtreeMetadataAPI creates a new JtreeMetadata instance

func (*JtreeMetadataAPI) AuthenticatorsFor

func (o *JtreeMetadataAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*JtreeMetadataAPI) Authorizer

func (o *JtreeMetadataAPI) Authorizer() runtime.Authorizer

Authorizer returns the registered authorizer

func (*JtreeMetadataAPI) ConsumersFor

func (o *JtreeMetadataAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types

func (*JtreeMetadataAPI) Context

func (o *JtreeMetadataAPI) Context() *middleware.Context

Context returns the middleware context for the jtree metadata API

func (*JtreeMetadataAPI) DefaultConsumes

func (o *JtreeMetadataAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*JtreeMetadataAPI) DefaultProduces

func (o *JtreeMetadataAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*JtreeMetadataAPI) Formats

func (o *JtreeMetadataAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*JtreeMetadataAPI) HandlerFor

func (o *JtreeMetadataAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*JtreeMetadataAPI) Init

func (o *JtreeMetadataAPI) Init()

Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit

func (*JtreeMetadataAPI) ProducersFor

func (o *JtreeMetadataAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types

func (*JtreeMetadataAPI) RegisterConsumer

func (o *JtreeMetadataAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)

RegisterConsumer allows you to add (or override) a consumer for a media type.

func (*JtreeMetadataAPI) RegisterFormat

func (o *JtreeMetadataAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*JtreeMetadataAPI) RegisterProducer

func (o *JtreeMetadataAPI) RegisterProducer(mediaType string, producer runtime.Producer)

RegisterProducer allows you to add (or override) a producer for a media type.

func (*JtreeMetadataAPI) Serve

func (o *JtreeMetadataAPI) Serve(builder middleware.Builder) http.Handler

Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))

func (*JtreeMetadataAPI) ServeErrorFor

func (o *JtreeMetadataAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*JtreeMetadataAPI) SetDefaultConsumes

func (o *JtreeMetadataAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*JtreeMetadataAPI) SetDefaultProduces

func (o *JtreeMetadataAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*JtreeMetadataAPI) SetSpec

func (o *JtreeMetadataAPI) SetSpec(spec *loads.Document)

SetSpec sets a spec that will be served for the clients.

func (*JtreeMetadataAPI) Validate

func (o *JtreeMetadataAPI) Validate() error

Validate validates the registrations in the JtreeMetadataAPI

type Logout

type Logout struct {
	Context *middleware.Context
	Handler LogoutHandler
}

Logout swagger:route POST /logout logout

logsout

logs users out

func NewLogout

func NewLogout(ctx *middleware.Context, handler LogoutHandler) *Logout

NewLogout creates a new http.Handler for the logout operation

func (*Logout) ServeHTTP

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

type LogoutHandler

type LogoutHandler interface {
	Handle(LogoutParams) middleware.Responder
}

LogoutHandler interface for that can handle valid logout params

type LogoutHandlerFunc

type LogoutHandlerFunc func(LogoutParams) middleware.Responder

LogoutHandlerFunc turns a function with the right signature into a logout handler

func (LogoutHandlerFunc) Handle

Handle executing the request and returning a response

type LogoutNotFound

type LogoutNotFound struct {
}

LogoutNotFound Sample not found

swagger:response logoutNotFound

func NewLogoutNotFound

func NewLogoutNotFound() *LogoutNotFound

NewLogoutNotFound creates LogoutNotFound with default headers values

func (*LogoutNotFound) WriteResponse

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

WriteResponse to the client

type LogoutOK

type LogoutOK struct {

	/*
	  In: Body
	*/
	Payload bool `json:"body,omitempty"`
}

LogoutOK OK

swagger:response logoutOK

func NewLogoutOK

func NewLogoutOK() *LogoutOK

NewLogoutOK creates LogoutOK with default headers values

func (*LogoutOK) SetPayload

func (o *LogoutOK) SetPayload(payload bool)

SetPayload sets the payload to the logout o k response

func (*LogoutOK) WithPayload

func (o *LogoutOK) WithPayload(payload bool) *LogoutOK

WithPayload adds the payload to the logout o k response

func (*LogoutOK) WriteResponse

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

WriteResponse to the client

type LogoutParams

type LogoutParams struct {

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

LogoutParams contains all the bound params for the logout operation typically these are obtained from a http.Request

swagger:parameters logout

func NewLogoutParams

func NewLogoutParams() LogoutParams

NewLogoutParams creates a new LogoutParams object with the default values initialized.

func (*LogoutParams) BindRequest

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

type LogoutURL

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

LogoutURL generates an URL for the logout operation

func (*LogoutURL) Build

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

Build a url path and query string

func (*LogoutURL) BuildFull

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

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

func (*LogoutURL) Must

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

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

func (*LogoutURL) SetBasePath

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

func (o *LogoutURL) String() string

String returns the string representation of the path with query string

func (*LogoutURL) StringFull

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

StringFull returns the string representation of a complete url

func (*LogoutURL) WithBasePath

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

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 PostUpload

type PostUpload struct {
	Context *middleware.Context
	Handler PostUploadHandler
}

PostUpload swagger:route POST /upload postUpload

Uploads a file.

func NewPostUpload

func NewPostUpload(ctx *middleware.Context, handler PostUploadHandler) *PostUpload

NewPostUpload creates a new http.Handler for the post upload operation

func (*PostUpload) ServeHTTP

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

type PostUploadConflict

type PostUploadConflict struct {
}

PostUploadConflict an existing item already exists

swagger:response postUploadConflict

func NewPostUploadConflict

func NewPostUploadConflict() *PostUploadConflict

NewPostUploadConflict creates PostUploadConflict with default headers values

func (*PostUploadConflict) WriteResponse

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

WriteResponse to the client

type PostUploadHandler

type PostUploadHandler interface {
	Handle(PostUploadParams) middleware.Responder
}

PostUploadHandler interface for that can handle valid post upload params

type PostUploadHandlerFunc

type PostUploadHandlerFunc func(PostUploadParams) middleware.Responder

PostUploadHandlerFunc turns a function with the right signature into a post upload handler

func (PostUploadHandlerFunc) Handle

Handle executing the request and returning a response

type PostUploadNotFound

type PostUploadNotFound struct {
}

PostUploadNotFound File not found

swagger:response postUploadNotFound

func NewPostUploadNotFound

func NewPostUploadNotFound() *PostUploadNotFound

NewPostUploadNotFound creates PostUploadNotFound with default headers values

func (*PostUploadNotFound) WriteResponse

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

WriteResponse to the client

type PostUploadOK

type PostUploadOK struct {

	/*
	  In: Body
	*/
	Payload bool `json:"body,omitempty"`
}

PostUploadOK OK

swagger:response postUploadOK

func NewPostUploadOK

func NewPostUploadOK() *PostUploadOK

NewPostUploadOK creates PostUploadOK with default headers values

func (*PostUploadOK) SetPayload

func (o *PostUploadOK) SetPayload(payload bool)

SetPayload sets the payload to the post upload o k response

func (*PostUploadOK) WithPayload

func (o *PostUploadOK) WithPayload(payload bool) *PostUploadOK

WithPayload adds the payload to the post upload o k response

func (*PostUploadOK) WriteResponse

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

WriteResponse to the client

type PostUploadParams

type PostUploadParams struct {

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

	/*The file to upload.
	  In: formData
	*/
	Upfile io.ReadCloser `json:"upfile"`

	//Filename is the name of the uploaded file
	Filename string
}

PostUploadParams contains all the bound params for the post upload operation typically these are obtained from a http.Request

swagger:parameters PostUpload

func NewPostUploadParams

func NewPostUploadParams() PostUploadParams

NewPostUploadParams creates a new PostUploadParams object with the default values initialized.

func (*PostUploadParams) BindRequest

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

type PostUploadURL

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

PostUploadURL generates an URL for the post upload operation

func (*PostUploadURL) Build

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

Build a url path and query string

func (*PostUploadURL) BuildFull

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

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

func (*PostUploadURL) Must

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

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

func (*PostUploadURL) SetBasePath

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

func (o *PostUploadURL) String() string

String returns the string representation of the path with query string

func (*PostUploadURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PostUploadURL) WithBasePath

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

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