v_p_cs

package
v0.0.0-...-6f249fe Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MPL-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 v p cs API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new v p cs API client.

func (*Client) CreateVpcRoute

func (a *Client) CreateVpcRoute(params *CreateVpcRouteParams, authInfo runtime.ClientAuthInfoWriter) (*CreateVpcRouteCreated, error)

CreateVpcRoute creates a route on your v p c

This request creates a new route. The route template object is structured in the same way as a retrieved route, and contains the information necessary to create the new route. The request will fail if the new route will cause a loop.

func (*Client) DeleteVpcRoute

func (a *Client) DeleteVpcRoute(params *DeleteVpcRouteParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteVpcRouteNoContent, error)

DeleteVpcRoute deletes the specified route

This request deletes a route. This operation cannot be reversed.

func (*Client) GetVpcRoute

func (a *Client) GetVpcRoute(params *GetVpcRouteParams, authInfo runtime.ClientAuthInfoWriter) (*GetVpcRouteOK, error)

GetVpcRoute retrieves the specified route

This request retrieves a single route specified by the identifier in the URL.

func (*Client) ListVpcRoutes

func (a *Client) ListVpcRoutes(params *ListVpcRoutesParams, authInfo runtime.ClientAuthInfoWriter) (*ListVpcRoutesOK, error)

ListVpcRoutes lists all user defined routes for a v p c

This request retrieves all user-defined routes for a VPC. Each route is zone-specific and directs any packets matching its destination CIDR block to a `next_hop` IP address. The most specific route matching a packet's destination will be used. If multiple equally-specific routes exist, traffic will be distributed across them.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateVpcRoute

func (a *Client) UpdateVpcRoute(params *UpdateVpcRouteParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateVpcRouteOK, error)

UpdateVpcRoute updates a route

This request updates a route with the information in a provided route patch. The route patch object is structured in the same way as a retrieved route and contains only the information to be updated.

type CreateVpcRouteBadRequest

type CreateVpcRouteBadRequest struct {
	Payload *models.Riaaserror
}

CreateVpcRouteBadRequest handles this case with default header values.

An invalid route template was provided.

func NewCreateVpcRouteBadRequest

func NewCreateVpcRouteBadRequest() *CreateVpcRouteBadRequest

NewCreateVpcRouteBadRequest creates a CreateVpcRouteBadRequest with default headers values

func (*CreateVpcRouteBadRequest) Error

func (o *CreateVpcRouteBadRequest) Error() string

type CreateVpcRouteConflict

type CreateVpcRouteConflict struct {
	Payload *models.Riaaserror
}

CreateVpcRouteConflict handles this case with default header values.

The route template conflicts with another route in the VPC.

func NewCreateVpcRouteConflict

func NewCreateVpcRouteConflict() *CreateVpcRouteConflict

NewCreateVpcRouteConflict creates a CreateVpcRouteConflict with default headers values

func (*CreateVpcRouteConflict) Error

func (o *CreateVpcRouteConflict) Error() string

type CreateVpcRouteCreated

type CreateVpcRouteCreated struct {
	Payload *models.Route
}

CreateVpcRouteCreated handles this case with default header values.

The route was created successfully.

func NewCreateVpcRouteCreated

func NewCreateVpcRouteCreated() *CreateVpcRouteCreated

NewCreateVpcRouteCreated creates a CreateVpcRouteCreated with default headers values

func (*CreateVpcRouteCreated) Error

func (o *CreateVpcRouteCreated) Error() string

type CreateVpcRouteNotFound

type CreateVpcRouteNotFound struct {
	Payload *models.Riaaserror
}

CreateVpcRouteNotFound handles this case with default header values.

The specified VPC could not be found.

func NewCreateVpcRouteNotFound

func NewCreateVpcRouteNotFound() *CreateVpcRouteNotFound

NewCreateVpcRouteNotFound creates a CreateVpcRouteNotFound with default headers values

func (*CreateVpcRouteNotFound) Error

func (o *CreateVpcRouteNotFound) Error() string

type CreateVpcRouteParams

