tablet_server_management

package
v0.0.0-...-af0b780 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 9 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 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

WithCUUID adds the cUUID to the list tablet servers params

func (*ListTabletServersParams) WithContext

WithContext adds the context to the list tablet servers params

func (*ListTabletServersParams) WithDefaults

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

WithTimeout adds the timeout to the list tablet servers params

func (*ListTabletServersParams) WithUniUUID

WithUniUUID adds the uniUUID to the list tablet servers params

func (*ListTabletServersParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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