stick_table

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for stick table API

func (*Client) GetStickTable

func (a *Client) GetStickTable(params *GetStickTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStickTableOK, error)

GetStickTable returns stick table

Returns one stick table from runtime.

func (*Client) GetStickTableEntries

func (a *Client) GetStickTableEntries(params *GetStickTableEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStickTableEntriesOK, error)

GetStickTableEntries returns stick table entries

Returns an array of all entries in a given stick tables.

func (*Client) GetStickTables

func (a *Client) GetStickTables(params *GetStickTablesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStickTablesOK, error)

GetStickTables returns stick tables

Returns an array of all stick tables.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetStickTable(params *GetStickTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStickTableOK, error)

	GetStickTableEntries(params *GetStickTableEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStickTableEntriesOK, error)

	GetStickTables(params *GetStickTablesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetStickTablesOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new stick table API client.

type GetStickTableDefault

type GetStickTableDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}
GetStickTableDefault describes a response with status code -1, with default header values.

General Error

func NewGetStickTableDefault

func NewGetStickTableDefault(code int) *GetStickTableDefault

NewGetStickTableDefault creates a GetStickTableDefault with default headers values

func (*GetStickTableDefault) Code

func (o *GetStickTableDefault) Code() int

Code gets the status code for the get stick table default response

func (*GetStickTableDefault) Error

func (o *GetStickTableDefault) Error() string

func (*GetStickTableDefault) GetPayload

func (o *GetStickTableDefault) GetPayload() *models.Error

type GetStickTableEntriesDefault

type GetStickTableEntriesDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}
GetStickTableEntriesDefault describes a response with status code -1, with default header values.

General Error

func NewGetStickTableEntriesDefault

func NewGetStickTableEntriesDefault(code int) *GetStickTableEntriesDefault

NewGetStickTableEntriesDefault creates a GetStickTableEntriesDefault with default headers values

func (*GetStickTableEntriesDefault) Code

func (o *GetStickTableEntriesDefault) Code() int

Code gets the status code for the get stick table entries default response

func (*GetStickTableEntriesDefault) Error

func (*GetStickTableEntriesDefault) GetPayload

func (o *GetStickTableEntriesDefault) GetPayload() *models.Error

type GetStickTableEntriesOK

type GetStickTableEntriesOK struct {
	Payload models.StickTableEntries
}
GetStickTableEntriesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetStickTableEntriesOK

func NewGetStickTableEntriesOK() *GetStickTableEntriesOK

NewGetStickTableEntriesOK creates a GetStickTableEntriesOK with default headers values

func (*GetStickTableEntriesOK) Error

func (o *GetStickTableEntriesOK) Error() string

func (*GetStickTableEntriesOK) GetPayload

type GetStickTableEntriesParams

