option

package
v0.0.0-...-904661e Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GetMaxInBufferSizeBadRequestCode int = 400

GetMaxInBufferSizeBadRequestCode is the HTTP code returned for type GetMaxInBufferSizeBadRequest

View Source
const GetMaxInBufferSizeOKCode int = 200

GetMaxInBufferSizeOKCode is the HTTP code returned for type GetMaxInBufferSizeOK

View Source
const GetParallelismBadRequestCode int = 400

GetParallelismBadRequestCode is the HTTP code returned for type GetParallelismBadRequest

View Source
const GetParallelismOKCode int = 200

GetParallelismOKCode is the HTTP code returned for type GetParallelismOK

View Source
const MaxInBufferSizeBadRequestCode int = 400

MaxInBufferSizeBadRequestCode is the HTTP code returned for type MaxInBufferSizeBadRequest

View Source
const MaxInBufferSizeOKCode int = 200

MaxInBufferSizeOKCode is the HTTP code returned for type MaxInBufferSizeOK

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMaxInBufferSize

type GetMaxInBufferSize struct {
	Context *middleware.Context
	Handler GetMaxInBufferSizeHandler
}
GetMaxInBufferSize swagger:route GET /option/max-in-buffer-size option max-in-buffer-size getMaxInBufferSize

Get the client max in buffer size

func NewGetMaxInBufferSize

func NewGetMaxInBufferSize(ctx *middleware.Context, handler GetMaxInBufferSizeHandler) *GetMaxInBufferSize

NewGetMaxInBufferSize creates a new http.Handler for the get max in buffer size operation

func (*GetMaxInBufferSize) ServeHTTP

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

type GetMaxInBufferSizeBadRequest

