Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type InternalV1PowervsLocationsTransitgatewayGetForbidden
- type InternalV1PowervsLocationsTransitgatewayGetInternalServerError
- type InternalV1PowervsLocationsTransitgatewayGetOK
- type InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParams() *InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams
- func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetContext(ctx context.Context)
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetDefaults()
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetHTTPClient(client *http.Client)
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetTimeout(timeout time.Duration)
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithDefaults() *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams
- func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InternalV1PowervsLocationsTransitgatewayGetReader
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 internal power v s locations API
func (*Client) InternalV1PowervsLocationsTransitgatewayGet ¶
func (a *Client) InternalV1PowervsLocationsTransitgatewayGet(params *InternalV1PowervsLocationsTransitgatewayGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1PowervsLocationsTransitgatewayGetOK, error)
InternalV1PowervsLocationsTransitgatewayGet gets list of p e r enabled power v s locations
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 { InternalV1PowervsLocationsTransitgatewayGet(params *InternalV1PowervsLocationsTransitgatewayGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InternalV1PowervsLocationsTransitgatewayGetOK, 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 internal power v s locations API client.
type InternalV1PowervsLocationsTransitgatewayGetForbidden ¶
InternalV1PowervsLocationsTransitgatewayGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewInternalV1PowervsLocationsTransitgatewayGetForbidden ¶
func NewInternalV1PowervsLocationsTransitgatewayGetForbidden() *InternalV1PowervsLocationsTransitgatewayGetForbidden
NewInternalV1PowervsLocationsTransitgatewayGetForbidden creates a InternalV1PowervsLocationsTransitgatewayGetForbidden with default headers values
func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) Error ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) Error() string
func (*InternalV1PowervsLocationsTransitgatewayGetForbidden) GetPayload ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetForbidden) GetPayload() *models.Error
type InternalV1PowervsLocationsTransitgatewayGetInternalServerError ¶
type InternalV1PowervsLocationsTransitgatewayGetInternalServerError struct {
Payload *models.Error
}
InternalV1PowervsLocationsTransitgatewayGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewInternalV1PowervsLocationsTransitgatewayGetInternalServerError ¶
func NewInternalV1PowervsLocationsTransitgatewayGetInternalServerError() *InternalV1PowervsLocationsTransitgatewayGetInternalServerError
NewInternalV1PowervsLocationsTransitgatewayGetInternalServerError creates a InternalV1PowervsLocationsTransitgatewayGetInternalServerError with default headers values
func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Error ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) Error() string
func (*InternalV1PowervsLocationsTransitgatewayGetInternalServerError) GetPayload ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetInternalServerError) GetPayload() *models.Error
type InternalV1PowervsLocationsTransitgatewayGetOK ¶
type InternalV1PowervsLocationsTransitgatewayGetOK struct {
Payload models.TransitGatewayLocations
}
InternalV1PowervsLocationsTransitgatewayGetOK describes a response with status code 200, with default header values.
OK
func NewInternalV1PowervsLocationsTransitgatewayGetOK ¶
func NewInternalV1PowervsLocationsTransitgatewayGetOK() *InternalV1PowervsLocationsTransitgatewayGetOK
NewInternalV1PowervsLocationsTransitgatewayGetOK creates a InternalV1PowervsLocationsTransitgatewayGetOK with default headers values
func (*InternalV1PowervsLocationsTransitgatewayGetOK) Error ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) Error() string
func (*InternalV1PowervsLocationsTransitgatewayGetOK) GetPayload ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetOK) GetPayload() models.TransitGatewayLocations
type InternalV1PowervsLocationsTransitgatewayGetParams ¶
type InternalV1PowervsLocationsTransitgatewayGetParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InternalV1PowervsLocationsTransitgatewayGetParams contains all the parameters to send to the API endpoint
for the internal v1 powervs locations transitgateway get operation. Typically these are written to a http.Request.
func NewInternalV1PowervsLocationsTransitgatewayGetParams ¶
func NewInternalV1PowervsLocationsTransitgatewayGetParams() *InternalV1PowervsLocationsTransitgatewayGetParams
NewInternalV1PowervsLocationsTransitgatewayGetParams creates a new InternalV1PowervsLocationsTransitgatewayGetParams 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 NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext ¶
func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams
NewInternalV1PowervsLocationsTransitgatewayGetParamsWithContext creates a new InternalV1PowervsLocationsTransitgatewayGetParams object with the ability to set a context for a request.
func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient ¶
func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams
NewInternalV1PowervsLocationsTransitgatewayGetParamsWithHTTPClient creates a new InternalV1PowervsLocationsTransitgatewayGetParams object with the ability to set a custom HTTPClient for a request.
func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout ¶
func NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams
NewInternalV1PowervsLocationsTransitgatewayGetParamsWithTimeout creates a new InternalV1PowervsLocationsTransitgatewayGetParams object with the ability to set a timeout on a request.
func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetContext ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetContext(ctx context.Context)
SetContext adds the context to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetDefaults ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetDefaults()
SetDefaults hydrates default values in the internal v1 powervs locations transitgateway get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetHTTPClient ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) SetTimeout ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithContext ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithContext(ctx context.Context) *InternalV1PowervsLocationsTransitgatewayGetParams
WithContext adds the context to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithDefaults ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithDefaults() *InternalV1PowervsLocationsTransitgatewayGetParams
WithDefaults hydrates default values in the internal v1 powervs locations transitgateway get params (not the query body).
All values with no default are reset to their zero value.
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithHTTPClient ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithHTTPClient(client *http.Client) *InternalV1PowervsLocationsTransitgatewayGetParams
WithHTTPClient adds the HTTPClient to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WithTimeout ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WithTimeout(timeout time.Duration) *InternalV1PowervsLocationsTransitgatewayGetParams
WithTimeout adds the timeout to the internal v1 powervs locations transitgateway get params
func (*InternalV1PowervsLocationsTransitgatewayGetParams) WriteToRequest ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InternalV1PowervsLocationsTransitgatewayGetReader ¶
type InternalV1PowervsLocationsTransitgatewayGetReader struct {
// contains filtered or unexported fields
}
InternalV1PowervsLocationsTransitgatewayGetReader is a Reader for the InternalV1PowervsLocationsTransitgatewayGet structure.
func (*InternalV1PowervsLocationsTransitgatewayGetReader) ReadResponse ¶
func (o *InternalV1PowervsLocationsTransitgatewayGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.