informational

package
v0.0.0-...-31bffcd Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-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 informational API

func (*Client) DetailSpec

func (a *Client) DetailSpec(params *DetailSpecParams, opts ...ClientOption) (*DetailSpecOK, error)

DetailSpec returns a single spec resource

Returns single spec resource embedded within the controller for consumption/documentation/code geneartion

func (*Client) DetailSpecBody

func (a *Client) DetailSpecBody(params *DetailSpecBodyParams, opts ...ClientOption) (*DetailSpecBodyOK, error)

DetailSpecBody returns the spec s file

Return the body of the specification (i.e. Swagger, OpenAPI 2.0, 3.0, etc).

func (*Client) ListProtocols

func (a *Client) ListProtocols(params *ListProtocolsParams, opts ...ClientOption) (*ListProtocolsOK, error)

ListProtocols returns a list of the listening edge protocols

func (*Client) ListRoot

func (a *Client) ListRoot(params *ListRootParams, opts ...ClientOption) (*ListRootOK, error)

ListRoot returns version information

func (*Client) ListSpecs

func (a *Client) ListSpecs(params *ListSpecsParams, opts ...ClientOption) (*ListSpecsOK, error)

ListSpecs returns a list of API specs

Returns a list of spec files embedded within the controller for consumption/documentation/code geneartion

func (*Client) ListVersion

func (a *Client) ListVersion(params *ListVersionParams, opts ...ClientOption) (*ListVersionOK, error)

