version

package
v0.0.0-...-192cafe Latest Latest
Warning

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

Go to latest
Published: Mar 30, 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) ListVersionsByProvider

func (a *Client) ListVersionsByProvider(params *ListVersionsByProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionsByProviderOK, error)

ListVersionsByProvider Lists all versions which don't result in automatic updates for a given provider

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 {
	ListVersionsByProvider(params *ListVersionsByProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionsByProviderOK, 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 ListVersionsByProviderDefault

type ListVersionsByProviderDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListVersionsByProviderDefault describes a response with status code -1, with default header values.

errorResponse

func NewListVersionsByProviderDefault

func NewListVersionsByProviderDefault(code int) *ListVersionsByProviderDefault

NewListVersionsByProviderDefault creates a ListVersionsByProviderDefault with default headers values

func (*ListVersionsByProviderDefault) Code

Code gets the status code for the list versions by provider default response

func (*ListVersionsByProviderDefault) Error

func (*ListVersionsByProviderDefault) GetPayload

type ListVersionsByProviderForbidden

type ListVersionsByProviderForbidden struct {
}
ListVersionsByProviderForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListVersionsByProviderForbidden

func NewListVersionsByProviderForbidden() *ListVersionsByProviderForbidden

NewListVersionsByProviderForbidden creates a ListVersionsByProviderForbidden with default headers values

func (*ListVersionsByProviderForbidden) Error

type ListVersionsByProviderOK

type ListVersionsByProviderOK struct {
	Payload models.VersionList
}
ListVersionsByProviderOK describes a response with status code 200, with default header values.

VersionList

func NewListVersionsByProviderOK

func NewListVersionsByProviderOK() *ListVersionsByProviderOK

NewListVersionsByProviderOK creates a ListVersionsByProviderOK with default headers values

func (*ListVersionsByProviderOK) Error

func (o *ListVersionsByProviderOK) Error() string

func (*ListVersionsByProviderOK) GetPayload

type ListVersionsByProviderParams

type ListVersionsByProviderParams struct {

	// ProviderName.
	ProviderName string

	// Type.
	Type *string

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

ListVersionsByProviderParams contains all the parameters to send to the API endpoint

for the list versions by provider operation.

Typically these are written to a http.Request.

func NewListVersionsByProviderParams

func NewListVersionsByProviderParams() *ListVersionsByProviderParams

NewListVersionsByProviderParams creates a new ListVersionsByProviderParams 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 NewListVersionsByProviderParamsWithContext

func NewListVersionsByProviderParamsWithContext(ctx context.Context) *ListVersionsByProviderParams

NewListVersionsByProviderParamsWithContext creates a new ListVersionsByProviderParams object with the ability to set a context for a request.

func NewListVersionsByProviderParamsWithHTTPClient

func NewListVersionsByProviderParamsWithHTTPClient(client *http.Client) *ListVersionsByProviderParams

NewListVersionsByProviderParamsWithHTTPClient creates a new ListVersionsByProviderParams object with the ability to set a custom HTTPClient for a request.

func NewListVersionsByProviderParamsWithTimeout

func NewListVersionsByProviderParamsWithTimeout(timeout time.Duration) *ListVersionsByProviderParams

NewListVersionsByProviderParamsWithTimeout creates a new ListVersionsByProviderParams object with the ability to set a timeout on a request.

func (*ListVersionsByProviderParams) SetContext

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

SetContext adds the context to the list versions by provider params

func (*ListVersionsByProviderParams) SetDefaults

func (o *ListVersionsByProviderParams) SetDefaults()

SetDefaults hydrates default values in the list versions by provider params (not the query body).

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

func (*ListVersionsByProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list versions by provider params

func (*ListVersionsByProviderParams) SetProviderName

func (o *ListVersionsByProviderParams) SetProviderName(providerName string)

SetProviderName adds the providerName to the list versions by provider params

func (*ListVersionsByProviderParams) SetTimeout

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

SetTimeout adds the timeout to the list versions by provider params

func (*ListVersionsByProviderParams) SetType

func (o *ListVersionsByProviderParams) SetType(typeVar *string)

SetType adds the type to the list versions by provider params

func (*ListVersionsByProviderParams) WithContext

WithContext adds the context to the list versions by provider params

func (*ListVersionsByProviderParams) WithDefaults

WithDefaults hydrates default values in the list versions by provider params (not the query body).

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

func (*ListVersionsByProviderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list versions by provider params

func (*ListVersionsByProviderParams) WithProviderName

func (o *ListVersionsByProviderParams) WithProviderName(providerName string) *ListVersionsByProviderParams

WithProviderName adds the providerName to the list versions by provider params

func (*ListVersionsByProviderParams) WithTimeout

WithTimeout adds the timeout to the list versions by provider params

func (*ListVersionsByProviderParams) WithType

WithType adds the typeVar to the list versions by provider params

func (*ListVersionsByProviderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVersionsByProviderReader

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

ListVersionsByProviderReader is a Reader for the ListVersionsByProvider structure.

func (*ListVersionsByProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVersionsByProviderUnauthorized

type ListVersionsByProviderUnauthorized struct {
}
ListVersionsByProviderUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListVersionsByProviderUnauthorized

func NewListVersionsByProviderUnauthorized() *ListVersionsByProviderUnauthorized

NewListVersionsByProviderUnauthorized creates a ListVersionsByProviderUnauthorized with default headers values

func (*ListVersionsByProviderUnauthorized) Error

Jump to

Keyboard shortcuts

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