Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateTable(params *CreateTableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateTableCreated, *CreateTableAccepted, error)
- func (a *Client) DeleteTable(params *DeleteTableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteTableAccepted, *DeleteTableNoContent, error)
- func (a *Client) GetTable(params *GetTableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTableOK, error)
- func (a *Client) GetTables(params *GetTablesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetTablesOK, error)
- func (a *Client) ReplaceTable(params *ReplaceTableParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReplaceTableOK, *ReplaceTableAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateTableAccepted
- func (o *CreateTableAccepted) Code() int
- func (o *CreateTableAccepted) Error() string
- func (o *CreateTableAccepted) GetPayload() *models.Table
- func (o *CreateTableAccepted) IsClientError() bool
- func (o *CreateTableAccepted) IsCode(code int) bool
- func (o *CreateTableAccepted) IsRedirect() bool
- func (o *CreateTableAccepted) IsServerError() bool
- func (o *CreateTableAccepted) IsSuccess() bool
- func (o *CreateTableAccepted) String() string
- type CreateTableBadRequest
- func (o *CreateTableBadRequest) Code() int
- func (o *CreateTableBadRequest) Error() string
- func (o *CreateTableBadRequest) GetPayload() *models.Error
- func (o *CreateTableBadRequest) IsClientError() bool
- func (o *CreateTableBadRequest) IsCode(code int) bool
- func (o *CreateTableBadRequest) IsRedirect() bool
- func (o *CreateTableBadRequest) IsServerError() bool
- func (o *CreateTableBadRequest) IsSuccess() bool
- func (o *CreateTableBadRequest) String() string
- type CreateTableConflict
- func (o *CreateTableConflict) Code() int
- func (o *CreateTableConflict) Error() string
- func (o *CreateTableConflict) GetPayload() *models.Error
- func (o *CreateTableConflict) IsClientError() bool
- func (o *CreateTableConflict) IsCode(code int) bool
- func (o *CreateTableConflict) IsRedirect() bool
- func (o *CreateTableConflict) IsServerError() bool
- func (o *CreateTableConflict) IsSuccess() bool
- func (o *CreateTableConflict) String() string
- type CreateTableCreated
- func (o *CreateTableCreated) Code() int
- func (o *CreateTableCreated) Error() string
- func (o *CreateTableCreated) GetPayload() *models.Table
- func (o *CreateTableCreated) IsClientError() bool
- func (o *CreateTableCreated) IsCode(code int) bool
- func (o *CreateTableCreated) IsRedirect() bool
- func (o *CreateTableCreated) IsServerError() bool
- func (o *CreateTableCreated) IsSuccess() bool
- func (o *CreateTableCreated) String() string
- type CreateTableDefault
- func (o *CreateTableDefault) Code() int
- func (o *CreateTableDefault) Error() string
- func (o *CreateTableDefault) GetPayload() *models.Error
- func (o *CreateTableDefault) IsClientError() bool
- func (o *CreateTableDefault) IsCode(code int) bool
- func (o *CreateTableDefault) IsRedirect() bool
- func (o *CreateTableDefault) IsServerError() bool
- func (o *CreateTableDefault) IsSuccess() bool
- func (o *CreateTableDefault) String() string
- type CreateTableParams
- func (o *CreateTableParams) SetContext(ctx context.Context)
- func (o *CreateTableParams) SetData(data *models.Table)
- func (o *CreateTableParams) SetDefaults()
- func (o *CreateTableParams) SetForceReload(forceReload *bool)
- func (o *CreateTableParams) SetHTTPClient(client *http.Client)
- func (o *CreateTableParams) SetPeerSection(peerSection string)
- func (o *CreateTableParams) SetTimeout(timeout time.Duration)
- func (o *CreateTableParams) SetTransactionID(transactionID *string)
- func (o *CreateTableParams) SetVersion(version *int64)
- func (o *CreateTableParams) WithContext(ctx context.Context) *CreateTableParams
- func (o *CreateTableParams) WithData(data *models.Table) *CreateTableParams
- func (o *CreateTableParams) WithDefaults() *CreateTableParams
- func (o *CreateTableParams) WithForceReload(forceReload *bool) *CreateTableParams
- func (o *CreateTableParams) WithHTTPClient(client *http.Client) *CreateTableParams
- func (o *CreateTableParams) WithPeerSection(peerSection string) *CreateTableParams
- func (o *CreateTableParams) WithTimeout(timeout time.Duration) *CreateTableParams
- func (o *CreateTableParams) WithTransactionID(transactionID *string) *CreateTableParams
- func (o *CreateTableParams) WithVersion(version *int64) *CreateTableParams
- func (o *CreateTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateTableReader
- type DeleteTableAccepted
- func (o *DeleteTableAccepted) Code() int
- func (o *DeleteTableAccepted) Error() string
- func (o *DeleteTableAccepted) IsClientError() bool
- func (o *DeleteTableAccepted) IsCode(code int) bool
- func (o *DeleteTableAccepted) IsRedirect() bool
- func (o *DeleteTableAccepted) IsServerError() bool
- func (o *DeleteTableAccepted) IsSuccess() bool
- func (o *DeleteTableAccepted) String() string
- type DeleteTableDefault
- func (o *DeleteTableDefault) Code() int
- func (o *DeleteTableDefault) Error() string
- func (o *DeleteTableDefault) GetPayload() *models.Error
- func (o *DeleteTableDefault) IsClientError() bool
- func (o *DeleteTableDefault) IsCode(code int) bool
- func (o *DeleteTableDefault) IsRedirect() bool
- func (o *DeleteTableDefault) IsServerError() bool
- func (o *DeleteTableDefault) IsSuccess() bool
- func (o *DeleteTableDefault) String() string
- type DeleteTableNoContent
- func (o *DeleteTableNoContent) Code() int
- func (o *DeleteTableNoContent) Error() string
- func (o *DeleteTableNoContent) IsClientError() bool
- func (o *DeleteTableNoContent) IsCode(code int) bool
- func (o *DeleteTableNoContent) IsRedirect() bool
- func (o *DeleteTableNoContent) IsServerError() bool
- func (o *DeleteTableNoContent) IsSuccess() bool
- func (o *DeleteTableNoContent) String() string
- type DeleteTableNotFound
- func (o *DeleteTableNotFound) Code() int
- func (o *DeleteTableNotFound) Error() string
- func (o *DeleteTableNotFound) GetPayload() *models.Error
- func (o *DeleteTableNotFound) IsClientError() bool
- func (o *DeleteTableNotFound) IsCode(code int) bool
- func (o *DeleteTableNotFound) IsRedirect() bool
- func (o *DeleteTableNotFound) IsServerError() bool
- func (o *DeleteTableNotFound) IsSuccess() bool
- func (o *DeleteTableNotFound) String() string
- type DeleteTableParams
- func (o *DeleteTableParams) SetContext(ctx context.Context)
- func (o *DeleteTableParams) SetDefaults()
- func (o *DeleteTableParams) SetForceReload(forceReload *bool)
- func (o *DeleteTableParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTableParams) SetName(name string)
- func (o *DeleteTableParams) SetPeerSection(peerSection string)
- func (o *DeleteTableParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTableParams) SetTransactionID(transactionID *string)
- func (o *DeleteTableParams) SetVersion(version *int64)
- func (o *DeleteTableParams) WithContext(ctx context.Context) *DeleteTableParams
- func (o *DeleteTableParams) WithDefaults() *DeleteTableParams
- func (o *DeleteTableParams) WithForceReload(forceReload *bool) *DeleteTableParams
- func (o *DeleteTableParams) WithHTTPClient(client *http.Client) *DeleteTableParams
- func (o *DeleteTableParams) WithName(name string) *DeleteTableParams
- func (o *DeleteTableParams) WithPeerSection(peerSection string) *DeleteTableParams
- func (o *DeleteTableParams) WithTimeout(timeout time.Duration) *DeleteTableParams
- func (o *DeleteTableParams) WithTransactionID(transactionID *string) *DeleteTableParams
- func (o *DeleteTableParams) WithVersion(version *int64) *DeleteTableParams
- func (o *DeleteTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTableReader
- type GetTableDefault
- func (o *GetTableDefault) Code() int
- func (o *GetTableDefault) Error() string
- func (o *GetTableDefault) GetPayload() *models.Error
- func (o *GetTableDefault) IsClientError() bool
- func (o *GetTableDefault) IsCode(code int) bool
- func (o *GetTableDefault) IsRedirect() bool
- func (o *GetTableDefault) IsServerError() bool
- func (o *GetTableDefault) IsSuccess() bool
- func (o *GetTableDefault) String() string
- type GetTableNotFound
- func (o *GetTableNotFound) Code() int
- func (o *GetTableNotFound) Error() string
- func (o *GetTableNotFound) GetPayload() *models.Error
- func (o *GetTableNotFound) IsClientError() bool
- func (o *GetTableNotFound) IsCode(code int) bool
- func (o *GetTableNotFound) IsRedirect() bool
- func (o *GetTableNotFound) IsServerError() bool
- func (o *GetTableNotFound) IsSuccess() bool
- func (o *GetTableNotFound) String() string
- type GetTableOK
- func (o *GetTableOK) Code() int
- func (o *GetTableOK) Error() string
- func (o *GetTableOK) GetPayload() *GetTableOKBody
- func (o *GetTableOK) IsClientError() bool
- func (o *GetTableOK) IsCode(code int) bool
- func (o *GetTableOK) IsRedirect() bool
- func (o *GetTableOK) IsServerError() bool
- func (o *GetTableOK) IsSuccess() bool
- func (o *GetTableOK) String() string
- type GetTableOKBody
- type GetTableParams
- func (o *GetTableParams) SetContext(ctx context.Context)
- func (o *GetTableParams) SetDefaults()
- func (o *GetTableParams) SetHTTPClient(client *http.Client)
- func (o *GetTableParams) SetName(name string)
- func (o *GetTableParams) SetPeerSection(peerSection string)
- func (o *GetTableParams) SetTimeout(timeout time.Duration)
- func (o *GetTableParams) SetTransactionID(transactionID *string)
- func (o *GetTableParams) WithContext(ctx context.Context) *GetTableParams
- func (o *GetTableParams) WithDefaults() *GetTableParams
- func (o *GetTableParams) WithHTTPClient(client *http.Client) *GetTableParams
- func (o *GetTableParams) WithName(name string) *GetTableParams
- func (o *GetTableParams) WithPeerSection(peerSection string) *GetTableParams
- func (o *GetTableParams) WithTimeout(timeout time.Duration) *GetTableParams
- func (o *GetTableParams) WithTransactionID(transactionID *string) *GetTableParams
- func (o *GetTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTableReader
- type GetTablesDefault
- func (o *GetTablesDefault) Code() int
- func (o *GetTablesDefault) Error() string
- func (o *GetTablesDefault) GetPayload() *models.Error
- func (o *GetTablesDefault) IsClientError() bool
- func (o *GetTablesDefault) IsCode(code int) bool
- func (o *GetTablesDefault) IsRedirect() bool
- func (o *GetTablesDefault) IsServerError() bool
- func (o *GetTablesDefault) IsSuccess() bool
- func (o *GetTablesDefault) String() string
- type GetTablesOK
- func (o *GetTablesOK) Code() int
- func (o *GetTablesOK) Error() string
- func (o *GetTablesOK) GetPayload() *GetTablesOKBody
- func (o *GetTablesOK) IsClientError() bool
- func (o *GetTablesOK) IsCode(code int) bool
- func (o *GetTablesOK) IsRedirect() bool
- func (o *GetTablesOK) IsServerError() bool
- func (o *GetTablesOK) IsSuccess() bool
- func (o *GetTablesOK) String() string
- type GetTablesOKBody
- type GetTablesParams
- func (o *GetTablesParams) SetContext(ctx context.Context)
- func (o *GetTablesParams) SetDefaults()
- func (o *GetTablesParams) SetHTTPClient(client *http.Client)
- func (o *GetTablesParams) SetPeerSection(peerSection string)
- func (o *GetTablesParams) SetTimeout(timeout time.Duration)
- func (o *GetTablesParams) SetTransactionID(transactionID *string)
- func (o *GetTablesParams) WithContext(ctx context.Context) *GetTablesParams
- func (o *GetTablesParams) WithDefaults() *GetTablesParams
- func (o *GetTablesParams) WithHTTPClient(client *http.Client) *GetTablesParams
- func (o *GetTablesParams) WithPeerSection(peerSection string) *GetTablesParams
- func (o *GetTablesParams) WithTimeout(timeout time.Duration) *GetTablesParams
- func (o *GetTablesParams) WithTransactionID(transactionID *string) *GetTablesParams
- func (o *GetTablesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTablesReader
- type ReplaceTableAccepted
- func (o *ReplaceTableAccepted) Code() int
- func (o *ReplaceTableAccepted) Error() string
- func (o *ReplaceTableAccepted) GetPayload() *models.Table
- func (o *ReplaceTableAccepted) IsClientError() bool
- func (o *ReplaceTableAccepted) IsCode(code int) bool
- func (o *ReplaceTableAccepted) IsRedirect() bool
- func (o *ReplaceTableAccepted) IsServerError() bool
- func (o *ReplaceTableAccepted) IsSuccess() bool
- func (o *ReplaceTableAccepted) String() string
- type ReplaceTableBadRequest
- func (o *ReplaceTableBadRequest) Code() int
- func (o *ReplaceTableBadRequest) Error() string
- func (o *ReplaceTableBadRequest) GetPayload() *models.Error
- func (o *ReplaceTableBadRequest) IsClientError() bool
- func (o *ReplaceTableBadRequest) IsCode(code int) bool
- func (o *ReplaceTableBadRequest) IsRedirect() bool
- func (o *ReplaceTableBadRequest) IsServerError() bool
- func (o *ReplaceTableBadRequest) IsSuccess() bool
- func (o *ReplaceTableBadRequest) String() string
- type ReplaceTableDefault
- func (o *ReplaceTableDefault) Code() int
- func (o *ReplaceTableDefault) Error() string
- func (o *ReplaceTableDefault) GetPayload() *models.Error
- func (o *ReplaceTableDefault) IsClientError() bool
- func (o *ReplaceTableDefault) IsCode(code int) bool
- func (o *ReplaceTableDefault) IsRedirect() bool
- func (o *ReplaceTableDefault) IsServerError() bool
- func (o *ReplaceTableDefault) IsSuccess() bool
- func (o *ReplaceTableDefault) String() string
- type ReplaceTableNotFound
- func (o *ReplaceTableNotFound) Code() int
- func (o *ReplaceTableNotFound) Error() string
- func (o *ReplaceTableNotFound) GetPayload() *models.Error
- func (o *ReplaceTableNotFound) IsClientError() bool
- func (o *ReplaceTableNotFound) IsCode(code int) bool
- func (o *ReplaceTableNotFound) IsRedirect() bool
- func (o *ReplaceTableNotFound) IsServerError() bool
- func (o *ReplaceTableNotFound) IsSuccess() bool
- func (o *ReplaceTableNotFound) String() string
- type ReplaceTableOK
- func (o *ReplaceTableOK) Code() int
- func (o *ReplaceTableOK) Error() string
- func (o *ReplaceTableOK) GetPayload() *models.Table
- func (o *ReplaceTableOK) IsClientError() bool
- func (o *ReplaceTableOK) IsCode(code int) bool
- func (o *ReplaceTableOK) IsRedirect() bool
- func (o *ReplaceTableOK) IsServerError() bool
- func (o *ReplaceTableOK) IsSuccess() bool
- func (o *ReplaceTableOK) String() string
- type ReplaceTableParams
- func (o *ReplaceTableParams) SetContext(ctx context.Context)
- func (o *ReplaceTableParams) SetData(data *models.Table)
- func (o *ReplaceTableParams) SetDefaults()
- func (o *ReplaceTableParams) SetForceReload(forceReload *bool)
- func (o *ReplaceTableParams) SetHTTPClient(client *http.Client)
- func (o *ReplaceTableParams) SetName(name string)
- func (o *ReplaceTableParams) SetPeerSection(peerSection string)
- func (o *ReplaceTableParams) SetTimeout(timeout time.Duration)
- func (o *ReplaceTableParams) SetTransactionID(transactionID *string)
- func (o *ReplaceTableParams) SetVersion(version *int64)
- func (o *ReplaceTableParams) WithContext(ctx context.Context) *ReplaceTableParams
- func (o *ReplaceTableParams) WithData(data *models.Table) *ReplaceTableParams
- func (o *ReplaceTableParams) WithDefaults() *ReplaceTableParams
- func (o *ReplaceTableParams) WithForceReload(forceReload *bool) *ReplaceTableParams
- func (o *ReplaceTableParams) WithHTTPClient(client *http.Client) *ReplaceTableParams
- func (o *ReplaceTableParams) WithName(name string) *ReplaceTableParams
- func (o *ReplaceTableParams) WithPeerSection(peerSection string) *ReplaceTableParams
- func (o *ReplaceTableParams) WithTimeout(timeout time.Duration) *ReplaceTableParams
- func (o *ReplaceTableParams) WithTransactionID(transactionID *string) *ReplaceTableParams
- func (o *ReplaceTableParams) WithVersion(version *int64) *ReplaceTableParams
- func (o *ReplaceTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReplaceTableReader
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 table API
func (*Client) CreateTable ¶
func (a *Client) CreateTable(params *CreateTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTableCreated, *CreateTableAccepted, error)
CreateTable adds a new table
Adds a new table in the specified peer section in the configuration file.
func (*Client) DeleteTable ¶
func (a *Client) DeleteTable(params *DeleteTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTableAccepted, *DeleteTableNoContent, error)
DeleteTable deletes a table
Deletes a table configuration by it's name in the specified peer section.
func (*Client) GetTable ¶
func (a *Client) GetTable(params *GetTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTableOK, error)
GetTable returns one table
Returns one table configuration by it's name in the specified peer section.
func (*Client) GetTables ¶
func (a *Client) GetTables(params *GetTablesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTablesOK, error)
GetTables returns an array of tables
Returns an array of all tables that are configured in specified peer section.
func (*Client) ReplaceTable ¶
func (a *Client) ReplaceTable(params *ReplaceTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceTableOK, *ReplaceTableAccepted, error)
ReplaceTable replaces a table
Replaces a table configuration by it's name in the specified peer section.
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 { CreateTable(params *CreateTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateTableCreated, *CreateTableAccepted, error) DeleteTable(params *DeleteTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteTableAccepted, *DeleteTableNoContent, error) GetTable(params *GetTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTableOK, error) GetTables(params *GetTablesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetTablesOK, error) ReplaceTable(params *ReplaceTableParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReplaceTableOK, *ReplaceTableAccepted, 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 table API client.
type CreateTableAccepted ¶
type CreateTableAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Table }
CreateTableAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewCreateTableAccepted ¶
func NewCreateTableAccepted() *CreateTableAccepted
NewCreateTableAccepted creates a CreateTableAccepted with default headers values
func (*CreateTableAccepted) Code ¶
func (o *CreateTableAccepted) Code() int
Code gets the status code for the create table accepted response
func (*CreateTableAccepted) Error ¶
func (o *CreateTableAccepted) Error() string
func (*CreateTableAccepted) GetPayload ¶
func (o *CreateTableAccepted) GetPayload() *models.Table
func (*CreateTableAccepted) IsClientError ¶
func (o *CreateTableAccepted) IsClientError() bool
IsClientError returns true when this create table accepted response has a 4xx status code
func (*CreateTableAccepted) IsCode ¶
func (o *CreateTableAccepted) IsCode(code int) bool
IsCode returns true when this create table accepted response a status code equal to that given
func (*CreateTableAccepted) IsRedirect ¶
func (o *CreateTableAccepted) IsRedirect() bool
IsRedirect returns true when this create table accepted response has a 3xx status code
func (*CreateTableAccepted) IsServerError ¶
func (o *CreateTableAccepted) IsServerError() bool
IsServerError returns true when this create table accepted response has a 5xx status code
func (*CreateTableAccepted) IsSuccess ¶
func (o *CreateTableAccepted) IsSuccess() bool
IsSuccess returns true when this create table accepted response has a 2xx status code
func (*CreateTableAccepted) String ¶
func (o *CreateTableAccepted) String() string
type CreateTableBadRequest ¶
type CreateTableBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTableBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateTableBadRequest ¶
func NewCreateTableBadRequest() *CreateTableBadRequest
NewCreateTableBadRequest creates a CreateTableBadRequest with default headers values
func (*CreateTableBadRequest) Code ¶
func (o *CreateTableBadRequest) Code() int
Code gets the status code for the create table bad request response
func (*CreateTableBadRequest) Error ¶
func (o *CreateTableBadRequest) Error() string
func (*CreateTableBadRequest) GetPayload ¶
func (o *CreateTableBadRequest) GetPayload() *models.Error
func (*CreateTableBadRequest) IsClientError ¶
func (o *CreateTableBadRequest) IsClientError() bool
IsClientError returns true when this create table bad request response has a 4xx status code
func (*CreateTableBadRequest) IsCode ¶
func (o *CreateTableBadRequest) IsCode(code int) bool
IsCode returns true when this create table bad request response a status code equal to that given
func (*CreateTableBadRequest) IsRedirect ¶
func (o *CreateTableBadRequest) IsRedirect() bool
IsRedirect returns true when this create table bad request response has a 3xx status code
func (*CreateTableBadRequest) IsServerError ¶
func (o *CreateTableBadRequest) IsServerError() bool
IsServerError returns true when this create table bad request response has a 5xx status code
func (*CreateTableBadRequest) IsSuccess ¶
func (o *CreateTableBadRequest) IsSuccess() bool
IsSuccess returns true when this create table bad request response has a 2xx status code
func (*CreateTableBadRequest) String ¶
func (o *CreateTableBadRequest) String() string
type CreateTableConflict ¶
type CreateTableConflict struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
CreateTableConflict describes a response with status code 409, with default header values.
The specified resource already exists
func NewCreateTableConflict ¶
func NewCreateTableConflict() *CreateTableConflict
NewCreateTableConflict creates a CreateTableConflict with default headers values
func (*CreateTableConflict) Code ¶
func (o *CreateTableConflict) Code() int
Code gets the status code for the create table conflict response
func (*CreateTableConflict) Error ¶
func (o *CreateTableConflict) Error() string
func (*CreateTableConflict) GetPayload ¶
func (o *CreateTableConflict) GetPayload() *models.Error
func (*CreateTableConflict) IsClientError ¶
func (o *CreateTableConflict) IsClientError() bool
IsClientError returns true when this create table conflict response has a 4xx status code
func (*CreateTableConflict) IsCode ¶
func (o *CreateTableConflict) IsCode(code int) bool
IsCode returns true when this create table conflict response a status code equal to that given
func (*CreateTableConflict) IsRedirect ¶
func (o *CreateTableConflict) IsRedirect() bool
IsRedirect returns true when this create table conflict response has a 3xx status code
func (*CreateTableConflict) IsServerError ¶
func (o *CreateTableConflict) IsServerError() bool
IsServerError returns true when this create table conflict response has a 5xx status code
func (*CreateTableConflict) IsSuccess ¶
func (o *CreateTableConflict) IsSuccess() bool
IsSuccess returns true when this create table conflict response has a 2xx status code
func (*CreateTableConflict) String ¶
func (o *CreateTableConflict) String() string
type CreateTableCreated ¶
CreateTableCreated describes a response with status code 201, with default header values.
Table created
func NewCreateTableCreated ¶
func NewCreateTableCreated() *CreateTableCreated
NewCreateTableCreated creates a CreateTableCreated with default headers values
func (*CreateTableCreated) Code ¶
func (o *CreateTableCreated) Code() int
Code gets the status code for the create table created response
func (*CreateTableCreated) Error ¶
func (o *CreateTableCreated) Error() string
func (*CreateTableCreated) GetPayload ¶
func (o *CreateTableCreated) GetPayload() *models.Table
func (*CreateTableCreated) IsClientError ¶
func (o *CreateTableCreated) IsClientError() bool
IsClientError returns true when this create table created response has a 4xx status code
func (*CreateTableCreated) IsCode ¶
func (o *CreateTableCreated) IsCode(code int) bool
IsCode returns true when this create table created response a status code equal to that given
func (*CreateTableCreated) IsRedirect ¶
func (o *CreateTableCreated) IsRedirect() bool
IsRedirect returns true when this create table created response has a 3xx status code
func (*CreateTableCreated) IsServerError ¶
func (o *CreateTableCreated) IsServerError() bool
IsServerError returns true when this create table created response has a 5xx status code
func (*CreateTableCreated) IsSuccess ¶
func (o *CreateTableCreated) IsSuccess() bool
IsSuccess returns true when this create table created response has a 2xx status code
func (*CreateTableCreated) String ¶
func (o *CreateTableCreated) String() string
type CreateTableDefault ¶
type CreateTableDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
CreateTableDefault describes a response with status code -1, with default header values.
General Error
func NewCreateTableDefault ¶
func NewCreateTableDefault(code int) *CreateTableDefault
NewCreateTableDefault creates a CreateTableDefault with default headers values
func (*CreateTableDefault) Code ¶
func (o *CreateTableDefault) Code() int
Code gets the status code for the create table default response
func (*CreateTableDefault) Error ¶
func (o *CreateTableDefault) Error() string
func (*CreateTableDefault) GetPayload ¶
func (o *CreateTableDefault) GetPayload() *models.Error
func (*CreateTableDefault) IsClientError ¶
func (o *CreateTableDefault) IsClientError() bool
IsClientError returns true when this create table default response has a 4xx status code
func (*CreateTableDefault) IsCode ¶
func (o *CreateTableDefault) IsCode(code int) bool
IsCode returns true when this create table default response a status code equal to that given
func (*CreateTableDefault) IsRedirect ¶
func (o *CreateTableDefault) IsRedirect() bool
IsRedirect returns true when this create table default response has a 3xx status code
func (*CreateTableDefault) IsServerError ¶
func (o *CreateTableDefault) IsServerError() bool
IsServerError returns true when this create table default response has a 5xx status code
func (*CreateTableDefault) IsSuccess ¶
func (o *CreateTableDefault) IsSuccess() bool
IsSuccess returns true when this create table default response has a 2xx status code
func (*CreateTableDefault) String ¶
func (o *CreateTableDefault) String() string
type CreateTableParams ¶
type CreateTableParams struct { // Data. Data *models.Table /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* PeerSection. Parent peer section name */ PeerSection string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateTableParams contains all the parameters to send to the API endpoint
for the create table operation. Typically these are written to a http.Request.
func NewCreateTableParams ¶
func NewCreateTableParams() *CreateTableParams
NewCreateTableParams creates a new CreateTableParams 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 NewCreateTableParamsWithContext ¶
func NewCreateTableParamsWithContext(ctx context.Context) *CreateTableParams
NewCreateTableParamsWithContext creates a new CreateTableParams object with the ability to set a context for a request.
func NewCreateTableParamsWithHTTPClient ¶
func NewCreateTableParamsWithHTTPClient(client *http.Client) *CreateTableParams
NewCreateTableParamsWithHTTPClient creates a new CreateTableParams object with the ability to set a custom HTTPClient for a request.
func NewCreateTableParamsWithTimeout ¶
func NewCreateTableParamsWithTimeout(timeout time.Duration) *CreateTableParams
NewCreateTableParamsWithTimeout creates a new CreateTableParams object with the ability to set a timeout on a request.
func (*CreateTableParams) SetContext ¶
func (o *CreateTableParams) SetContext(ctx context.Context)
SetContext adds the context to the create table params
func (*CreateTableParams) SetData ¶
func (o *CreateTableParams) SetData(data *models.Table)
SetData adds the data to the create table params
func (*CreateTableParams) SetDefaults ¶
func (o *CreateTableParams) SetDefaults()
SetDefaults hydrates default values in the create table params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTableParams) SetForceReload ¶
func (o *CreateTableParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the create table params
func (*CreateTableParams) SetHTTPClient ¶
func (o *CreateTableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create table params
func (*CreateTableParams) SetPeerSection ¶
func (o *CreateTableParams) SetPeerSection(peerSection string)
SetPeerSection adds the peerSection to the create table params
func (*CreateTableParams) SetTimeout ¶
func (o *CreateTableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create table params
func (*CreateTableParams) SetTransactionID ¶
func (o *CreateTableParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the create table params
func (*CreateTableParams) SetVersion ¶
func (o *CreateTableParams) SetVersion(version *int64)
SetVersion adds the version to the create table params
func (*CreateTableParams) WithContext ¶
func (o *CreateTableParams) WithContext(ctx context.Context) *CreateTableParams
WithContext adds the context to the create table params
func (*CreateTableParams) WithData ¶
func (o *CreateTableParams) WithData(data *models.Table) *CreateTableParams
WithData adds the data to the create table params
func (*CreateTableParams) WithDefaults ¶
func (o *CreateTableParams) WithDefaults() *CreateTableParams
WithDefaults hydrates default values in the create table params (not the query body).
All values with no default are reset to their zero value.
func (*CreateTableParams) WithForceReload ¶
func (o *CreateTableParams) WithForceReload(forceReload *bool) *CreateTableParams
WithForceReload adds the forceReload to the create table params
func (*CreateTableParams) WithHTTPClient ¶
func (o *CreateTableParams) WithHTTPClient(client *http.Client) *CreateTableParams
WithHTTPClient adds the HTTPClient to the create table params
func (*CreateTableParams) WithPeerSection ¶
func (o *CreateTableParams) WithPeerSection(peerSection string) *CreateTableParams
WithPeerSection adds the peerSection to the create table params
func (*CreateTableParams) WithTimeout ¶
func (o *CreateTableParams) WithTimeout(timeout time.Duration) *CreateTableParams
WithTimeout adds the timeout to the create table params
func (*CreateTableParams) WithTransactionID ¶
func (o *CreateTableParams) WithTransactionID(transactionID *string) *CreateTableParams
WithTransactionID adds the transactionID to the create table params
func (*CreateTableParams) WithVersion ¶
func (o *CreateTableParams) WithVersion(version *int64) *CreateTableParams
WithVersion adds the version to the create table params
func (*CreateTableParams) WriteToRequest ¶
func (o *CreateTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateTableReader ¶
type CreateTableReader struct {
// contains filtered or unexported fields
}
CreateTableReader is a Reader for the CreateTable structure.
func (*CreateTableReader) ReadResponse ¶
func (o *CreateTableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTableAccepted ¶
type DeleteTableAccepted struct { /* ID of the requested reload */ ReloadID string }
DeleteTableAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewDeleteTableAccepted ¶
func NewDeleteTableAccepted() *DeleteTableAccepted
NewDeleteTableAccepted creates a DeleteTableAccepted with default headers values
func (*DeleteTableAccepted) Code ¶
func (o *DeleteTableAccepted) Code() int
Code gets the status code for the delete table accepted response
func (*DeleteTableAccepted) Error ¶
func (o *DeleteTableAccepted) Error() string
func (*DeleteTableAccepted) IsClientError ¶
func (o *DeleteTableAccepted) IsClientError() bool
IsClientError returns true when this delete table accepted response has a 4xx status code
func (*DeleteTableAccepted) IsCode ¶
func (o *DeleteTableAccepted) IsCode(code int) bool
IsCode returns true when this delete table accepted response a status code equal to that given
func (*DeleteTableAccepted) IsRedirect ¶
func (o *DeleteTableAccepted) IsRedirect() bool
IsRedirect returns true when this delete table accepted response has a 3xx status code
func (*DeleteTableAccepted) IsServerError ¶
func (o *DeleteTableAccepted) IsServerError() bool
IsServerError returns true when this delete table accepted response has a 5xx status code
func (*DeleteTableAccepted) IsSuccess ¶
func (o *DeleteTableAccepted) IsSuccess() bool
IsSuccess returns true when this delete table accepted response has a 2xx status code
func (*DeleteTableAccepted) String ¶
func (o *DeleteTableAccepted) String() string
type DeleteTableDefault ¶
type DeleteTableDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
DeleteTableDefault describes a response with status code -1, with default header values.
General Error
func NewDeleteTableDefault ¶
func NewDeleteTableDefault(code int) *DeleteTableDefault
NewDeleteTableDefault creates a DeleteTableDefault with default headers values
func (*DeleteTableDefault) Code ¶
func (o *DeleteTableDefault) Code() int
Code gets the status code for the delete table default response
func (*DeleteTableDefault) Error ¶
func (o *DeleteTableDefault) Error() string
func (*DeleteTableDefault) GetPayload ¶
func (o *DeleteTableDefault) GetPayload() *models.Error
func (*DeleteTableDefault) IsClientError ¶
func (o *DeleteTableDefault) IsClientError() bool
IsClientError returns true when this delete table default response has a 4xx status code
func (*DeleteTableDefault) IsCode ¶
func (o *DeleteTableDefault) IsCode(code int) bool
IsCode returns true when this delete table default response a status code equal to that given
func (*DeleteTableDefault) IsRedirect ¶
func (o *DeleteTableDefault) IsRedirect() bool
IsRedirect returns true when this delete table default response has a 3xx status code
func (*DeleteTableDefault) IsServerError ¶
func (o *DeleteTableDefault) IsServerError() bool
IsServerError returns true when this delete table default response has a 5xx status code
func (*DeleteTableDefault) IsSuccess ¶
func (o *DeleteTableDefault) IsSuccess() bool
IsSuccess returns true when this delete table default response has a 2xx status code
func (*DeleteTableDefault) String ¶
func (o *DeleteTableDefault) String() string
type DeleteTableNoContent ¶
type DeleteTableNoContent struct { }
DeleteTableNoContent describes a response with status code 204, with default header values.
Table deleted
func NewDeleteTableNoContent ¶
func NewDeleteTableNoContent() *DeleteTableNoContent
NewDeleteTableNoContent creates a DeleteTableNoContent with default headers values
func (*DeleteTableNoContent) Code ¶
func (o *DeleteTableNoContent) Code() int
Code gets the status code for the delete table no content response
func (*DeleteTableNoContent) Error ¶
func (o *DeleteTableNoContent) Error() string
func (*DeleteTableNoContent) IsClientError ¶
func (o *DeleteTableNoContent) IsClientError() bool
IsClientError returns true when this delete table no content response has a 4xx status code
func (*DeleteTableNoContent) IsCode ¶
func (o *DeleteTableNoContent) IsCode(code int) bool
IsCode returns true when this delete table no content response a status code equal to that given
func (*DeleteTableNoContent) IsRedirect ¶
func (o *DeleteTableNoContent) IsRedirect() bool
IsRedirect returns true when this delete table no content response has a 3xx status code
func (*DeleteTableNoContent) IsServerError ¶
func (o *DeleteTableNoContent) IsServerError() bool
IsServerError returns true when this delete table no content response has a 5xx status code
func (*DeleteTableNoContent) IsSuccess ¶
func (o *DeleteTableNoContent) IsSuccess() bool
IsSuccess returns true when this delete table no content response has a 2xx status code
func (*DeleteTableNoContent) String ¶
func (o *DeleteTableNoContent) String() string
type DeleteTableNotFound ¶
type DeleteTableNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
DeleteTableNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewDeleteTableNotFound ¶
func NewDeleteTableNotFound() *DeleteTableNotFound
NewDeleteTableNotFound creates a DeleteTableNotFound with default headers values
func (*DeleteTableNotFound) Code ¶
func (o *DeleteTableNotFound) Code() int
Code gets the status code for the delete table not found response
func (*DeleteTableNotFound) Error ¶
func (o *DeleteTableNotFound) Error() string
func (*DeleteTableNotFound) GetPayload ¶
func (o *DeleteTableNotFound) GetPayload() *models.Error
func (*DeleteTableNotFound) IsClientError ¶
func (o *DeleteTableNotFound) IsClientError() bool
IsClientError returns true when this delete table not found response has a 4xx status code
func (*DeleteTableNotFound) IsCode ¶
func (o *DeleteTableNotFound) IsCode(code int) bool
IsCode returns true when this delete table not found response a status code equal to that given
func (*DeleteTableNotFound) IsRedirect ¶
func (o *DeleteTableNotFound) IsRedirect() bool
IsRedirect returns true when this delete table not found response has a 3xx status code
func (*DeleteTableNotFound) IsServerError ¶
func (o *DeleteTableNotFound) IsServerError() bool
IsServerError returns true when this delete table not found response has a 5xx status code
func (*DeleteTableNotFound) IsSuccess ¶
func (o *DeleteTableNotFound) IsSuccess() bool
IsSuccess returns true when this delete table not found response has a 2xx status code
func (*DeleteTableNotFound) String ¶
func (o *DeleteTableNotFound) String() string
type DeleteTableParams ¶
type DeleteTableParams struct { /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Name. Table name */ Name string /* PeerSection. Parent peers name */ PeerSection string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTableParams contains all the parameters to send to the API endpoint
for the delete table operation. Typically these are written to a http.Request.
func NewDeleteTableParams ¶
func NewDeleteTableParams() *DeleteTableParams
NewDeleteTableParams creates a new DeleteTableParams 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 NewDeleteTableParamsWithContext ¶
func NewDeleteTableParamsWithContext(ctx context.Context) *DeleteTableParams
NewDeleteTableParamsWithContext creates a new DeleteTableParams object with the ability to set a context for a request.
func NewDeleteTableParamsWithHTTPClient ¶
func NewDeleteTableParamsWithHTTPClient(client *http.Client) *DeleteTableParams
NewDeleteTableParamsWithHTTPClient creates a new DeleteTableParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTableParamsWithTimeout ¶
func NewDeleteTableParamsWithTimeout(timeout time.Duration) *DeleteTableParams
NewDeleteTableParamsWithTimeout creates a new DeleteTableParams object with the ability to set a timeout on a request.
func (*DeleteTableParams) SetContext ¶
func (o *DeleteTableParams) SetContext(ctx context.Context)
SetContext adds the context to the delete table params
func (*DeleteTableParams) SetDefaults ¶
func (o *DeleteTableParams) SetDefaults()
SetDefaults hydrates default values in the delete table params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTableParams) SetForceReload ¶
func (o *DeleteTableParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the delete table params
func (*DeleteTableParams) SetHTTPClient ¶
func (o *DeleteTableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete table params
func (*DeleteTableParams) SetName ¶
func (o *DeleteTableParams) SetName(name string)
SetName adds the name to the delete table params
func (*DeleteTableParams) SetPeerSection ¶
func (o *DeleteTableParams) SetPeerSection(peerSection string)
SetPeerSection adds the peerSection to the delete table params
func (*DeleteTableParams) SetTimeout ¶
func (o *DeleteTableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete table params
func (*DeleteTableParams) SetTransactionID ¶
func (o *DeleteTableParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the delete table params
func (*DeleteTableParams) SetVersion ¶
func (o *DeleteTableParams) SetVersion(version *int64)
SetVersion adds the version to the delete table params
func (*DeleteTableParams) WithContext ¶
func (o *DeleteTableParams) WithContext(ctx context.Context) *DeleteTableParams
WithContext adds the context to the delete table params
func (*DeleteTableParams) WithDefaults ¶
func (o *DeleteTableParams) WithDefaults() *DeleteTableParams
WithDefaults hydrates default values in the delete table params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTableParams) WithForceReload ¶
func (o *DeleteTableParams) WithForceReload(forceReload *bool) *DeleteTableParams
WithForceReload adds the forceReload to the delete table params
func (*DeleteTableParams) WithHTTPClient ¶
func (o *DeleteTableParams) WithHTTPClient(client *http.Client) *DeleteTableParams
WithHTTPClient adds the HTTPClient to the delete table params
func (*DeleteTableParams) WithName ¶
func (o *DeleteTableParams) WithName(name string) *DeleteTableParams
WithName adds the name to the delete table params
func (*DeleteTableParams) WithPeerSection ¶
func (o *DeleteTableParams) WithPeerSection(peerSection string) *DeleteTableParams
WithPeerSection adds the peerSection to the delete table params
func (*DeleteTableParams) WithTimeout ¶
func (o *DeleteTableParams) WithTimeout(timeout time.Duration) *DeleteTableParams
WithTimeout adds the timeout to the delete table params
func (*DeleteTableParams) WithTransactionID ¶
func (o *DeleteTableParams) WithTransactionID(transactionID *string) *DeleteTableParams
WithTransactionID adds the transactionID to the delete table params
func (*DeleteTableParams) WithVersion ¶
func (o *DeleteTableParams) WithVersion(version *int64) *DeleteTableParams
WithVersion adds the version to the delete table params
func (*DeleteTableParams) WriteToRequest ¶
func (o *DeleteTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTableReader ¶
type DeleteTableReader struct {
// contains filtered or unexported fields
}
DeleteTableReader is a Reader for the DeleteTable structure.
func (*DeleteTableReader) ReadResponse ¶
func (o *DeleteTableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTableDefault ¶
type GetTableDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTableDefault describes a response with status code -1, with default header values.
General Error
func NewGetTableDefault ¶
func NewGetTableDefault(code int) *GetTableDefault
NewGetTableDefault creates a GetTableDefault with default headers values
func (*GetTableDefault) Code ¶
func (o *GetTableDefault) Code() int
Code gets the status code for the get table default response
func (*GetTableDefault) Error ¶
func (o *GetTableDefault) Error() string
func (*GetTableDefault) GetPayload ¶
func (o *GetTableDefault) GetPayload() *models.Error
func (*GetTableDefault) IsClientError ¶
func (o *GetTableDefault) IsClientError() bool
IsClientError returns true when this get table default response has a 4xx status code
func (*GetTableDefault) IsCode ¶
func (o *GetTableDefault) IsCode(code int) bool
IsCode returns true when this get table default response a status code equal to that given
func (*GetTableDefault) IsRedirect ¶
func (o *GetTableDefault) IsRedirect() bool
IsRedirect returns true when this get table default response has a 3xx status code
func (*GetTableDefault) IsServerError ¶
func (o *GetTableDefault) IsServerError() bool
IsServerError returns true when this get table default response has a 5xx status code
func (*GetTableDefault) IsSuccess ¶
func (o *GetTableDefault) IsSuccess() bool
IsSuccess returns true when this get table default response has a 2xx status code
func (*GetTableDefault) String ¶
func (o *GetTableDefault) String() string
type GetTableNotFound ¶
type GetTableNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
GetTableNotFound describes a response with status code 404, with default header values.
The specified resource already exists
func NewGetTableNotFound ¶
func NewGetTableNotFound() *GetTableNotFound
NewGetTableNotFound creates a GetTableNotFound with default headers values
func (*GetTableNotFound) Code ¶
func (o *GetTableNotFound) Code() int
Code gets the status code for the get table not found response
func (*GetTableNotFound) Error ¶
func (o *GetTableNotFound) Error() string
func (*GetTableNotFound) GetPayload ¶
func (o *GetTableNotFound) GetPayload() *models.Error
func (*GetTableNotFound) IsClientError ¶
func (o *GetTableNotFound) IsClientError() bool
IsClientError returns true when this get table not found response has a 4xx status code
func (*GetTableNotFound) IsCode ¶
func (o *GetTableNotFound) IsCode(code int) bool
IsCode returns true when this get table not found response a status code equal to that given
func (*GetTableNotFound) IsRedirect ¶
func (o *GetTableNotFound) IsRedirect() bool
IsRedirect returns true when this get table not found response has a 3xx status code
func (*GetTableNotFound) IsServerError ¶
func (o *GetTableNotFound) IsServerError() bool
IsServerError returns true when this get table not found response has a 5xx status code
func (*GetTableNotFound) IsSuccess ¶
func (o *GetTableNotFound) IsSuccess() bool
IsSuccess returns true when this get table not found response has a 2xx status code
func (*GetTableNotFound) String ¶
func (o *GetTableNotFound) String() string
type GetTableOK ¶
type GetTableOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetTableOKBody }
GetTableOK describes a response with status code 200, with default header values.
Successful operation
func NewGetTableOK ¶
func NewGetTableOK() *GetTableOK
NewGetTableOK creates a GetTableOK with default headers values
func (*GetTableOK) Code ¶
func (o *GetTableOK) Code() int
Code gets the status code for the get table o k response
func (*GetTableOK) Error ¶
func (o *GetTableOK) Error() string
func (*GetTableOK) GetPayload ¶
func (o *GetTableOK) GetPayload() *GetTableOKBody
func (*GetTableOK) IsClientError ¶
func (o *GetTableOK) IsClientError() bool
IsClientError returns true when this get table o k response has a 4xx status code
func (*GetTableOK) IsCode ¶
func (o *GetTableOK) IsCode(code int) bool
IsCode returns true when this get table o k response a status code equal to that given
func (*GetTableOK) IsRedirect ¶
func (o *GetTableOK) IsRedirect() bool
IsRedirect returns true when this get table o k response has a 3xx status code
func (*GetTableOK) IsServerError ¶
func (o *GetTableOK) IsServerError() bool
IsServerError returns true when this get table o k response has a 5xx status code
func (*GetTableOK) IsSuccess ¶
func (o *GetTableOK) IsSuccess() bool
IsSuccess returns true when this get table o k response has a 2xx status code
func (*GetTableOK) String ¶
func (o *GetTableOK) String() string
type GetTableOKBody ¶
type GetTableOKBody struct { // version Version int64 `json:"_version,omitempty"` // data Data *models.Table `json:"data,omitempty"` }
GetTableOKBody get table o k body swagger:model GetTableOKBody
func (*GetTableOKBody) ContextValidate ¶
ContextValidate validate this get table o k body based on the context it is used
func (*GetTableOKBody) MarshalBinary ¶
func (o *GetTableOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTableOKBody) UnmarshalBinary ¶
func (o *GetTableOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTableParams ¶
type GetTableParams struct { /* Name. Table name */ Name string /* PeerSection. Parent peers name */ PeerSection string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTableParams contains all the parameters to send to the API endpoint
for the get table operation. Typically these are written to a http.Request.
func NewGetTableParams ¶
func NewGetTableParams() *GetTableParams
NewGetTableParams creates a new GetTableParams 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 NewGetTableParamsWithContext ¶
func NewGetTableParamsWithContext(ctx context.Context) *GetTableParams
NewGetTableParamsWithContext creates a new GetTableParams object with the ability to set a context for a request.
func NewGetTableParamsWithHTTPClient ¶
func NewGetTableParamsWithHTTPClient(client *http.Client) *GetTableParams
NewGetTableParamsWithHTTPClient creates a new GetTableParams object with the ability to set a custom HTTPClient for a request.
func NewGetTableParamsWithTimeout ¶
func NewGetTableParamsWithTimeout(timeout time.Duration) *GetTableParams
NewGetTableParamsWithTimeout creates a new GetTableParams object with the ability to set a timeout on a request.
func (*GetTableParams) SetContext ¶
func (o *GetTableParams) SetContext(ctx context.Context)
SetContext adds the context to the get table params
func (*GetTableParams) SetDefaults ¶
func (o *GetTableParams) SetDefaults()
SetDefaults hydrates default values in the get table params (not the query body).
All values with no default are reset to their zero value.
func (*GetTableParams) SetHTTPClient ¶
func (o *GetTableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get table params
func (*GetTableParams) SetName ¶
func (o *GetTableParams) SetName(name string)
SetName adds the name to the get table params
func (*GetTableParams) SetPeerSection ¶
func (o *GetTableParams) SetPeerSection(peerSection string)
SetPeerSection adds the peerSection to the get table params
func (*GetTableParams) SetTimeout ¶
func (o *GetTableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get table params
func (*GetTableParams) SetTransactionID ¶
func (o *GetTableParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get table params
func (*GetTableParams) WithContext ¶
func (o *GetTableParams) WithContext(ctx context.Context) *GetTableParams
WithContext adds the context to the get table params
func (*GetTableParams) WithDefaults ¶
func (o *GetTableParams) WithDefaults() *GetTableParams
WithDefaults hydrates default values in the get table params (not the query body).
All values with no default are reset to their zero value.
func (*GetTableParams) WithHTTPClient ¶
func (o *GetTableParams) WithHTTPClient(client *http.Client) *GetTableParams
WithHTTPClient adds the HTTPClient to the get table params
func (*GetTableParams) WithName ¶
func (o *GetTableParams) WithName(name string) *GetTableParams
WithName adds the name to the get table params
func (*GetTableParams) WithPeerSection ¶
func (o *GetTableParams) WithPeerSection(peerSection string) *GetTableParams
WithPeerSection adds the peerSection to the get table params
func (*GetTableParams) WithTimeout ¶
func (o *GetTableParams) WithTimeout(timeout time.Duration) *GetTableParams
WithTimeout adds the timeout to the get table params
func (*GetTableParams) WithTransactionID ¶
func (o *GetTableParams) WithTransactionID(transactionID *string) *GetTableParams
WithTransactionID adds the transactionID to the get table params
func (*GetTableParams) WriteToRequest ¶
func (o *GetTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTableReader ¶
type GetTableReader struct {
// contains filtered or unexported fields
}
GetTableReader is a Reader for the GetTable structure.
func (*GetTableReader) ReadResponse ¶
func (o *GetTableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTablesDefault ¶
type GetTablesDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
GetTablesDefault describes a response with status code -1, with default header values.
General Error
func NewGetTablesDefault ¶
func NewGetTablesDefault(code int) *GetTablesDefault
NewGetTablesDefault creates a GetTablesDefault with default headers values
func (*GetTablesDefault) Code ¶
func (o *GetTablesDefault) Code() int
Code gets the status code for the get tables default response
func (*GetTablesDefault) Error ¶
func (o *GetTablesDefault) Error() string
func (*GetTablesDefault) GetPayload ¶
func (o *GetTablesDefault) GetPayload() *models.Error
func (*GetTablesDefault) IsClientError ¶
func (o *GetTablesDefault) IsClientError() bool
IsClientError returns true when this get tables default response has a 4xx status code
func (*GetTablesDefault) IsCode ¶
func (o *GetTablesDefault) IsCode(code int) bool
IsCode returns true when this get tables default response a status code equal to that given
func (*GetTablesDefault) IsRedirect ¶
func (o *GetTablesDefault) IsRedirect() bool
IsRedirect returns true when this get tables default response has a 3xx status code
func (*GetTablesDefault) IsServerError ¶
func (o *GetTablesDefault) IsServerError() bool
IsServerError returns true when this get tables default response has a 5xx status code
func (*GetTablesDefault) IsSuccess ¶
func (o *GetTablesDefault) IsSuccess() bool
IsSuccess returns true when this get tables default response has a 2xx status code
func (*GetTablesDefault) String ¶
func (o *GetTablesDefault) String() string
type GetTablesOK ¶
type GetTablesOK struct { /* Configuration file version */ ConfigurationVersion string Payload *GetTablesOKBody }
GetTablesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetTablesOK ¶
func NewGetTablesOK() *GetTablesOK
NewGetTablesOK creates a GetTablesOK with default headers values
func (*GetTablesOK) Code ¶
func (o *GetTablesOK) Code() int
Code gets the status code for the get tables o k response
func (*GetTablesOK) Error ¶
func (o *GetTablesOK) Error() string
func (*GetTablesOK) GetPayload ¶
func (o *GetTablesOK) GetPayload() *GetTablesOKBody
func (*GetTablesOK) IsClientError ¶
func (o *GetTablesOK) IsClientError() bool
IsClientError returns true when this get tables o k response has a 4xx status code
func (*GetTablesOK) IsCode ¶
func (o *GetTablesOK) IsCode(code int) bool
IsCode returns true when this get tables o k response a status code equal to that given
func (*GetTablesOK) IsRedirect ¶
func (o *GetTablesOK) IsRedirect() bool
IsRedirect returns true when this get tables o k response has a 3xx status code
func (*GetTablesOK) IsServerError ¶
func (o *GetTablesOK) IsServerError() bool
IsServerError returns true when this get tables o k response has a 5xx status code
func (*GetTablesOK) IsSuccess ¶
func (o *GetTablesOK) IsSuccess() bool
IsSuccess returns true when this get tables o k response has a 2xx status code
func (*GetTablesOK) String ¶
func (o *GetTablesOK) String() string
type GetTablesOKBody ¶
type GetTablesOKBody struct { // version Version int64 `json:"_version,omitempty"` // data // Required: true Data models.Tables `json:"data"` }
GetTablesOKBody get tables o k body swagger:model GetTablesOKBody
func (*GetTablesOKBody) ContextValidate ¶
ContextValidate validate this get tables o k body based on the context it is used
func (*GetTablesOKBody) MarshalBinary ¶
func (o *GetTablesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetTablesOKBody) UnmarshalBinary ¶
func (o *GetTablesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetTablesParams ¶
type GetTablesParams struct { /* PeerSection. Parent peer section name */ PeerSection string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTablesParams contains all the parameters to send to the API endpoint
for the get tables operation. Typically these are written to a http.Request.
func NewGetTablesParams ¶
func NewGetTablesParams() *GetTablesParams
NewGetTablesParams creates a new GetTablesParams 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 NewGetTablesParamsWithContext ¶
func NewGetTablesParamsWithContext(ctx context.Context) *GetTablesParams
NewGetTablesParamsWithContext creates a new GetTablesParams object with the ability to set a context for a request.
func NewGetTablesParamsWithHTTPClient ¶
func NewGetTablesParamsWithHTTPClient(client *http.Client) *GetTablesParams
NewGetTablesParamsWithHTTPClient creates a new GetTablesParams object with the ability to set a custom HTTPClient for a request.
func NewGetTablesParamsWithTimeout ¶
func NewGetTablesParamsWithTimeout(timeout time.Duration) *GetTablesParams
NewGetTablesParamsWithTimeout creates a new GetTablesParams object with the ability to set a timeout on a request.
func (*GetTablesParams) SetContext ¶
func (o *GetTablesParams) SetContext(ctx context.Context)
SetContext adds the context to the get tables params
func (*GetTablesParams) SetDefaults ¶
func (o *GetTablesParams) SetDefaults()
SetDefaults hydrates default values in the get tables params (not the query body).
All values with no default are reset to their zero value.
func (*GetTablesParams) SetHTTPClient ¶
func (o *GetTablesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tables params
func (*GetTablesParams) SetPeerSection ¶
func (o *GetTablesParams) SetPeerSection(peerSection string)
SetPeerSection adds the peerSection to the get tables params
func (*GetTablesParams) SetTimeout ¶
func (o *GetTablesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tables params
func (*GetTablesParams) SetTransactionID ¶
func (o *GetTablesParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the get tables params
func (*GetTablesParams) WithContext ¶
func (o *GetTablesParams) WithContext(ctx context.Context) *GetTablesParams
WithContext adds the context to the get tables params
func (*GetTablesParams) WithDefaults ¶
func (o *GetTablesParams) WithDefaults() *GetTablesParams
WithDefaults hydrates default values in the get tables params (not the query body).
All values with no default are reset to their zero value.
func (*GetTablesParams) WithHTTPClient ¶
func (o *GetTablesParams) WithHTTPClient(client *http.Client) *GetTablesParams
WithHTTPClient adds the HTTPClient to the get tables params
func (*GetTablesParams) WithPeerSection ¶
func (o *GetTablesParams) WithPeerSection(peerSection string) *GetTablesParams
WithPeerSection adds the peerSection to the get tables params
func (*GetTablesParams) WithTimeout ¶
func (o *GetTablesParams) WithTimeout(timeout time.Duration) *GetTablesParams
WithTimeout adds the timeout to the get tables params
func (*GetTablesParams) WithTransactionID ¶
func (o *GetTablesParams) WithTransactionID(transactionID *string) *GetTablesParams
WithTransactionID adds the transactionID to the get tables params
func (*GetTablesParams) WriteToRequest ¶
func (o *GetTablesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTablesReader ¶
type GetTablesReader struct {
// contains filtered or unexported fields
}
GetTablesReader is a Reader for the GetTables structure.
func (*GetTablesReader) ReadResponse ¶
func (o *GetTablesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReplaceTableAccepted ¶
type ReplaceTableAccepted struct { /* ID of the requested reload */ ReloadID string Payload *models.Table }
ReplaceTableAccepted describes a response with status code 202, with default header values.
Configuration change accepted and reload requested
func NewReplaceTableAccepted ¶
func NewReplaceTableAccepted() *ReplaceTableAccepted
NewReplaceTableAccepted creates a ReplaceTableAccepted with default headers values
func (*ReplaceTableAccepted) Code ¶
func (o *ReplaceTableAccepted) Code() int
Code gets the status code for the replace table accepted response
func (*ReplaceTableAccepted) Error ¶
func (o *ReplaceTableAccepted) Error() string
func (*ReplaceTableAccepted) GetPayload ¶
func (o *ReplaceTableAccepted) GetPayload() *models.Table
func (*ReplaceTableAccepted) IsClientError ¶
func (o *ReplaceTableAccepted) IsClientError() bool
IsClientError returns true when this replace table accepted response has a 4xx status code
func (*ReplaceTableAccepted) IsCode ¶
func (o *ReplaceTableAccepted) IsCode(code int) bool
IsCode returns true when this replace table accepted response a status code equal to that given
func (*ReplaceTableAccepted) IsRedirect ¶
func (o *ReplaceTableAccepted) IsRedirect() bool
IsRedirect returns true when this replace table accepted response has a 3xx status code
func (*ReplaceTableAccepted) IsServerError ¶
func (o *ReplaceTableAccepted) IsServerError() bool
IsServerError returns true when this replace table accepted response has a 5xx status code
func (*ReplaceTableAccepted) IsSuccess ¶
func (o *ReplaceTableAccepted) IsSuccess() bool
IsSuccess returns true when this replace table accepted response has a 2xx status code
func (*ReplaceTableAccepted) String ¶
func (o *ReplaceTableAccepted) String() string
type ReplaceTableBadRequest ¶
type ReplaceTableBadRequest struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTableBadRequest describes a response with status code 400, with default header values.
Bad request
func NewReplaceTableBadRequest ¶
func NewReplaceTableBadRequest() *ReplaceTableBadRequest
NewReplaceTableBadRequest creates a ReplaceTableBadRequest with default headers values
func (*ReplaceTableBadRequest) Code ¶
func (o *ReplaceTableBadRequest) Code() int
Code gets the status code for the replace table bad request response
func (*ReplaceTableBadRequest) Error ¶
func (o *ReplaceTableBadRequest) Error() string
func (*ReplaceTableBadRequest) GetPayload ¶
func (o *ReplaceTableBadRequest) GetPayload() *models.Error
func (*ReplaceTableBadRequest) IsClientError ¶
func (o *ReplaceTableBadRequest) IsClientError() bool
IsClientError returns true when this replace table bad request response has a 4xx status code
func (*ReplaceTableBadRequest) IsCode ¶
func (o *ReplaceTableBadRequest) IsCode(code int) bool
IsCode returns true when this replace table bad request response a status code equal to that given
func (*ReplaceTableBadRequest) IsRedirect ¶
func (o *ReplaceTableBadRequest) IsRedirect() bool
IsRedirect returns true when this replace table bad request response has a 3xx status code
func (*ReplaceTableBadRequest) IsServerError ¶
func (o *ReplaceTableBadRequest) IsServerError() bool
IsServerError returns true when this replace table bad request response has a 5xx status code
func (*ReplaceTableBadRequest) IsSuccess ¶
func (o *ReplaceTableBadRequest) IsSuccess() bool
IsSuccess returns true when this replace table bad request response has a 2xx status code
func (*ReplaceTableBadRequest) String ¶
func (o *ReplaceTableBadRequest) String() string
type ReplaceTableDefault ¶
type ReplaceTableDefault struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error // contains filtered or unexported fields }
ReplaceTableDefault describes a response with status code -1, with default header values.
General Error
func NewReplaceTableDefault ¶
func NewReplaceTableDefault(code int) *ReplaceTableDefault
NewReplaceTableDefault creates a ReplaceTableDefault with default headers values
func (*ReplaceTableDefault) Code ¶
func (o *ReplaceTableDefault) Code() int
Code gets the status code for the replace table default response
func (*ReplaceTableDefault) Error ¶
func (o *ReplaceTableDefault) Error() string
func (*ReplaceTableDefault) GetPayload ¶
func (o *ReplaceTableDefault) GetPayload() *models.Error
func (*ReplaceTableDefault) IsClientError ¶
func (o *ReplaceTableDefault) IsClientError() bool
IsClientError returns true when this replace table default response has a 4xx status code
func (*ReplaceTableDefault) IsCode ¶
func (o *ReplaceTableDefault) IsCode(code int) bool
IsCode returns true when this replace table default response a status code equal to that given
func (*ReplaceTableDefault) IsRedirect ¶
func (o *ReplaceTableDefault) IsRedirect() bool
IsRedirect returns true when this replace table default response has a 3xx status code
func (*ReplaceTableDefault) IsServerError ¶
func (o *ReplaceTableDefault) IsServerError() bool
IsServerError returns true when this replace table default response has a 5xx status code
func (*ReplaceTableDefault) IsSuccess ¶
func (o *ReplaceTableDefault) IsSuccess() bool
IsSuccess returns true when this replace table default response has a 2xx status code
func (*ReplaceTableDefault) String ¶
func (o *ReplaceTableDefault) String() string
type ReplaceTableNotFound ¶
type ReplaceTableNotFound struct { /* Configuration file version */ ConfigurationVersion string Payload *models.Error }
ReplaceTableNotFound describes a response with status code 404, with default header values.
The specified resource was not found
func NewReplaceTableNotFound ¶
func NewReplaceTableNotFound() *ReplaceTableNotFound
NewReplaceTableNotFound creates a ReplaceTableNotFound with default headers values
func (*ReplaceTableNotFound) Code ¶
func (o *ReplaceTableNotFound) Code() int
Code gets the status code for the replace table not found response
func (*ReplaceTableNotFound) Error ¶
func (o *ReplaceTableNotFound) Error() string
func (*ReplaceTableNotFound) GetPayload ¶
func (o *ReplaceTableNotFound) GetPayload() *models.Error
func (*ReplaceTableNotFound) IsClientError ¶
func (o *ReplaceTableNotFound) IsClientError() bool
IsClientError returns true when this replace table not found response has a 4xx status code
func (*ReplaceTableNotFound) IsCode ¶
func (o *ReplaceTableNotFound) IsCode(code int) bool
IsCode returns true when this replace table not found response a status code equal to that given
func (*ReplaceTableNotFound) IsRedirect ¶
func (o *ReplaceTableNotFound) IsRedirect() bool
IsRedirect returns true when this replace table not found response has a 3xx status code
func (*ReplaceTableNotFound) IsServerError ¶
func (o *ReplaceTableNotFound) IsServerError() bool
IsServerError returns true when this replace table not found response has a 5xx status code
func (*ReplaceTableNotFound) IsSuccess ¶
func (o *ReplaceTableNotFound) IsSuccess() bool
IsSuccess returns true when this replace table not found response has a 2xx status code
func (*ReplaceTableNotFound) String ¶
func (o *ReplaceTableNotFound) String() string
type ReplaceTableOK ¶
ReplaceTableOK describes a response with status code 200, with default header values.
Table replaced
func NewReplaceTableOK ¶
func NewReplaceTableOK() *ReplaceTableOK
NewReplaceTableOK creates a ReplaceTableOK with default headers values
func (*ReplaceTableOK) Code ¶
func (o *ReplaceTableOK) Code() int
Code gets the status code for the replace table o k response
func (*ReplaceTableOK) Error ¶
func (o *ReplaceTableOK) Error() string
func (*ReplaceTableOK) GetPayload ¶
func (o *ReplaceTableOK) GetPayload() *models.Table
func (*ReplaceTableOK) IsClientError ¶
func (o *ReplaceTableOK) IsClientError() bool
IsClientError returns true when this replace table o k response has a 4xx status code
func (*ReplaceTableOK) IsCode ¶
func (o *ReplaceTableOK) IsCode(code int) bool
IsCode returns true when this replace table o k response a status code equal to that given
func (*ReplaceTableOK) IsRedirect ¶
func (o *ReplaceTableOK) IsRedirect() bool
IsRedirect returns true when this replace table o k response has a 3xx status code
func (*ReplaceTableOK) IsServerError ¶
func (o *ReplaceTableOK) IsServerError() bool
IsServerError returns true when this replace table o k response has a 5xx status code
func (*ReplaceTableOK) IsSuccess ¶
func (o *ReplaceTableOK) IsSuccess() bool
IsSuccess returns true when this replace table o k response has a 2xx status code
func (*ReplaceTableOK) String ¶
func (o *ReplaceTableOK) String() string
type ReplaceTableParams ¶
type ReplaceTableParams struct { // Data. Data *models.Table /* ForceReload. If set, do a force reload, do not wait for the configured reload-delay. Cannot be used when transaction is specified, as changes in transaction are not applied directly to configuration. */ ForceReload *bool /* Name. Table name */ Name string /* PeerSection. Parent peers name */ PeerSection string /* TransactionID. ID of the transaction where we want to add the operation. Cannot be used when version is specified. */ TransactionID *string /* Version. Version used for checking configuration version. Cannot be used when transaction is specified, transaction has it's own version. */ Version *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReplaceTableParams contains all the parameters to send to the API endpoint
for the replace table operation. Typically these are written to a http.Request.
func NewReplaceTableParams ¶
func NewReplaceTableParams() *ReplaceTableParams
NewReplaceTableParams creates a new ReplaceTableParams 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 NewReplaceTableParamsWithContext ¶
func NewReplaceTableParamsWithContext(ctx context.Context) *ReplaceTableParams
NewReplaceTableParamsWithContext creates a new ReplaceTableParams object with the ability to set a context for a request.
func NewReplaceTableParamsWithHTTPClient ¶
func NewReplaceTableParamsWithHTTPClient(client *http.Client) *ReplaceTableParams
NewReplaceTableParamsWithHTTPClient creates a new ReplaceTableParams object with the ability to set a custom HTTPClient for a request.
func NewReplaceTableParamsWithTimeout ¶
func NewReplaceTableParamsWithTimeout(timeout time.Duration) *ReplaceTableParams
NewReplaceTableParamsWithTimeout creates a new ReplaceTableParams object with the ability to set a timeout on a request.
func (*ReplaceTableParams) SetContext ¶
func (o *ReplaceTableParams) SetContext(ctx context.Context)
SetContext adds the context to the replace table params
func (*ReplaceTableParams) SetData ¶
func (o *ReplaceTableParams) SetData(data *models.Table)
SetData adds the data to the replace table params
func (*ReplaceTableParams) SetDefaults ¶
func (o *ReplaceTableParams) SetDefaults()
SetDefaults hydrates default values in the replace table params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceTableParams) SetForceReload ¶
func (o *ReplaceTableParams) SetForceReload(forceReload *bool)
SetForceReload adds the forceReload to the replace table params
func (*ReplaceTableParams) SetHTTPClient ¶
func (o *ReplaceTableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the replace table params
func (*ReplaceTableParams) SetName ¶
func (o *ReplaceTableParams) SetName(name string)
SetName adds the name to the replace table params
func (*ReplaceTableParams) SetPeerSection ¶
func (o *ReplaceTableParams) SetPeerSection(peerSection string)
SetPeerSection adds the peerSection to the replace table params
func (*ReplaceTableParams) SetTimeout ¶
func (o *ReplaceTableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the replace table params
func (*ReplaceTableParams) SetTransactionID ¶
func (o *ReplaceTableParams) SetTransactionID(transactionID *string)
SetTransactionID adds the transactionId to the replace table params
func (*ReplaceTableParams) SetVersion ¶
func (o *ReplaceTableParams) SetVersion(version *int64)
SetVersion adds the version to the replace table params
func (*ReplaceTableParams) WithContext ¶
func (o *ReplaceTableParams) WithContext(ctx context.Context) *ReplaceTableParams
WithContext adds the context to the replace table params
func (*ReplaceTableParams) WithData ¶
func (o *ReplaceTableParams) WithData(data *models.Table) *ReplaceTableParams
WithData adds the data to the replace table params
func (*ReplaceTableParams) WithDefaults ¶
func (o *ReplaceTableParams) WithDefaults() *ReplaceTableParams
WithDefaults hydrates default values in the replace table params (not the query body).
All values with no default are reset to their zero value.
func (*ReplaceTableParams) WithForceReload ¶
func (o *ReplaceTableParams) WithForceReload(forceReload *bool) *ReplaceTableParams
WithForceReload adds the forceReload to the replace table params
func (*ReplaceTableParams) WithHTTPClient ¶
func (o *ReplaceTableParams) WithHTTPClient(client *http.Client) *ReplaceTableParams
WithHTTPClient adds the HTTPClient to the replace table params
func (*ReplaceTableParams) WithName ¶
func (o *ReplaceTableParams) WithName(name string) *ReplaceTableParams
WithName adds the name to the replace table params
func (*ReplaceTableParams) WithPeerSection ¶
func (o *ReplaceTableParams) WithPeerSection(peerSection string) *ReplaceTableParams
WithPeerSection adds the peerSection to the replace table params
func (*ReplaceTableParams) WithTimeout ¶
func (o *ReplaceTableParams) WithTimeout(timeout time.Duration) *ReplaceTableParams
WithTimeout adds the timeout to the replace table params
func (*ReplaceTableParams) WithTransactionID ¶
func (o *ReplaceTableParams) WithTransactionID(transactionID *string) *ReplaceTableParams
WithTransactionID adds the transactionID to the replace table params
func (*ReplaceTableParams) WithVersion ¶
func (o *ReplaceTableParams) WithVersion(version *int64) *ReplaceTableParams
WithVersion adds the version to the replace table params
func (*ReplaceTableParams) WriteToRequest ¶
func (o *ReplaceTableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReplaceTableReader ¶
type ReplaceTableReader struct {
// contains filtered or unexported fields
}
ReplaceTableReader is a Reader for the ReplaceTable structure.
func (*ReplaceTableReader) ReadResponse ¶
func (o *ReplaceTableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.