edge_clusters

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 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 edge clusters API

func (*Client) EdgeClusterGetUsingGET

func (a *Client) EdgeClusterGetUsingGET(params *EdgeClusterGetUsingGETParams, opts ...ClientOption) (*EdgeClusterGetUsingGETOK, error)

EdgeClusterGetUsingGET gets

Get edge cluster from NSX-T

func (*Client) LogicalPortListUsingGET

func (a *Client) LogicalPortListUsingGET(params *LogicalPortListUsingGETParams, opts ...ClientOption) (*LogicalPortListUsingGETOK, error)

LogicalPortListUsingGET lists

List edge clusters from NSX-T

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	EdgeClusterGetUsingGET(params *EdgeClusterGetUsingGETParams, opts ...ClientOption) (*EdgeClusterGetUsingGETOK, error)

	LogicalPortListUsingGET(params *LogicalPortListUsingGETParams, opts ...ClientOption) (*LogicalPortListUsingGETOK, 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 edge clusters API client.

type EdgeClusterGetUsingGETBadRequest

type EdgeClusterGetUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
EdgeClusterGetUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewEdgeClusterGetUsingGETBadRequest

func NewEdgeClusterGetUsingGETBadRequest() *EdgeClusterGetUsingGETBadRequest

NewEdgeClusterGetUsingGETBadRequest creates a EdgeClusterGetUsingGETBadRequest with default headers values

func (*EdgeClusterGetUsingGETBadRequest) Error

func (*EdgeClusterGetUsingGETBadRequest) GetPayload added in v1.2.0

type EdgeClusterGetUsingGETNotFound

type EdgeClusterGetUsingGETNotFound struct {
}
EdgeClusterGetUsingGETNotFound describes a response with status code 404, with default header values.

Entity not found.

func NewEdgeClusterGetUsingGETNotFound

func NewEdgeClusterGetUsingGETNotFound() *EdgeClusterGetUsingGETNotFound

NewEdgeClusterGetUsingGETNotFound creates a EdgeClusterGetUsingGETNotFound with default headers values

func (*EdgeClusterGetUsingGETNotFound) Error

type EdgeClusterGetUsingGETOK

type EdgeClusterGetUsingGETOK struct {
	Payload *models.EdgeClusterGetResponse
}
EdgeClusterGetUsingGETOK describes a response with status code 200, with default header values.

OK

func NewEdgeClusterGetUsingGETOK

func NewEdgeClusterGetUsingGETOK() *EdgeClusterGetUsingGETOK

NewEdgeClusterGetUsingGETOK creates a EdgeClusterGetUsingGETOK with default headers values

func (*EdgeClusterGetUsingGETOK) Error

func (o *EdgeClusterGetUsingGETOK) Error() string

func (*EdgeClusterGetUsingGETOK) GetPayload

type EdgeClusterGetUsingGETParams

type EdgeClusterGetUsingGETParams struct {

	/* EdgeClusterID.

	   edgeClusterId
	*/
	EdgeClusterID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

EdgeClusterGetUsingGETParams contains all the parameters to send to the API endpoint

for the edge cluster get using g e t operation.

Typically these are written to a http.Request.

func NewEdgeClusterGetUsingGETParams

func NewEdgeClusterGetUsingGETParams() *EdgeClusterGetUsingGETParams

NewEdgeClusterGetUsingGETParams creates a new EdgeClusterGetUsingGETParams 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 NewEdgeClusterGetUsingGETParamsWithContext

func NewEdgeClusterGetUsingGETParamsWithContext(ctx context.Context) *EdgeClusterGetUsingGETParams

NewEdgeClusterGetUsingGETParamsWithContext creates a new EdgeClusterGetUsingGETParams object with the ability to set a context for a request.

func NewEdgeClusterGetUsingGETParamsWithHTTPClient

func NewEdgeClusterGetUsingGETParamsWithHTTPClient(client *http.Client) *EdgeClusterGetUsingGETParams

NewEdgeClusterGetUsingGETParamsWithHTTPClient creates a new EdgeClusterGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewEdgeClusterGetUsingGETParamsWithTimeout

func NewEdgeClusterGetUsingGETParamsWithTimeout(timeout time.Duration) *EdgeClusterGetUsingGETParams

NewEdgeClusterGetUsingGETParamsWithTimeout creates a new EdgeClusterGetUsingGETParams object with the ability to set a timeout on a request.

func (*EdgeClusterGetUsingGETParams) SetContext

func (o *EdgeClusterGetUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) SetDefaults added in v1.2.4

func (o *EdgeClusterGetUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the edge cluster get using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*EdgeClusterGetUsingGETParams) SetEdgeClusterID

func (o *EdgeClusterGetUsingGETParams) SetEdgeClusterID(edgeClusterID string)

SetEdgeClusterID adds the edgeClusterId to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) SetHTTPClient

func (o *EdgeClusterGetUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) SetTimeout

func (o *EdgeClusterGetUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) WithContext

WithContext adds the context to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the edge cluster get using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*EdgeClusterGetUsingGETParams) WithEdgeClusterID

