compute_gateway

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 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 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

type CreateComputeGatewayBadRequest struct {
	Payload *models.Error
}

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 (*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

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

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

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

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

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

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 {
}

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

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

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

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

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

type GetGatewayNotFound struct {
	Payload *models.Error
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL