export

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const GetExportEvalCacheJSONOKCode int = 200

GetExportEvalCacheJSONOKCode is the HTTP code returned for type GetExportEvalCacheJSONOK

View Source
const GetExportSqliteOKCode int = 200

GetExportSqliteOKCode is the HTTP code returned for type GetExportSqliteOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetExportEvalCacheJSON

type GetExportEvalCacheJSON struct {
	Context *middleware.Context
	Handler GetExportEvalCacheJSONHandler
}
GetExportEvalCacheJSON swagger:route GET /export/eval_cache/json export getExportEvalCacheJson

Export JSON format of the eval cache dump

func NewGetExportEvalCacheJSON

func NewGetExportEvalCacheJSON(ctx *middleware.Context, handler GetExportEvalCacheJSONHandler) *GetExportEvalCacheJSON

NewGetExportEvalCacheJSON creates a new http.Handler for the get export eval cache JSON operation

func (*GetExportEvalCacheJSON) ServeHTTP

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

type GetExportEvalCacheJSONDefault

type GetExportEvalCacheJSONDefault struct {

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

GetExportEvalCacheJSONDefault generic error response

swagger:response getExportEvalCacheJsonDefault

func NewGetExportEvalCacheJSONDefault

func NewGetExportEvalCacheJSONDefault(code int) *GetExportEvalCacheJSONDefault

NewGetExportEvalCacheJSONDefault creates GetExportEvalCacheJSONDefault with default headers values

func (*GetExportEvalCacheJSONDefault) SetPayload

func (o *GetExportEvalCacheJSONDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get export eval cache JSON default response

func (*GetExportEvalCacheJSONDefault) SetStatusCode

func (o *GetExportEvalCacheJSONDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get export eval cache JSON default response

func (*GetExportEvalCacheJSONDefault) WithPayload

WithPayload adds the payload to the get export eval cache JSON default response

func (*GetExportEvalCacheJSONDefault) WithStatusCode

WithStatusCode adds the status to the get export eval cache JSON default response

func (*GetExportEvalCacheJSONDefault) WriteResponse

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

WriteResponse to the client

type GetExportEvalCacheJSONHandler

type GetExportEvalCacheJSONHandler interface {
	Handle(GetExportEvalCacheJSONParams) middleware.Responder
}

GetExportEvalCacheJSONHandler interface for that can handle valid get export eval cache JSON params

type GetExportEvalCacheJSONHandlerFunc

type GetExportEvalCacheJSONHandlerFunc func(GetExportEvalCacheJSONParams) middleware.Responder

GetExportEvalCacheJSONHandlerFunc turns a function with the right signature into a get export eval cache JSON handler

func (GetExportEvalCacheJSONHandlerFunc) Handle

Handle executing the request and returning a response

type GetExportEvalCacheJSONOK

type GetExportEvalCacheJSONOK struct {

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

GetExportEvalCacheJSONOK OK

swagger:response getExportEvalCacheJsonOK

func NewGetExportEvalCacheJSONOK

func NewGetExportEvalCacheJSONOK() *GetExportEvalCacheJSONOK

NewGetExportEvalCacheJSONOK creates GetExportEvalCacheJSONOK with default headers values

func (*GetExportEvalCacheJSONOK) SetPayload

func (o *GetExportEvalCacheJSONOK) SetPayload(payload interface{})

SetPayload sets the payload to the get export eval cache Json o k response

func (*GetExportEvalCacheJSONOK) WithPayload

func (o *GetExportEvalCacheJSONOK) WithPayload(payload interface{}) *GetExportEvalCacheJSONOK

WithPayload adds the payload to the get export eval cache Json o k response

func (*GetExportEvalCacheJSONOK) WriteResponse

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

WriteResponse to the client

type GetExportEvalCacheJSONParams

type GetExportEvalCacheJSONParams struct {

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

GetExportEvalCacheJSONParams contains all the bound params for the get export eval cache JSON operation typically these are obtained from a http.Request

swagger:parameters getExportEvalCacheJSON

func NewGetExportEvalCacheJSONParams

func NewGetExportEvalCacheJSONParams() GetExportEvalCacheJSONParams

NewGetExportEvalCacheJSONParams creates a new GetExportEvalCacheJSONParams object

There are no default values defined in the spec.

func (*GetExportEvalCacheJSONParams) 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 NewGetExportEvalCacheJSONParams() beforehand.

type GetExportEvalCacheJSONURL

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

GetExportEvalCacheJSONURL generates an URL for the get export eval cache JSON operation

func (*GetExportEvalCacheJSONURL) Build

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

Build a url path and query string

func (*GetExportEvalCacheJSONURL) BuildFull

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

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

func (*GetExportEvalCacheJSONURL) Must

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

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

func (*GetExportEvalCacheJSONURL) SetBasePath

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

func (o *GetExportEvalCacheJSONURL) String() string

String returns the string representation of the path with query string

func (*GetExportEvalCacheJSONURL) StringFull

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

StringFull returns the string representation of a complete url

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

type GetExportSqlite struct {
	Context *middleware.Context
	Handler GetExportSqliteHandler
}
GetExportSqlite swagger:route GET /export/sqlite export getExportSqlite

Export sqlite3 format of the db dump, which is converted from the main database.

func NewGetExportSqlite

func NewGetExportSqlite(ctx *middleware.Context, handler GetExportSqliteHandler) *GetExportSqlite

NewGetExportSqlite creates a new http.Handler for the get export sqlite operation

func (*GetExportSqlite) ServeHTTP

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

type GetExportSqliteDefault

type GetExportSqliteDefault struct {

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

GetExportSqliteDefault generic error response

swagger:response getExportSqliteDefault

func NewGetExportSqliteDefault

func NewGetExportSqliteDefault(code int) *GetExportSqliteDefault

NewGetExportSqliteDefault creates GetExportSqliteDefault with default headers values

func (*GetExportSqliteDefault) SetPayload

func (o *GetExportSqliteDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get export sqlite default response

func (*GetExportSqliteDefault) SetStatusCode

func (o *GetExportSqliteDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get export sqlite default response

func (*GetExportSqliteDefault) WithPayload

func (o *GetExportSqliteDefault) WithPayload(payload *models.Error) *GetExportSqliteDefault

WithPayload adds the payload to the get export sqlite default response

func (*GetExportSqliteDefault) WithStatusCode

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

WithStatusCode adds the status to the get export sqlite default response

func (*GetExportSqliteDefault) WriteResponse

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

WriteResponse to the client

type GetExportSqliteHandler

type GetExportSqliteHandler interface {
	Handle(GetExportSqliteParams) middleware.Responder
}

GetExportSqliteHandler interface for that can handle valid get export sqlite params

type GetExportSqliteHandlerFunc

type GetExportSqliteHandlerFunc func(GetExportSqliteParams) middleware.Responder

GetExportSqliteHandlerFunc turns a function with the right signature into a get export sqlite handler

func (GetExportSqliteHandlerFunc) Handle

Handle executing the request and returning a response

type GetExportSqliteOK

type GetExportSqliteOK struct {

	/*
	  In: Body
	*/
	Payload io.ReadCloser `json:"body,omitempty"`
}

GetExportSqliteOK OK

swagger:response getExportSqliteOK

func NewGetExportSqliteOK

func NewGetExportSqliteOK() *GetExportSqliteOK

NewGetExportSqliteOK creates GetExportSqliteOK with default headers values

func (*GetExportSqliteOK) SetPayload

func (o *GetExportSqliteOK) SetPayload(payload io.ReadCloser)

SetPayload sets the payload to the get export sqlite o k response

func (*GetExportSqliteOK) WithPayload

func (o *GetExportSqliteOK) WithPayload(payload io.ReadCloser) *GetExportSqliteOK

WithPayload adds the payload to the get export sqlite o k response

func (*GetExportSqliteOK) WriteResponse

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

WriteResponse to the client

type GetExportSqliteParams

type GetExportSqliteParams struct {

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

	/*export without snapshots data - useful for smaller db without snapshots

	  In: query
	*/
	ExcludeSnapshots *bool
}

GetExportSqliteParams contains all the bound params for the get export sqlite operation typically these are obtained from a http.Request

swagger:parameters getExportSqlite

func NewGetExportSqliteParams

func NewGetExportSqliteParams() GetExportSqliteParams

NewGetExportSqliteParams creates a new GetExportSqliteParams object

There are no default values defined in the spec.

func (*GetExportSqliteParams) BindRequest

func (o *GetExportSqliteParams) 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 NewGetExportSqliteParams() beforehand.

type GetExportSqliteURL

type GetExportSqliteURL struct {
	ExcludeSnapshots *bool
	// contains filtered or unexported fields
}

GetExportSqliteURL generates an URL for the get export sqlite operation

func (*GetExportSqliteURL) Build

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

Build a url path and query string

func (*GetExportSqliteURL) BuildFull

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

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

func (*GetExportSqliteURL) Must

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

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

func (*GetExportSqliteURL) SetBasePath

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

func (o *GetExportSqliteURL) String() string

String returns the string representation of the path with query string

func (*GetExportSqliteURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetExportSqliteURL) WithBasePath

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

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