Documentation ¶
Index ¶
- type Client
- func (a *Client) GetMasterAddresses(params *GetMasterAddressesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMasterAddressesOK, error)
- func (a *Client) GetRedisServerAddresses(params *GetRedisServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRedisServerAddressesOK, error)
- func (a *Client) GetUniverseMasterNodes(params *GetUniverseMasterNodesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUniverseMasterNodesOK, error)
- func (a *Client) GetYQLServerAddresses(params *GetYQLServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetYQLServerAddressesOK, error)
- func (a *Client) GetYSQLServerAddresses(params *GetYSQLServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetYSQLServerAddressesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetMasterAddressesOK
- type GetMasterAddressesParams
- func NewGetMasterAddressesParams() *GetMasterAddressesParams
- func NewGetMasterAddressesParamsWithContext(ctx context.Context) *GetMasterAddressesParams
- func NewGetMasterAddressesParamsWithHTTPClient(client *http.Client) *GetMasterAddressesParams
- func NewGetMasterAddressesParamsWithTimeout(timeout time.Duration) *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetMasterAddressesParams) SetContext(ctx context.Context)
- func (o *GetMasterAddressesParams) SetDefaults()
- func (o *GetMasterAddressesParams) SetDummy(dummy *models.DummyBody)
- func (o *GetMasterAddressesParams) SetHTTPClient(client *http.Client)
- func (o *GetMasterAddressesParams) SetTimeout(timeout time.Duration)
- func (o *GetMasterAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *GetMasterAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) WithContext(ctx context.Context) *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) WithDefaults() *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) WithDummy(dummy *models.DummyBody) *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) WithHTTPClient(client *http.Client) *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) WithTimeout(timeout time.Duration) *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetMasterAddressesParams
- func (o *GetMasterAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMasterAddressesReader
- type GetRedisServerAddressesOK
- type GetRedisServerAddressesParams
- func NewGetRedisServerAddressesParams() *GetRedisServerAddressesParams
- func NewGetRedisServerAddressesParamsWithContext(ctx context.Context) *GetRedisServerAddressesParams
- func NewGetRedisServerAddressesParamsWithHTTPClient(client *http.Client) *GetRedisServerAddressesParams
- func NewGetRedisServerAddressesParamsWithTimeout(timeout time.Duration) *GetRedisServerAddressesParams
- func (o *GetRedisServerAddressesParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetRedisServerAddressesParams) SetContext(ctx context.Context)
- func (o *GetRedisServerAddressesParams) SetDefaults()
- func (o *GetRedisServerAddressesParams) SetHTTPClient(client *http.Client)
- func (o *GetRedisServerAddressesParams) SetTimeout(timeout time.Duration)
- func (o *GetRedisServerAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *GetRedisServerAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetRedisServerAddressesParams
- func (o *GetRedisServerAddressesParams) WithContext(ctx context.Context) *GetRedisServerAddressesParams
- func (o *GetRedisServerAddressesParams) WithDefaults() *GetRedisServerAddressesParams
- func (o *GetRedisServerAddressesParams) WithHTTPClient(client *http.Client) *GetRedisServerAddressesParams
- func (o *GetRedisServerAddressesParams) WithTimeout(timeout time.Duration) *GetRedisServerAddressesParams
- func (o *GetRedisServerAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetRedisServerAddressesParams
- func (o *GetRedisServerAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRedisServerAddressesReader
- type GetUniverseMasterNodesOK
- type GetUniverseMasterNodesParams
- func NewGetUniverseMasterNodesParams() *GetUniverseMasterNodesParams
- func NewGetUniverseMasterNodesParamsWithContext(ctx context.Context) *GetUniverseMasterNodesParams
- func NewGetUniverseMasterNodesParamsWithHTTPClient(client *http.Client) *GetUniverseMasterNodesParams
- func NewGetUniverseMasterNodesParamsWithTimeout(timeout time.Duration) *GetUniverseMasterNodesParams
- func (o *GetUniverseMasterNodesParams) SetContext(ctx context.Context)
- func (o *GetUniverseMasterNodesParams) SetDefaults()
- func (o *GetUniverseMasterNodesParams) SetHTTPClient(client *http.Client)
- func (o *GetUniverseMasterNodesParams) SetTimeout(timeout time.Duration)
- func (o *GetUniverseMasterNodesParams) SetUniverseUUID(universeUUID strfmt.UUID)
- func (o *GetUniverseMasterNodesParams) WithContext(ctx context.Context) *GetUniverseMasterNodesParams
- func (o *GetUniverseMasterNodesParams) WithDefaults() *GetUniverseMasterNodesParams
- func (o *GetUniverseMasterNodesParams) WithHTTPClient(client *http.Client) *GetUniverseMasterNodesParams
- func (o *GetUniverseMasterNodesParams) WithTimeout(timeout time.Duration) *GetUniverseMasterNodesParams
- func (o *GetUniverseMasterNodesParams) WithUniverseUUID(universeUUID strfmt.UUID) *GetUniverseMasterNodesParams
- func (o *GetUniverseMasterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUniverseMasterNodesReader
- type GetYQLServerAddressesOK
- type GetYQLServerAddressesParams
- func NewGetYQLServerAddressesParams() *GetYQLServerAddressesParams
- func NewGetYQLServerAddressesParamsWithContext(ctx context.Context) *GetYQLServerAddressesParams
- func NewGetYQLServerAddressesParamsWithHTTPClient(client *http.Client) *GetYQLServerAddressesParams
- func NewGetYQLServerAddressesParamsWithTimeout(timeout time.Duration) *GetYQLServerAddressesParams
- func (o *GetYQLServerAddressesParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetYQLServerAddressesParams) SetContext(ctx context.Context)
- func (o *GetYQLServerAddressesParams) SetDefaults()
- func (o *GetYQLServerAddressesParams) SetHTTPClient(client *http.Client)
- func (o *GetYQLServerAddressesParams) SetTimeout(timeout time.Duration)
- func (o *GetYQLServerAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *GetYQLServerAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetYQLServerAddressesParams
- func (o *GetYQLServerAddressesParams) WithContext(ctx context.Context) *GetYQLServerAddressesParams
- func (o *GetYQLServerAddressesParams) WithDefaults() *GetYQLServerAddressesParams
- func (o *GetYQLServerAddressesParams) WithHTTPClient(client *http.Client) *GetYQLServerAddressesParams
- func (o *GetYQLServerAddressesParams) WithTimeout(timeout time.Duration) *GetYQLServerAddressesParams
- func (o *GetYQLServerAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetYQLServerAddressesParams
- func (o *GetYQLServerAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetYQLServerAddressesReader
- type GetYSQLServerAddressesOK
- type GetYSQLServerAddressesParams
- func NewGetYSQLServerAddressesParams() *GetYSQLServerAddressesParams
- func NewGetYSQLServerAddressesParamsWithContext(ctx context.Context) *GetYSQLServerAddressesParams
- func NewGetYSQLServerAddressesParamsWithHTTPClient(client *http.Client) *GetYSQLServerAddressesParams
- func NewGetYSQLServerAddressesParamsWithTimeout(timeout time.Duration) *GetYSQLServerAddressesParams
- func (o *GetYSQLServerAddressesParams) SetCUUID(cUUID strfmt.UUID)
- func (o *GetYSQLServerAddressesParams) SetContext(ctx context.Context)
- func (o *GetYSQLServerAddressesParams) SetDefaults()
- func (o *GetYSQLServerAddressesParams) SetHTTPClient(client *http.Client)
- func (o *GetYSQLServerAddressesParams) SetTimeout(timeout time.Duration)
- func (o *GetYSQLServerAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
- func (o *GetYSQLServerAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetYSQLServerAddressesParams
- func (o *GetYSQLServerAddressesParams) WithContext(ctx context.Context) *GetYSQLServerAddressesParams
- func (o *GetYSQLServerAddressesParams) WithDefaults() *GetYSQLServerAddressesParams
- func (o *GetYSQLServerAddressesParams) WithHTTPClient(client *http.Client) *GetYSQLServerAddressesParams
- func (o *GetYSQLServerAddressesParams) WithTimeout(timeout time.Duration) *GetYSQLServerAddressesParams
- func (o *GetYSQLServerAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetYSQLServerAddressesParams
- func (o *GetYSQLServerAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetYSQLServerAddressesReader
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 universe node metadata metamaster API
func (*Client) GetMasterAddresses ¶
func (a *Client) GetMasterAddresses(params *GetMasterAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMasterAddressesOK, error)
GetMasterAddresses lists a master node s addresses
func (*Client) GetRedisServerAddresses ¶
func (a *Client) GetRedisServerAddresses(params *GetRedisServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRedisServerAddressesOK, error)
GetRedisServerAddresses lists a r e d i s server s addresses
func (*Client) GetUniverseMasterNodes ¶
func (a *Client) GetUniverseMasterNodes(params *GetUniverseMasterNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUniverseMasterNodesOK, error)
GetUniverseMasterNodes lists a universe s master nodes
func (*Client) GetYQLServerAddresses ¶
func (a *Client) GetYQLServerAddresses(params *GetYQLServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetYQLServerAddressesOK, error)
GetYQLServerAddresses lists a y q l server s addresses
func (*Client) GetYSQLServerAddresses ¶
func (a *Client) GetYSQLServerAddresses(params *GetYSQLServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetYSQLServerAddressesOK, error)
GetYSQLServerAddresses lists a y SQL server s addresses
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 { GetMasterAddresses(params *GetMasterAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMasterAddressesOK, error) GetRedisServerAddresses(params *GetRedisServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRedisServerAddressesOK, error) GetUniverseMasterNodes(params *GetUniverseMasterNodesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUniverseMasterNodesOK, error) GetYQLServerAddresses(params *GetYQLServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetYQLServerAddressesOK, error) GetYSQLServerAddresses(params *GetYSQLServerAddressesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetYSQLServerAddressesOK, 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 universe node metadata metamaster API client.
type GetMasterAddressesOK ¶
type GetMasterAddressesOK struct {
Payload string
}
GetMasterAddressesOK describes a response with status code 200, with default header values.
successful operation
func NewGetMasterAddressesOK ¶
func NewGetMasterAddressesOK() *GetMasterAddressesOK
NewGetMasterAddressesOK creates a GetMasterAddressesOK with default headers values
func (*GetMasterAddressesOK) Error ¶
func (o *GetMasterAddressesOK) Error() string
func (*GetMasterAddressesOK) GetPayload ¶
func (o *GetMasterAddressesOK) GetPayload() string
type GetMasterAddressesParams ¶
type GetMasterAddressesParams struct { /* Dummy. Dummy value to work around platform bug PLAT-2076 */ Dummy *models.DummyBody // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMasterAddressesParams contains all the parameters to send to the API endpoint
for the get master addresses operation. Typically these are written to a http.Request.
func NewGetMasterAddressesParams ¶
func NewGetMasterAddressesParams() *GetMasterAddressesParams
NewGetMasterAddressesParams creates a new GetMasterAddressesParams 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 NewGetMasterAddressesParamsWithContext ¶
func NewGetMasterAddressesParamsWithContext(ctx context.Context) *GetMasterAddressesParams
NewGetMasterAddressesParamsWithContext creates a new GetMasterAddressesParams object with the ability to set a context for a request.
func NewGetMasterAddressesParamsWithHTTPClient ¶
func NewGetMasterAddressesParamsWithHTTPClient(client *http.Client) *GetMasterAddressesParams
NewGetMasterAddressesParamsWithHTTPClient creates a new GetMasterAddressesParams object with the ability to set a custom HTTPClient for a request.
func NewGetMasterAddressesParamsWithTimeout ¶
func NewGetMasterAddressesParamsWithTimeout(timeout time.Duration) *GetMasterAddressesParams
NewGetMasterAddressesParamsWithTimeout creates a new GetMasterAddressesParams object with the ability to set a timeout on a request.
func (*GetMasterAddressesParams) SetCUUID ¶
func (o *GetMasterAddressesParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get master addresses params
func (*GetMasterAddressesParams) SetContext ¶
func (o *GetMasterAddressesParams) SetContext(ctx context.Context)
SetContext adds the context to the get master addresses params
func (*GetMasterAddressesParams) SetDefaults ¶
func (o *GetMasterAddressesParams) SetDefaults()
SetDefaults hydrates default values in the get master addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetMasterAddressesParams) SetDummy ¶
func (o *GetMasterAddressesParams) SetDummy(dummy *models.DummyBody)
SetDummy adds the dummy to the get master addresses params
func (*GetMasterAddressesParams) SetHTTPClient ¶
func (o *GetMasterAddressesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get master addresses params
func (*GetMasterAddressesParams) SetTimeout ¶
func (o *GetMasterAddressesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get master addresses params
func (*GetMasterAddressesParams) SetUniUUID ¶
func (o *GetMasterAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the get master addresses params
func (*GetMasterAddressesParams) WithCUUID ¶
func (o *GetMasterAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetMasterAddressesParams
WithCUUID adds the cUUID to the get master addresses params
func (*GetMasterAddressesParams) WithContext ¶
func (o *GetMasterAddressesParams) WithContext(ctx context.Context) *GetMasterAddressesParams
WithContext adds the context to the get master addresses params
func (*GetMasterAddressesParams) WithDefaults ¶
func (o *GetMasterAddressesParams) WithDefaults() *GetMasterAddressesParams
WithDefaults hydrates default values in the get master addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetMasterAddressesParams) WithDummy ¶
func (o *GetMasterAddressesParams) WithDummy(dummy *models.DummyBody) *GetMasterAddressesParams
WithDummy adds the dummy to the get master addresses params
func (*GetMasterAddressesParams) WithHTTPClient ¶
func (o *GetMasterAddressesParams) WithHTTPClient(client *http.Client) *GetMasterAddressesParams
WithHTTPClient adds the HTTPClient to the get master addresses params
func (*GetMasterAddressesParams) WithTimeout ¶
func (o *GetMasterAddressesParams) WithTimeout(timeout time.Duration) *GetMasterAddressesParams
WithTimeout adds the timeout to the get master addresses params
func (*GetMasterAddressesParams) WithUniUUID ¶
func (o *GetMasterAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetMasterAddressesParams
WithUniUUID adds the uniUUID to the get master addresses params
func (*GetMasterAddressesParams) WriteToRequest ¶
func (o *GetMasterAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMasterAddressesReader ¶
type GetMasterAddressesReader struct {
// contains filtered or unexported fields
}
GetMasterAddressesReader is a Reader for the GetMasterAddresses structure.
func (*GetMasterAddressesReader) ReadResponse ¶
func (o *GetMasterAddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRedisServerAddressesOK ¶
type GetRedisServerAddressesOK struct {
Payload string
}
GetRedisServerAddressesOK describes a response with status code 200, with default header values.
successful operation
func NewGetRedisServerAddressesOK ¶
func NewGetRedisServerAddressesOK() *GetRedisServerAddressesOK
NewGetRedisServerAddressesOK creates a GetRedisServerAddressesOK with default headers values
func (*GetRedisServerAddressesOK) Error ¶
func (o *GetRedisServerAddressesOK) Error() string
func (*GetRedisServerAddressesOK) GetPayload ¶
func (o *GetRedisServerAddressesOK) GetPayload() string
type GetRedisServerAddressesParams ¶
type GetRedisServerAddressesParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRedisServerAddressesParams contains all the parameters to send to the API endpoint
for the get redis server addresses operation. Typically these are written to a http.Request.
func NewGetRedisServerAddressesParams ¶
func NewGetRedisServerAddressesParams() *GetRedisServerAddressesParams
NewGetRedisServerAddressesParams creates a new GetRedisServerAddressesParams 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 NewGetRedisServerAddressesParamsWithContext ¶
func NewGetRedisServerAddressesParamsWithContext(ctx context.Context) *GetRedisServerAddressesParams
NewGetRedisServerAddressesParamsWithContext creates a new GetRedisServerAddressesParams object with the ability to set a context for a request.
func NewGetRedisServerAddressesParamsWithHTTPClient ¶
func NewGetRedisServerAddressesParamsWithHTTPClient(client *http.Client) *GetRedisServerAddressesParams
NewGetRedisServerAddressesParamsWithHTTPClient creates a new GetRedisServerAddressesParams object with the ability to set a custom HTTPClient for a request.
func NewGetRedisServerAddressesParamsWithTimeout ¶
func NewGetRedisServerAddressesParamsWithTimeout(timeout time.Duration) *GetRedisServerAddressesParams
NewGetRedisServerAddressesParamsWithTimeout creates a new GetRedisServerAddressesParams object with the ability to set a timeout on a request.
func (*GetRedisServerAddressesParams) SetCUUID ¶
func (o *GetRedisServerAddressesParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get redis server addresses params
func (*GetRedisServerAddressesParams) SetContext ¶
func (o *GetRedisServerAddressesParams) SetContext(ctx context.Context)
SetContext adds the context to the get redis server addresses params
func (*GetRedisServerAddressesParams) SetDefaults ¶
func (o *GetRedisServerAddressesParams) SetDefaults()
SetDefaults hydrates default values in the get redis server addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetRedisServerAddressesParams) SetHTTPClient ¶
func (o *GetRedisServerAddressesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get redis server addresses params
func (*GetRedisServerAddressesParams) SetTimeout ¶
func (o *GetRedisServerAddressesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get redis server addresses params
func (*GetRedisServerAddressesParams) SetUniUUID ¶
func (o *GetRedisServerAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the get redis server addresses params
func (*GetRedisServerAddressesParams) WithCUUID ¶
func (o *GetRedisServerAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetRedisServerAddressesParams
WithCUUID adds the cUUID to the get redis server addresses params
func (*GetRedisServerAddressesParams) WithContext ¶
func (o *GetRedisServerAddressesParams) WithContext(ctx context.Context) *GetRedisServerAddressesParams
WithContext adds the context to the get redis server addresses params
func (*GetRedisServerAddressesParams) WithDefaults ¶
func (o *GetRedisServerAddressesParams) WithDefaults() *GetRedisServerAddressesParams
WithDefaults hydrates default values in the get redis server addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetRedisServerAddressesParams) WithHTTPClient ¶
func (o *GetRedisServerAddressesParams) WithHTTPClient(client *http.Client) *GetRedisServerAddressesParams
WithHTTPClient adds the HTTPClient to the get redis server addresses params
func (*GetRedisServerAddressesParams) WithTimeout ¶
func (o *GetRedisServerAddressesParams) WithTimeout(timeout time.Duration) *GetRedisServerAddressesParams
WithTimeout adds the timeout to the get redis server addresses params
func (*GetRedisServerAddressesParams) WithUniUUID ¶
func (o *GetRedisServerAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetRedisServerAddressesParams
WithUniUUID adds the uniUUID to the get redis server addresses params
func (*GetRedisServerAddressesParams) WriteToRequest ¶
func (o *GetRedisServerAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRedisServerAddressesReader ¶
type GetRedisServerAddressesReader struct {
// contains filtered or unexported fields
}
GetRedisServerAddressesReader is a Reader for the GetRedisServerAddresses structure.
func (*GetRedisServerAddressesReader) ReadResponse ¶
func (o *GetRedisServerAddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUniverseMasterNodesOK ¶
type GetUniverseMasterNodesOK struct {
Payload *models.MastersList
}
GetUniverseMasterNodesOK describes a response with status code 200, with default header values.
successful operation
func NewGetUniverseMasterNodesOK ¶
func NewGetUniverseMasterNodesOK() *GetUniverseMasterNodesOK
NewGetUniverseMasterNodesOK creates a GetUniverseMasterNodesOK with default headers values
func (*GetUniverseMasterNodesOK) Error ¶
func (o *GetUniverseMasterNodesOK) Error() string
func (*GetUniverseMasterNodesOK) GetPayload ¶
func (o *GetUniverseMasterNodesOK) GetPayload() *models.MastersList
type GetUniverseMasterNodesParams ¶
type GetUniverseMasterNodesParams struct { // UniverseUUID. // // Format: uuid UniverseUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUniverseMasterNodesParams contains all the parameters to send to the API endpoint
for the get universe master nodes operation. Typically these are written to a http.Request.
func NewGetUniverseMasterNodesParams ¶
func NewGetUniverseMasterNodesParams() *GetUniverseMasterNodesParams
NewGetUniverseMasterNodesParams creates a new GetUniverseMasterNodesParams 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 NewGetUniverseMasterNodesParamsWithContext ¶
func NewGetUniverseMasterNodesParamsWithContext(ctx context.Context) *GetUniverseMasterNodesParams
NewGetUniverseMasterNodesParamsWithContext creates a new GetUniverseMasterNodesParams object with the ability to set a context for a request.
func NewGetUniverseMasterNodesParamsWithHTTPClient ¶
func NewGetUniverseMasterNodesParamsWithHTTPClient(client *http.Client) *GetUniverseMasterNodesParams
NewGetUniverseMasterNodesParamsWithHTTPClient creates a new GetUniverseMasterNodesParams object with the ability to set a custom HTTPClient for a request.
func NewGetUniverseMasterNodesParamsWithTimeout ¶
func NewGetUniverseMasterNodesParamsWithTimeout(timeout time.Duration) *GetUniverseMasterNodesParams
NewGetUniverseMasterNodesParamsWithTimeout creates a new GetUniverseMasterNodesParams object with the ability to set a timeout on a request.
func (*GetUniverseMasterNodesParams) SetContext ¶
func (o *GetUniverseMasterNodesParams) SetContext(ctx context.Context)
SetContext adds the context to the get universe master nodes params
func (*GetUniverseMasterNodesParams) SetDefaults ¶
func (o *GetUniverseMasterNodesParams) SetDefaults()
SetDefaults hydrates default values in the get universe master nodes params (not the query body).
All values with no default are reset to their zero value.
func (*GetUniverseMasterNodesParams) SetHTTPClient ¶
func (o *GetUniverseMasterNodesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get universe master nodes params
func (*GetUniverseMasterNodesParams) SetTimeout ¶
func (o *GetUniverseMasterNodesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get universe master nodes params
func (*GetUniverseMasterNodesParams) SetUniverseUUID ¶
func (o *GetUniverseMasterNodesParams) SetUniverseUUID(universeUUID strfmt.UUID)
SetUniverseUUID adds the universeUuid to the get universe master nodes params
func (*GetUniverseMasterNodesParams) WithContext ¶
func (o *GetUniverseMasterNodesParams) WithContext(ctx context.Context) *GetUniverseMasterNodesParams
WithContext adds the context to the get universe master nodes params
func (*GetUniverseMasterNodesParams) WithDefaults ¶
func (o *GetUniverseMasterNodesParams) WithDefaults() *GetUniverseMasterNodesParams
WithDefaults hydrates default values in the get universe master nodes params (not the query body).
All values with no default are reset to their zero value.
func (*GetUniverseMasterNodesParams) WithHTTPClient ¶
func (o *GetUniverseMasterNodesParams) WithHTTPClient(client *http.Client) *GetUniverseMasterNodesParams
WithHTTPClient adds the HTTPClient to the get universe master nodes params
func (*GetUniverseMasterNodesParams) WithTimeout ¶
func (o *GetUniverseMasterNodesParams) WithTimeout(timeout time.Duration) *GetUniverseMasterNodesParams
WithTimeout adds the timeout to the get universe master nodes params
func (*GetUniverseMasterNodesParams) WithUniverseUUID ¶
func (o *GetUniverseMasterNodesParams) WithUniverseUUID(universeUUID strfmt.UUID) *GetUniverseMasterNodesParams
WithUniverseUUID adds the universeUUID to the get universe master nodes params
func (*GetUniverseMasterNodesParams) WriteToRequest ¶
func (o *GetUniverseMasterNodesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUniverseMasterNodesReader ¶
type GetUniverseMasterNodesReader struct {
// contains filtered or unexported fields
}
GetUniverseMasterNodesReader is a Reader for the GetUniverseMasterNodes structure.
func (*GetUniverseMasterNodesReader) ReadResponse ¶
func (o *GetUniverseMasterNodesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetYQLServerAddressesOK ¶
type GetYQLServerAddressesOK struct {
Payload string
}
GetYQLServerAddressesOK describes a response with status code 200, with default header values.
successful operation
func NewGetYQLServerAddressesOK ¶
func NewGetYQLServerAddressesOK() *GetYQLServerAddressesOK
NewGetYQLServerAddressesOK creates a GetYQLServerAddressesOK with default headers values
func (*GetYQLServerAddressesOK) Error ¶
func (o *GetYQLServerAddressesOK) Error() string
func (*GetYQLServerAddressesOK) GetPayload ¶
func (o *GetYQLServerAddressesOK) GetPayload() string
type GetYQLServerAddressesParams ¶
type GetYQLServerAddressesParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetYQLServerAddressesParams contains all the parameters to send to the API endpoint
for the get y q l server addresses operation. Typically these are written to a http.Request.
func NewGetYQLServerAddressesParams ¶
func NewGetYQLServerAddressesParams() *GetYQLServerAddressesParams
NewGetYQLServerAddressesParams creates a new GetYQLServerAddressesParams 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 NewGetYQLServerAddressesParamsWithContext ¶
func NewGetYQLServerAddressesParamsWithContext(ctx context.Context) *GetYQLServerAddressesParams
NewGetYQLServerAddressesParamsWithContext creates a new GetYQLServerAddressesParams object with the ability to set a context for a request.
func NewGetYQLServerAddressesParamsWithHTTPClient ¶
func NewGetYQLServerAddressesParamsWithHTTPClient(client *http.Client) *GetYQLServerAddressesParams
NewGetYQLServerAddressesParamsWithHTTPClient creates a new GetYQLServerAddressesParams object with the ability to set a custom HTTPClient for a request.
func NewGetYQLServerAddressesParamsWithTimeout ¶
func NewGetYQLServerAddressesParamsWithTimeout(timeout time.Duration) *GetYQLServerAddressesParams
NewGetYQLServerAddressesParamsWithTimeout creates a new GetYQLServerAddressesParams object with the ability to set a timeout on a request.
func (*GetYQLServerAddressesParams) SetCUUID ¶
func (o *GetYQLServerAddressesParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get y q l server addresses params
func (*GetYQLServerAddressesParams) SetContext ¶
func (o *GetYQLServerAddressesParams) SetContext(ctx context.Context)
SetContext adds the context to the get y q l server addresses params
func (*GetYQLServerAddressesParams) SetDefaults ¶
func (o *GetYQLServerAddressesParams) SetDefaults()
SetDefaults hydrates default values in the get y q l server addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetYQLServerAddressesParams) SetHTTPClient ¶
func (o *GetYQLServerAddressesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get y q l server addresses params
func (*GetYQLServerAddressesParams) SetTimeout ¶
func (o *GetYQLServerAddressesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get y q l server addresses params
func (*GetYQLServerAddressesParams) SetUniUUID ¶
func (o *GetYQLServerAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the get y q l server addresses params
func (*GetYQLServerAddressesParams) WithCUUID ¶
func (o *GetYQLServerAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetYQLServerAddressesParams
WithCUUID adds the cUUID to the get y q l server addresses params
func (*GetYQLServerAddressesParams) WithContext ¶
func (o *GetYQLServerAddressesParams) WithContext(ctx context.Context) *GetYQLServerAddressesParams
WithContext adds the context to the get y q l server addresses params
func (*GetYQLServerAddressesParams) WithDefaults ¶
func (o *GetYQLServerAddressesParams) WithDefaults() *GetYQLServerAddressesParams
WithDefaults hydrates default values in the get y q l server addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetYQLServerAddressesParams) WithHTTPClient ¶
func (o *GetYQLServerAddressesParams) WithHTTPClient(client *http.Client) *GetYQLServerAddressesParams
WithHTTPClient adds the HTTPClient to the get y q l server addresses params
func (*GetYQLServerAddressesParams) WithTimeout ¶
func (o *GetYQLServerAddressesParams) WithTimeout(timeout time.Duration) *GetYQLServerAddressesParams
WithTimeout adds the timeout to the get y q l server addresses params
func (*GetYQLServerAddressesParams) WithUniUUID ¶
func (o *GetYQLServerAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetYQLServerAddressesParams
WithUniUUID adds the uniUUID to the get y q l server addresses params
func (*GetYQLServerAddressesParams) WriteToRequest ¶
func (o *GetYQLServerAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetYQLServerAddressesReader ¶
type GetYQLServerAddressesReader struct {
// contains filtered or unexported fields
}
GetYQLServerAddressesReader is a Reader for the GetYQLServerAddresses structure.
func (*GetYQLServerAddressesReader) ReadResponse ¶
func (o *GetYQLServerAddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetYSQLServerAddressesOK ¶
type GetYSQLServerAddressesOK struct {
Payload string
}
GetYSQLServerAddressesOK describes a response with status code 200, with default header values.
successful operation
func NewGetYSQLServerAddressesOK ¶
func NewGetYSQLServerAddressesOK() *GetYSQLServerAddressesOK
NewGetYSQLServerAddressesOK creates a GetYSQLServerAddressesOK with default headers values
func (*GetYSQLServerAddressesOK) Error ¶
func (o *GetYSQLServerAddressesOK) Error() string
func (*GetYSQLServerAddressesOK) GetPayload ¶
func (o *GetYSQLServerAddressesOK) GetPayload() string
type GetYSQLServerAddressesParams ¶
type GetYSQLServerAddressesParams struct { // CUUID. // // Format: uuid CUUID strfmt.UUID // UniUUID. // // Format: uuid UniUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetYSQLServerAddressesParams contains all the parameters to send to the API endpoint
for the get y SQL server addresses operation. Typically these are written to a http.Request.
func NewGetYSQLServerAddressesParams ¶
func NewGetYSQLServerAddressesParams() *GetYSQLServerAddressesParams
NewGetYSQLServerAddressesParams creates a new GetYSQLServerAddressesParams 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 NewGetYSQLServerAddressesParamsWithContext ¶
func NewGetYSQLServerAddressesParamsWithContext(ctx context.Context) *GetYSQLServerAddressesParams
NewGetYSQLServerAddressesParamsWithContext creates a new GetYSQLServerAddressesParams object with the ability to set a context for a request.
func NewGetYSQLServerAddressesParamsWithHTTPClient ¶
func NewGetYSQLServerAddressesParamsWithHTTPClient(client *http.Client) *GetYSQLServerAddressesParams
NewGetYSQLServerAddressesParamsWithHTTPClient creates a new GetYSQLServerAddressesParams object with the ability to set a custom HTTPClient for a request.
func NewGetYSQLServerAddressesParamsWithTimeout ¶
func NewGetYSQLServerAddressesParamsWithTimeout(timeout time.Duration) *GetYSQLServerAddressesParams
NewGetYSQLServerAddressesParamsWithTimeout creates a new GetYSQLServerAddressesParams object with the ability to set a timeout on a request.
func (*GetYSQLServerAddressesParams) SetCUUID ¶
func (o *GetYSQLServerAddressesParams) SetCUUID(cUUID strfmt.UUID)
SetCUUID adds the cUuid to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) SetContext ¶
func (o *GetYSQLServerAddressesParams) SetContext(ctx context.Context)
SetContext adds the context to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) SetDefaults ¶
func (o *GetYSQLServerAddressesParams) SetDefaults()
SetDefaults hydrates default values in the get y SQL server addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetYSQLServerAddressesParams) SetHTTPClient ¶
func (o *GetYSQLServerAddressesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) SetTimeout ¶
func (o *GetYSQLServerAddressesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) SetUniUUID ¶
func (o *GetYSQLServerAddressesParams) SetUniUUID(uniUUID strfmt.UUID)
SetUniUUID adds the uniUuid to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) WithCUUID ¶
func (o *GetYSQLServerAddressesParams) WithCUUID(cUUID strfmt.UUID) *GetYSQLServerAddressesParams
WithCUUID adds the cUUID to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) WithContext ¶
func (o *GetYSQLServerAddressesParams) WithContext(ctx context.Context) *GetYSQLServerAddressesParams
WithContext adds the context to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) WithDefaults ¶
func (o *GetYSQLServerAddressesParams) WithDefaults() *GetYSQLServerAddressesParams
WithDefaults hydrates default values in the get y SQL server addresses params (not the query body).
All values with no default are reset to their zero value.
func (*GetYSQLServerAddressesParams) WithHTTPClient ¶
func (o *GetYSQLServerAddressesParams) WithHTTPClient(client *http.Client) *GetYSQLServerAddressesParams
WithHTTPClient adds the HTTPClient to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) WithTimeout ¶
func (o *GetYSQLServerAddressesParams) WithTimeout(timeout time.Duration) *GetYSQLServerAddressesParams
WithTimeout adds the timeout to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) WithUniUUID ¶
func (o *GetYSQLServerAddressesParams) WithUniUUID(uniUUID strfmt.UUID) *GetYSQLServerAddressesParams
WithUniUUID adds the uniUUID to the get y SQL server addresses params
func (*GetYSQLServerAddressesParams) WriteToRequest ¶
func (o *GetYSQLServerAddressesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetYSQLServerAddressesReader ¶
type GetYSQLServerAddressesReader struct {
// contains filtered or unexported fields
}
GetYSQLServerAddressesReader is a Reader for the GetYSQLServerAddresses structure.
func (*GetYSQLServerAddressesReader) ReadResponse ¶
func (o *GetYSQLServerAddressesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_master_addresses_parameters.go
- get_master_addresses_responses.go
- get_redis_server_addresses_parameters.go
- get_redis_server_addresses_responses.go
- get_universe_master_nodes_parameters.go
- get_universe_master_nodes_responses.go
- get_y_q_l_server_addresses_parameters.go
- get_y_q_l_server_addresses_responses.go
- get_y_sql_server_addresses_parameters.go
- get_y_sql_server_addresses_responses.go
- universe_node_metadata_metamaster_client.go