Documentation ¶
Index ¶
- type Client
- func (a *Client) GetClusterTopoes(params *GetClusterTopoesParams, opts ...ClientOption) (*GetClusterTopoesOK, error)
- func (a *Client) GetClusterTopoesConnection(params *GetClusterTopoesConnectionParams, opts ...ClientOption) (*GetClusterTopoesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetClusterTopoesBadRequest
- type GetClusterTopoesConnectionBadRequest
- type GetClusterTopoesConnectionInternalServerError
- type GetClusterTopoesConnectionNotFound
- type GetClusterTopoesConnectionOK
- type GetClusterTopoesConnectionParams
- func NewGetClusterTopoesConnectionParams() *GetClusterTopoesConnectionParams
- func NewGetClusterTopoesConnectionParamsWithContext(ctx context.Context) *GetClusterTopoesConnectionParams
- func NewGetClusterTopoesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterTopoesConnectionParams
- func NewGetClusterTopoesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterTopoesConnectionParams
- func (o *GetClusterTopoesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterTopoesConnectionParams) SetContext(ctx context.Context)
- func (o *GetClusterTopoesConnectionParams) SetDefaults()
- func (o *GetClusterTopoesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterTopoesConnectionParams) SetRequestBody(requestBody *models.GetClusterTopoesConnectionRequestBody)
- func (o *GetClusterTopoesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterTopoesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterTopoesConnectionParams
- func (o *GetClusterTopoesConnectionParams) WithContext(ctx context.Context) *GetClusterTopoesConnectionParams
- func (o *GetClusterTopoesConnectionParams) WithDefaults() *GetClusterTopoesConnectionParams
- func (o *GetClusterTopoesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterTopoesConnectionParams
- func (o *GetClusterTopoesConnectionParams) WithRequestBody(requestBody *models.GetClusterTopoesConnectionRequestBody) *GetClusterTopoesConnectionParams
- func (o *GetClusterTopoesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterTopoesConnectionParams
- func (o *GetClusterTopoesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterTopoesConnectionReader
- type GetClusterTopoesInternalServerError
- type GetClusterTopoesNotFound
- type GetClusterTopoesOK
- type GetClusterTopoesParams
- func NewGetClusterTopoesParams() *GetClusterTopoesParams
- func NewGetClusterTopoesParamsWithContext(ctx context.Context) *GetClusterTopoesParams
- func NewGetClusterTopoesParamsWithHTTPClient(client *http.Client) *GetClusterTopoesParams
- func NewGetClusterTopoesParamsWithTimeout(timeout time.Duration) *GetClusterTopoesParams
- func (o *GetClusterTopoesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterTopoesParams) SetContext(ctx context.Context)
- func (o *GetClusterTopoesParams) SetDefaults()
- func (o *GetClusterTopoesParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterTopoesParams) SetRequestBody(requestBody *models.GetClusterTopoesRequestBody)
- func (o *GetClusterTopoesParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterTopoesParams) WithContentLanguage(contentLanguage *string) *GetClusterTopoesParams
- func (o *GetClusterTopoesParams) WithContext(ctx context.Context) *GetClusterTopoesParams
- func (o *GetClusterTopoesParams) WithDefaults() *GetClusterTopoesParams
- func (o *GetClusterTopoesParams) WithHTTPClient(client *http.Client) *GetClusterTopoesParams
- func (o *GetClusterTopoesParams) WithRequestBody(requestBody *models.GetClusterTopoesRequestBody) *GetClusterTopoesParams
- func (o *GetClusterTopoesParams) WithTimeout(timeout time.Duration) *GetClusterTopoesParams
- func (o *GetClusterTopoesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterTopoesReader
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 cluster topo API
func (*Client) GetClusterTopoes ¶
func (a *Client) GetClusterTopoes(params *GetClusterTopoesParams, opts ...ClientOption) (*GetClusterTopoesOK, error)
GetClusterTopoes get cluster topoes API
func (*Client) GetClusterTopoesConnection ¶
func (a *Client) GetClusterTopoesConnection(params *GetClusterTopoesConnectionParams, opts ...ClientOption) (*GetClusterTopoesConnectionOK, error)
GetClusterTopoesConnection get cluster topoes 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 { GetClusterTopoes(params *GetClusterTopoesParams, opts ...ClientOption) (*GetClusterTopoesOK, error) GetClusterTopoesConnection(params *GetClusterTopoesConnectionParams, opts ...ClientOption) (*GetClusterTopoesConnectionOK, 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 cluster topo API client.
type GetClusterTopoesBadRequest ¶
GetClusterTopoesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterTopoesBadRequest ¶
func NewGetClusterTopoesBadRequest() *GetClusterTopoesBadRequest
NewGetClusterTopoesBadRequest creates a GetClusterTopoesBadRequest with default headers values
func (*GetClusterTopoesBadRequest) Error ¶
func (o *GetClusterTopoesBadRequest) Error() string
func (*GetClusterTopoesBadRequest) GetPayload ¶
func (o *GetClusterTopoesBadRequest) GetPayload() *models.ErrorBody
type GetClusterTopoesConnectionBadRequest ¶
type GetClusterTopoesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterTopoesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterTopoesConnectionBadRequest ¶
func NewGetClusterTopoesConnectionBadRequest() *GetClusterTopoesConnectionBadRequest
NewGetClusterTopoesConnectionBadRequest creates a GetClusterTopoesConnectionBadRequest with default headers values
func (*GetClusterTopoesConnectionBadRequest) Error ¶
func (o *GetClusterTopoesConnectionBadRequest) Error() string
func (*GetClusterTopoesConnectionBadRequest) GetPayload ¶
func (o *GetClusterTopoesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetClusterTopoesConnectionInternalServerError ¶
type GetClusterTopoesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterTopoesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterTopoesConnectionInternalServerError ¶
func NewGetClusterTopoesConnectionInternalServerError() *GetClusterTopoesConnectionInternalServerError
NewGetClusterTopoesConnectionInternalServerError creates a GetClusterTopoesConnectionInternalServerError with default headers values
func (*GetClusterTopoesConnectionInternalServerError) Error ¶
func (o *GetClusterTopoesConnectionInternalServerError) Error() string
func (*GetClusterTopoesConnectionInternalServerError) GetPayload ¶
func (o *GetClusterTopoesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetClusterTopoesConnectionNotFound ¶
GetClusterTopoesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterTopoesConnectionNotFound ¶
func NewGetClusterTopoesConnectionNotFound() *GetClusterTopoesConnectionNotFound
NewGetClusterTopoesConnectionNotFound creates a GetClusterTopoesConnectionNotFound with default headers values
func (*GetClusterTopoesConnectionNotFound) Error ¶
func (o *GetClusterTopoesConnectionNotFound) Error() string
func (*GetClusterTopoesConnectionNotFound) GetPayload ¶
func (o *GetClusterTopoesConnectionNotFound) GetPayload() *models.ErrorBody
type GetClusterTopoesConnectionOK ¶
type GetClusterTopoesConnectionOK struct { XTowerRequestID string Payload *models.ClusterTopoConnection }
GetClusterTopoesConnectionOK describes a response with status code 200, with default header values.
GetClusterTopoesConnectionOK get cluster topoes connection o k
func NewGetClusterTopoesConnectionOK ¶
func NewGetClusterTopoesConnectionOK() *GetClusterTopoesConnectionOK
NewGetClusterTopoesConnectionOK creates a GetClusterTopoesConnectionOK with default headers values
func (*GetClusterTopoesConnectionOK) Error ¶
func (o *GetClusterTopoesConnectionOK) Error() string
func (*GetClusterTopoesConnectionOK) GetPayload ¶
func (o *GetClusterTopoesConnectionOK) GetPayload() *models.ClusterTopoConnection
type GetClusterTopoesConnectionParams ¶
type GetClusterTopoesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClusterTopoesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterTopoesConnectionParams contains all the parameters to send to the API endpoint
for the get cluster topoes connection operation. Typically these are written to a http.Request.
func NewGetClusterTopoesConnectionParams ¶
func NewGetClusterTopoesConnectionParams() *GetClusterTopoesConnectionParams
NewGetClusterTopoesConnectionParams creates a new GetClusterTopoesConnectionParams 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 NewGetClusterTopoesConnectionParamsWithContext ¶
func NewGetClusterTopoesConnectionParamsWithContext(ctx context.Context) *GetClusterTopoesConnectionParams
NewGetClusterTopoesConnectionParamsWithContext creates a new GetClusterTopoesConnectionParams object with the ability to set a context for a request.
func NewGetClusterTopoesConnectionParamsWithHTTPClient ¶
func NewGetClusterTopoesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterTopoesConnectionParams
NewGetClusterTopoesConnectionParamsWithHTTPClient creates a new GetClusterTopoesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterTopoesConnectionParamsWithTimeout ¶
func NewGetClusterTopoesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterTopoesConnectionParams
NewGetClusterTopoesConnectionParamsWithTimeout creates a new GetClusterTopoesConnectionParams object with the ability to set a timeout on a request.
func (*GetClusterTopoesConnectionParams) SetContentLanguage ¶
func (o *GetClusterTopoesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) SetContext ¶
func (o *GetClusterTopoesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) SetDefaults ¶
func (o *GetClusterTopoesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get cluster topoes connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterTopoesConnectionParams) SetHTTPClient ¶
func (o *GetClusterTopoesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) SetRequestBody ¶
func (o *GetClusterTopoesConnectionParams) SetRequestBody(requestBody *models.GetClusterTopoesConnectionRequestBody)
SetRequestBody adds the requestBody to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) SetTimeout ¶
func (o *GetClusterTopoesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) WithContentLanguage ¶
func (o *GetClusterTopoesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterTopoesConnectionParams
WithContentLanguage adds the contentLanguage to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) WithContext ¶
func (o *GetClusterTopoesConnectionParams) WithContext(ctx context.Context) *GetClusterTopoesConnectionParams
WithContext adds the context to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) WithDefaults ¶
func (o *GetClusterTopoesConnectionParams) WithDefaults() *GetClusterTopoesConnectionParams
WithDefaults hydrates default values in the get cluster topoes connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterTopoesConnectionParams) WithHTTPClient ¶
func (o *GetClusterTopoesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterTopoesConnectionParams
WithHTTPClient adds the HTTPClient to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) WithRequestBody ¶
func (o *GetClusterTopoesConnectionParams) WithRequestBody(requestBody *models.GetClusterTopoesConnectionRequestBody) *GetClusterTopoesConnectionParams
WithRequestBody adds the requestBody to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) WithTimeout ¶
func (o *GetClusterTopoesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterTopoesConnectionParams
WithTimeout adds the timeout to the get cluster topoes connection params
func (*GetClusterTopoesConnectionParams) WriteToRequest ¶
func (o *GetClusterTopoesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterTopoesConnectionReader ¶
type GetClusterTopoesConnectionReader struct {
// contains filtered or unexported fields
}
GetClusterTopoesConnectionReader is a Reader for the GetClusterTopoesConnection structure.
func (*GetClusterTopoesConnectionReader) ReadResponse ¶
func (o *GetClusterTopoesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterTopoesInternalServerError ¶
type GetClusterTopoesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterTopoesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterTopoesInternalServerError ¶
func NewGetClusterTopoesInternalServerError() *GetClusterTopoesInternalServerError
NewGetClusterTopoesInternalServerError creates a GetClusterTopoesInternalServerError with default headers values
func (*GetClusterTopoesInternalServerError) Error ¶
func (o *GetClusterTopoesInternalServerError) Error() string
func (*GetClusterTopoesInternalServerError) GetPayload ¶
func (o *GetClusterTopoesInternalServerError) GetPayload() *models.ErrorBody
type GetClusterTopoesNotFound ¶
GetClusterTopoesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterTopoesNotFound ¶
func NewGetClusterTopoesNotFound() *GetClusterTopoesNotFound
NewGetClusterTopoesNotFound creates a GetClusterTopoesNotFound with default headers values
func (*GetClusterTopoesNotFound) Error ¶
func (o *GetClusterTopoesNotFound) Error() string
func (*GetClusterTopoesNotFound) GetPayload ¶
func (o *GetClusterTopoesNotFound) GetPayload() *models.ErrorBody
type GetClusterTopoesOK ¶
type GetClusterTopoesOK struct { XTowerRequestID string Payload []*models.ClusterTopo }
GetClusterTopoesOK describes a response with status code 200, with default header values.
GetClusterTopoesOK get cluster topoes o k
func NewGetClusterTopoesOK ¶
func NewGetClusterTopoesOK() *GetClusterTopoesOK
NewGetClusterTopoesOK creates a GetClusterTopoesOK with default headers values
func (*GetClusterTopoesOK) Error ¶
func (o *GetClusterTopoesOK) Error() string
func (*GetClusterTopoesOK) GetPayload ¶
func (o *GetClusterTopoesOK) GetPayload() []*models.ClusterTopo
type GetClusterTopoesParams ¶
type GetClusterTopoesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClusterTopoesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterTopoesParams contains all the parameters to send to the API endpoint
for the get cluster topoes operation. Typically these are written to a http.Request.
func NewGetClusterTopoesParams ¶
func NewGetClusterTopoesParams() *GetClusterTopoesParams
NewGetClusterTopoesParams creates a new GetClusterTopoesParams 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 NewGetClusterTopoesParamsWithContext ¶
func NewGetClusterTopoesParamsWithContext(ctx context.Context) *GetClusterTopoesParams
NewGetClusterTopoesParamsWithContext creates a new GetClusterTopoesParams object with the ability to set a context for a request.
func NewGetClusterTopoesParamsWithHTTPClient ¶
func NewGetClusterTopoesParamsWithHTTPClient(client *http.Client) *GetClusterTopoesParams
NewGetClusterTopoesParamsWithHTTPClient creates a new GetClusterTopoesParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterTopoesParamsWithTimeout ¶
func NewGetClusterTopoesParamsWithTimeout(timeout time.Duration) *GetClusterTopoesParams
NewGetClusterTopoesParamsWithTimeout creates a new GetClusterTopoesParams object with the ability to set a timeout on a request.
func (*GetClusterTopoesParams) SetContentLanguage ¶
func (o *GetClusterTopoesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get cluster topoes params
func (*GetClusterTopoesParams) SetContext ¶
func (o *GetClusterTopoesParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster topoes params
func (*GetClusterTopoesParams) SetDefaults ¶
func (o *GetClusterTopoesParams) SetDefaults()
SetDefaults hydrates default values in the get cluster topoes params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterTopoesParams) SetHTTPClient ¶
func (o *GetClusterTopoesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster topoes params
func (*GetClusterTopoesParams) SetRequestBody ¶
func (o *GetClusterTopoesParams) SetRequestBody(requestBody *models.GetClusterTopoesRequestBody)
SetRequestBody adds the requestBody to the get cluster topoes params
func (*GetClusterTopoesParams) SetTimeout ¶
func (o *GetClusterTopoesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster topoes params
func (*GetClusterTopoesParams) WithContentLanguage ¶
func (o *GetClusterTopoesParams) WithContentLanguage(contentLanguage *string) *GetClusterTopoesParams
WithContentLanguage adds the contentLanguage to the get cluster topoes params
func (*GetClusterTopoesParams) WithContext ¶
func (o *GetClusterTopoesParams) WithContext(ctx context.Context) *GetClusterTopoesParams
WithContext adds the context to the get cluster topoes params
func (*GetClusterTopoesParams) WithDefaults ¶
func (o *GetClusterTopoesParams) WithDefaults() *GetClusterTopoesParams
WithDefaults hydrates default values in the get cluster topoes params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterTopoesParams) WithHTTPClient ¶
func (o *GetClusterTopoesParams) WithHTTPClient(client *http.Client) *GetClusterTopoesParams
WithHTTPClient adds the HTTPClient to the get cluster topoes params
func (*GetClusterTopoesParams) WithRequestBody ¶
func (o *GetClusterTopoesParams) WithRequestBody(requestBody *models.GetClusterTopoesRequestBody) *GetClusterTopoesParams
WithRequestBody adds the requestBody to the get cluster topoes params
func (*GetClusterTopoesParams) WithTimeout ¶
func (o *GetClusterTopoesParams) WithTimeout(timeout time.Duration) *GetClusterTopoesParams
WithTimeout adds the timeout to the get cluster topoes params
func (*GetClusterTopoesParams) WriteToRequest ¶
func (o *GetClusterTopoesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterTopoesReader ¶
type GetClusterTopoesReader struct {
// contains filtered or unexported fields
}
GetClusterTopoesReader is a Reader for the GetClusterTopoes structure.
func (*GetClusterTopoesReader) ReadResponse ¶
func (o *GetClusterTopoesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.