Documentation ¶
Index ¶
- type Client
- func (a *Client) GetEverouteClusters(params *GetEverouteClustersParams, opts ...ClientOption) (*GetEverouteClustersOK, error)
- func (a *Client) GetEverouteClustersConnection(params *GetEverouteClustersConnectionParams, opts ...ClientOption) (*GetEverouteClustersConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetEverouteClustersBadRequest
- type GetEverouteClustersConnectionBadRequest
- type GetEverouteClustersConnectionInternalServerError
- type GetEverouteClustersConnectionNotFound
- type GetEverouteClustersConnectionOK
- type GetEverouteClustersConnectionParams
- func NewGetEverouteClustersConnectionParams() *GetEverouteClustersConnectionParams
- func NewGetEverouteClustersConnectionParamsWithContext(ctx context.Context) *GetEverouteClustersConnectionParams
- func NewGetEverouteClustersConnectionParamsWithHTTPClient(client *http.Client) *GetEverouteClustersConnectionParams
- func NewGetEverouteClustersConnectionParamsWithTimeout(timeout time.Duration) *GetEverouteClustersConnectionParams
- func (o *GetEverouteClustersConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetEverouteClustersConnectionParams) SetContext(ctx context.Context)
- func (o *GetEverouteClustersConnectionParams) SetDefaults()
- func (o *GetEverouteClustersConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetEverouteClustersConnectionParams) SetRequestBody(requestBody *models.GetEverouteClustersConnectionRequestBody)
- func (o *GetEverouteClustersConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetEverouteClustersConnectionParams) WithContentLanguage(contentLanguage *string) *GetEverouteClustersConnectionParams
- func (o *GetEverouteClustersConnectionParams) WithContext(ctx context.Context) *GetEverouteClustersConnectionParams
- func (o *GetEverouteClustersConnectionParams) WithDefaults() *GetEverouteClustersConnectionParams
- func (o *GetEverouteClustersConnectionParams) WithHTTPClient(client *http.Client) *GetEverouteClustersConnectionParams
- func (o *GetEverouteClustersConnectionParams) WithRequestBody(requestBody *models.GetEverouteClustersConnectionRequestBody) *GetEverouteClustersConnectionParams
- func (o *GetEverouteClustersConnectionParams) WithTimeout(timeout time.Duration) *GetEverouteClustersConnectionParams
- func (o *GetEverouteClustersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEverouteClustersConnectionReader
- type GetEverouteClustersInternalServerError
- type GetEverouteClustersNotFound
- type GetEverouteClustersOK
- type GetEverouteClustersParams
- func NewGetEverouteClustersParams() *GetEverouteClustersParams
- func NewGetEverouteClustersParamsWithContext(ctx context.Context) *GetEverouteClustersParams
- func NewGetEverouteClustersParamsWithHTTPClient(client *http.Client) *GetEverouteClustersParams
- func NewGetEverouteClustersParamsWithTimeout(timeout time.Duration) *GetEverouteClustersParams
- func (o *GetEverouteClustersParams) SetContentLanguage(contentLanguage *string)
- func (o *GetEverouteClustersParams) SetContext(ctx context.Context)
- func (o *GetEverouteClustersParams) SetDefaults()
- func (o *GetEverouteClustersParams) SetHTTPClient(client *http.Client)
- func (o *GetEverouteClustersParams) SetRequestBody(requestBody *models.GetEverouteClustersRequestBody)
- func (o *GetEverouteClustersParams) SetTimeout(timeout time.Duration)
- func (o *GetEverouteClustersParams) WithContentLanguage(contentLanguage *string) *GetEverouteClustersParams
- func (o *GetEverouteClustersParams) WithContext(ctx context.Context) *GetEverouteClustersParams
- func (o *GetEverouteClustersParams) WithDefaults() *GetEverouteClustersParams
- func (o *GetEverouteClustersParams) WithHTTPClient(client *http.Client) *GetEverouteClustersParams
- func (o *GetEverouteClustersParams) WithRequestBody(requestBody *models.GetEverouteClustersRequestBody) *GetEverouteClustersParams
- func (o *GetEverouteClustersParams) WithTimeout(timeout time.Duration) *GetEverouteClustersParams
- func (o *GetEverouteClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEverouteClustersReader
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 everoute cluster API
func (*Client) GetEverouteClusters ¶
func (a *Client) GetEverouteClusters(params *GetEverouteClustersParams, opts ...ClientOption) (*GetEverouteClustersOK, error)
GetEverouteClusters get everoute clusters API
func (*Client) GetEverouteClustersConnection ¶
func (a *Client) GetEverouteClustersConnection(params *GetEverouteClustersConnectionParams, opts ...ClientOption) (*GetEverouteClustersConnectionOK, error)
GetEverouteClustersConnection get everoute clusters connection API
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 { GetEverouteClusters(params *GetEverouteClustersParams, opts ...ClientOption) (*GetEverouteClustersOK, error) GetEverouteClustersConnection(params *GetEverouteClustersConnectionParams, opts ...ClientOption) (*GetEverouteClustersConnectionOK, 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 everoute cluster API client.
type GetEverouteClustersBadRequest ¶
GetEverouteClustersBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetEverouteClustersBadRequest ¶
func NewGetEverouteClustersBadRequest() *GetEverouteClustersBadRequest
NewGetEverouteClustersBadRequest creates a GetEverouteClustersBadRequest with default headers values
func (*GetEverouteClustersBadRequest) Error ¶
func (o *GetEverouteClustersBadRequest) Error() string
func (*GetEverouteClustersBadRequest) GetPayload ¶
func (o *GetEverouteClustersBadRequest) GetPayload() *models.ErrorBody
type GetEverouteClustersConnectionBadRequest ¶
type GetEverouteClustersConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetEverouteClustersConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetEverouteClustersConnectionBadRequest ¶
func NewGetEverouteClustersConnectionBadRequest() *GetEverouteClustersConnectionBadRequest
NewGetEverouteClustersConnectionBadRequest creates a GetEverouteClustersConnectionBadRequest with default headers values
func (*GetEverouteClustersConnectionBadRequest) Error ¶
func (o *GetEverouteClustersConnectionBadRequest) Error() string
func (*GetEverouteClustersConnectionBadRequest) GetPayload ¶
func (o *GetEverouteClustersConnectionBadRequest) GetPayload() *models.ErrorBody
type GetEverouteClustersConnectionInternalServerError ¶
type GetEverouteClustersConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetEverouteClustersConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetEverouteClustersConnectionInternalServerError ¶
func NewGetEverouteClustersConnectionInternalServerError() *GetEverouteClustersConnectionInternalServerError
NewGetEverouteClustersConnectionInternalServerError creates a GetEverouteClustersConnectionInternalServerError with default headers values
func (*GetEverouteClustersConnectionInternalServerError) Error ¶
func (o *GetEverouteClustersConnectionInternalServerError) Error() string
func (*GetEverouteClustersConnectionInternalServerError) GetPayload ¶
func (o *GetEverouteClustersConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetEverouteClustersConnectionNotFound ¶
type GetEverouteClustersConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetEverouteClustersConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetEverouteClustersConnectionNotFound ¶
func NewGetEverouteClustersConnectionNotFound() *GetEverouteClustersConnectionNotFound
NewGetEverouteClustersConnectionNotFound creates a GetEverouteClustersConnectionNotFound with default headers values
func (*GetEverouteClustersConnectionNotFound) Error ¶
func (o *GetEverouteClustersConnectionNotFound) Error() string
func (*GetEverouteClustersConnectionNotFound) GetPayload ¶
func (o *GetEverouteClustersConnectionNotFound) GetPayload() *models.ErrorBody
type GetEverouteClustersConnectionOK ¶
type GetEverouteClustersConnectionOK struct { XTowerRequestID string Payload *models.EverouteClusterConnection }
GetEverouteClustersConnectionOK describes a response with status code 200, with default header values.
GetEverouteClustersConnectionOK get everoute clusters connection o k
func NewGetEverouteClustersConnectionOK ¶
func NewGetEverouteClustersConnectionOK() *GetEverouteClustersConnectionOK
NewGetEverouteClustersConnectionOK creates a GetEverouteClustersConnectionOK with default headers values
func (*GetEverouteClustersConnectionOK) Error ¶
func (o *GetEverouteClustersConnectionOK) Error() string
func (*GetEverouteClustersConnectionOK) GetPayload ¶
func (o *GetEverouteClustersConnectionOK) GetPayload() *models.EverouteClusterConnection
type GetEverouteClustersConnectionParams ¶
type GetEverouteClustersConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetEverouteClustersConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEverouteClustersConnectionParams contains all the parameters to send to the API endpoint
for the get everoute clusters connection operation. Typically these are written to a http.Request.
func NewGetEverouteClustersConnectionParams ¶
func NewGetEverouteClustersConnectionParams() *GetEverouteClustersConnectionParams
NewGetEverouteClustersConnectionParams creates a new GetEverouteClustersConnectionParams 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 NewGetEverouteClustersConnectionParamsWithContext ¶
func NewGetEverouteClustersConnectionParamsWithContext(ctx context.Context) *GetEverouteClustersConnectionParams
NewGetEverouteClustersConnectionParamsWithContext creates a new GetEverouteClustersConnectionParams object with the ability to set a context for a request.
func NewGetEverouteClustersConnectionParamsWithHTTPClient ¶
func NewGetEverouteClustersConnectionParamsWithHTTPClient(client *http.Client) *GetEverouteClustersConnectionParams
NewGetEverouteClustersConnectionParamsWithHTTPClient creates a new GetEverouteClustersConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetEverouteClustersConnectionParamsWithTimeout ¶
func NewGetEverouteClustersConnectionParamsWithTimeout(timeout time.Duration) *GetEverouteClustersConnectionParams
NewGetEverouteClustersConnectionParamsWithTimeout creates a new GetEverouteClustersConnectionParams object with the ability to set a timeout on a request.
func (*GetEverouteClustersConnectionParams) SetContentLanguage ¶
func (o *GetEverouteClustersConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) SetContext ¶
func (o *GetEverouteClustersConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) SetDefaults ¶
func (o *GetEverouteClustersConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get everoute clusters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetEverouteClustersConnectionParams) SetHTTPClient ¶
func (o *GetEverouteClustersConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) SetRequestBody ¶
func (o *GetEverouteClustersConnectionParams) SetRequestBody(requestBody *models.GetEverouteClustersConnectionRequestBody)
SetRequestBody adds the requestBody to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) SetTimeout ¶
func (o *GetEverouteClustersConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) WithContentLanguage ¶
func (o *GetEverouteClustersConnectionParams) WithContentLanguage(contentLanguage *string) *GetEverouteClustersConnectionParams
WithContentLanguage adds the contentLanguage to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) WithContext ¶
func (o *GetEverouteClustersConnectionParams) WithContext(ctx context.Context) *GetEverouteClustersConnectionParams
WithContext adds the context to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) WithDefaults ¶
func (o *GetEverouteClustersConnectionParams) WithDefaults() *GetEverouteClustersConnectionParams
WithDefaults hydrates default values in the get everoute clusters connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetEverouteClustersConnectionParams) WithHTTPClient ¶
func (o *GetEverouteClustersConnectionParams) WithHTTPClient(client *http.Client) *GetEverouteClustersConnectionParams
WithHTTPClient adds the HTTPClient to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) WithRequestBody ¶
func (o *GetEverouteClustersConnectionParams) WithRequestBody(requestBody *models.GetEverouteClustersConnectionRequestBody) *GetEverouteClustersConnectionParams
WithRequestBody adds the requestBody to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) WithTimeout ¶
func (o *GetEverouteClustersConnectionParams) WithTimeout(timeout time.Duration) *GetEverouteClustersConnectionParams
WithTimeout adds the timeout to the get everoute clusters connection params
func (*GetEverouteClustersConnectionParams) WriteToRequest ¶
func (o *GetEverouteClustersConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEverouteClustersConnectionReader ¶
type GetEverouteClustersConnectionReader struct {
// contains filtered or unexported fields
}
GetEverouteClustersConnectionReader is a Reader for the GetEverouteClustersConnection structure.
func (*GetEverouteClustersConnectionReader) ReadResponse ¶
func (o *GetEverouteClustersConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEverouteClustersInternalServerError ¶
type GetEverouteClustersInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetEverouteClustersInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetEverouteClustersInternalServerError ¶
func NewGetEverouteClustersInternalServerError() *GetEverouteClustersInternalServerError
NewGetEverouteClustersInternalServerError creates a GetEverouteClustersInternalServerError with default headers values
func (*GetEverouteClustersInternalServerError) Error ¶
func (o *GetEverouteClustersInternalServerError) Error() string
func (*GetEverouteClustersInternalServerError) GetPayload ¶
func (o *GetEverouteClustersInternalServerError) GetPayload() *models.ErrorBody
type GetEverouteClustersNotFound ¶
GetEverouteClustersNotFound describes a response with status code 404, with default header values.
Not found
func NewGetEverouteClustersNotFound ¶
func NewGetEverouteClustersNotFound() *GetEverouteClustersNotFound
NewGetEverouteClustersNotFound creates a GetEverouteClustersNotFound with default headers values
func (*GetEverouteClustersNotFound) Error ¶
func (o *GetEverouteClustersNotFound) Error() string
func (*GetEverouteClustersNotFound) GetPayload ¶
func (o *GetEverouteClustersNotFound) GetPayload() *models.ErrorBody
type GetEverouteClustersOK ¶
type GetEverouteClustersOK struct { XTowerRequestID string Payload []*models.EverouteCluster }
GetEverouteClustersOK describes a response with status code 200, with default header values.
GetEverouteClustersOK get everoute clusters o k
func NewGetEverouteClustersOK ¶
func NewGetEverouteClustersOK() *GetEverouteClustersOK
NewGetEverouteClustersOK creates a GetEverouteClustersOK with default headers values
func (*GetEverouteClustersOK) Error ¶
func (o *GetEverouteClustersOK) Error() string
func (*GetEverouteClustersOK) GetPayload ¶
func (o *GetEverouteClustersOK) GetPayload() []*models.EverouteCluster
type GetEverouteClustersParams ¶
type GetEverouteClustersParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetEverouteClustersRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEverouteClustersParams contains all the parameters to send to the API endpoint
for the get everoute clusters operation. Typically these are written to a http.Request.
func NewGetEverouteClustersParams ¶
func NewGetEverouteClustersParams() *GetEverouteClustersParams
NewGetEverouteClustersParams creates a new GetEverouteClustersParams 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 NewGetEverouteClustersParamsWithContext ¶
func NewGetEverouteClustersParamsWithContext(ctx context.Context) *GetEverouteClustersParams
NewGetEverouteClustersParamsWithContext creates a new GetEverouteClustersParams object with the ability to set a context for a request.
func NewGetEverouteClustersParamsWithHTTPClient ¶
func NewGetEverouteClustersParamsWithHTTPClient(client *http.Client) *GetEverouteClustersParams
NewGetEverouteClustersParamsWithHTTPClient creates a new GetEverouteClustersParams object with the ability to set a custom HTTPClient for a request.
func NewGetEverouteClustersParamsWithTimeout ¶
func NewGetEverouteClustersParamsWithTimeout(timeout time.Duration) *GetEverouteClustersParams
NewGetEverouteClustersParamsWithTimeout creates a new GetEverouteClustersParams object with the ability to set a timeout on a request.
func (*GetEverouteClustersParams) SetContentLanguage ¶
func (o *GetEverouteClustersParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get everoute clusters params
func (*GetEverouteClustersParams) SetContext ¶
func (o *GetEverouteClustersParams) SetContext(ctx context.Context)
SetContext adds the context to the get everoute clusters params
func (*GetEverouteClustersParams) SetDefaults ¶
func (o *GetEverouteClustersParams) SetDefaults()
SetDefaults hydrates default values in the get everoute clusters params (not the query body).
All values with no default are reset to their zero value.
func (*GetEverouteClustersParams) SetHTTPClient ¶
func (o *GetEverouteClustersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get everoute clusters params
func (*GetEverouteClustersParams) SetRequestBody ¶
func (o *GetEverouteClustersParams) SetRequestBody(requestBody *models.GetEverouteClustersRequestBody)
SetRequestBody adds the requestBody to the get everoute clusters params
func (*GetEverouteClustersParams) SetTimeout ¶
func (o *GetEverouteClustersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get everoute clusters params
func (*GetEverouteClustersParams) WithContentLanguage ¶
func (o *GetEverouteClustersParams) WithContentLanguage(contentLanguage *string) *GetEverouteClustersParams
WithContentLanguage adds the contentLanguage to the get everoute clusters params
func (*GetEverouteClustersParams) WithContext ¶
func (o *GetEverouteClustersParams) WithContext(ctx context.Context) *GetEverouteClustersParams
WithContext adds the context to the get everoute clusters params
func (*GetEverouteClustersParams) WithDefaults ¶
func (o *GetEverouteClustersParams) WithDefaults() *GetEverouteClustersParams
WithDefaults hydrates default values in the get everoute clusters params (not the query body).
All values with no default are reset to their zero value.
func (*GetEverouteClustersParams) WithHTTPClient ¶
func (o *GetEverouteClustersParams) WithHTTPClient(client *http.Client) *GetEverouteClustersParams
WithHTTPClient adds the HTTPClient to the get everoute clusters params
func (*GetEverouteClustersParams) WithRequestBody ¶
func (o *GetEverouteClustersParams) WithRequestBody(requestBody *models.GetEverouteClustersRequestBody) *GetEverouteClustersParams
WithRequestBody adds the requestBody to the get everoute clusters params
func (*GetEverouteClustersParams) WithTimeout ¶
func (o *GetEverouteClustersParams) WithTimeout(timeout time.Duration) *GetEverouteClustersParams
WithTimeout adds the timeout to the get everoute clusters params
func (*GetEverouteClustersParams) WriteToRequest ¶
func (o *GetEverouteClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEverouteClustersReader ¶
type GetEverouteClustersReader struct {
// contains filtered or unexported fields
}
GetEverouteClustersReader is a Reader for the GetEverouteClusters structure.
func (*GetEverouteClustersReader) ReadResponse ¶
func (o *GetEverouteClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.