version

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: GPL-3.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) GetVersionUsingGET

func (a *Client) GetVersionUsingGET(params *GetVersionUsingGETParams) (*GetVersionUsingGETOK, error)

GetVersionUsingGET retrieves the version and the build data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetVersionUsingGET(params *GetVersionUsingGETParams) (*GetVersionUsingGETOK, 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 GetVersionUsingGETForbidden

type GetVersionUsingGETForbidden struct {
}

GetVersionUsingGETForbidden handles this case with default header values.

Forbidden

func NewGetVersionUsingGETForbidden

func NewGetVersionUsingGETForbidden() *GetVersionUsingGETForbidden

NewGetVersionUsingGETForbidden creates a GetVersionUsingGETForbidden with default headers values

func (*GetVersionUsingGETForbidden) Error

type GetVersionUsingGETNotFound

type GetVersionUsingGETNotFound struct {
}

GetVersionUsingGETNotFound handles this case with default header values.

Not Found

func NewGetVersionUsingGETNotFound

func NewGetVersionUsingGETNotFound() *GetVersionUsingGETNotFound

NewGetVersionUsingGETNotFound creates a GetVersionUsingGETNotFound with default headers values

func (*GetVersionUsingGETNotFound) Error

type GetVersionUsingGETOK

type GetVersionUsingGETOK struct {
	Payload *models.VersionDto
}

GetVersionUsingGETOK handles this case with default header values.

OK

func NewGetVersionUsingGETOK

func NewGetVersionUsingGETOK() *GetVersionUsingGETOK

NewGetVersionUsingGETOK creates a GetVersionUsingGETOK with default headers values

func (*GetVersionUsingGETOK) Error

func (o *GetVersionUsingGETOK) Error() string

func (*GetVersionUsingGETOK) GetPayload

func (o *GetVersionUsingGETOK) GetPayload() *models.VersionDto

type GetVersionUsingGETParams

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

GetVersionUsingGETParams contains all the parameters to send to the API endpoint for the get version using g e t operation typically these are written to a http.Request

func NewGetVersionUsingGETParams

func NewGetVersionUsingGETParams() *GetVersionUsingGETParams

NewGetVersionUsingGETParams creates a new GetVersionUsingGETParams object with the default values initialized.

func NewGetVersionUsingGETParamsWithContext

func NewGetVersionUsingGETParamsWithContext(ctx context.Context) *GetVersionUsingGETParams

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

func NewGetVersionUsingGETParamsWithHTTPClient

func NewGetVersionUsingGETParamsWithHTTPClient(client *http.Client) *GetVersionUsingGETParams

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

func NewGetVersionUsingGETParamsWithTimeout

func NewGetVersionUsingGETParamsWithTimeout(timeout time.Duration) *GetVersionUsingGETParams

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

func (*GetVersionUsingGETParams) SetContext

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

SetContext adds the context to the get version using g e t params

func (*GetVersionUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get version using g e t params

func (*GetVersionUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get version using g e t params

func (*GetVersionUsingGETParams) WithContext

WithContext adds the context to the get version using g e t params

func (*GetVersionUsingGETParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get version using g e t params

func (*GetVersionUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get version using g e t params

func (*GetVersionUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVersionUsingGETReader

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

GetVersionUsingGETReader is a Reader for the GetVersionUsingGET structure.

func (*GetVersionUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetVersionUsingGETUnauthorized

type GetVersionUsingGETUnauthorized struct {
}

GetVersionUsingGETUnauthorized handles this case with default header values.

Unauthorized

func NewGetVersionUsingGETUnauthorized

func NewGetVersionUsingGETUnauthorized() *GetVersionUsingGETUnauthorized

NewGetVersionUsingGETUnauthorized creates a GetVersionUsingGETUnauthorized with default headers values

func (*GetVersionUsingGETUnauthorized) Error

Jump to

Keyboard shortcuts

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