compute_gateway

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 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) (*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 (*CreateComputeGatewayAccepted) GetPayload added in v0.2.18

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 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 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 (*DeleteComputeGatewayAccepted) GetPayload added in v0.2.18

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

type GetComputeGatewayNotFound struct {
	Payload *models.Error
}

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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