Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateComputeGateway(params *CreateComputeGatewayParams) (*CreateComputeGatewayAccepted, error)
- func (a *Client) DeleteComputeGateway(params *DeleteComputeGatewayParams) (*DeleteComputeGatewayAccepted, error)
- func (a *Client) GetComputeGateway(params *GetComputeGatewayParams) (*GetComputeGatewayOK, error)
- func (a *Client) GetComputeGateways(params *GetComputeGatewaysParams) (*GetComputeGatewaysOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateComputeGatewayAccepted
- type CreateComputeGatewayBadRequest
- type CreateComputeGatewayForbidden
- 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 DeleteComputeGatewayAccepted
- type DeleteComputeGatewayForbidden
- 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 GetComputeGatewayNotFound
- 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) SetID(id string)
- 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) WithID(id string) *GetComputeGatewayParams
- func (o *GetComputeGatewayParams) WithTimeout(timeout time.Duration) *GetComputeGatewayParams
- func (o *GetComputeGatewayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetComputeGatewayReader
- type GetComputeGatewaysForbidden
- type GetComputeGatewaysOK
- type GetComputeGatewaysParams
- func NewGetComputeGatewaysParams() *GetComputeGatewaysParams
- func NewGetComputeGatewaysParamsWithContext(ctx context.Context) *GetComputeGatewaysParams
- func NewGetComputeGatewaysParamsWithHTTPClient(client *http.Client) *GetComputeGatewaysParams
- func NewGetComputeGatewaysParamsWithTimeout(timeout time.Duration) *GetComputeGatewaysParams
- func (o *GetComputeGatewaysParams) SetAPIVersion(aPIVersion *string)
- func (o *GetComputeGatewaysParams) SetContext(ctx context.Context)
- func (o *GetComputeGatewaysParams) SetHTTPClient(client *http.Client)
- func (o *GetComputeGatewaysParams) SetTimeout(timeout time.Duration)
- func (o *GetComputeGatewaysParams) WithAPIVersion(aPIVersion *string) *GetComputeGatewaysParams
- func (o *GetComputeGatewaysParams) WithContext(ctx context.Context) *GetComputeGatewaysParams
- func (o *GetComputeGatewaysParams) WithHTTPClient(client *http.Client) *GetComputeGatewaysParams
- func (o *GetComputeGatewaysParams) WithTimeout(timeout time.Duration) *GetComputeGatewaysParams
- func (o *GetComputeGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetComputeGatewaysReader
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 (*Client) CreateComputeGateway ¶
func (a *Client) CreateComputeGateway(params *CreateComputeGatewayParams) (*CreateComputeGatewayAccepted, error)
CreateComputeGateway creates a compute gateway
Create a new compute gateway.
func (*Client) DeleteComputeGateway ¶
func (a *Client) DeleteComputeGateway(params *DeleteComputeGatewayParams) (*DeleteComputeGatewayAccepted, 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 a compute gateway
Get compute gateway with a given id
func (*Client) GetComputeGateways ¶ added in v0.2.18
func (a *Client) GetComputeGateways(params *GetComputeGatewaysParams) (*GetComputeGatewaysOK, error)
GetComputeGateways gets compute gateways
Get all compute gateways
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶ added in v0.2.18
type ClientService interface {
CreateComputeGateway(params *CreateComputeGatewayParams) (*CreateComputeGatewayAccepted, error)
DeleteComputeGateway(params *DeleteComputeGatewayParams) (*DeleteComputeGatewayAccepted, error)
GetComputeGateway(params *GetComputeGatewayParams) (*GetComputeGatewayOK, error)
GetComputeGateways(params *GetComputeGatewaysParams) (*GetComputeGatewaysOK, 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 compute gateway API client.
type CreateComputeGatewayAccepted ¶ added in v0.2.18
type CreateComputeGatewayAccepted struct {
Payload *models.RequestTracker
}
CreateComputeGatewayAccepted handles this case with default header values.
successful operation
func NewCreateComputeGatewayAccepted ¶ added in v0.2.18
func NewCreateComputeGatewayAccepted() *CreateComputeGatewayAccepted
NewCreateComputeGatewayAccepted creates a CreateComputeGatewayAccepted with default headers values
func (*CreateComputeGatewayAccepted) Error ¶ added in v0.2.18
func (o *CreateComputeGatewayAccepted) Error() string
func (*CreateComputeGatewayAccepted) GetPayload ¶ added in v0.2.18
func (o *CreateComputeGatewayAccepted) GetPayload() *models.RequestTracker
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 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 DeleteComputeGatewayAccepted ¶ added in v0.2.18
type DeleteComputeGatewayAccepted struct {
Payload *models.RequestTracker
}
DeleteComputeGatewayAccepted handles this case with default header values.
successful operation
func NewDeleteComputeGatewayAccepted ¶ added in v0.2.18
func NewDeleteComputeGatewayAccepted() *DeleteComputeGatewayAccepted
NewDeleteComputeGatewayAccepted creates a DeleteComputeGatewayAccepted with default headers values
func (*DeleteComputeGatewayAccepted) Error ¶ added in v0.2.18
func (o *DeleteComputeGatewayAccepted) Error() string
func (*DeleteComputeGatewayAccepted) GetPayload ¶ added in v0.2.18
func (o *DeleteComputeGatewayAccepted) GetPayload() *models.RequestTracker
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 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 GetComputeGatewayNotFound ¶ added in v0.2.18
GetComputeGatewayNotFound handles this case with default header values.
Not Found
func NewGetComputeGatewayNotFound ¶ added in v0.2.18
func NewGetComputeGatewayNotFound() *GetComputeGatewayNotFound
NewGetComputeGatewayNotFound creates a GetComputeGatewayNotFound with default headers values
func (*GetComputeGatewayNotFound) Error ¶ added in v0.2.18
func (o *GetComputeGatewayNotFound) Error() string
func (*GetComputeGatewayNotFound) GetPayload ¶ added in v0.2.18
func (o *GetComputeGatewayNotFound) GetPayload() *models.Error
type GetComputeGatewayOK ¶
type GetComputeGatewayOK struct {
Payload *models.ComputeGateway
}
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.ComputeGateway
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
/*ID
The ID of the gateway.
*/
ID 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) SetID ¶ added in v0.2.18
func (o *GetComputeGatewayParams) SetID(id string)
SetID adds the id 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) WithID ¶ added in v0.2.18
func (o *GetComputeGatewayParams) WithID(id string) *GetComputeGatewayParams
WithID adds the id 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 GetComputeGatewaysForbidden ¶ added in v0.2.18
type GetComputeGatewaysForbidden struct {
}
GetComputeGatewaysForbidden handles this case with default header values.
Forbidden
func NewGetComputeGatewaysForbidden ¶ added in v0.2.18
func NewGetComputeGatewaysForbidden() *GetComputeGatewaysForbidden
NewGetComputeGatewaysForbidden creates a GetComputeGatewaysForbidden with default headers values
func (*GetComputeGatewaysForbidden) Error ¶ added in v0.2.18
func (o *GetComputeGatewaysForbidden) Error() string
type GetComputeGatewaysOK ¶ added in v0.2.18
type GetComputeGatewaysOK struct {
Payload *models.ComputeGatewayResult
}
GetComputeGatewaysOK handles this case with default header values.
successful operation
func NewGetComputeGatewaysOK ¶ added in v0.2.18
func NewGetComputeGatewaysOK() *GetComputeGatewaysOK
NewGetComputeGatewaysOK creates a GetComputeGatewaysOK with default headers values
func (*GetComputeGatewaysOK) Error ¶ added in v0.2.18
func (o *GetComputeGatewaysOK) Error() string
func (*GetComputeGatewaysOK) GetPayload ¶ added in v0.2.18
func (o *GetComputeGatewaysOK) GetPayload() *models.ComputeGatewayResult
type GetComputeGatewaysParams ¶ added in v0.2.18
type GetComputeGatewaysParams 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
}
GetComputeGatewaysParams contains all the parameters to send to the API endpoint for the get compute gateways operation typically these are written to a http.Request
func NewGetComputeGatewaysParams ¶ added in v0.2.18
func NewGetComputeGatewaysParams() *GetComputeGatewaysParams
NewGetComputeGatewaysParams creates a new GetComputeGatewaysParams object with the default values initialized.
func NewGetComputeGatewaysParamsWithContext ¶ added in v0.2.18
func NewGetComputeGatewaysParamsWithContext(ctx context.Context) *GetComputeGatewaysParams
NewGetComputeGatewaysParamsWithContext creates a new GetComputeGatewaysParams object with the default values initialized, and the ability to set a context for a request
func NewGetComputeGatewaysParamsWithHTTPClient ¶ added in v0.2.18
func NewGetComputeGatewaysParamsWithHTTPClient(client *http.Client) *GetComputeGatewaysParams
NewGetComputeGatewaysParamsWithHTTPClient creates a new GetComputeGatewaysParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetComputeGatewaysParamsWithTimeout ¶ added in v0.2.18
func NewGetComputeGatewaysParamsWithTimeout(timeout time.Duration) *GetComputeGatewaysParams
NewGetComputeGatewaysParamsWithTimeout creates a new GetComputeGatewaysParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetComputeGatewaysParams) SetAPIVersion ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get compute gateways params
func (*GetComputeGatewaysParams) SetContext ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) SetContext(ctx context.Context)
SetContext adds the context to the get compute gateways params
func (*GetComputeGatewaysParams) SetHTTPClient ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get compute gateways params
func (*GetComputeGatewaysParams) SetTimeout ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get compute gateways params
func (*GetComputeGatewaysParams) WithAPIVersion ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) WithAPIVersion(aPIVersion *string) *GetComputeGatewaysParams
WithAPIVersion adds the aPIVersion to the get compute gateways params
func (*GetComputeGatewaysParams) WithContext ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) WithContext(ctx context.Context) *GetComputeGatewaysParams
WithContext adds the context to the get compute gateways params
func (*GetComputeGatewaysParams) WithHTTPClient ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) WithHTTPClient(client *http.Client) *GetComputeGatewaysParams
WithHTTPClient adds the HTTPClient to the get compute gateways params
func (*GetComputeGatewaysParams) WithTimeout ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) WithTimeout(timeout time.Duration) *GetComputeGatewaysParams
WithTimeout adds the timeout to the get compute gateways params
func (*GetComputeGatewaysParams) WriteToRequest ¶ added in v0.2.18
func (o *GetComputeGatewaysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetComputeGatewaysReader ¶ added in v0.2.18
type GetComputeGatewaysReader struct {
// contains filtered or unexported fields
}
GetComputeGatewaysReader is a Reader for the GetComputeGateways structure.
func (*GetComputeGatewaysReader) ReadResponse ¶ added in v0.2.18
func (o *GetComputeGatewaysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.