Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ListTabletServersOK
- type ListTabletServersParams
- func NewListTabletServersParams() *ListTabletServersParams
- func NewListTabletServersParamsWithContext(ctx context.Context) *ListTabletServersParams
- func NewListTabletServersParamsWithHTTPClient(client *http.Client) *ListTabletServersParams
- func NewListTabletServersParamsWithTimeout(timeout time.Duration) *ListTabletServersParams
- func (o *ListTabletServersParams) SetCUUID(cUUID strfmt.UUID)
- func (o *ListTabletServersParams) SetContext(ctx context.Context)
- func (o *ListTabletServersParams) SetDefaults()
- func (o *ListTabletServersParams) SetHTTPClient(client *http.Client)
- func (o *ListTabletServersParams) SetTimeout(timeout time.Duration)
- func (o *ListTabletServersParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *ListTabletServersParams) WithCUUID(cUUID strfmt.UUID) *ListTabletServersParams
- func (o *ListTabletServersParams) WithContext(ctx context.Context) *ListTabletServersParams
- func (o *ListTabletServersParams) WithDefaults() *ListTabletServersParams
- func (o *ListTabletServersParams) WithHTTPClient(client *http.Client) *ListTabletServersParams
- func (o *ListTabletServersParams) WithTimeout(timeout time.Duration) *ListTabletServersParams
- func (o *ListTabletServersParams) WithUniUUID(uniUUID strfmt.UUID) *ListTabletServersParams
- func (o *ListTabletServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTabletServersReader
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 tablet server management API
func (*Client) ListTabletServers ¶
func (a *Client) ListTabletServers(params *ListTabletServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTabletServersOK, error)
ListTabletServers lists all tablet servers
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 { ListTabletServers(params *ListTabletServersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListTabletServersOK, 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 tablet server management API client.
type ListTabletServersOK ¶
type ListTabletServersOK struct {
Payload map[string]interface{}
}
ListTabletServersOK describes a response with status code 200, with default header values.
successful operation
func NewListTabletServersOK ¶
func NewListTabletServersOK() *ListTabletServersOK
NewListTabletServersOK creates a ListTabletServersOK with default headers values
func (*ListTabletServersOK) Error ¶
func (o *ListTabletServersOK) Error() string
func (*ListTabletServersOK) GetPayload ¶
func (o *ListTabletServersOK) GetPayload() map[string]interface{}
type ListTabletServersParams ¶
type ListTabletServersParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListTabletServersParams contains all the parameters to send to the API endpoint
for the list tablet servers operation. Typically these are written to a http.Request.
func NewListTabletServersParams ¶
func NewListTabletServersParams() *ListTabletServersParams
NewListTabletServersParams creates a new ListTabletServersParams 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 NewListTabletServersParamsWithContext ¶
func NewListTabletServersParamsWithContext(ctx context.Context) *ListTabletServersParams
NewListTabletServersParamsWithContext creates a new ListTabletServersParams object with the ability to set a context for a request.
func NewListTabletServersParamsWithHTTPClient ¶
func NewListTabletServersParamsWithHTTPClient(client *http.Client) *ListTabletServersParams
NewListTabletServersParamsWithHTTPClient creates a new ListTabletServersParams object with the ability to set a custom HTTPClient for a request.
func NewListTabletServersParamsWithTimeout ¶
func NewListTabletServersParamsWithTimeout(timeout time.Duration) *ListTabletServersParams
NewListTabletServersParamsWithTimeout creates a new ListTabletServersParams object with the ability to set a timeout on a request.
func (*ListTabletServersParams) SetCUUID ¶
func (o *ListTabletServersParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the list tablet servers params
func (*ListTabletServersParams) SetContext ¶
func (o *ListTabletServersParams) SetContext(ctx context.Context)
SetContext adds the context to the list tablet servers params
func (*ListTabletServersParams) SetDefaults ¶
func (o *ListTabletServersParams) SetDefaults()
SetDefaults hydrates default values in the list tablet servers params (not the query body).
All values with no default are reset to their zero value.
func (*ListTabletServersParams) SetHTTPClient ¶
func (o *ListTabletServersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list tablet servers params
func (*ListTabletServersParams) SetTimeout ¶
func (o *ListTabletServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list tablet servers params
func (*ListTabletServersParams) SetUniUUID ¶
func (o *ListTabletServersParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the list tablet servers params
func (*ListTabletServersParams) WithCUUID ¶
func (o *ListTabletServersParams) WithCUUID(cUUID strfmt.UUID) *ListTabletServersParams
WithCUUID adds the cUUID to the list tablet servers params
func (*ListTabletServersParams) WithContext ¶
func (o *ListTabletServersParams) WithContext(ctx context.Context) *ListTabletServersParams
WithContext adds the context to the list tablet servers params
func (*ListTabletServersParams) WithDefaults ¶
func (o *ListTabletServersParams) WithDefaults() *ListTabletServersParams
WithDefaults hydrates default values in the list tablet servers params (not the query body).
All values with no default are reset to their zero value.
func (*ListTabletServersParams) WithHTTPClient ¶
func (o *ListTabletServersParams) WithHTTPClient(client *http.Client) *ListTabletServersParams
WithHTTPClient adds the HTTPClient to the list tablet servers params
func (*ListTabletServersParams) WithTimeout ¶
func (o *ListTabletServersParams) WithTimeout(timeout time.Duration) *ListTabletServersParams
WithTimeout adds the timeout to the list tablet servers params
func (*ListTabletServersParams) WithUniUUID ¶
func (o *ListTabletServersParams) WithUniUUID(uniUUID strfmt.UUID) *ListTabletServersParams
WithUniUUID adds the uniUUID to the list tablet servers params
func (*ListTabletServersParams) WriteToRequest ¶
func (o *ListTabletServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTabletServersReader ¶
type ListTabletServersReader struct {
// contains filtered or unexported fields
}
ListTabletServersReader is a Reader for the ListTabletServers structure.
func (*ListTabletServersReader) ReadResponse ¶
func (o *ListTabletServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.