type CreateVpcRouteParams struct {

	/*RouteTemplate*/
	RouteTemplate *models.RouteTemplate
	/*Generation
	  The infrastructure generation for the request. For the API behavior documented here, use `1` or `2`.

	*/
	Generation int64
	/*Version
	  Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version.

	*/
	Version string
	/*VpcID
	  The VPC identifier

	*/
	VpcID string

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

CreateVpcRouteParams contains all the parameters to send to the API endpoint for the create vpc route operation typically these are written to a http.Request

func NewCreateVpcRouteParams

func NewCreateVpcRouteParams() *CreateVpcRouteParams

NewCreateVpcRouteParams creates a new CreateVpcRouteParams object with the default values initialized.

func NewCreateVpcRouteParamsWithContext

func NewCreateVpcRouteParamsWithContext(ctx context.Context) *CreateVpcRouteParams

NewCreateVpcRouteParamsWithContext creates a new CreateVpcRouteParams object with the default values initialized, and the ability to set a context for a request

func NewCreateVpcRouteParamsWithHTTPClient

func NewCreateVpcRouteParamsWithHTTPClient(client *http.Client) *CreateVpcRouteParams

NewCreateVpcRouteParamsWithHTTPClient creates a new CreateVpcRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateVpcRouteParamsWithTimeout

func NewCreateVpcRouteParamsWithTimeout(timeout time.Duration) *CreateVpcRouteParams

NewCreateVpcRouteParamsWithTimeout creates a new CreateVpcRouteParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateVpcRouteParams) SetContext

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

SetContext adds the context to the create vpc route params

func (*CreateVpcRouteParams) SetGeneration

func (o *CreateVpcRouteParams) SetGeneration(generation int64)

SetGeneration adds the generation to the create vpc route params

