compute_gateway

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 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 compute gateway API

func (*Client) CreateComputeGateway

func (a *Client) CreateComputeGateway(params *CreateComputeGatewayParams, opts ...ClientOption) (*CreateComputeGatewayAccepted, error)

CreateComputeGateway creates a compute gateway

Create a new compute gateway.

func (*Client) DeleteComputeGateway

func (a *Client) DeleteComputeGateway(params *DeleteComputeGatewayParams, opts ...ClientOption) (*DeleteComputeGatewayAccepted, error)

DeleteComputeGateway deletes a compute gateway

Delete compute gateway with a given id

func (*Client) GetComputeGateway

func (a *Client) GetComputeGateway(params *GetComputeGatewayParams, opts ...ClientOption) (*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, opts ...ClientOption) (*GetComputeGatewaysOK, error)

GetComputeGateways gets compute gateways

Get all compute gateways

func (*Client) ReconfigureComputeGateway deprecated added in v0.2.20

func (a *Client) ReconfigureComputeGateway(params *ReconfigureComputeGatewayParams, opts ...ClientOption) (*ReconfigureComputeGatewayAccepted, error)

ReconfigureComputeGateway deprecateds reconfigure operation for compute gateway

Deprecated: Day-2 reconfigure operation for compute gateway. Use Day-2 reconfigure operation on compute nat resource instead.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	CreateComputeGateway(params *CreateComputeGatewayParams, opts ...ClientOption) (*CreateComputeGatewayAccepted, error)

	DeleteComputeGateway(params *DeleteComputeGatewayParams, opts ...ClientOption) (*DeleteComputeGatewayAccepted, error)

	GetComputeGateway(params *GetComputeGatewayParams, opts ...ClientOption) (*GetComputeGatewayOK, error)

	GetComputeGateways(params *GetComputeGatewaysParams, opts ...ClientOption) (*GetComputeGatewaysOK, error)

	ReconfigureComputeGateway(params *ReconfigureComputeGatewayParams, opts ...ClientOption) (*ReconfigureComputeGatewayAccepted, 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 describes a response with status code 202, 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 (*CreateComputeGatewayAccepted) GetPayload added in v0.2.18

type CreateComputeGatewayBadRequest

type CreateComputeGatewayBadRequest struct {
	Payload *models.Error
}
CreateComputeGatewayBadRequest describes a response with status code 400, 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 (*CreateComputeGatewayBadRequest) GetPayload

func (o *CreateComputeGatewayBadRequest) GetPayload() *models.Error

type CreateComputeGatewayForbidden

type CreateComputeGatewayForbidden struct {
	Payload *models.ServiceErrorResponse
}
CreateComputeGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewCreateComputeGatewayForbidden

func NewCreateComputeGatewayForbidden() *CreateComputeGatewayForbidden

NewCreateComputeGatewayForbidden creates a CreateComputeGatewayForbidden with default headers values

func (*CreateComputeGatewayForbidden) Error

func (*CreateComputeGatewayForbidden) GetPayload added in v0.2.20

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 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 NewCreateComputeGatewayParamsWithContext

func NewCreateComputeGatewayParamsWithContext(ctx context.Context) *CreateComputeGatewayParams

NewCreateComputeGatewayParamsWithContext creates a new CreateComputeGatewayParams object with 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 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 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

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) SetDefaults added in v0.2.20

func (o *CreateComputeGatewayParams) SetDefaults()

SetDefaults hydrates default values in the create compute gateway params (not the query body).

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

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

WithBody adds the body to the create compute gateway params

func (*CreateComputeGatewayParams) WithContext

WithContext adds the context to the create compute gateway params