type GetStickTableEntriesParams struct {

	/* Count.

	   Max number of entries to be returned for pagination
	*/
	Count *int64

	/* Filter.

	   A list of filters in format data.<type> <operator> <value> separated by comma
	*/
	Filter *string

	/* Key.

	   Key which we want the entries for
	*/
	Key *string

	/* Offset.

	   Offset which indicates how many items we skip in pagination
	*/
	Offset *int64

	/* Process.

	   Process number if master-worker mode, if not only first process is returned
	*/
	Process int64

	/* StickTable.

	   Stick table name
	*/
	StickTable string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStickTableEntriesParams contains all the parameters to send to the API endpoint

for the get stick table entries operation.

Typically these are written to a http.Request.

func NewGetStickTableEntriesParams

func NewGetStickTableEntriesParams() *GetStickTableEntriesParams

NewGetStickTableEntriesParams creates a new GetStickTableEntriesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStickTableEntriesParamsWithContext

func NewGetStickTableEntriesParamsWithContext(ctx context.Context) *GetStickTableEntriesParams

NewGetStickTableEntriesParamsWithContext creates a new GetStickTableEntriesParams object with the ability to set a context for a request.

func NewGetStickTableEntriesParamsWithHTTPClient

func NewGetStickTableEntriesParamsWithHTTPClient(client *http.Client) *GetStickTableEntriesParams

NewGetStickTableEntriesParamsWithHTTPClient creates a new GetStickTableEntriesParams object with the ability to set a custom HTTPClient for a request.

func NewGetStickTableEntriesParamsWithTimeout

func NewGetStickTableEntriesParamsWithTimeout(timeout time.Duration) *GetStickTableEntriesParams

NewGetStickTableEntriesParamsWithTimeout creates a new GetStickTableEntriesParams object with the ability to set a timeout on a request.

func (*GetStickTableEntriesParams) SetContext

func (o *GetStickTableEntriesParams) SetContext(ctx context.Context)

SetContext adds the context to the get stick table entries params

func (*GetStickTableEntriesParams) SetCount

func (o *GetStickTableEntriesParams) SetCount(count *int64)

SetCount adds the count to the get stick table entries params

func (*GetStickTableEntriesParams) SetDefaults

func (o *GetStickTableEntriesParams) SetDefaults()

SetDefaults hydrates default values in the get stick table entries params (not the query body).

All values with no default are reset to their zero value.

func (*GetStickTableEntriesParams) SetFilter

func (o *GetStickTableEntriesParams) SetFilter(filter *string)

SetFilter adds the filter to the get stick table entries params

func (*GetStickTableEntriesParams) SetHTTPClient

func (o *GetStickTableEntriesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get stick table entries params

func (*GetStickTableEntriesParams) SetKey

func (o *GetStickTableEntriesParams) SetKey(key *string)

SetKey adds the key to the get stick table entries params

func (*GetStickTableEntriesParams) SetOffset

func (o *GetStickTableEntriesParams) SetOffset(offset *int64)

SetOffset adds the offset to the get stick table entries params

func (*GetStickTableEntriesParams) SetProcess

func (o *GetStickTableEntriesParams) SetProcess(process int64)

SetProcess adds the process to the get stick table entries params

func (*GetStickTableEntriesParams) SetStickTable

func (o *GetStickTableEntriesParams) SetStickTable(stickTable string)

SetStickTable adds the stickTable to the get stick table entries params

func (*GetStickTableEntriesParams) SetTimeout

func (o *GetStickTableEntriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get stick table entries params

func (*GetStickTableEntriesParams) WithContext

WithContext adds the context to the get stick table entries params

func (*GetStickTableEntriesParams) WithCount

WithCount adds the count to the get stick table entries params

func (*GetStickTableEntriesParams) WithDefaults

WithDefaults hydrates default values in the get stick table entries params (not the query body).

All values with no default are reset to their zero value.

func (*GetStickTableEntriesParams) WithFilter

WithFilter adds the filter to the get stick table entries params

func (*GetStickTableEntriesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get stick table entries params

func (*GetStickTableEntriesParams) WithKey

WithKey adds the key to the get stick table entries params

func (*GetStickTableEntriesParams) WithOffset

WithOffset adds the offset to the get stick table entries params

func (*GetStickTableEntriesParams) WithProcess

WithProcess adds the process to the get stick table entries params

func (*GetStickTableEntriesParams) WithStickTable

func (o *GetStickTableEntriesParams) WithStickTable(stickTable string) *GetStickTableEntriesParams

WithStickTable adds the stickTable to the get stick table entries params

func (*GetStickTableEntriesParams) WithTimeout

WithTimeout adds the timeout to the get stick table entries params

func (*GetStickTableEntriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetStickTableEntriesReader

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

GetStickTableEntriesReader is a Reader for the GetStickTableEntries structure.

func (*GetStickTableEntriesReader) ReadResponse

func (o *GetStickTableEntriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStickTableNotFound

type GetStickTableNotFound struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
}
GetStickTableNotFound describes a response with status code 404, with default header values.

The specified resource was not found

func NewGetStickTableNotFound

func NewGetStickTableNotFound() *GetStickTableNotFound

NewGetStickTableNotFound creates a GetStickTableNotFound with default headers values

func (*GetStickTableNotFound) Error

func (o *GetStickTableNotFound) Error() string

func (*GetStickTableNotFound) GetPayload

func (o *GetStickTableNotFound) GetPayload() *models.Error

type GetStickTableOK

type GetStickTableOK struct {
	Payload *models.StickTable
}
GetStickTableOK describes a response with status code 200, with default header values.

Successful operation

func NewGetStickTableOK

func NewGetStickTableOK() *GetStickTableOK

NewGetStickTableOK creates a GetStickTableOK with default headers values

func (*GetStickTableOK) Error

func (o *GetStickTableOK) Error() string

func (*GetStickTableOK) GetPayload

func (o *GetStickTableOK) GetPayload() *models.StickTable

type GetStickTableParams

type GetStickTableParams struct {

	/* Name.

	   Stick table name
	*/
	Name string

	/* Process.

	   Process number if master-worker mode, if not only first process is returned
	*/
	Process int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStickTableParams contains all the parameters to send to the API endpoint

for the get stick table operation.

Typically these are written to a http.Request.

func NewGetStickTableParams

func NewGetStickTableParams() *GetStickTableParams

NewGetStickTableParams creates a new GetStickTableParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStickTableParamsWithContext

func NewGetStickTableParamsWithContext(ctx context.Context) *GetStickTableParams

NewGetStickTableParamsWithContext creates a new GetStickTableParams object with the ability to set a context for a request.

func NewGetStickTableParamsWithHTTPClient

func NewGetStickTableParamsWithHTTPClient(client *http.Client) *GetStickTableParams

NewGetStickTableParamsWithHTTPClient creates a new GetStickTableParams object with the ability to set a custom HTTPClient for a request.

func NewGetStickTableParamsWithTimeout

func NewGetStickTableParamsWithTimeout(timeout time.Duration) *GetStickTableParams

NewGetStickTableParamsWithTimeout creates a new GetStickTableParams object with the ability to set a timeout on a request.

func (*GetStickTableParams) SetContext

func (o *GetStickTableParams) SetContext(ctx context.Context)

SetContext adds the context to the get stick table params

func (*GetStickTableParams) SetDefaults

func (o *GetStickTableParams) SetDefaults()

SetDefaults hydrates default values in the get stick table params (not the query body).

All values with no default are reset to their zero value.

func (*GetStickTableParams) SetHTTPClient

func (o *GetStickTableParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get stick table params

func (*GetStickTableParams) SetName

func (o *GetStickTableParams) SetName(name string)

SetName adds the name to the get stick table params

func (*GetStickTableParams) SetProcess

func (o *GetStickTableParams) SetProcess(process int64)

SetProcess adds the process to the get stick table params

func (*GetStickTableParams) SetTimeout

func (o *GetStickTableParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get stick table params

func (*GetStickTableParams) WithContext

WithContext adds the context to the get stick table params

func (*GetStickTableParams) WithDefaults

func (o *GetStickTableParams) WithDefaults() *GetStickTableParams

WithDefaults hydrates default values in the get stick table params (not the query body).

All values with no default are reset to their zero value.

func (*GetStickTableParams) WithHTTPClient

func (o *GetStickTableParams) WithHTTPClient(client *http.Client) *GetStickTableParams

WithHTTPClient adds the HTTPClient to the get stick table params

func (*GetStickTableParams) WithName

func (o *GetStickTableParams) WithName(name string) *GetStickTableParams

WithName adds the name to the get stick table params

func (*GetStickTableParams) WithProcess

func (o *GetStickTableParams) WithProcess(process int64) *GetStickTableParams

WithProcess adds the process to the get stick table params

func (*GetStickTableParams) WithTimeout

func (o *GetStickTableParams) WithTimeout(timeout time.Duration) *GetStickTableParams

WithTimeout adds the timeout to the get stick table params

func (*GetStickTableParams) WriteToRequest

func (o *GetStickTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStickTableReader

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

GetStickTableReader is a Reader for the GetStickTable structure.

func (*GetStickTableReader) ReadResponse

func (o *GetStickTableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetStickTablesDefault

type GetStickTablesDefault struct {

	/* Configuration file version
	 */
	ConfigurationVersion string

	Payload *models.Error
	// contains filtered or unexported fields
}
GetStickTablesDefault describes a response with status code -1, with default header values.

General Error

func NewGetStickTablesDefault

func NewGetStickTablesDefault(code int) *GetStickTablesDefault

NewGetStickTablesDefault creates a GetStickTablesDefault with default headers values

func (*GetStickTablesDefault) Code

func (o *GetStickTablesDefault) Code() int

Code gets the status code for the get stick tables default response

func (*GetStickTablesDefault) Error

func (o *GetStickTablesDefault) Error() string

func (*GetStickTablesDefault) GetPayload

func (o *GetStickTablesDefault) GetPayload() *models.Error

type GetStickTablesOK

type GetStickTablesOK struct {
	Payload models.StickTables
}
GetStickTablesOK describes a response with status code 200, with default header values.

Successful operation

func NewGetStickTablesOK

func NewGetStickTablesOK() *GetStickTablesOK

NewGetStickTablesOK creates a GetStickTablesOK with default headers values

func (*GetStickTablesOK) Error

func (o *GetStickTablesOK) Error() string

func (*GetStickTablesOK) GetPayload

func (o *GetStickTablesOK) GetPayload() models.StickTables

type GetStickTablesParams

type GetStickTablesParams struct {

	/* Process.

	   Process number if master-worker mode, if not all processes are returned
	*/
	Process *int64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetStickTablesParams contains all the parameters to send to the API endpoint

for the get stick tables operation.

Typically these are written to a http.Request.

func NewGetStickTablesParams

func NewGetStickTablesParams() *GetStickTablesParams

NewGetStickTablesParams creates a new GetStickTablesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetStickTablesParamsWithContext

func NewGetStickTablesParamsWithContext(ctx context.Context) *GetStickTablesParams

NewGetStickTablesParamsWithContext creates a new GetStickTablesParams object with the ability to set a context for a request.

func NewGetStickTablesParamsWithHTTPClient

func NewGetStickTablesParamsWithHTTPClient(client *http.Client) *GetStickTablesParams

NewGetStickTablesParamsWithHTTPClient creates a new GetStickTablesParams object with the ability to set a custom HTTPClient for a request.

func NewGetStickTablesParamsWithTimeout

func NewGetStickTablesParamsWithTimeout(timeout time.Duration) *GetStickTablesParams

NewGetStickTablesParamsWithTimeout creates a new GetStickTablesParams object with the ability to set a timeout on a request.

func (*GetStickTablesParams) SetContext

func (o *GetStickTablesParams) SetContext(ctx context.Context)

SetContext adds the context to the get stick tables params

func (*GetStickTablesParams) SetDefaults

func (o *GetStickTablesParams) SetDefaults()

SetDefaults hydrates default values in the get stick tables params (not the query body).

All values with no default are reset to their zero value.

func (*GetStickTablesParams) SetHTTPClient

func (o *GetStickTablesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get stick tables params

func (*GetStickTablesParams) SetProcess

func (o *GetStickTablesParams) SetProcess(process *int64)

SetProcess adds the process to the get stick tables params

func (*GetStickTablesParams) SetTimeout

func (o *GetStickTablesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get stick tables params

func (*GetStickTablesParams) WithContext

WithContext adds the context to the get stick tables params

func (*GetStickTablesParams) WithDefaults

func (o *GetStickTablesParams) WithDefaults() *GetStickTablesParams

WithDefaults hydrates default values in the get stick tables params (not the query body).

All values with no default are reset to their zero value.

func (*GetStickTablesParams) WithHTTPClient

func (o *GetStickTablesParams) WithHTTPClient(client *http.Client) *GetStickTablesParams

WithHTTPClient adds the HTTPClient to the get stick tables params

func (*GetStickTablesParams) WithProcess

func (o *GetStickTablesParams) WithProcess(process *int64) *GetStickTablesParams

WithProcess adds the process to the get stick tables params

func (*GetStickTablesParams) WithTimeout

func (o *GetStickTablesParams) WithTimeout(timeout time.Duration) *GetStickTablesParams

WithTimeout adds the timeout to the get stick tables params

func (*GetStickTablesParams) WriteToRequest

func (o *GetStickTablesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetStickTablesReader

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

GetStickTablesReader is a Reader for the GetStickTables structure.

func (*GetStickTablesReader) ReadResponse

func (o *GetStickTablesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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