func (o *EdgeClusterGetUsingGETParams) WithEdgeClusterID(edgeClusterID string) *EdgeClusterGetUsingGETParams

WithEdgeClusterID adds the edgeClusterID to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the edge cluster get using g e t params

func (*EdgeClusterGetUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EdgeClusterGetUsingGETReader

type EdgeClusterGetUsingGETReader struct {
	// contains filtered or unexported fields
}

EdgeClusterGetUsingGETReader is a Reader for the EdgeClusterGetUsingGET structure.

func (*EdgeClusterGetUsingGETReader) ReadResponse

func (o *EdgeClusterGetUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type LogicalPortListUsingGETBadRequest

type LogicalPortListUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
LogicalPortListUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewLogicalPortListUsingGETBadRequest

func NewLogicalPortListUsingGETBadRequest() *LogicalPortListUsingGETBadRequest

NewLogicalPortListUsingGETBadRequest creates a LogicalPortListUsingGETBadRequest with default headers values

func (*LogicalPortListUsingGETBadRequest) Error

func (*LogicalPortListUsingGETBadRequest) GetPayload added in v1.2.0

type LogicalPortListUsingGETOK

type LogicalPortListUsingGETOK struct {
	Payload *models.EdgeClusterListResponse
}
LogicalPortListUsingGETOK describes a response with status code 200, with default header values.

OK

func NewLogicalPortListUsingGETOK

func NewLogicalPortListUsingGETOK() *LogicalPortListUsingGETOK

NewLogicalPortListUsingGETOK creates a LogicalPortListUsingGETOK with default headers values

func (*LogicalPortListUsingGETOK) Error

func (o *LogicalPortListUsingGETOK) Error() string

func (*LogicalPortListUsingGETOK) GetPayload

type LogicalPortListUsingGETParams

type LogicalPortListUsingGETParams struct {

	/* DisplayName.

	   displayName
	*/
	DisplayName *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

LogicalPortListUsingGETParams contains all the parameters to send to the API endpoint

for the logical port list using g e t operation.

Typically these are written to a http.Request.

func NewLogicalPortListUsingGETParams

func NewLogicalPortListUsingGETParams() *LogicalPortListUsingGETParams

NewLogicalPortListUsingGETParams creates a new LogicalPortListUsingGETParams 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 NewLogicalPortListUsingGETParamsWithContext

func NewLogicalPortListUsingGETParamsWithContext(ctx context.Context) *LogicalPortListUsingGETParams

NewLogicalPortListUsingGETParamsWithContext creates a new LogicalPortListUsingGETParams object with the ability to set a context for a request.

func NewLogicalPortListUsingGETParamsWithHTTPClient

func NewLogicalPortListUsingGETParamsWithHTTPClient(client *http.Client) *LogicalPortListUsingGETParams

NewLogicalPortListUsingGETParamsWithHTTPClient creates a new LogicalPortListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewLogicalPortListUsingGETParamsWithTimeout

func NewLogicalPortListUsingGETParamsWithTimeout(timeout time.Duration) *LogicalPortListUsingGETParams

NewLogicalPortListUsingGETParamsWithTimeout creates a new LogicalPortListUsingGETParams object with the ability to set a timeout on a request.

func (*LogicalPortListUsingGETParams) SetContext

func (o *LogicalPortListUsingGETParams) SetContext(ctx context.Context)

SetContext adds the context to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) SetDefaults added in v1.2.4

func (o *LogicalPortListUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the logical port list using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*LogicalPortListUsingGETParams) SetDisplayName

func (o *LogicalPortListUsingGETParams) SetDisplayName(displayName *string)

SetDisplayName adds the displayName to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) SetHTTPClient

func (o *LogicalPortListUsingGETParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) SetTimeout

func (o *LogicalPortListUsingGETParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) WithContext

WithContext adds the context to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the logical port list using g e t params (not the query body).

All values with no default are reset to their zero value.

func (*LogicalPortListUsingGETParams) WithDisplayName

func (o *LogicalPortListUsingGETParams) WithDisplayName(displayName *string) *LogicalPortListUsingGETParams

WithDisplayName adds the displayName to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the logical port list using g e t params

func (*LogicalPortListUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type LogicalPortListUsingGETReader

type LogicalPortListUsingGETReader struct {
	// contains filtered or unexported fields
}

LogicalPortListUsingGETReader is a Reader for the LogicalPortListUsingGET structure.

func (*LogicalPortListUsingGETReader) ReadResponse

func (o *LogicalPortListUsingGETReader) 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