Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateComputeGateway(params *CreateComputeGatewayParams) (*CreateComputeGatewayOK, error)
- func (a *Client) DeleteComputeGateway(params *DeleteComputeGatewayParams) (*DeleteComputeGatewayOK, error)
- func (a *Client) GetComputeGateway(params *GetComputeGatewayParams) (*GetComputeGatewayOK, error)
- func (a *Client) GetGateway(params *GetGatewayParams) (*GetGatewayOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateComputeGatewayBadRequest
- type CreateComputeGatewayForbidden
- type CreateComputeGatewayOK
- type CreateComputeGatewayParams
- func NewCreateComputeGatewayParams() *CreateComputeGatewayParams
- func NewCreateComputeGatewayParamsWithContext(ctx context.Context) *CreateComputeGatewayParams
- func NewCreateComputeGatewayParamsWithHTTPClient(client *http.Client) *CreateComputeGatewayParams
- func NewCreateComputeGatewayParamsWithTimeout(timeout time.Duration) *CreateComputeGatewayParams
- func (o *CreateComputeGatewayParams) SetAPIVersion(aPIVersion *string)
- func (o *CreateComputeGatewayParams) SetBody(body *models.ComputeGatewaySpecification)
- func (o *CreateComputeGatewayParams) SetContext(ctx context.Context)
- func (o *CreateComputeGatewayParams) SetHTTPClient(client *http.Client)
- func (o *CreateComputeGatewayParams) SetTimeout(timeout time.Duration)
- func (o *CreateComputeGatewayParams) WithAPIVersion(aPIVersion *string) *CreateComputeGatewayParams
- func (o *CreateComputeGatewayParams) WithBody(body *models.ComputeGatewaySpecification) *CreateComputeGatewayParams
- func (o *CreateComputeGatewayParams) WithContext(ctx context.Context) *CreateComputeGatewayParams
- func (o *CreateComputeGatewayParams) WithHTTPClient(client *http.Client) *CreateComputeGatewayParams
- func (o *CreateComputeGatewayParams) WithTimeout(timeout time.Duration) *CreateComputeGatewayParams
- func (o *CreateComputeGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateComputeGatewayReader
- type DeleteComputeGatewayForbidden
- type DeleteComputeGatewayOK
- type DeleteComputeGatewayParams
- func NewDeleteComputeGatewayParams() *DeleteComputeGatewayParams
- func NewDeleteComputeGatewayParamsWithContext(ctx context.Context) *DeleteComputeGatewayParams
- func NewDeleteComputeGatewayParamsWithHTTPClient(client *http.Client) *DeleteComputeGatewayParams
- func NewDeleteComputeGatewayParamsWithTimeout(timeout time.Duration) *DeleteComputeGatewayParams
- func (o *DeleteComputeGatewayParams) SetAPIVersion(aPIVersion *string)
- func (o *DeleteComputeGatewayParams) SetContext(ctx context.Context)
- func (o *DeleteComputeGatewayParams) SetForceDelete(forceDelete *bool)
- func (o *DeleteComputeGatewayParams) SetHTTPClient(client *http.Client)
- func (o *DeleteComputeGatewayParams) SetID(id string)
- func (o *DeleteComputeGatewayParams) SetTimeout(timeout time.Duration)
- func (o *DeleteComputeGatewayParams) WithAPIVersion(aPIVersion *string) *DeleteComputeGatewayParams
- func (o *DeleteComputeGatewayParams) WithContext(ctx context.Context) *DeleteComputeGatewayParams
- func (o *DeleteComputeGatewayParams) WithForceDelete(forceDelete *bool) *DeleteComputeGatewayParams
- func (o *DeleteComputeGatewayParams) WithHTTPClient(client *http.Client) *DeleteComputeGatewayParams
- func (o *DeleteComputeGatewayParams) WithID(id string) *DeleteComputeGatewayParams
- func (o *DeleteComputeGatewayParams) WithTimeout(timeout time.Duration) *DeleteComputeGatewayParams
- func (o *DeleteComputeGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteComputeGatewayReader
- type GetComputeGatewayForbidden
- type GetComputeGatewayOK
- type GetComputeGatewayParams
- func NewGetComputeGatewayParams() *GetComputeGatewayParams
- func NewGetComputeGatewayParamsWithContext(ctx context.Context) *GetComputeGatewayParams
- func NewGetComputeGatewayParamsWithHTTPClient(client *http.Client) *GetComputeGatewayParams
- func NewGetComputeGatewayParamsWithTimeout(timeout time.Duration) *GetComputeGatewayParams
- func (o *GetComputeGatewayParams) SetAPIVersion(aPIVersion *string)
- func (o *GetComputeGatewayParams) SetContext(ctx context.Context)
- func (o *GetComputeGatewayParams) SetHTTPClient(client *http.Client)
- func (o *GetComputeGatewayParams) SetTimeout(timeout time.Duration)
- func (o *GetComputeGatewayParams) WithAPIVersion(aPIVersion *string) *GetComputeGatewayParams
- func (o *GetComputeGatewayParams) WithContext(ctx context.Context) *GetComputeGatewayParams
- func (o *GetComputeGatewayParams) WithHTTPClient(client *http.Client) *GetComputeGatewayParams
- func (o *GetComputeGatewayParams) WithTimeout(timeout time.Duration) *GetComputeGatewayParams
- func (o *GetComputeGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetComputeGatewayReader
- type GetGatewayForbidden
- type GetGatewayNotFound
- type GetGatewayOK
- type GetGatewayParams
- func (o *GetGatewayParams) SetAPIVersion(aPIVersion *string)
- func (o *GetGatewayParams) SetContext(ctx context.Context)
- func (o *GetGatewayParams) SetHTTPClient(client *http.Client)
- func (o *GetGatewayParams) SetID(id string)
- func (o *GetGatewayParams) SetTimeout(timeout time.Duration)
- func (o *GetGatewayParams) WithAPIVersion(aPIVersion *string) *GetGatewayParams
- func (o *GetGatewayParams) WithContext(ctx context.Context) *GetGatewayParams
- func (o *GetGatewayParams) WithHTTPClient(client *http.Client) *GetGatewayParams
- func (o *GetGatewayParams) WithID(id string) *GetGatewayParams
- func (o *GetGatewayParams) WithTimeout(timeout time.Duration) *GetGatewayParams
- func (o *GetGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGatewayReader
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 compute gateway API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new compute gateway API client.
func (*Client) CreateComputeGateway ¶
func (a *Client) CreateComputeGateway(params *CreateComputeGatewayParams) (*CreateComputeGatewayOK, error)
CreateComputeGateway creates a compute gateway
Create a new compute gateway.
func (*Client) DeleteComputeGateway ¶
func (a *Client) DeleteComputeGateway(params *DeleteComputeGatewayParams) (*DeleteComputeGatewayOK, error)
DeleteComputeGateway deletes a compute gateway
Delete compute gateway with a given id
func (*Client) GetComputeGateway ¶
func (a *Client) GetComputeGateway(params *GetComputeGatewayParams) (*GetComputeGatewayOK, error)
GetComputeGateway gets compute gateway
Get all compute gateways
func (*Client) GetGateway ¶
func (a *Client) GetGateway(params *GetGatewayParams) (*GetGatewayOK, error)
GetGateway gets gateway
Get gateway with a given id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CreateComputeGatewayBadRequest ¶
CreateComputeGatewayBadRequest handles this case with default header values.
Invalid Request - bad data
func NewCreateComputeGatewayBadRequest ¶
func NewCreateComputeGatewayBadRequest() *CreateComputeGatewayBadRequest
NewCreateComputeGatewayBadRequest creates a CreateComputeGatewayBadRequest with default headers values
func (*CreateComputeGatewayBadRequest) Error ¶
func (o *CreateComputeGatewayBadRequest) Error() string
func (*CreateComputeGatewayBadRequest) GetPayload ¶
func (o *CreateComputeGatewayBadRequest) GetPayload() *models.Error
type CreateComputeGatewayForbidden ¶
type CreateComputeGatewayForbidden struct { }
CreateComputeGatewayForbidden handles this case with default header values.
Forbidden
func NewCreateComputeGatewayForbidden ¶
func NewCreateComputeGatewayForbidden() *CreateComputeGatewayForbidden
NewCreateComputeGatewayForbidden creates a CreateComputeGatewayForbidden with default headers values
func (*CreateComputeGatewayForbidden) Error ¶
func (o *CreateComputeGatewayForbidden) Error() string
type CreateComputeGatewayOK ¶
type CreateComputeGatewayOK struct {
Payload *models.RequestTracker
}
CreateComputeGatewayOK handles this case with default header values.
successful operation
func NewCreateComputeGatewayOK ¶
func NewCreateComputeGatewayOK() *CreateComputeGatewayOK
NewCreateComputeGatewayOK creates a CreateComputeGatewayOK with default headers values
func (*CreateComputeGatewayOK) Error ¶
func (o *CreateComputeGatewayOK) Error() string
func (*CreateComputeGatewayOK) GetPayload ¶
func (o *CreateComputeGatewayOK) GetPayload() *models.RequestTracker
type CreateComputeGatewayParams ¶
type CreateComputeGatewayParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*Body Compute Gateway Specification instance */ Body *models.ComputeGatewaySpecification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateComputeGatewayParams contains all the parameters to send to the API endpoint for the create compute gateway operation typically these are written to a http.Request
func NewCreateComputeGatewayParams ¶
func NewCreateComputeGatewayParams() *CreateComputeGatewayParams
NewCreateComputeGatewayParams creates a new CreateComputeGatewayParams object with the default values initialized.
func NewCreateComputeGatewayParamsWithContext ¶
func NewCreateComputeGatewayParamsWithContext(ctx context.Context) *CreateComputeGatewayParams
NewCreateComputeGatewayParamsWithContext creates a new CreateComputeGatewayParams object with the default values initialized, and the ability to set a context for a request
func NewCreateComputeGatewayParamsWithHTTPClient ¶
func NewCreateComputeGatewayParamsWithHTTPClient(client *http.Client) *CreateComputeGatewayParams
NewCreateComputeGatewayParamsWithHTTPClient creates a new CreateComputeGatewayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateComputeGatewayParamsWithTimeout ¶
func NewCreateComputeGatewayParamsWithTimeout(timeout time.Duration) *CreateComputeGatewayParams
NewCreateComputeGatewayParamsWithTimeout creates a new CreateComputeGatewayParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateComputeGatewayParams) SetAPIVersion ¶
func (o *CreateComputeGatewayParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the create compute gateway params
func (*CreateComputeGatewayParams) SetBody ¶
func (o *CreateComputeGatewayParams) SetBody(body *models.ComputeGatewaySpecification)
SetBody adds the body to the create compute gateway params
func (*CreateComputeGatewayParams) SetContext ¶
func (o *CreateComputeGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the create compute gateway params
func (*CreateComputeGatewayParams) SetHTTPClient ¶
func (o *CreateComputeGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create compute gateway params
func (*CreateComputeGatewayParams) SetTimeout ¶
func (o *CreateComputeGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create compute gateway params
func (*CreateComputeGatewayParams) WithAPIVersion ¶
func (o *CreateComputeGatewayParams) WithAPIVersion(aPIVersion *string) *CreateComputeGatewayParams
WithAPIVersion adds the aPIVersion to the create compute gateway params
func (*CreateComputeGatewayParams) WithBody ¶
func (o *CreateComputeGatewayParams) WithBody(body *models.ComputeGatewaySpecification) *CreateComputeGatewayParams
WithBody adds the body to the create compute gateway params
func (*CreateComputeGatewayParams) WithContext ¶
func (o *CreateComputeGatewayParams) WithContext(ctx context.Context) *CreateComputeGatewayParams
WithContext adds the context to the create compute gateway params
func (*CreateComputeGatewayParams) WithHTTPClient ¶
func (o *CreateComputeGatewayParams) WithHTTPClient(client *http.Client) *CreateComputeGatewayParams
WithHTTPClient adds the HTTPClient to the create compute gateway params
func (*CreateComputeGatewayParams) WithTimeout ¶
func (o *CreateComputeGatewayParams) WithTimeout(timeout time.Duration) *CreateComputeGatewayParams
WithTimeout adds the timeout to the create compute gateway params
func (*CreateComputeGatewayParams) WriteToRequest ¶
func (o *CreateComputeGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateComputeGatewayReader ¶
type CreateComputeGatewayReader struct {
// contains filtered or unexported fields
}
CreateComputeGatewayReader is a Reader for the CreateComputeGateway structure.
func (*CreateComputeGatewayReader) ReadResponse ¶
func (o *CreateComputeGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteComputeGatewayForbidden ¶
type DeleteComputeGatewayForbidden struct { }
DeleteComputeGatewayForbidden handles this case with default header values.
Forbidden
func NewDeleteComputeGatewayForbidden ¶
func NewDeleteComputeGatewayForbidden() *DeleteComputeGatewayForbidden
NewDeleteComputeGatewayForbidden creates a DeleteComputeGatewayForbidden with default headers values
func (*DeleteComputeGatewayForbidden) Error ¶
func (o *DeleteComputeGatewayForbidden) Error() string
type DeleteComputeGatewayOK ¶
type DeleteComputeGatewayOK struct {
Payload *models.RequestTracker
}
DeleteComputeGatewayOK handles this case with default header values.
successful operation
func NewDeleteComputeGatewayOK ¶
func NewDeleteComputeGatewayOK() *DeleteComputeGatewayOK
NewDeleteComputeGatewayOK creates a DeleteComputeGatewayOK with default headers values
func (*DeleteComputeGatewayOK) Error ¶
func (o *DeleteComputeGatewayOK) Error() string
func (*DeleteComputeGatewayOK) GetPayload ¶
func (o *DeleteComputeGatewayOK) GetPayload() *models.RequestTracker
type DeleteComputeGatewayParams ¶
type DeleteComputeGatewayParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ForceDelete Controls whether this is a force delete operation. If true, best effort is made for deleting this compute gateway. Use with caution as force deleting may cause inconsistencies between the cloud provider and vRA. */ ForceDelete *bool /*ID The ID of the compute gateway. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteComputeGatewayParams contains all the parameters to send to the API endpoint for the delete compute gateway operation typically these are written to a http.Request
func NewDeleteComputeGatewayParams ¶
func NewDeleteComputeGatewayParams() *DeleteComputeGatewayParams
NewDeleteComputeGatewayParams creates a new DeleteComputeGatewayParams object with the default values initialized.
func NewDeleteComputeGatewayParamsWithContext ¶
func NewDeleteComputeGatewayParamsWithContext(ctx context.Context) *DeleteComputeGatewayParams
NewDeleteComputeGatewayParamsWithContext creates a new DeleteComputeGatewayParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteComputeGatewayParamsWithHTTPClient ¶
func NewDeleteComputeGatewayParamsWithHTTPClient(client *http.Client) *DeleteComputeGatewayParams
NewDeleteComputeGatewayParamsWithHTTPClient creates a new DeleteComputeGatewayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteComputeGatewayParamsWithTimeout ¶
func NewDeleteComputeGatewayParamsWithTimeout(timeout time.Duration) *DeleteComputeGatewayParams
NewDeleteComputeGatewayParamsWithTimeout creates a new DeleteComputeGatewayParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteComputeGatewayParams) SetAPIVersion ¶
func (o *DeleteComputeGatewayParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the delete compute gateway params
func (*DeleteComputeGatewayParams) SetContext ¶
func (o *DeleteComputeGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the delete compute gateway params
func (*DeleteComputeGatewayParams) SetForceDelete ¶
func (o *DeleteComputeGatewayParams) SetForceDelete(forceDelete *bool)
SetForceDelete adds the forceDelete to the delete compute gateway params
func (*DeleteComputeGatewayParams) SetHTTPClient ¶
func (o *DeleteComputeGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete compute gateway params
func (*DeleteComputeGatewayParams) SetID ¶
func (o *DeleteComputeGatewayParams) SetID(id string)
SetID adds the id to the delete compute gateway params
func (*DeleteComputeGatewayParams) SetTimeout ¶
func (o *DeleteComputeGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete compute gateway params
func (*DeleteComputeGatewayParams) WithAPIVersion ¶
func (o *DeleteComputeGatewayParams) WithAPIVersion(aPIVersion *string) *DeleteComputeGatewayParams
WithAPIVersion adds the aPIVersion to the delete compute gateway params
func (*DeleteComputeGatewayParams) WithContext ¶
func (o *DeleteComputeGatewayParams) WithContext(ctx context.Context) *DeleteComputeGatewayParams
WithContext adds the context to the delete compute gateway params
func (*DeleteComputeGatewayParams) WithForceDelete ¶
func (o *DeleteComputeGatewayParams) WithForceDelete(forceDelete *bool) *DeleteComputeGatewayParams
WithForceDelete adds the forceDelete to the delete compute gateway params
func (*DeleteComputeGatewayParams) WithHTTPClient ¶
func (o *DeleteComputeGatewayParams) WithHTTPClient(client *http.Client) *DeleteComputeGatewayParams
WithHTTPClient adds the HTTPClient to the delete compute gateway params
func (*DeleteComputeGatewayParams) WithID ¶
func (o *DeleteComputeGatewayParams) WithID(id string) *DeleteComputeGatewayParams
WithID adds the id to the delete compute gateway params
func (*DeleteComputeGatewayParams) WithTimeout ¶
func (o *DeleteComputeGatewayParams) WithTimeout(timeout time.Duration) *DeleteComputeGatewayParams
WithTimeout adds the timeout to the delete compute gateway params
func (*DeleteComputeGatewayParams) WriteToRequest ¶
func (o *DeleteComputeGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteComputeGatewayReader ¶
type DeleteComputeGatewayReader struct {
// contains filtered or unexported fields
}
DeleteComputeGatewayReader is a Reader for the DeleteComputeGateway structure.
func (*DeleteComputeGatewayReader) ReadResponse ¶
func (o *DeleteComputeGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetComputeGatewayForbidden ¶
type GetComputeGatewayForbidden struct { }
GetComputeGatewayForbidden handles this case with default header values.
Forbidden
func NewGetComputeGatewayForbidden ¶
func NewGetComputeGatewayForbidden() *GetComputeGatewayForbidden
NewGetComputeGatewayForbidden creates a GetComputeGatewayForbidden with default headers values
func (*GetComputeGatewayForbidden) Error ¶
func (o *GetComputeGatewayForbidden) Error() string
type GetComputeGatewayOK ¶
type GetComputeGatewayOK struct {
Payload *models.ComputeGatewayResult
}
GetComputeGatewayOK handles this case with default header values.
successful operation
func NewGetComputeGatewayOK ¶
func NewGetComputeGatewayOK() *GetComputeGatewayOK
NewGetComputeGatewayOK creates a GetComputeGatewayOK with default headers values
func (*GetComputeGatewayOK) Error ¶
func (o *GetComputeGatewayOK) Error() string
func (*GetComputeGatewayOK) GetPayload ¶
func (o *GetComputeGatewayOK) GetPayload() *models.ComputeGatewayResult
type GetComputeGatewayParams ¶
type GetComputeGatewayParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetComputeGatewayParams contains all the parameters to send to the API endpoint for the get compute gateway operation typically these are written to a http.Request
func NewGetComputeGatewayParams ¶
func NewGetComputeGatewayParams() *GetComputeGatewayParams
NewGetComputeGatewayParams creates a new GetComputeGatewayParams object with the default values initialized.
func NewGetComputeGatewayParamsWithContext ¶
func NewGetComputeGatewayParamsWithContext(ctx context.Context) *GetComputeGatewayParams
NewGetComputeGatewayParamsWithContext creates a new GetComputeGatewayParams object with the default values initialized, and the ability to set a context for a request
func NewGetComputeGatewayParamsWithHTTPClient ¶
func NewGetComputeGatewayParamsWithHTTPClient(client *http.Client) *GetComputeGatewayParams
NewGetComputeGatewayParamsWithHTTPClient creates a new GetComputeGatewayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetComputeGatewayParamsWithTimeout ¶
func NewGetComputeGatewayParamsWithTimeout(timeout time.Duration) *GetComputeGatewayParams
NewGetComputeGatewayParamsWithTimeout creates a new GetComputeGatewayParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetComputeGatewayParams) SetAPIVersion ¶
func (o *GetComputeGatewayParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get compute gateway params
func (*GetComputeGatewayParams) SetContext ¶
func (o *GetComputeGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the get compute gateway params
func (*GetComputeGatewayParams) SetHTTPClient ¶
func (o *GetComputeGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get compute gateway params
func (*GetComputeGatewayParams) SetTimeout ¶
func (o *GetComputeGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get compute gateway params
func (*GetComputeGatewayParams) WithAPIVersion ¶
func (o *GetComputeGatewayParams) WithAPIVersion(aPIVersion *string) *GetComputeGatewayParams
WithAPIVersion adds the aPIVersion to the get compute gateway params
func (*GetComputeGatewayParams) WithContext ¶
func (o *GetComputeGatewayParams) WithContext(ctx context.Context) *GetComputeGatewayParams
WithContext adds the context to the get compute gateway params
func (*GetComputeGatewayParams) WithHTTPClient ¶
func (o *GetComputeGatewayParams) WithHTTPClient(client *http.Client) *GetComputeGatewayParams
WithHTTPClient adds the HTTPClient to the get compute gateway params
func (*GetComputeGatewayParams) WithTimeout ¶
func (o *GetComputeGatewayParams) WithTimeout(timeout time.Duration) *GetComputeGatewayParams
WithTimeout adds the timeout to the get compute gateway params
func (*GetComputeGatewayParams) WriteToRequest ¶
func (o *GetComputeGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetComputeGatewayReader ¶
type GetComputeGatewayReader struct {
// contains filtered or unexported fields
}
GetComputeGatewayReader is a Reader for the GetComputeGateway structure.
func (*GetComputeGatewayReader) ReadResponse ¶
func (o *GetComputeGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGatewayForbidden ¶
type GetGatewayForbidden struct { }
GetGatewayForbidden handles this case with default header values.
Forbidden
func NewGetGatewayForbidden ¶
func NewGetGatewayForbidden() *GetGatewayForbidden
NewGetGatewayForbidden creates a GetGatewayForbidden with default headers values
func (*GetGatewayForbidden) Error ¶
func (o *GetGatewayForbidden) Error() string
type GetGatewayNotFound ¶
GetGatewayNotFound handles this case with default header values.
Not Found
func NewGetGatewayNotFound ¶
func NewGetGatewayNotFound() *GetGatewayNotFound
NewGetGatewayNotFound creates a GetGatewayNotFound with default headers values
func (*GetGatewayNotFound) Error ¶
func (o *GetGatewayNotFound) Error() string
func (*GetGatewayNotFound) GetPayload ¶
func (o *GetGatewayNotFound) GetPayload() *models.Error
type GetGatewayOK ¶
type GetGatewayOK struct {
Payload *models.ComputeGateway
}
GetGatewayOK handles this case with default header values.
successful operation
func NewGetGatewayOK ¶
func NewGetGatewayOK() *GetGatewayOK
NewGetGatewayOK creates a GetGatewayOK with default headers values
func (*GetGatewayOK) Error ¶
func (o *GetGatewayOK) Error() string
func (*GetGatewayOK) GetPayload ¶
func (o *GetGatewayOK) GetPayload() *models.ComputeGateway
type GetGatewayParams ¶
type GetGatewayParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about */ APIVersion *string /*ID The ID of the gateway. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGatewayParams contains all the parameters to send to the API endpoint for the get gateway operation typically these are written to a http.Request
func NewGetGatewayParams ¶
func NewGetGatewayParams() *GetGatewayParams
NewGetGatewayParams creates a new GetGatewayParams object with the default values initialized.
func NewGetGatewayParamsWithContext ¶
func NewGetGatewayParamsWithContext(ctx context.Context) *GetGatewayParams
NewGetGatewayParamsWithContext creates a new GetGatewayParams object with the default values initialized, and the ability to set a context for a request
func NewGetGatewayParamsWithHTTPClient ¶
func NewGetGatewayParamsWithHTTPClient(client *http.Client) *GetGatewayParams
NewGetGatewayParamsWithHTTPClient creates a new GetGatewayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGatewayParamsWithTimeout ¶
func NewGetGatewayParamsWithTimeout(timeout time.Duration) *GetGatewayParams
NewGetGatewayParamsWithTimeout creates a new GetGatewayParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGatewayParams) SetAPIVersion ¶
func (o *GetGatewayParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get gateway params
func (*GetGatewayParams) SetContext ¶
func (o *GetGatewayParams) SetContext(ctx context.Context)
SetContext adds the context to the get gateway params
func (*GetGatewayParams) SetHTTPClient ¶
func (o *GetGatewayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gateway params
func (*GetGatewayParams) SetID ¶
func (o *GetGatewayParams) SetID(id string)
SetID adds the id to the get gateway params
func (*GetGatewayParams) SetTimeout ¶
func (o *GetGatewayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gateway params
func (*GetGatewayParams) WithAPIVersion ¶
func (o *GetGatewayParams) WithAPIVersion(aPIVersion *string) *GetGatewayParams
WithAPIVersion adds the aPIVersion to the get gateway params
func (*GetGatewayParams) WithContext ¶
func (o *GetGatewayParams) WithContext(ctx context.Context) *GetGatewayParams
WithContext adds the context to the get gateway params
func (*GetGatewayParams) WithHTTPClient ¶
func (o *GetGatewayParams) WithHTTPClient(client *http.Client) *GetGatewayParams
WithHTTPClient adds the HTTPClient to the get gateway params
func (*GetGatewayParams) WithID ¶
func (o *GetGatewayParams) WithID(id string) *GetGatewayParams
WithID adds the id to the get gateway params
func (*GetGatewayParams) WithTimeout ¶
func (o *GetGatewayParams) WithTimeout(timeout time.Duration) *GetGatewayParams
WithTimeout adds the timeout to the get gateway params
func (*GetGatewayParams) WriteToRequest ¶
func (o *GetGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGatewayReader ¶
type GetGatewayReader struct {
// contains filtered or unexported fields
}
GetGatewayReader is a Reader for the GetGateway structure.
func (*GetGatewayReader) ReadResponse ¶
func (o *GetGatewayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.