tunnels

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MPL-2.0 Imports: 10 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 tunnels API

func (*Client) DeleteV1TunnelsTunnelID

func (a *Client) DeleteV1TunnelsTunnelID(params *DeleteV1TunnelsTunnelIDParams) (*DeleteV1TunnelsTunnelIDOK, error)

DeleteV1TunnelsTunnelID deletes tunnel

func (*Client) GetV1Tunnels

func (a *Client) GetV1Tunnels(params *GetV1TunnelsParams) (*GetV1TunnelsOK, error)

GetV1Tunnels lists all tunnels

func (*Client) GetV1TunnelsTunnelID

func (a *Client) GetV1TunnelsTunnelID(params *GetV1TunnelsTunnelIDParams) (*GetV1TunnelsTunnelIDOK, error)

GetV1TunnelsTunnelID gets tunnel details

func (*Client) PostV1Tunnels

func (a *Client) PostV1Tunnels(params *PostV1TunnelsParams) (*PostV1TunnelsCreated, error)

PostV1Tunnels creates a new tunnel

You may create your own tunnel using this action. It takes a JSON object containing a tunnel request with a specified destination. Paid plans have an option to specify either encryption, subdomain or full domain.

func (*Client) PutV1TunnelsTunnelID

func (a *Client) PutV1TunnelsTunnelID(params *PutV1TunnelsTunnelIDParams) (*PutV1TunnelsTunnelIDOK, error)

PutV1TunnelsTunnelID updates tunnel details

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService added in v0.3.0

type ClientService interface {
	DeleteV1TunnelsTunnelID(params *DeleteV1TunnelsTunnelIDParams) (*DeleteV1TunnelsTunnelIDOK, error)

	GetV1Tunnels(params *GetV1TunnelsParams) (*GetV1TunnelsOK, error)

	GetV1TunnelsTunnelID(params *GetV1TunnelsTunnelIDParams) (*GetV1TunnelsTunnelIDOK, error)

	PostV1Tunnels(params *PostV1TunnelsParams) (*PostV1TunnelsCreated, error)

	PutV1TunnelsTunnelID(params *PutV1TunnelsTunnelIDParams) (*PutV1TunnelsTunnelIDOK, 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 tunnels API client.

type DeleteV1TunnelsTunnelIDNotFound

type DeleteV1TunnelsTunnelIDNotFound struct {
}

DeleteV1TunnelsTunnelIDNotFound handles this case with default header values.

Tunnel not found

func NewDeleteV1TunnelsTunnelIDNotFound

func NewDeleteV1TunnelsTunnelIDNotFound() *DeleteV1TunnelsTunnelIDNotFound

NewDeleteV1TunnelsTunnelIDNotFound creates a DeleteV1TunnelsTunnelIDNotFound with default headers values

func (*DeleteV1TunnelsTunnelIDNotFound) Error

type DeleteV1TunnelsTunnelIDOK

type DeleteV1TunnelsTunnelIDOK struct {
}

DeleteV1TunnelsTunnelIDOK handles this case with default header values.

Successful Response

func NewDeleteV1TunnelsTunnelIDOK

func NewDeleteV1TunnelsTunnelIDOK() *DeleteV1TunnelsTunnelIDOK

NewDeleteV1TunnelsTunnelIDOK creates a DeleteV1TunnelsTunnelIDOK with default headers values

func (*DeleteV1TunnelsTunnelIDOK) Error

func (o *DeleteV1TunnelsTunnelIDOK) Error() string

type DeleteV1TunnelsTunnelIDParams

type DeleteV1TunnelsTunnelIDParams struct {

	/*TunnelID
	  ID of tunnel to return

	*/
	TunnelID string

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

DeleteV1TunnelsTunnelIDParams contains all the parameters to send to the API endpoint for the delete v1 tunnels tunnel ID operation typically these are written to a http.Request

func NewDeleteV1TunnelsTunnelIDParams

func NewDeleteV1TunnelsTunnelIDParams() *DeleteV1TunnelsTunnelIDParams

NewDeleteV1TunnelsTunnelIDParams creates a new DeleteV1TunnelsTunnelIDParams object with the default values initialized.

func NewDeleteV1TunnelsTunnelIDParamsWithContext

func NewDeleteV1TunnelsTunnelIDParamsWithContext(ctx context.Context) *DeleteV1TunnelsTunnelIDParams

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

func NewDeleteV1TunnelsTunnelIDParamsWithHTTPClient

func NewDeleteV1TunnelsTunnelIDParamsWithHTTPClient(client *http.Client) *DeleteV1TunnelsTunnelIDParams

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

func NewDeleteV1TunnelsTunnelIDParamsWithTimeout

func NewDeleteV1TunnelsTunnelIDParamsWithTimeout(timeout time.Duration) *DeleteV1TunnelsTunnelIDParams

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

func (*DeleteV1TunnelsTunnelIDParams) SetContext

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

SetContext adds the context to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) SetTunnelID

func (o *DeleteV1TunnelsTunnelIDParams) SetTunnelID(tunnelID string)

SetTunnelID adds the tunnelId to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) WithContext

WithContext adds the context to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) WithTunnelID

