Documentation ¶
Index ¶
- type Client
- func (a *Client) EdgeClusterGetUsingGET(params *EdgeClusterGetUsingGETParams, opts ...ClientOption) (*EdgeClusterGetUsingGETOK, error)
- func (a *Client) LogicalPortListUsingGET(params *LogicalPortListUsingGETParams, opts ...ClientOption) (*LogicalPortListUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type EdgeClusterGetUsingGETBadRequest
- type EdgeClusterGetUsingGETNotFound
- type EdgeClusterGetUsingGETOK
- type EdgeClusterGetUsingGETParams
- func NewEdgeClusterGetUsingGETParams() *EdgeClusterGetUsingGETParams
- func NewEdgeClusterGetUsingGETParamsWithContext(ctx context.Context) *EdgeClusterGetUsingGETParams
- func NewEdgeClusterGetUsingGETParamsWithHTTPClient(client *http.Client) *EdgeClusterGetUsingGETParams
- func NewEdgeClusterGetUsingGETParamsWithTimeout(timeout time.Duration) *EdgeClusterGetUsingGETParams
- func (o *EdgeClusterGetUsingGETParams) SetContext(ctx context.Context)
- func (o *EdgeClusterGetUsingGETParams) SetDefaults()
- func (o *EdgeClusterGetUsingGETParams) SetEdgeClusterID(edgeClusterID string)
- func (o *EdgeClusterGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *EdgeClusterGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *EdgeClusterGetUsingGETParams) WithContext(ctx context.Context) *EdgeClusterGetUsingGETParams
- func (o *EdgeClusterGetUsingGETParams) WithDefaults() *EdgeClusterGetUsingGETParams
- func (o *EdgeClusterGetUsingGETParams) WithEdgeClusterID(edgeClusterID string) *EdgeClusterGetUsingGETParams
- func (o *EdgeClusterGetUsingGETParams) WithHTTPClient(client *http.Client) *EdgeClusterGetUsingGETParams
- func (o *EdgeClusterGetUsingGETParams) WithTimeout(timeout time.Duration) *EdgeClusterGetUsingGETParams
- func (o *EdgeClusterGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EdgeClusterGetUsingGETReader
- type LogicalPortListUsingGETBadRequest
- type LogicalPortListUsingGETOK
- type LogicalPortListUsingGETParams
- func NewLogicalPortListUsingGETParams() *LogicalPortListUsingGETParams
- func NewLogicalPortListUsingGETParamsWithContext(ctx context.Context) *LogicalPortListUsingGETParams
- func NewLogicalPortListUsingGETParamsWithHTTPClient(client *http.Client) *LogicalPortListUsingGETParams
- func NewLogicalPortListUsingGETParamsWithTimeout(timeout time.Duration) *LogicalPortListUsingGETParams
- func (o *LogicalPortListUsingGETParams) SetContext(ctx context.Context)
- func (o *LogicalPortListUsingGETParams) SetDefaults()
- func (o *LogicalPortListUsingGETParams) SetDisplayName(displayName *string)
- func (o *LogicalPortListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *LogicalPortListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *LogicalPortListUsingGETParams) WithContext(ctx context.Context) *LogicalPortListUsingGETParams
- func (o *LogicalPortListUsingGETParams) WithDefaults() *LogicalPortListUsingGETParams
- func (o *LogicalPortListUsingGETParams) WithDisplayName(displayName *string) *LogicalPortListUsingGETParams
- func (o *LogicalPortListUsingGETParams) WithHTTPClient(client *http.Client) *LogicalPortListUsingGETParams
- func (o *LogicalPortListUsingGETParams) WithTimeout(timeout time.Duration) *LogicalPortListUsingGETParams
- func (o *LogicalPortListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LogicalPortListUsingGETReader
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 (o *EdgeClusterGetUsingGETBadRequest) Error() string
func (*EdgeClusterGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *EdgeClusterGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 ¶
func (o *EdgeClusterGetUsingGETNotFound) Error() string
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 ¶
func (o *EdgeClusterGetUsingGETOK) GetPayload() *models.EdgeClusterGetResponse
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 ¶
func (o *EdgeClusterGetUsingGETParams) WithContext(ctx context.Context) *EdgeClusterGetUsingGETParams
WithContext adds the context to the edge cluster get using g e t params
func (*EdgeClusterGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *EdgeClusterGetUsingGETParams) WithDefaults() *EdgeClusterGetUsingGETParams
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 ¶
func (o *EdgeClusterGetUsingGETParams) WithHTTPClient(client *http.Client) *EdgeClusterGetUsingGETParams
WithHTTPClient adds the HTTPClient to the edge cluster get using g e t params
func (*EdgeClusterGetUsingGETParams) WithTimeout ¶
func (o *EdgeClusterGetUsingGETParams) WithTimeout(timeout time.Duration) *EdgeClusterGetUsingGETParams
WithTimeout adds the timeout to the edge cluster get using g e t params
func (*EdgeClusterGetUsingGETParams) WriteToRequest ¶
func (o *EdgeClusterGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *LogicalPortListUsingGETBadRequest) Error() string
func (*LogicalPortListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *LogicalPortListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 ¶
func (o *LogicalPortListUsingGETOK) GetPayload() *models.EdgeClusterListResponse
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 ¶
func (o *LogicalPortListUsingGETParams) WithContext(ctx context.Context) *LogicalPortListUsingGETParams
WithContext adds the context to the logical port list using g e t params
func (*LogicalPortListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *LogicalPortListUsingGETParams) WithDefaults() *LogicalPortListUsingGETParams
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 ¶
func (o *LogicalPortListUsingGETParams) WithHTTPClient(client *http.Client) *LogicalPortListUsingGETParams
WithHTTPClient adds the HTTPClient to the logical port list using g e t params
func (*LogicalPortListUsingGETParams) WithTimeout ¶
func (o *LogicalPortListUsingGETParams) WithTimeout(timeout time.Duration) *LogicalPortListUsingGETParams
WithTimeout adds the timeout to the logical port list using g e t params
func (*LogicalPortListUsingGETParams) WriteToRequest ¶
func (o *LogicalPortListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.