ListVersion returns version information

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DetailSpec(params *DetailSpecParams, opts ...ClientOption) (*DetailSpecOK, error)

	DetailSpecBody(params *DetailSpecBodyParams, opts ...ClientOption) (*DetailSpecBodyOK, error)

	ListProtocols(params *ListProtocolsParams, opts ...ClientOption) (*ListProtocolsOK, error)

	ListRoot(params *ListRootParams, opts ...ClientOption) (*ListRootOK, error)

	ListSpecs(params *ListSpecsParams, opts ...ClientOption) (*ListSpecsOK, error)

	ListVersion(params *ListVersionParams, opts ...ClientOption) (*ListVersionOK, 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 informational API client.

type DetailSpecBodyOK

type DetailSpecBodyOK struct {
	Payload *rest_model.DetailSpecBodyEnvelope
}
DetailSpecBodyOK describes a response with status code 200, with default header values.

Returns the document that represents the specification

func NewDetailSpecBodyOK

func NewDetailSpecBodyOK() *DetailSpecBodyOK

NewDetailSpecBodyOK creates a DetailSpecBodyOK with default headers values

func (*DetailSpecBodyOK) Error

func (o *DetailSpecBodyOK) Error() string

func (*DetailSpecBodyOK) GetPayload

type DetailSpecBodyParams

type DetailSpecBodyParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailSpecBodyParams contains all the parameters to send to the API endpoint

for the detail spec body operation.

Typically these are written to a http.Request.

func NewDetailSpecBodyParams

func NewDetailSpecBodyParams() *DetailSpecBodyParams

NewDetailSpecBodyParams creates a new DetailSpecBodyParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDetailSpecBodyParamsWithContext

func NewDetailSpecBodyParamsWithContext(ctx context.Context) *DetailSpecBodyParams

NewDetailSpecBodyParamsWithContext creates a new DetailSpecBodyParams object with the ability to set a context for a request.

func NewDetailSpecBodyParamsWithHTTPClient

func NewDetailSpecBodyParamsWithHTTPClient(client *http.Client) *DetailSpecBodyParams

NewDetailSpecBodyParamsWithHTTPClient creates a new DetailSpecBodyParams object with the ability to set a custom HTTPClient for a request.

func NewDetailSpecBodyParamsWithTimeout

func NewDetailSpecBodyParamsWithTimeout(timeout time.Duration) *DetailSpecBodyParams

NewDetailSpecBodyParamsWithTimeout creates a new DetailSpecBodyParams object with the ability to set a timeout on a request.

func (*DetailSpecBodyParams) SetContext

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

SetContext adds the context to the detail spec body params

func (*DetailSpecBodyParams) SetDefaults

func (o *DetailSpecBodyParams) SetDefaults()

SetDefaults hydrates default values in the detail spec body params (not the query body).

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

func (*DetailSpecBodyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail spec body params

func (*DetailSpecBodyParams) SetID

func (o *DetailSpecBodyParams) SetID(id string)

SetID adds the id to the detail spec body params

func (*DetailSpecBodyParams) SetTimeout

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

SetTimeout adds the timeout to the detail spec body params

func (*DetailSpecBodyParams) WithContext

WithContext adds the context to the detail spec body params

func (*DetailSpecBodyParams) WithDefaults

func (o *DetailSpecBodyParams) WithDefaults() *DetailSpecBodyParams

WithDefaults hydrates default values in the detail spec body params (not the query body).

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

func (*DetailSpecBodyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail spec body params

func (*DetailSpecBodyParams) WithID

WithID adds the id to the detail spec body params

func (*DetailSpecBodyParams) WithTimeout

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

WithTimeout adds the timeout to the detail spec body params

func (*DetailSpecBodyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DetailSpecBodyReader

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

DetailSpecBodyReader is a Reader for the DetailSpecBody structure.

func (*DetailSpecBodyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DetailSpecOK

type DetailSpecOK struct {
	Payload *rest_model.DetailSpecEnvelope
}
DetailSpecOK describes a response with status code 200, with default header values.

A single specification

func NewDetailSpecOK

func NewDetailSpecOK() *DetailSpecOK

NewDetailSpecOK creates a DetailSpecOK with default headers values

func (*DetailSpecOK) Error

func (o *DetailSpecOK) Error() string

func (*DetailSpecOK) GetPayload

func (o *DetailSpecOK) GetPayload() *rest_model.DetailSpecEnvelope

type DetailSpecParams

type DetailSpecParams struct {

	/* ID.

	   The id of the requested resource
	*/
	ID string

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

DetailSpecParams contains all the parameters to send to the API endpoint

for the detail spec operation.

Typically these are written to a http.Request.

func NewDetailSpecParams

func NewDetailSpecParams() *DetailSpecParams

NewDetailSpecParams creates a new DetailSpecParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDetailSpecParamsWithContext

func NewDetailSpecParamsWithContext(ctx context.Context) *DetailSpecParams

NewDetailSpecParamsWithContext creates a new DetailSpecParams object with the ability to set a context for a request.

func NewDetailSpecParamsWithHTTPClient

func NewDetailSpecParamsWithHTTPClient(client *http.Client) *DetailSpecParams

NewDetailSpecParamsWithHTTPClient creates a new DetailSpecParams object with the ability to set a custom HTTPClient for a request.

func NewDetailSpecParamsWithTimeout

func NewDetailSpecParamsWithTimeout(timeout time.Duration) *DetailSpecParams

NewDetailSpecParamsWithTimeout creates a new DetailSpecParams object with the ability to set a timeout on a request.

func (*DetailSpecParams) SetContext

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

SetContext adds the context to the detail spec params

func (*DetailSpecParams) SetDefaults

func (o *DetailSpecParams) SetDefaults()

SetDefaults hydrates default values in the detail spec params (not the query body).

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

func (*DetailSpecParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the detail spec params

func (*DetailSpecParams) SetID

func (o *DetailSpecParams) SetID(id string)

SetID adds the id to the detail spec params

func (*DetailSpecParams) SetTimeout

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

SetTimeout adds the timeout to the detail spec params

func (*DetailSpecParams) WithContext

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

WithContext adds the context to the detail spec params

func (*DetailSpecParams) WithDefaults

func (o *DetailSpecParams) WithDefaults() *DetailSpecParams

WithDefaults hydrates default values in the detail spec params (not the query body).

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

func (*DetailSpecParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the detail spec params

func (*DetailSpecParams) WithID

func (o *DetailSpecParams) WithID(id string) *DetailSpecParams

WithID adds the id to the detail spec params

func (*DetailSpecParams) WithTimeout

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

WithTimeout adds the timeout to the detail spec params

func (*DetailSpecParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DetailSpecReader

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

DetailSpecReader is a Reader for the DetailSpec structure.

func (*DetailSpecReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListProtocolsOK

type ListProtocolsOK struct {
	Payload *rest_model.ListProtocolsEnvelope
}
ListProtocolsOK describes a response with status code 200, with default header values.

A list of supported Edge protocols

func NewListProtocolsOK

func NewListProtocolsOK() *ListProtocolsOK

NewListProtocolsOK creates a ListProtocolsOK with default headers values

func (*ListProtocolsOK) Error

func (o *ListProtocolsOK) Error() string

func (*ListProtocolsOK) GetPayload

type ListProtocolsParams

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

ListProtocolsParams contains all the parameters to send to the API endpoint

for the list protocols operation.

Typically these are written to a http.Request.

func NewListProtocolsParams

func NewListProtocolsParams() *ListProtocolsParams

NewListProtocolsParams creates a new ListProtocolsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProtocolsParamsWithContext

func NewListProtocolsParamsWithContext(ctx context.Context) *ListProtocolsParams

NewListProtocolsParamsWithContext creates a new ListProtocolsParams object with the ability to set a context for a request.

func NewListProtocolsParamsWithHTTPClient

func NewListProtocolsParamsWithHTTPClient(client *http.Client) *ListProtocolsParams

NewListProtocolsParamsWithHTTPClient creates a new ListProtocolsParams object with the ability to set a custom HTTPClient for a request.

func NewListProtocolsParamsWithTimeout

func NewListProtocolsParamsWithTimeout(timeout time.Duration) *ListProtocolsParams

NewListProtocolsParamsWithTimeout creates a new ListProtocolsParams object with the ability to set a timeout on a request.

func (*ListProtocolsParams) SetContext

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

SetContext adds the context to the list protocols params

func (*ListProtocolsParams) SetDefaults

func (o *ListProtocolsParams) SetDefaults()

SetDefaults hydrates default values in the list protocols params (not the query body).

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

func (*ListProtocolsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list protocols params

func (*ListProtocolsParams) SetTimeout

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

SetTimeout adds the timeout to the list protocols params

func (*ListProtocolsParams) WithContext

WithContext adds the context to the list protocols params

func (*ListProtocolsParams) WithDefaults

func (o *ListProtocolsParams) WithDefaults() *ListProtocolsParams

WithDefaults hydrates default values in the list protocols params (not the query body).

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

func (*ListProtocolsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list protocols params

func (*ListProtocolsParams) WithTimeout

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

WithTimeout adds the timeout to the list protocols params

func (*ListProtocolsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListProtocolsReader

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

ListProtocolsReader is a Reader for the ListProtocols structure.

func (*ListProtocolsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRootOK

type ListRootOK struct {
	Payload *rest_model.ListVersionEnvelope
}
ListRootOK describes a response with status code 200, with default header values.

Version information for the controller

func NewListRootOK

func NewListRootOK() *ListRootOK

NewListRootOK creates a ListRootOK with default headers values

func (*ListRootOK) Error

func (o *ListRootOK) Error() string

func (*ListRootOK) GetPayload

func (o *ListRootOK) GetPayload() *rest_model.ListVersionEnvelope

type ListRootParams

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

ListRootParams contains all the parameters to send to the API endpoint

for the list root operation.

Typically these are written to a http.Request.

func NewListRootParams

func NewListRootParams() *ListRootParams

NewListRootParams creates a new ListRootParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListRootParamsWithContext

func NewListRootParamsWithContext(ctx context.Context) *ListRootParams

NewListRootParamsWithContext creates a new ListRootParams object with the ability to set a context for a request.

func NewListRootParamsWithHTTPClient

func NewListRootParamsWithHTTPClient(client *http.Client) *ListRootParams

NewListRootParamsWithHTTPClient creates a new ListRootParams object with the ability to set a custom HTTPClient for a request.

func NewListRootParamsWithTimeout

func NewListRootParamsWithTimeout(timeout time.Duration) *ListRootParams

NewListRootParamsWithTimeout creates a new ListRootParams object with the ability to set a timeout on a request.

func (*ListRootParams) SetContext

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

SetContext adds the context to the list root params

func (*ListRootParams) SetDefaults

func (o *ListRootParams) SetDefaults()

SetDefaults hydrates default values in the list root params (not the query body).

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

func (*ListRootParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list root params

func (*ListRootParams) SetTimeout

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

SetTimeout adds the timeout to the list root params

func (*ListRootParams) WithContext

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

WithContext adds the context to the list root params

func (*ListRootParams) WithDefaults

func (o *ListRootParams) WithDefaults() *ListRootParams

WithDefaults hydrates default values in the list root params (not the query body).

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

func (*ListRootParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list root params

func (*ListRootParams) WithTimeout

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

WithTimeout adds the timeout to the list root params

func (*ListRootParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListRootReader

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

ListRootReader is a Reader for the ListRoot structure.

func (*ListRootReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSpecsOK

type ListSpecsOK struct {
	Payload *rest_model.ListSpecsEnvelope
}
ListSpecsOK describes a response with status code 200, with default header values.

A list of specifications

func NewListSpecsOK

func NewListSpecsOK() *ListSpecsOK

NewListSpecsOK creates a ListSpecsOK with default headers values

func (*ListSpecsOK) Error

func (o *ListSpecsOK) Error() string

func (*ListSpecsOK) GetPayload

func (o *ListSpecsOK) GetPayload() *rest_model.ListSpecsEnvelope

type ListSpecsParams

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

ListSpecsParams contains all the parameters to send to the API endpoint

for the list specs operation.

Typically these are written to a http.Request.

func NewListSpecsParams

func NewListSpecsParams() *ListSpecsParams

NewListSpecsParams creates a new ListSpecsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListSpecsParamsWithContext

func NewListSpecsParamsWithContext(ctx context.Context) *ListSpecsParams

NewListSpecsParamsWithContext creates a new ListSpecsParams object with the ability to set a context for a request.

func NewListSpecsParamsWithHTTPClient

func NewListSpecsParamsWithHTTPClient(client *http.Client) *ListSpecsParams

NewListSpecsParamsWithHTTPClient creates a new ListSpecsParams object with the ability to set a custom HTTPClient for a request.

func NewListSpecsParamsWithTimeout

func NewListSpecsParamsWithTimeout(timeout time.Duration) *ListSpecsParams

NewListSpecsParamsWithTimeout creates a new ListSpecsParams object with the ability to set a timeout on a request.

func (*ListSpecsParams) SetContext

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

SetContext adds the context to the list specs params

func (*ListSpecsParams) SetDefaults

func (o *ListSpecsParams) SetDefaults()

SetDefaults hydrates default values in the list specs params (not the query body).

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

func (*ListSpecsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list specs params

func (*ListSpecsParams) SetTimeout

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

SetTimeout adds the timeout to the list specs params

func (*ListSpecsParams) WithContext

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

WithContext adds the context to the list specs params

func (*ListSpecsParams) WithDefaults

func (o *ListSpecsParams) WithDefaults() *ListSpecsParams

WithDefaults hydrates default values in the list specs params (not the query body).

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

func (*ListSpecsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list specs params

func (*ListSpecsParams) WithTimeout

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

WithTimeout adds the timeout to the list specs params

func (*ListSpecsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSpecsReader

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

ListSpecsReader is a Reader for the ListSpecs structure.

func (*ListSpecsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVersionOK

type ListVersionOK struct {
	Payload *rest_model.ListVersionEnvelope
}
ListVersionOK describes a response with status code 200, with default header values.

Version information for the controller

func NewListVersionOK

func NewListVersionOK() *ListVersionOK

NewListVersionOK creates a ListVersionOK with default headers values

func (*ListVersionOK) Error

func (o *ListVersionOK) Error() string

func (*ListVersionOK) GetPayload

func (o *ListVersionOK) GetPayload() *rest_model.ListVersionEnvelope

type ListVersionParams

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

ListVersionParams contains all the parameters to send to the API endpoint

for the list version operation.

Typically these are written to a http.Request.

func NewListVersionParams

func NewListVersionParams() *ListVersionParams

NewListVersionParams creates a new ListVersionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListVersionParamsWithContext

func NewListVersionParamsWithContext(ctx context.Context) *ListVersionParams

NewListVersionParamsWithContext creates a new ListVersionParams object with the ability to set a context for a request.

func NewListVersionParamsWithHTTPClient

func NewListVersionParamsWithHTTPClient(client *http.Client) *ListVersionParams

NewListVersionParamsWithHTTPClient creates a new ListVersionParams object with the ability to set a custom HTTPClient for a request.

func NewListVersionParamsWithTimeout

func NewListVersionParamsWithTimeout(timeout time.Duration) *ListVersionParams

NewListVersionParamsWithTimeout creates a new ListVersionParams object with the ability to set a timeout on a request.

func (*ListVersionParams) SetContext

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

SetContext adds the context to the list version params

func (*ListVersionParams) SetDefaults

func (o *ListVersionParams) SetDefaults()

SetDefaults hydrates default values in the list version params (not the query body).

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

func (*ListVersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list version params

func (*ListVersionParams) SetTimeout

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

SetTimeout adds the timeout to the list version params

func (*ListVersionParams) WithContext

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

WithContext adds the context to the list version params

func (*ListVersionParams) WithDefaults

func (o *ListVersionParams) WithDefaults() *ListVersionParams

WithDefaults hydrates default values in the list version params (not the query body).

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

func (*ListVersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list version params

func (*ListVersionParams) WithTimeout

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

WithTimeout adds the timeout to the list version params

func (*ListVersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListVersionReader

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

ListVersionReader is a Reader for the ListVersion structure.

func (*ListVersionReader) ReadResponse

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