func (*CreateComputeGatewayParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the create compute gateway params (not the query body).

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

func (*CreateComputeGatewayParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create compute gateway params

func (*CreateComputeGatewayParams) WithTimeout

WithTimeout adds the timeout to the create compute gateway params

func (*CreateComputeGatewayParams) WriteToRequest

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 describes a response with status code 202, 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 (*DeleteComputeGatewayAccepted) GetPayload added in v0.2.18

type DeleteComputeGatewayForbidden

type DeleteComputeGatewayForbidden struct {
	Payload *models.ServiceErrorResponse
}
DeleteComputeGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDeleteComputeGatewayForbidden

func NewDeleteComputeGatewayForbidden() *DeleteComputeGatewayForbidden

NewDeleteComputeGatewayForbidden creates a DeleteComputeGatewayForbidden with default headers values

func (*DeleteComputeGatewayForbidden) Error

func (*DeleteComputeGatewayForbidden) GetPayload added in v0.2.20

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 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 NewDeleteComputeGatewayParamsWithContext

func NewDeleteComputeGatewayParamsWithContext(ctx context.Context) *DeleteComputeGatewayParams

NewDeleteComputeGatewayParamsWithContext creates a new DeleteComputeGatewayParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *DeleteComputeGatewayParams) SetDefaults()

SetDefaults hydrates default values in the delete compute gateway params (not the query body).

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

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

WithContext adds the context to the delete compute gateway params

func (*DeleteComputeGatewayParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the delete compute gateway params (not the query body).

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

func (*DeleteComputeGatewayParams) WithForceDelete

func (o *DeleteComputeGatewayParams) WithForceDelete(forceDelete *bool) *DeleteComputeGatewayParams

WithForceDelete adds the forceDelete to the delete compute gateway params

func (*DeleteComputeGatewayParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete compute gateway params

func (*DeleteComputeGatewayParams) WithID

WithID adds the id to the delete compute gateway params

func (*DeleteComputeGatewayParams) WithTimeout

WithTimeout adds the timeout to the delete compute gateway params

func (*DeleteComputeGatewayParams) WriteToRequest

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 {
	Payload *models.ServiceErrorResponse
}
GetComputeGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetComputeGatewayForbidden

func NewGetComputeGatewayForbidden() *GetComputeGatewayForbidden

NewGetComputeGatewayForbidden creates a GetComputeGatewayForbidden with default headers values

func (*GetComputeGatewayForbidden) Error

func (*GetComputeGatewayForbidden) GetPayload added in v0.2.20

type GetComputeGatewayNotFound added in v0.2.18

type GetComputeGatewayNotFound struct {
	Payload *models.Error
}
GetComputeGatewayNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 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 NewGetComputeGatewayParamsWithContext

func NewGetComputeGatewayParamsWithContext(ctx context.Context) *GetComputeGatewayParams

NewGetComputeGatewayParamsWithContext creates a new GetComputeGatewayParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *GetComputeGatewayParams) SetDefaults()

SetDefaults hydrates default values in the get compute gateway params (not the query body).

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

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

WithContext adds the context to the get compute gateway params

func (*GetComputeGatewayParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get compute gateway params (not the query body).

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

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

WithID adds the id to the get compute gateway params

func (*GetComputeGatewayParams) WithTimeout

WithTimeout adds the timeout to the get compute gateway params

func (*GetComputeGatewayParams) WriteToRequest

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 {
	Payload *models.ServiceErrorResponse
}
GetComputeGatewaysForbidden describes a response with status code 403, 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 (*GetComputeGatewaysForbidden) GetPayload added in v0.2.20

type GetComputeGatewaysOK added in v0.2.18

type GetComputeGatewaysOK struct {
	Payload *models.ComputeGatewayResult
}
GetComputeGatewaysOK describes a response with status code 200, 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

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 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 NewGetComputeGatewaysParamsWithContext added in v0.2.18

func NewGetComputeGatewaysParamsWithContext(ctx context.Context) *GetComputeGatewaysParams

NewGetComputeGatewaysParamsWithContext creates a new GetComputeGatewaysParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *GetComputeGatewaysParams) SetDefaults()

SetDefaults hydrates default values in the get compute gateways params (not the query body).

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

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

WithContext adds the context to the get compute gateways params

func (*GetComputeGatewaysParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get compute gateways params (not the query body).

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

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

WithTimeout adds the timeout to the get compute gateways params

func (*GetComputeGatewaysParams) WriteToRequest added in v0.2.18

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.

type ReconfigureComputeGatewayAccepted added in v0.2.20

type ReconfigureComputeGatewayAccepted struct {
	Payload *models.RequestTracker
}
ReconfigureComputeGatewayAccepted describes a response with status code 202, with default header values.

successful operation

func NewReconfigureComputeGatewayAccepted added in v0.2.20

func NewReconfigureComputeGatewayAccepted() *ReconfigureComputeGatewayAccepted

NewReconfigureComputeGatewayAccepted creates a ReconfigureComputeGatewayAccepted with default headers values

func (*ReconfigureComputeGatewayAccepted) Error added in v0.2.20

func (*ReconfigureComputeGatewayAccepted) GetPayload added in v0.2.20

type ReconfigureComputeGatewayBadRequest added in v0.2.20

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

NAT rules cannot be null

func NewReconfigureComputeGatewayBadRequest added in v0.2.20

func NewReconfigureComputeGatewayBadRequest() *ReconfigureComputeGatewayBadRequest

NewReconfigureComputeGatewayBadRequest creates a ReconfigureComputeGatewayBadRequest with default headers values

func (*ReconfigureComputeGatewayBadRequest) Error added in v0.2.20

func (*ReconfigureComputeGatewayBadRequest) GetPayload added in v0.2.20

type ReconfigureComputeGatewayForbidden added in v0.2.20

type ReconfigureComputeGatewayForbidden struct {
	Payload *models.ServiceErrorResponse
}
ReconfigureComputeGatewayForbidden describes a response with status code 403, with default header values.

Forbidden

func NewReconfigureComputeGatewayForbidden added in v0.2.20

func NewReconfigureComputeGatewayForbidden() *ReconfigureComputeGatewayForbidden

NewReconfigureComputeGatewayForbidden creates a ReconfigureComputeGatewayForbidden with default headers values

func (*ReconfigureComputeGatewayForbidden) Error added in v0.2.20

func (*ReconfigureComputeGatewayForbidden) GetPayload added in v0.2.20

type ReconfigureComputeGatewayParams added in v0.2.20

type ReconfigureComputeGatewayParams struct {

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* Body.

	   Reconfigure Compute Gateway Specification instance
	*/
	Body *models.ReconfigureComputeGatewaySpecification

	/* ID.

	   The ID of the Compute Gateway
	*/
	ID string

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

ReconfigureComputeGatewayParams contains all the parameters to send to the API endpoint

for the reconfigure compute gateway operation.

Typically these are written to a http.Request.

func NewReconfigureComputeGatewayParams added in v0.2.20

func NewReconfigureComputeGatewayParams() *ReconfigureComputeGatewayParams

NewReconfigureComputeGatewayParams creates a new ReconfigureComputeGatewayParams 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 NewReconfigureComputeGatewayParamsWithContext added in v0.2.20

func NewReconfigureComputeGatewayParamsWithContext(ctx context.Context) *ReconfigureComputeGatewayParams

NewReconfigureComputeGatewayParamsWithContext creates a new ReconfigureComputeGatewayParams object with the ability to set a context for a request.

func NewReconfigureComputeGatewayParamsWithHTTPClient added in v0.2.20

func NewReconfigureComputeGatewayParamsWithHTTPClient(client *http.Client) *ReconfigureComputeGatewayParams

NewReconfigureComputeGatewayParamsWithHTTPClient creates a new ReconfigureComputeGatewayParams object with the ability to set a custom HTTPClient for a request.

func NewReconfigureComputeGatewayParamsWithTimeout added in v0.2.20

func NewReconfigureComputeGatewayParamsWithTimeout(timeout time.Duration) *ReconfigureComputeGatewayParams

NewReconfigureComputeGatewayParamsWithTimeout creates a new ReconfigureComputeGatewayParams object with the ability to set a timeout on a request.

func (*ReconfigureComputeGatewayParams) SetAPIVersion added in v0.2.20

func (o *ReconfigureComputeGatewayParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) SetBody added in v0.2.20

SetBody adds the body to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) SetContext added in v0.2.20

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

SetContext adds the context to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) SetDefaults added in v0.2.20

func (o *ReconfigureComputeGatewayParams) SetDefaults()

SetDefaults hydrates default values in the reconfigure compute gateway params (not the query body).

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

func (*ReconfigureComputeGatewayParams) SetHTTPClient added in v0.2.20

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

SetHTTPClient adds the HTTPClient to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) SetID added in v0.2.20

SetID adds the id to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) SetTimeout added in v0.2.20

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

SetTimeout adds the timeout to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) WithAPIVersion added in v0.2.20

WithAPIVersion adds the aPIVersion to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) WithBody added in v0.2.20

WithBody adds the body to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) WithContext added in v0.2.20

WithContext adds the context to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the reconfigure compute gateway params (not the query body).

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

func (*ReconfigureComputeGatewayParams) WithHTTPClient added in v0.2.20

WithHTTPClient adds the HTTPClient to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) WithID added in v0.2.20

WithID adds the id to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) WithTimeout added in v0.2.20

WithTimeout adds the timeout to the reconfigure compute gateway params

func (*ReconfigureComputeGatewayParams) WriteToRequest added in v0.2.20

WriteToRequest writes these params to a swagger request

type ReconfigureComputeGatewayReader added in v0.2.20

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

ReconfigureComputeGatewayReader is a Reader for the ReconfigureComputeGateway structure.

func (*ReconfigureComputeGatewayReader) ReadResponse added in v0.2.20

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