type GetMaxInBufferSizeBadRequest struct {

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

GetMaxInBufferSizeBadRequest Bad Request.

swagger:response getMaxInBufferSizeBadRequest

func NewGetMaxInBufferSizeBadRequest

func NewGetMaxInBufferSizeBadRequest() *GetMaxInBufferSizeBadRequest

NewGetMaxInBufferSizeBadRequest creates GetMaxInBufferSizeBadRequest with default headers values

func (*GetMaxInBufferSizeBadRequest) SetPayload

func (o *GetMaxInBufferSizeBadRequest) SetPayload(payload *models.QdbError)

SetPayload sets the payload to the get max in buffer size bad request response

func (*GetMaxInBufferSizeBadRequest) WithPayload

WithPayload adds the payload to the get max in buffer size bad request response

func (*GetMaxInBufferSizeBadRequest) WriteResponse

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

WriteResponse to the client

type GetMaxInBufferSizeHandler

type GetMaxInBufferSizeHandler interface {
	Handle(GetMaxInBufferSizeParams, *models.Principal) middleware.Responder
}

GetMaxInBufferSizeHandler interface for that can handle valid get max in buffer size params

type GetMaxInBufferSizeHandlerFunc

type GetMaxInBufferSizeHandlerFunc func(GetMaxInBufferSizeParams, *models.Principal) middleware.Responder

GetMaxInBufferSizeHandlerFunc turns a function with the right signature into a get max in buffer size handler

func (GetMaxInBufferSizeHandlerFunc) Handle

Handle executing the request and returning a response

type GetMaxInBufferSizeOK

type GetMaxInBufferSizeOK struct {

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

GetMaxInBufferSizeOK Successful operation

swagger:response getMaxInBufferSizeOK

func NewGetMaxInBufferSizeOK

func NewGetMaxInBufferSizeOK() *GetMaxInBufferSizeOK

NewGetMaxInBufferSizeOK creates GetMaxInBufferSizeOK with default headers values

func (*GetMaxInBufferSizeOK) SetPayload

func (o *GetMaxInBufferSizeOK) SetPayload(payload int64)

SetPayload sets the payload to the get max in buffer size o k response

func (*GetMaxInBufferSizeOK) WithPayload

func (o *GetMaxInBufferSizeOK) WithPayload(payload int64) *GetMaxInBufferSizeOK

WithPayload adds the payload to the get max in buffer size o k response

func (*GetMaxInBufferSizeOK) WriteResponse

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

WriteResponse to the client

type GetMaxInBufferSizeParams

type GetMaxInBufferSizeParams struct {

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

GetMaxInBufferSizeParams contains all the bound params for the get max in buffer size operation typically these are obtained from a http.Request

swagger:parameters get-max-in-buffer-size

func NewGetMaxInBufferSizeParams

func NewGetMaxInBufferSizeParams() GetMaxInBufferSizeParams

NewGetMaxInBufferSizeParams creates a new GetMaxInBufferSizeParams object

There are no default values defined in the spec.

func (*GetMaxInBufferSizeParams) 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 NewGetMaxInBufferSizeParams() beforehand.

type GetMaxInBufferSizeURL

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

GetMaxInBufferSizeURL generates an URL for the get max in buffer size operation

func (*GetMaxInBufferSizeURL) Build

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

Build a url path and query string

func (*GetMaxInBufferSizeURL) BuildFull

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

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

func (*GetMaxInBufferSizeURL) Must

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

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

func (*GetMaxInBufferSizeURL) SetBasePath

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

func (o *GetMaxInBufferSizeURL) String() string

String returns the string representation of the path with query string

func (*GetMaxInBufferSizeURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetMaxInBufferSizeURL) WithBasePath

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

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 GetParallelism

type GetParallelism struct {
	Context *middleware.Context
	Handler GetParallelismHandler
}
GetParallelism swagger:route GET /option/parallelism option parallelism getParallelism

Get the client max parallelism for this logged-in user

func NewGetParallelism

func NewGetParallelism(ctx *middleware.Context, handler GetParallelismHandler) *GetParallelism

NewGetParallelism creates a new http.Handler for the get parallelism operation

func (*GetParallelism) ServeHTTP

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

type GetParallelismBadRequest

type GetParallelismBadRequest struct {

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

GetParallelismBadRequest Bad Request.

swagger:response getParallelismBadRequest

func NewGetParallelismBadRequest

func NewGetParallelismBadRequest() *GetParallelismBadRequest

NewGetParallelismBadRequest creates GetParallelismBadRequest with default headers values

func (*GetParallelismBadRequest) SetPayload

func (o *GetParallelismBadRequest) SetPayload(payload *models.QdbError)

SetPayload sets the payload to the get parallelism bad request response

func (*GetParallelismBadRequest) WithPayload

WithPayload adds the payload to the get parallelism bad request response

func (*GetParallelismBadRequest) WriteResponse

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

WriteResponse to the client

type GetParallelismHandler

type GetParallelismHandler interface {
	Handle(GetParallelismParams, *models.Principal) middleware.Responder
}

GetParallelismHandler interface for that can handle valid get parallelism params

type GetParallelismHandlerFunc

type GetParallelismHandlerFunc func(GetParallelismParams, *models.Principal) middleware.Responder

GetParallelismHandlerFunc turns a function with the right signature into a get parallelism handler

func (GetParallelismHandlerFunc) Handle

Handle executing the request and returning a response

type GetParallelismOK

type GetParallelismOK struct {

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

GetParallelismOK Successful operation

swagger:response getParallelismOK

func NewGetParallelismOK

func NewGetParallelismOK() *GetParallelismOK

NewGetParallelismOK creates GetParallelismOK with default headers values

func (*GetParallelismOK) SetPayload

func (o *GetParallelismOK) SetPayload(payload int64)

SetPayload sets the payload to the get parallelism o k response

func (*GetParallelismOK) WithPayload

func (o *GetParallelismOK) WithPayload(payload int64) *GetParallelismOK

WithPayload adds the payload to the get parallelism o k response

func (*GetParallelismOK) WriteResponse

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

WriteResponse to the client

type GetParallelismParams

type GetParallelismParams struct {

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

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

swagger:parameters get-parallelism

func NewGetParallelismParams

func NewGetParallelismParams() GetParallelismParams

NewGetParallelismParams creates a new GetParallelismParams object

There are no default values defined in the spec.

func (*GetParallelismParams) BindRequest

func (o *GetParallelismParams) 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 NewGetParallelismParams() beforehand.

type GetParallelismURL

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

GetParallelismURL generates an URL for the get parallelism operation

func (*GetParallelismURL) Build

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

Build a url path and query string

func (*GetParallelismURL) BuildFull

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

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

func (*GetParallelismURL) Must

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

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

func (*GetParallelismURL) SetBasePath

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

func (o *GetParallelismURL) String() string

String returns the string representation of the path with query string

func (*GetParallelismURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetParallelismURL) WithBasePath

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

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 MaxInBufferSize

type MaxInBufferSize struct {
	Context *middleware.Context
	Handler MaxInBufferSizeHandler
}
MaxInBufferSize swagger:route GET /option/get-max-in-buffer-size option max-in-buffer-size maxInBufferSize

Get the client max in buffer size

func NewMaxInBufferSize

func NewMaxInBufferSize(ctx *middleware.Context, handler MaxInBufferSizeHandler) *MaxInBufferSize

NewMaxInBufferSize creates a new http.Handler for the max in buffer size operation

func (*MaxInBufferSize) ServeHTTP

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

type MaxInBufferSizeBadRequest

type MaxInBufferSizeBadRequest struct {

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

MaxInBufferSizeBadRequest Bad Request.

swagger:response maxInBufferSizeBadRequest

func NewMaxInBufferSizeBadRequest

func NewMaxInBufferSizeBadRequest() *MaxInBufferSizeBadRequest

NewMaxInBufferSizeBadRequest creates MaxInBufferSizeBadRequest with default headers values

func (*MaxInBufferSizeBadRequest) SetPayload

func (o *MaxInBufferSizeBadRequest) SetPayload(payload *models.QdbError)

SetPayload sets the payload to the max in buffer size bad request response

func (*MaxInBufferSizeBadRequest) WithPayload

WithPayload adds the payload to the max in buffer size bad request response

func (*MaxInBufferSizeBadRequest) WriteResponse

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

WriteResponse to the client

type MaxInBufferSizeHandler

type MaxInBufferSizeHandler interface {
	Handle(MaxInBufferSizeParams, *models.Principal) middleware.Responder
}

MaxInBufferSizeHandler interface for that can handle valid max in buffer size params

type MaxInBufferSizeHandlerFunc

type MaxInBufferSizeHandlerFunc func(MaxInBufferSizeParams, *models.Principal) middleware.Responder

MaxInBufferSizeHandlerFunc turns a function with the right signature into a max in buffer size handler

func (MaxInBufferSizeHandlerFunc) Handle

Handle executing the request and returning a response

type MaxInBufferSizeOK

type MaxInBufferSizeOK struct {

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

MaxInBufferSizeOK Successful operation

swagger:response maxInBufferSizeOK

func NewMaxInBufferSizeOK

func NewMaxInBufferSizeOK() *MaxInBufferSizeOK

NewMaxInBufferSizeOK creates MaxInBufferSizeOK with default headers values

func (*MaxInBufferSizeOK) SetPayload

func (o *MaxInBufferSizeOK) SetPayload(payload int64)

SetPayload sets the payload to the max in buffer size o k response

func (*MaxInBufferSizeOK) WithPayload

func (o *MaxInBufferSizeOK) WithPayload(payload int64) *MaxInBufferSizeOK

WithPayload adds the payload to the max in buffer size o k response

func (*MaxInBufferSizeOK) WriteResponse

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

WriteResponse to the client

type MaxInBufferSizeParams

type MaxInBufferSizeParams struct {

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

MaxInBufferSizeParams contains all the bound params for the max in buffer size operation typically these are obtained from a http.Request

swagger:parameters max-in-buffer-size

func NewMaxInBufferSizeParams

func NewMaxInBufferSizeParams() MaxInBufferSizeParams

NewMaxInBufferSizeParams creates a new MaxInBufferSizeParams object

There are no default values defined in the spec.

func (*MaxInBufferSizeParams) BindRequest

func (o *MaxInBufferSizeParams) 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 NewMaxInBufferSizeParams() beforehand.

type MaxInBufferSizeURL

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

MaxInBufferSizeURL generates an URL for the max in buffer size operation

func (*MaxInBufferSizeURL) Build

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

Build a url path and query string

func (*MaxInBufferSizeURL) BuildFull

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

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

func (*MaxInBufferSizeURL) Must

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

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

func (*MaxInBufferSizeURL) SetBasePath

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

func (o *MaxInBufferSizeURL) String() string

String returns the string representation of the path with query string

func (*MaxInBufferSizeURL) StringFull

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

StringFull returns the string representation of a complete url

func (*MaxInBufferSizeURL) WithBasePath

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

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