stick_table

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 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) (*GetStickTableOK, error)

GetStickTable returns stick table

Returns one stick table from runtime.

func (*Client) GetStickTableEntries

func (a *Client) GetStickTableEntries(params *GetStickTableEntriesParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*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 ClientService added in v0.2.0

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

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

	GetStickTables(params *GetStickTablesParams, authInfo runtime.ClientAuthInfoWriter) (*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 int64

	Payload *models.Error
	// contains filtered or unexported fields
}

GetStickTableDefault handles this case 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 added in v0.2.0

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

type GetStickTableEntriesDefault

type GetStickTableEntriesDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion int64

	Payload *models.Error
	// contains filtered or unexported fields
}

GetStickTableEntriesDefault handles this case 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 added in v0.2.0

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

type GetStickTableEntriesOK

type GetStickTableEntriesOK struct {
	Payload models.StickTableEntries
}

GetStickTableEntriesOK handles this case 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 added in v0.2.0

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 values initialized.

func NewGetStickTableEntriesParamsWithContext

func NewGetStickTableEntriesParamsWithContext(ctx context.Context) *GetStickTableEntriesParams

NewGetStickTableEntriesParamsWithContext creates a new GetStickTableEntriesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

	Payload *models.Error
}

GetStickTableNotFound handles this case 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 added in v0.2.0

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

type GetStickTableOK

type GetStickTableOK struct {
	Payload *models.StickTable
}

GetStickTableOK handles this case 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 added in v0.2.0

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 values initialized.

func NewGetStickTableParamsWithContext

func NewGetStickTableParamsWithContext(ctx context.Context) *GetStickTableParams

NewGetStickTableParamsWithContext creates a new GetStickTableParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 int64

	Payload *models.Error
	// contains filtered or unexported fields
}

GetStickTablesDefault handles this case 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 added in v0.2.0

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

type GetStickTablesOK

type GetStickTablesOK struct {
	Payload models.StickTables
}

GetStickTablesOK handles this case 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 added in v0.2.0

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 values initialized.

func NewGetStickTablesParamsWithContext

func NewGetStickTablesParamsWithContext(ctx context.Context) *GetStickTablesParams

NewGetStickTablesParamsWithContext creates a new GetStickTablesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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