versions

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 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 API

type API interface {
	/*
	   ListComponentVersions lists of componenets versions*/
	ListComponentVersions(ctx context.Context, params *ListComponentVersionsParams) (*ListComponentVersionsOK, error)
}

API is the interface of the versions client

type Client

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

Client for versions API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client

New creates a new versions API client.

func (*Client) ListComponentVersions

func (a *Client) ListComponentVersions(ctx context.Context, params *ListComponentVersionsParams) (*ListComponentVersionsOK, error)

ListComponentVersions lists of componenets versions

type ListComponentVersionsOK

type ListComponentVersionsOK struct {
	Payload *models.ListVersions
}

ListComponentVersionsOK handles this case with default header values.

Success.

func NewListComponentVersionsOK

func NewListComponentVersionsOK() *ListComponentVersionsOK

NewListComponentVersionsOK creates a ListComponentVersionsOK with default headers values

func (*ListComponentVersionsOK) Error

func (o *ListComponentVersionsOK) Error() string

func (*ListComponentVersionsOK) GetPayload

func (o *ListComponentVersionsOK) GetPayload() *models.ListVersions

type ListComponentVersionsParams

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

ListComponentVersionsParams contains all the parameters to send to the API endpoint for the list component versions operation typically these are written to a http.Request

func NewListComponentVersionsParams

func NewListComponentVersionsParams() *ListComponentVersionsParams

NewListComponentVersionsParams creates a new ListComponentVersionsParams object with the default values initialized.

func NewListComponentVersionsParamsWithContext

func NewListComponentVersionsParamsWithContext(ctx context.Context) *ListComponentVersionsParams

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

func NewListComponentVersionsParamsWithHTTPClient

func NewListComponentVersionsParamsWithHTTPClient(client *http.Client) *ListComponentVersionsParams

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

func NewListComponentVersionsParamsWithTimeout

func NewListComponentVersionsParamsWithTimeout(timeout time.Duration) *ListComponentVersionsParams

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

func (*ListComponentVersionsParams) SetContext

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

SetContext adds the context to the list component versions params

func (*ListComponentVersionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list component versions params

func (*ListComponentVersionsParams) SetTimeout

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

SetTimeout adds the timeout to the list component versions params

func (*ListComponentVersionsParams) WithContext

WithContext adds the context to the list component versions params

func (*ListComponentVersionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list component versions params

func (*ListComponentVersionsParams) WithTimeout

WithTimeout adds the timeout to the list component versions params

func (*ListComponentVersionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListComponentVersionsReader

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

ListComponentVersionsReader is a Reader for the ListComponentVersions structure.

func (*ListComponentVersionsReader) ReadResponse

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