func (*CreateVpcRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create vpc route params

func (*CreateVpcRouteParams) SetRouteTemplate

func (o *CreateVpcRouteParams) SetRouteTemplate(routeTemplate *models.RouteTemplate)

SetRouteTemplate adds the routeTemplate to the create vpc route params

func (*CreateVpcRouteParams) SetTimeout

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

SetTimeout adds the timeout to the create vpc route params

func (*CreateVpcRouteParams) SetVersion

func (o *CreateVpcRouteParams) SetVersion(version string)

SetVersion adds the version to the create vpc route params

func (*CreateVpcRouteParams) SetVpcID

func (o *CreateVpcRouteParams) SetVpcID(vpcID string)

SetVpcID adds the vpcId to the create vpc route params

func (*CreateVpcRouteParams) WithContext

WithContext adds the context to the create vpc route params

func (*CreateVpcRouteParams) WithGeneration

func (o *CreateVpcRouteParams) WithGeneration(generation int64) *CreateVpcRouteParams

WithGeneration adds the generation to the create vpc route params

func (*CreateVpcRouteParams) WithHTTPClient

func (o *CreateVpcRouteParams) WithHTTPClient(client *http.Client) *CreateVpcRouteParams

WithHTTPClient adds the HTTPClient to the create vpc route params

func (*CreateVpcRouteParams) WithRouteTemplate

func (o *CreateVpcRouteParams) WithRouteTemplate(routeTemplate *models.RouteTemplate) *CreateVpcRouteParams

WithRouteTemplate adds the routeTemplate to the create vpc route params

func (*CreateVpcRouteParams) WithTimeout

func (o *CreateVpcRouteParams) WithTimeout(timeout time.Duration) *CreateVpcRouteParams

WithTimeout adds the timeout to the create vpc route params

func (*CreateVpcRouteParams) WithVersion

func (o *CreateVpcRouteParams) WithVersion(version string) *CreateVpcRouteParams

WithVersion adds the version to the create vpc route params

func (*CreateVpcRouteParams) WithVpcID

func (o *CreateVpcRouteParams) WithVpcID(vpcID string) *CreateVpcRouteParams

WithVpcID adds the vpcID to the create vpc route params

func (*CreateVpcRouteParams) WriteToRequest

func (o *CreateVpcRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateVpcRouteReader

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

CreateVpcRouteReader is a Reader for the CreateVpcRoute structure.

func (*CreateVpcRouteReader) ReadResponse

func (o *CreateVpcRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteVpcRouteNoContent

type DeleteVpcRouteNoContent struct {
}

DeleteVpcRouteNoContent handles this case with default header values.

The route was deleted successfully.

func NewDeleteVpcRouteNoContent

func NewDeleteVpcRouteNoContent() *DeleteVpcRouteNoContent

NewDeleteVpcRouteNoContent creates a DeleteVpcRouteNoContent with default headers values

func (*DeleteVpcRouteNoContent) Error

func (o *DeleteVpcRouteNoContent) Error() string

type DeleteVpcRouteNotFound

type DeleteVpcRouteNotFound struct {
	Payload *models.Riaaserror
}

DeleteVpcRouteNotFound handles this case with default header values.

A route with the specified identifier could not be found.

func NewDeleteVpcRouteNotFound

func NewDeleteVpcRouteNotFound() *DeleteVpcRouteNotFound

NewDeleteVpcRouteNotFound creates a DeleteVpcRouteNotFound with default headers values

func (*DeleteVpcRouteNotFound) Error

func (o *DeleteVpcRouteNotFound) Error() string

type DeleteVpcRouteParams

type DeleteVpcRouteParams struct {

	/*Generation
	  The infrastructure generation for the request. For the API behavior documented here, use `1` or `2`.

	*/
	Generation int64
	/*ID
	  The route identifier

	*/
	ID string
	/*Version
	  Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version.

	*/
	Version string
	/*VpcID
	  The VPC identifier

	*/
	VpcID string

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

DeleteVpcRouteParams contains all the parameters to send to the API endpoint for the delete vpc route operation typically these are written to a http.Request

func NewDeleteVpcRouteParams

func NewDeleteVpcRouteParams() *DeleteVpcRouteParams

NewDeleteVpcRouteParams creates a new DeleteVpcRouteParams object with the default values initialized.

func NewDeleteVpcRouteParamsWithContext

func NewDeleteVpcRouteParamsWithContext(ctx context.Context) *DeleteVpcRouteParams

NewDeleteVpcRouteParamsWithContext creates a new DeleteVpcRouteParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteVpcRouteParamsWithHTTPClient

func NewDeleteVpcRouteParamsWithHTTPClient(client *http.Client) *DeleteVpcRouteParams

NewDeleteVpcRouteParamsWithHTTPClient creates a new DeleteVpcRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteVpcRouteParamsWithTimeout

func NewDeleteVpcRouteParamsWithTimeout(timeout time.Duration) *DeleteVpcRouteParams

NewDeleteVpcRouteParamsWithTimeout creates a new DeleteVpcRouteParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteVpcRouteParams) SetContext

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

SetContext adds the context to the delete vpc route params

func (*DeleteVpcRouteParams) SetGeneration

func (o *DeleteVpcRouteParams) SetGeneration(generation int64)

SetGeneration adds the generation to the delete vpc route params

func (*DeleteVpcRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete vpc route params

func (*DeleteVpcRouteParams) SetID

func (o *DeleteVpcRouteParams) SetID(id string)

SetID adds the id to the delete vpc route params

func (*DeleteVpcRouteParams) SetTimeout

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

SetTimeout adds the timeout to the delete vpc route params

func (*DeleteVpcRouteParams) SetVersion

func (o *DeleteVpcRouteParams) SetVersion(version string)

SetVersion adds the version to the delete vpc route params

func (*DeleteVpcRouteParams) SetVpcID

func (o *DeleteVpcRouteParams) SetVpcID(vpcID string)

SetVpcID adds the vpcId to the delete vpc route params

func (*DeleteVpcRouteParams) WithContext

WithContext adds the context to the delete vpc route params

func (*DeleteVpcRouteParams) WithGeneration

func (o *DeleteVpcRouteParams) WithGeneration(generation int64) *DeleteVpcRouteParams

WithGeneration adds the generation to the delete vpc route params

func (*DeleteVpcRouteParams) WithHTTPClient

func (o *DeleteVpcRouteParams) WithHTTPClient(client *http.Client) *DeleteVpcRouteParams

WithHTTPClient adds the HTTPClient to the delete vpc route params

func (*DeleteVpcRouteParams) WithID

WithID adds the id to the delete vpc route params

func (*DeleteVpcRouteParams) WithTimeout

func (o *DeleteVpcRouteParams) WithTimeout(timeout time.Duration) *DeleteVpcRouteParams

WithTimeout adds the timeout to the delete vpc route params

func (*DeleteVpcRouteParams) WithVersion

func (o *DeleteVpcRouteParams) WithVersion(version string) *DeleteVpcRouteParams

WithVersion adds the version to the delete vpc route params

func (*DeleteVpcRouteParams) WithVpcID

func (o *DeleteVpcRouteParams) WithVpcID(vpcID string) *DeleteVpcRouteParams

WithVpcID adds the vpcID to the delete vpc route params

func (*DeleteVpcRouteParams) WriteToRequest

func (o *DeleteVpcRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteVpcRouteReader

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

DeleteVpcRouteReader is a Reader for the DeleteVpcRoute structure.

func (*DeleteVpcRouteReader) ReadResponse

func (o *DeleteVpcRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVpcRouteNotFound

type GetVpcRouteNotFound struct {
	Payload *models.Riaaserror
}

GetVpcRouteNotFound handles this case with default header values.

A route with the specified identifier could not be found.

func NewGetVpcRouteNotFound

func NewGetVpcRouteNotFound() *GetVpcRouteNotFound

NewGetVpcRouteNotFound creates a GetVpcRouteNotFound with default headers values

func (*GetVpcRouteNotFound) Error

func (o *GetVpcRouteNotFound) Error() string

type GetVpcRouteOK

type GetVpcRouteOK struct {
	Payload *models.Route
}

GetVpcRouteOK handles this case with default header values.

The route was retrieved successfully.

func NewGetVpcRouteOK

func NewGetVpcRouteOK() *GetVpcRouteOK

NewGetVpcRouteOK creates a GetVpcRouteOK with default headers values

func (*GetVpcRouteOK) Error

func (o *GetVpcRouteOK) Error() string

type GetVpcRouteParams

type GetVpcRouteParams struct {

	/*Generation
	  The infrastructure generation for the request. For the API behavior documented here, use `1` or `2`.

	*/
	Generation int64
	/*ID
	  The route identifier

	*/
	ID string
	/*Version
	  Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version.

	*/
	Version string
	/*VpcID
	  The VPC identifier

	*/
	VpcID string

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

GetVpcRouteParams contains all the parameters to send to the API endpoint for the get vpc route operation typically these are written to a http.Request

func NewGetVpcRouteParams

func NewGetVpcRouteParams() *GetVpcRouteParams

NewGetVpcRouteParams creates a new GetVpcRouteParams object with the default values initialized.

func NewGetVpcRouteParamsWithContext

func NewGetVpcRouteParamsWithContext(ctx context.Context) *GetVpcRouteParams

NewGetVpcRouteParamsWithContext creates a new GetVpcRouteParams object with the default values initialized, and the ability to set a context for a request

func NewGetVpcRouteParamsWithHTTPClient

func NewGetVpcRouteParamsWithHTTPClient(client *http.Client) *GetVpcRouteParams

NewGetVpcRouteParamsWithHTTPClient creates a new GetVpcRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetVpcRouteParamsWithTimeout

func NewGetVpcRouteParamsWithTimeout(timeout time.Duration) *GetVpcRouteParams

NewGetVpcRouteParamsWithTimeout creates a new GetVpcRouteParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetVpcRouteParams) SetContext

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

SetContext adds the context to the get vpc route params

func (*GetVpcRouteParams) SetGeneration

func (o *GetVpcRouteParams) SetGeneration(generation int64)

SetGeneration adds the generation to the get vpc route params

func (*GetVpcRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get vpc route params

func (*GetVpcRouteParams) SetID

func (o *GetVpcRouteParams) SetID(id string)

SetID adds the id to the get vpc route params

func (*GetVpcRouteParams) SetTimeout

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

SetTimeout adds the timeout to the get vpc route params

func (*GetVpcRouteParams) SetVersion

func (o *GetVpcRouteParams) SetVersion(version string)

SetVersion adds the version to the get vpc route params

func (*GetVpcRouteParams) SetVpcID

func (o *GetVpcRouteParams) SetVpcID(vpcID string)

SetVpcID adds the vpcId to the get vpc route params

func (*GetVpcRouteParams) WithContext

func (o *GetVpcRouteParams) WithContext(ctx context.Context) *GetVpcRouteParams

WithContext adds the context to the get vpc route params

func (*GetVpcRouteParams) WithGeneration

func (o *GetVpcRouteParams) WithGeneration(generation int64) *GetVpcRouteParams

WithGeneration adds the generation to the get vpc route params

func (*GetVpcRouteParams) WithHTTPClient

func (o *GetVpcRouteParams) WithHTTPClient(client *http.Client) *GetVpcRouteParams

WithHTTPClient adds the HTTPClient to the get vpc route params

func (*GetVpcRouteParams) WithID

WithID adds the id to the get vpc route params

func (*GetVpcRouteParams) WithTimeout

func (o *GetVpcRouteParams) WithTimeout(timeout time.Duration) *GetVpcRouteParams

WithTimeout adds the timeout to the get vpc route params

func (*GetVpcRouteParams) WithVersion

func (o *GetVpcRouteParams) WithVersion(version string) *GetVpcRouteParams

WithVersion adds the version to the get vpc route params

func (*GetVpcRouteParams) WithVpcID

func (o *GetVpcRouteParams) WithVpcID(vpcID string) *GetVpcRouteParams

WithVpcID adds the vpcID to the get vpc route params

func (*GetVpcRouteParams) WriteToRequest

func (o *GetVpcRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetVpcRouteReader

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

GetVpcRouteReader is a Reader for the GetVpcRoute structure.

func (*GetVpcRouteReader) ReadResponse

func (o *GetVpcRouteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListVpcRoutesNotFound

type ListVpcRoutesNotFound struct {
	Payload *models.Riaaserror
}

ListVpcRoutesNotFound handles this case with default header values.

The specified VPC could not be found.

func NewListVpcRoutesNotFound

func NewListVpcRoutesNotFound() *ListVpcRoutesNotFound

NewListVpcRoutesNotFound creates a ListVpcRoutesNotFound with default headers values

func (*ListVpcRoutesNotFound) Error

func (o *ListVpcRoutesNotFound) Error() string

type ListVpcRoutesOK

type ListVpcRoutesOK struct {
	Payload *models.RouteCollection
}

ListVpcRoutesOK handles this case with default header values.

The routes were retrieved successfully.

func NewListVpcRoutesOK

func NewListVpcRoutesOK() *ListVpcRoutesOK

NewListVpcRoutesOK creates a ListVpcRoutesOK with default headers values

func (*ListVpcRoutesOK) Error

func (o *ListVpcRoutesOK) Error() string

type ListVpcRoutesParams

type ListVpcRoutesParams struct {

	/*Generation
	  The infrastructure generation for the request. For the API behavior documented here, use `1` or `2`.

	*/
	Generation int64
	/*Version
	  Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version.

	*/
	Version string
	/*VpcID
	  The VPC identifier

	*/
	VpcID string
	/*ZoneName
	  Filters the collection to resources within the specified zone

	*/
	ZoneName *string

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

ListVpcRoutesParams contains all the parameters to send to the API endpoint for the list vpc routes operation typically these are written to a http.Request

func NewListVpcRoutesParams

func NewListVpcRoutesParams() *ListVpcRoutesParams

NewListVpcRoutesParams creates a new ListVpcRoutesParams object with the default values initialized.

func NewListVpcRoutesParamsWithContext

func NewListVpcRoutesParamsWithContext(ctx context.Context) *ListVpcRoutesParams

NewListVpcRoutesParamsWithContext creates a new ListVpcRoutesParams object with the default values initialized, and the ability to set a context for a request

func NewListVpcRoutesParamsWithHTTPClient

func NewListVpcRoutesParamsWithHTTPClient(client *http.Client) *ListVpcRoutesParams

NewListVpcRoutesParamsWithHTTPClient creates a new ListVpcRoutesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListVpcRoutesParamsWithTimeout

func NewListVpcRoutesParamsWithTimeout(timeout time.Duration) *ListVpcRoutesParams

NewListVpcRoutesParamsWithTimeout creates a new ListVpcRoutesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListVpcRoutesParams) SetContext

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

SetContext adds the context to the list vpc routes params

func (*ListVpcRoutesParams) SetGeneration

func (o *ListVpcRoutesParams) SetGeneration(generation int64)

SetGeneration adds the generation to the list vpc routes params

func (*ListVpcRoutesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list vpc routes params

func (*ListVpcRoutesParams) SetTimeout

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

SetTimeout adds the timeout to the list vpc routes params

func (*ListVpcRoutesParams) SetVersion

func (o *ListVpcRoutesParams) SetVersion(version string)

SetVersion adds the version to the list vpc routes params

func (*ListVpcRoutesParams) SetVpcID

func (o *ListVpcRoutesParams) SetVpcID(vpcID string)

SetVpcID adds the vpcId to the list vpc routes params

func (*ListVpcRoutesParams) SetZoneName

func (o *ListVpcRoutesParams) SetZoneName(zoneName *string)

SetZoneName adds the zoneName to the list vpc routes params

func (*ListVpcRoutesParams) WithContext

WithContext adds the context to the list vpc routes params

func (*ListVpcRoutesParams) WithGeneration

func (o *ListVpcRoutesParams) WithGeneration(generation int64) *ListVpcRoutesParams

WithGeneration adds the generation to the list vpc routes params

func (*ListVpcRoutesParams) WithHTTPClient

func (o *ListVpcRoutesParams) WithHTTPClient(client *http.Client) *ListVpcRoutesParams

WithHTTPClient adds the HTTPClient to the list vpc routes params

func (*ListVpcRoutesParams) WithTimeout

func (o *ListVpcRoutesParams) WithTimeout(timeout time.Duration) *ListVpcRoutesParams

WithTimeout adds the timeout to the list vpc routes params

func (*ListVpcRoutesParams) WithVersion

func (o *ListVpcRoutesParams) WithVersion(version string) *ListVpcRoutesParams

WithVersion adds the version to the list vpc routes params

func (*ListVpcRoutesParams) WithVpcID

func (o *ListVpcRoutesParams) WithVpcID(vpcID string) *ListVpcRoutesParams

WithVpcID adds the vpcID to the list vpc routes params

func (*ListVpcRoutesParams) WithZoneName

func (o *ListVpcRoutesParams) WithZoneName(zoneName *string) *ListVpcRoutesParams

WithZoneName adds the zoneName to the list vpc routes params

func (*ListVpcRoutesParams) WriteToRequest

func (o *ListVpcRoutesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListVpcRoutesReader

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

ListVpcRoutesReader is a Reader for the ListVpcRoutes structure.

func (*ListVpcRoutesReader) ReadResponse

func (o *ListVpcRoutesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateVpcRouteBadRequest

type UpdateVpcRouteBadRequest struct {
	Payload *models.Riaaserror
}

UpdateVpcRouteBadRequest handles this case with default header values.

An invalid route patch was provided.

func NewUpdateVpcRouteBadRequest

func NewUpdateVpcRouteBadRequest() *UpdateVpcRouteBadRequest

NewUpdateVpcRouteBadRequest creates a UpdateVpcRouteBadRequest with default headers values

func (*UpdateVpcRouteBadRequest) Error

func (o *UpdateVpcRouteBadRequest) Error() string

type UpdateVpcRouteNotFound

type UpdateVpcRouteNotFound struct {
	Payload *models.Riaaserror
}

UpdateVpcRouteNotFound handles this case with default header values.

A route with the specified identifier could not be found.

func NewUpdateVpcRouteNotFound

func NewUpdateVpcRouteNotFound() *UpdateVpcRouteNotFound

NewUpdateVpcRouteNotFound creates a UpdateVpcRouteNotFound with default headers values

func (*UpdateVpcRouteNotFound) Error

func (o *UpdateVpcRouteNotFound) Error() string

type UpdateVpcRouteOK

type UpdateVpcRouteOK struct {
	Payload *models.Route
}

UpdateVpcRouteOK handles this case with default header values.

The route was updated successfully.

func NewUpdateVpcRouteOK

func NewUpdateVpcRouteOK() *UpdateVpcRouteOK

NewUpdateVpcRouteOK creates a UpdateVpcRouteOK with default headers values

func (*UpdateVpcRouteOK) Error

func (o *UpdateVpcRouteOK) Error() string

type UpdateVpcRouteParams

type UpdateVpcRouteParams struct {

	/*RoutePatch
	  The route patch

	*/
	RoutePatch *models.RoutePatch
	/*Generation
	  The infrastructure generation for the request. For the API behavior documented here, use `1` or `2`.

	*/
	Generation int64
	/*ID
	  The route identifier

	*/
	ID string
	/*Version
	  Requests the version of the API as of a date in the format `YYYY-MM-DD`. Any date up to the current date may be provided. Specify the current date to request the latest version.

	*/
	Version string
	/*VpcID
	  The VPC identifier

	*/
	VpcID string

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

UpdateVpcRouteParams contains all the parameters to send to the API endpoint for the update vpc route operation typically these are written to a http.Request

func NewUpdateVpcRouteParams

func NewUpdateVpcRouteParams() *UpdateVpcRouteParams

NewUpdateVpcRouteParams creates a new UpdateVpcRouteParams object with the default values initialized.

func NewUpdateVpcRouteParamsWithContext

func NewUpdateVpcRouteParamsWithContext(ctx context.Context) *UpdateVpcRouteParams

NewUpdateVpcRouteParamsWithContext creates a new UpdateVpcRouteParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateVpcRouteParamsWithHTTPClient

func NewUpdateVpcRouteParamsWithHTTPClient(client *http.Client) *UpdateVpcRouteParams

NewUpdateVpcRouteParamsWithHTTPClient creates a new UpdateVpcRouteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateVpcRouteParamsWithTimeout

func NewUpdateVpcRouteParamsWithTimeout(timeout time.Duration) *UpdateVpcRouteParams

NewUpdateVpcRouteParamsWithTimeout creates a new UpdateVpcRouteParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateVpcRouteParams) SetContext

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

SetContext adds the context to the update vpc route params

func (*UpdateVpcRouteParams) SetGeneration

func (o *UpdateVpcRouteParams) SetGeneration(generation int64)

SetGeneration adds the generation to the update vpc route params

func (*UpdateVpcRouteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update vpc route params

func (*UpdateVpcRouteParams) SetID

func (o *UpdateVpcRouteParams) SetID(id string)

SetID adds the id to the update vpc route params

func (*UpdateVpcRouteParams) SetRoutePatch

func (o *UpdateVpcRouteParams) SetRoutePatch(routePatch *models.RoutePatch)

SetRoutePatch adds the routePatch to the update vpc route params

func (*UpdateVpcRouteParams) SetTimeout

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

SetTimeout adds the timeout to the update vpc route params

func (*UpdateVpcRouteParams) SetVersion

func (o *UpdateVpcRouteParams) SetVersion(version string)

SetVersion adds the version to the update vpc route params

func (*UpdateVpcRouteParams) SetVpcID

func (o *UpdateVpcRouteParams) SetVpcID(vpcID string)

SetVpcID adds the vpcId to the update vpc route params

func (*UpdateVpcRouteParams) WithContext

WithContext adds the context to the update vpc route params

func (*UpdateVpcRouteParams) WithGeneration

func (o *UpdateVpcRouteParams) WithGeneration(generation int64) *UpdateVpcRouteParams

WithGeneration adds the generation to the update vpc route params

func (*UpdateVpcRouteParams) WithHTTPClient

func (o *UpdateVpcRouteParams) WithHTTPClient(client *http.Client) *UpdateVpcRouteParams

WithHTTPClient adds the HTTPClient to the update vpc route params

func (*UpdateVpcRouteParams) WithID

WithID adds the id to the update vpc route params

func (*UpdateVpcRouteParams) WithRoutePatch

func (o *UpdateVpcRouteParams) WithRoutePatch(routePatch *models.RoutePatch) *UpdateVpcRouteParams

WithRoutePatch adds the routePatch to the update vpc route params

func (*UpdateVpcRouteParams) WithTimeout

func (o *UpdateVpcRouteParams) WithTimeout(timeout time.Duration) *UpdateVpcRouteParams

WithTimeout adds the timeout to the update vpc route params

func (*UpdateVpcRouteParams) WithVersion

func (o *UpdateVpcRouteParams) WithVersion(version string) *UpdateVpcRouteParams

WithVersion adds the version to the update vpc route params

func (*UpdateVpcRouteParams) WithVpcID

func (o *UpdateVpcRouteParams) WithVpcID(vpcID string) *UpdateVpcRouteParams

WithVpcID adds the vpcID to the update vpc route params

func (*UpdateVpcRouteParams) WriteToRequest

func (o *UpdateVpcRouteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateVpcRouteReader

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

UpdateVpcRouteReader is a Reader for the UpdateVpcRoute structure.

func (*UpdateVpcRouteReader) ReadResponse

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