cluster_topo

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 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 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

type GetClusterTopoesBadRequest struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*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 (*GetClusterTopoesConnectionBadRequest) GetPayload

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 (*GetClusterTopoesConnectionInternalServerError) GetPayload

type GetClusterTopoesConnectionNotFound

type GetClusterTopoesConnectionNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetClusterTopoesConnectionNotFound) GetPayload

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 (*GetClusterTopoesConnectionOK) GetPayload

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

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

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

WithContext adds the context to the get cluster topoes connection params

func (*GetClusterTopoesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get cluster topoes connection params

func (*GetClusterTopoesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get cluster topoes connection params

func (*GetClusterTopoesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get cluster topoes connection params

func (*GetClusterTopoesConnectionParams) WriteToRequest

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 (*GetClusterTopoesInternalServerError) GetPayload

type GetClusterTopoesNotFound

type GetClusterTopoesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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

WithContext adds the context to the get cluster topoes params

func (*GetClusterTopoesParams) WithDefaults

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

WithRequestBody adds the requestBody to the get cluster topoes params

func (*GetClusterTopoesParams) WithTimeout

WithTimeout adds the timeout to the get cluster topoes params

func (*GetClusterTopoesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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