WithTunnelID adds the tunnelID to the delete v1 tunnels tunnel ID params

func (*DeleteV1TunnelsTunnelIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1TunnelsTunnelIDReader

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

DeleteV1TunnelsTunnelIDReader is a Reader for the DeleteV1TunnelsTunnelID structure.

func (*DeleteV1TunnelsTunnelIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TunnelsOK

type GetV1TunnelsOK struct {
	Payload []*models.Tunnel
}

GetV1TunnelsOK handles this case with default header values.

Successful Response

func NewGetV1TunnelsOK

func NewGetV1TunnelsOK() *GetV1TunnelsOK

NewGetV1TunnelsOK creates a GetV1TunnelsOK with default headers values

func (*GetV1TunnelsOK) Error

func (o *GetV1TunnelsOK) Error() string

func (*GetV1TunnelsOK) GetPayload

func (o *GetV1TunnelsOK) GetPayload() []*models.Tunnel

type GetV1TunnelsParams

type GetV1TunnelsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV1TunnelsParams contains all the parameters to send to the API endpoint for the get v1 tunnels operation typically these are written to a http.Request

func NewGetV1TunnelsParams

func NewGetV1TunnelsParams() *GetV1TunnelsParams

NewGetV1TunnelsParams creates a new GetV1TunnelsParams object with the default values initialized.

func NewGetV1TunnelsParamsWithContext

func NewGetV1TunnelsParamsWithContext(ctx context.Context) *GetV1TunnelsParams

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

func NewGetV1TunnelsParamsWithHTTPClient

func NewGetV1TunnelsParamsWithHTTPClient(client *http.Client) *GetV1TunnelsParams

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

func NewGetV1TunnelsParamsWithTimeout

func NewGetV1TunnelsParamsWithTimeout(timeout time.Duration) *GetV1TunnelsParams

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

func (*GetV1TunnelsParams) SetContext

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

SetContext adds the context to the get v1 tunnels params

func (*GetV1TunnelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 tunnels params

func (*GetV1TunnelsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 tunnels params

func (*GetV1TunnelsParams) WithContext

WithContext adds the context to the get v1 tunnels params

func (*GetV1TunnelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 tunnels params

func (*GetV1TunnelsParams) WithTimeout

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

WithTimeout adds the timeout to the get v1 tunnels params

func (*GetV1TunnelsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetV1TunnelsReader

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

GetV1TunnelsReader is a Reader for the GetV1Tunnels structure.

func (*GetV1TunnelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1TunnelsTunnelIDNotFound

type GetV1TunnelsTunnelIDNotFound struct {
}

GetV1TunnelsTunnelIDNotFound handles this case with default header values.

Tunnel not found

func NewGetV1TunnelsTunnelIDNotFound

func NewGetV1TunnelsTunnelIDNotFound() *GetV1TunnelsTunnelIDNotFound

NewGetV1TunnelsTunnelIDNotFound creates a GetV1TunnelsTunnelIDNotFound with default headers values

func (*GetV1TunnelsTunnelIDNotFound) Error

type GetV1TunnelsTunnelIDOK

type GetV1TunnelsTunnelIDOK struct {
	Payload *models.Tunnel
}

GetV1TunnelsTunnelIDOK handles this case with default header values.

Successful Response

func NewGetV1TunnelsTunnelIDOK

func NewGetV1TunnelsTunnelIDOK() *GetV1TunnelsTunnelIDOK

NewGetV1TunnelsTunnelIDOK creates a GetV1TunnelsTunnelIDOK with default headers values

func (*GetV1TunnelsTunnelIDOK) Error

func (o *GetV1TunnelsTunnelIDOK) Error() string

func (*GetV1TunnelsTunnelIDOK) GetPayload

func (o *GetV1TunnelsTunnelIDOK) GetPayload() *models.Tunnel

type GetV1TunnelsTunnelIDParams

type GetV1TunnelsTunnelIDParams struct {

	/*TunnelID
	  ID of tunnel to return

	*/
	TunnelID string

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

GetV1TunnelsTunnelIDParams contains all the parameters to send to the API endpoint for the get v1 tunnels tunnel ID operation typically these are written to a http.Request

func NewGetV1TunnelsTunnelIDParams

func NewGetV1TunnelsTunnelIDParams() *GetV1TunnelsTunnelIDParams

NewGetV1TunnelsTunnelIDParams creates a new GetV1TunnelsTunnelIDParams object with the default values initialized.

func NewGetV1TunnelsTunnelIDParamsWithContext

func NewGetV1TunnelsTunnelIDParamsWithContext(ctx context.Context) *GetV1TunnelsTunnelIDParams

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

func NewGetV1TunnelsTunnelIDParamsWithHTTPClient

func NewGetV1TunnelsTunnelIDParamsWithHTTPClient(client *http.Client) *GetV1TunnelsTunnelIDParams

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

func NewGetV1TunnelsTunnelIDParamsWithTimeout

func NewGetV1TunnelsTunnelIDParamsWithTimeout(timeout time.Duration) *GetV1TunnelsTunnelIDParams

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

func (*GetV1TunnelsTunnelIDParams) SetContext

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

SetContext adds the context to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) SetTunnelID

func (o *GetV1TunnelsTunnelIDParams) SetTunnelID(tunnelID string)

SetTunnelID adds the tunnelId to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) WithContext

WithContext adds the context to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) WithTunnelID

WithTunnelID adds the tunnelID to the get v1 tunnels tunnel ID params

func (*GetV1TunnelsTunnelIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1TunnelsTunnelIDReader

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

GetV1TunnelsTunnelIDReader is a Reader for the GetV1TunnelsTunnelID structure.

func (*GetV1TunnelsTunnelIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1TunnelsBadRequest

type PostV1TunnelsBadRequest struct {
}

PostV1TunnelsBadRequest handles this case with default header values.

Invalid tunnel request supplied

func NewPostV1TunnelsBadRequest

func NewPostV1TunnelsBadRequest() *PostV1TunnelsBadRequest

NewPostV1TunnelsBadRequest creates a PostV1TunnelsBadRequest with default headers values

func (*PostV1TunnelsBadRequest) Error

func (o *PostV1TunnelsBadRequest) Error() string

type PostV1TunnelsCreated

type PostV1TunnelsCreated struct {
	Payload *models.Tunnel
}

PostV1TunnelsCreated handles this case with default header values.

PostV1TunnelsCreated post v1 tunnels created

func NewPostV1TunnelsCreated

func NewPostV1TunnelsCreated() *PostV1TunnelsCreated

NewPostV1TunnelsCreated creates a PostV1TunnelsCreated with default headers values

func (*PostV1TunnelsCreated) Error

func (o *PostV1TunnelsCreated) Error() string

func (*PostV1TunnelsCreated) GetPayload

func (o *PostV1TunnelsCreated) GetPayload() *models.Tunnel

type PostV1TunnelsParams

type PostV1TunnelsParams struct {

	/*Body*/
	Body *models.Tunnel

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

PostV1TunnelsParams contains all the parameters to send to the API endpoint for the post v1 tunnels operation typically these are written to a http.Request

func NewPostV1TunnelsParams

func NewPostV1TunnelsParams() *PostV1TunnelsParams

NewPostV1TunnelsParams creates a new PostV1TunnelsParams object with the default values initialized.

func NewPostV1TunnelsParamsWithContext

func NewPostV1TunnelsParamsWithContext(ctx context.Context) *PostV1TunnelsParams

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

func NewPostV1TunnelsParamsWithHTTPClient

func NewPostV1TunnelsParamsWithHTTPClient(client *http.Client) *PostV1TunnelsParams

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

func NewPostV1TunnelsParamsWithTimeout

func NewPostV1TunnelsParamsWithTimeout(timeout time.Duration) *PostV1TunnelsParams

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

func (*PostV1TunnelsParams) SetBody

func (o *PostV1TunnelsParams) SetBody(body *models.Tunnel)

SetBody adds the body to the post v1 tunnels params

func (*PostV1TunnelsParams) SetContext

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

SetContext adds the context to the post v1 tunnels params

func (*PostV1TunnelsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 tunnels params

func (*PostV1TunnelsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 tunnels params

func (*PostV1TunnelsParams) WithBody

WithBody adds the body to the post v1 tunnels params

func (*PostV1TunnelsParams) WithContext

WithContext adds the context to the post v1 tunnels params

func (*PostV1TunnelsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post v1 tunnels params

func (*PostV1TunnelsParams) WithTimeout

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

WithTimeout adds the timeout to the post v1 tunnels params

func (*PostV1TunnelsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostV1TunnelsReader

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

PostV1TunnelsReader is a Reader for the PostV1Tunnels structure.

func (*PostV1TunnelsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1TunnelsTunnelIDBadRequest

type PutV1TunnelsTunnelIDBadRequest struct {
}

PutV1TunnelsTunnelIDBadRequest handles this case with default header values.

Bad request (check response message)

func NewPutV1TunnelsTunnelIDBadRequest

func NewPutV1TunnelsTunnelIDBadRequest() *PutV1TunnelsTunnelIDBadRequest

NewPutV1TunnelsTunnelIDBadRequest creates a PutV1TunnelsTunnelIDBadRequest with default headers values

func (*PutV1TunnelsTunnelIDBadRequest) Error

type PutV1TunnelsTunnelIDNotFound

type PutV1TunnelsTunnelIDNotFound struct {
}

PutV1TunnelsTunnelIDNotFound handles this case with default header values.

Tunnel not found

func NewPutV1TunnelsTunnelIDNotFound

func NewPutV1TunnelsTunnelIDNotFound() *PutV1TunnelsTunnelIDNotFound

NewPutV1TunnelsTunnelIDNotFound creates a PutV1TunnelsTunnelIDNotFound with default headers values

func (*PutV1TunnelsTunnelIDNotFound) Error

type PutV1TunnelsTunnelIDOK

type PutV1TunnelsTunnelIDOK struct {
	Payload *models.Tunnel
}

PutV1TunnelsTunnelIDOK handles this case with default header values.

Successful Response

func NewPutV1TunnelsTunnelIDOK

func NewPutV1TunnelsTunnelIDOK() *PutV1TunnelsTunnelIDOK

NewPutV1TunnelsTunnelIDOK creates a PutV1TunnelsTunnelIDOK with default headers values

func (*PutV1TunnelsTunnelIDOK) Error

func (o *PutV1TunnelsTunnelIDOK) Error() string

func (*PutV1TunnelsTunnelIDOK) GetPayload

func (o *PutV1TunnelsTunnelIDOK) GetPayload() *models.Tunnel

type PutV1TunnelsTunnelIDParams

type PutV1TunnelsTunnelIDParams struct {

	/*Body*/
	Body *models.Tunnel
	/*TunnelID
	  ID of tunnel to return

	*/
	TunnelID string

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

PutV1TunnelsTunnelIDParams contains all the parameters to send to the API endpoint for the put v1 tunnels tunnel ID operation typically these are written to a http.Request

func NewPutV1TunnelsTunnelIDParams

func NewPutV1TunnelsTunnelIDParams() *PutV1TunnelsTunnelIDParams

NewPutV1TunnelsTunnelIDParams creates a new PutV1TunnelsTunnelIDParams object with the default values initialized.

func NewPutV1TunnelsTunnelIDParamsWithContext

func NewPutV1TunnelsTunnelIDParamsWithContext(ctx context.Context) *PutV1TunnelsTunnelIDParams

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

func NewPutV1TunnelsTunnelIDParamsWithHTTPClient

func NewPutV1TunnelsTunnelIDParamsWithHTTPClient(client *http.Client) *PutV1TunnelsTunnelIDParams

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

func NewPutV1TunnelsTunnelIDParamsWithTimeout

func NewPutV1TunnelsTunnelIDParamsWithTimeout(timeout time.Duration) *PutV1TunnelsTunnelIDParams

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

func (*PutV1TunnelsTunnelIDParams) SetBody

func (o *PutV1TunnelsTunnelIDParams) SetBody(body *models.Tunnel)

SetBody adds the body to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) SetContext

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

SetContext adds the context to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) SetTimeout

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

SetTimeout adds the timeout to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) SetTunnelID

func (o *PutV1TunnelsTunnelIDParams) SetTunnelID(tunnelID string)

SetTunnelID adds the tunnelId to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) WithBody

WithBody adds the body to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) WithContext

WithContext adds the context to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) WithTunnelID

WithTunnelID adds the tunnelID to the put v1 tunnels tunnel ID params

func (*PutV1TunnelsTunnelIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1TunnelsTunnelIDReader

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

PutV1TunnelsTunnelIDReader is a Reader for the PutV1TunnelsTunnelID structure.

func (*PutV1TunnelsTunnelIDReader) ReadResponse

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