version

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 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 version API

func (*Client) GetAPIV1Version

func (a *Client) GetAPIV1Version(params *GetAPIV1VersionParams, opts ...ClientOption) (*GetAPIV1VersionOK, error)

GetAPIV1Version gets flowflow version

Get flowflow version

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 {
	GetAPIV1Version(params *GetAPIV1VersionParams, opts ...ClientOption) (*GetAPIV1VersionOK, 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 version API client.

type GetAPIV1VersionOK

type GetAPIV1VersionOK struct {
	Payload *models.V1VersionResponse
}
GetAPIV1VersionOK describes a response with status code 200, with default header values.

OK

func NewGetAPIV1VersionOK

func NewGetAPIV1VersionOK() *GetAPIV1VersionOK

NewGetAPIV1VersionOK creates a GetAPIV1VersionOK with default headers values

func (*GetAPIV1VersionOK) Error

func (o *GetAPIV1VersionOK) Error() string

func (*GetAPIV1VersionOK) GetPayload

func (o *GetAPIV1VersionOK) GetPayload() *models.V1VersionResponse

type GetAPIV1VersionParams

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

GetAPIV1VersionParams contains all the parameters to send to the API endpoint

for the get API v1 version operation.

Typically these are written to a http.Request.

func NewGetAPIV1VersionParams

func NewGetAPIV1VersionParams() *GetAPIV1VersionParams

NewGetAPIV1VersionParams creates a new GetAPIV1VersionParams 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 NewGetAPIV1VersionParamsWithContext

func NewGetAPIV1VersionParamsWithContext(ctx context.Context) *GetAPIV1VersionParams

NewGetAPIV1VersionParamsWithContext creates a new GetAPIV1VersionParams object with the ability to set a context for a request.

func NewGetAPIV1VersionParamsWithHTTPClient

func NewGetAPIV1VersionParamsWithHTTPClient(client *http.Client) *GetAPIV1VersionParams

NewGetAPIV1VersionParamsWithHTTPClient creates a new GetAPIV1VersionParams object with the ability to set a custom HTTPClient for a request.

func NewGetAPIV1VersionParamsWithTimeout

func NewGetAPIV1VersionParamsWithTimeout(timeout time.Duration) *GetAPIV1VersionParams

NewGetAPIV1VersionParamsWithTimeout creates a new GetAPIV1VersionParams object with the ability to set a timeout on a request.

func (*GetAPIV1VersionParams) SetContext

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

SetContext adds the context to the get API v1 version params

func (*GetAPIV1VersionParams) SetDefaults

func (o *GetAPIV1VersionParams) SetDefaults()

SetDefaults hydrates default values in the get API v1 version params (not the query body).

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

func (*GetAPIV1VersionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API v1 version params

func (*GetAPIV1VersionParams) SetTimeout

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

SetTimeout adds the timeout to the get API v1 version params

func (*GetAPIV1VersionParams) WithContext

WithContext adds the context to the get API v1 version params

func (*GetAPIV1VersionParams) WithDefaults

func (o *GetAPIV1VersionParams) WithDefaults() *GetAPIV1VersionParams

WithDefaults hydrates default values in the get API v1 version params (not the query body).

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

func (*GetAPIV1VersionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API v1 version params

func (*GetAPIV1VersionParams) WithTimeout

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

WithTimeout adds the timeout to the get API v1 version params

func (*GetAPIV1VersionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAPIV1VersionReader

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

GetAPIV1VersionReader is a Reader for the GetAPIV1Version structure.

func (*GetAPIV1VersionReader) ReadResponse

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