versioning

package
v0.0.0-...-878b285 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: Apache-2.0 Imports: 8 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 versioning API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VersioningList

func (a *Client) VersioningList(params *VersioningListParams) (*VersioningListOK, error)

VersioningList lists supported API versions

func (*Client) VersioningRead

func (a *Client) VersioningRead(params *VersioningReadParams) (*VersioningReadOK, error)

VersioningRead lists top level resources

type ClientService

type ClientService interface {
	VersioningList(params *VersioningListParams) (*VersioningListOK, error)

	VersioningRead(params *VersioningReadParams) (*VersioningReadOK, 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 versioning API client.

type VersioningListOK

type VersioningListOK struct {
}

VersioningListOK handles this case with default header values.

OK

func NewVersioningListOK

func NewVersioningListOK() *VersioningListOK

NewVersioningListOK creates a VersioningListOK with default headers values

func (*VersioningListOK) Error

func (o *VersioningListOK) Error() string

type VersioningListParams

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

VersioningListParams contains all the parameters to send to the API endpoint for the versioning list operation typically these are written to a http.Request

func NewVersioningListParams

func NewVersioningListParams() *VersioningListParams

NewVersioningListParams creates a new VersioningListParams object with the default values initialized.

func NewVersioningListParamsWithContext

func NewVersioningListParamsWithContext(ctx context.Context) *VersioningListParams

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

func NewVersioningListParamsWithHTTPClient

func NewVersioningListParamsWithHTTPClient(client *http.Client) *VersioningListParams

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

func NewVersioningListParamsWithTimeout

func NewVersioningListParamsWithTimeout(timeout time.Duration) *VersioningListParams

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

func (*VersioningListParams) SetContext

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

SetContext adds the context to the versioning list params

func (*VersioningListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the versioning list params

func (*VersioningListParams) SetTimeout

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

SetTimeout adds the timeout to the versioning list params

func (*VersioningListParams) WithContext

WithContext adds the context to the versioning list params

func (*VersioningListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the versioning list params

func (*VersioningListParams) WithTimeout

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

WithTimeout adds the timeout to the versioning list params

func (*VersioningListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VersioningListReader

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

VersioningListReader is a Reader for the VersioningList structure.

func (*VersioningListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VersioningReadOK

type VersioningReadOK struct {
}

VersioningReadOK handles this case with default header values.

OK

func NewVersioningReadOK

func NewVersioningReadOK() *VersioningReadOK

NewVersioningReadOK creates a VersioningReadOK with default headers values

func (*VersioningReadOK) Error

func (o *VersioningReadOK) Error() string

type VersioningReadParams

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

VersioningReadParams contains all the parameters to send to the API endpoint for the versioning read operation typically these are written to a http.Request

func NewVersioningReadParams

func NewVersioningReadParams() *VersioningReadParams

NewVersioningReadParams creates a new VersioningReadParams object with the default values initialized.

func NewVersioningReadParamsWithContext

func NewVersioningReadParamsWithContext(ctx context.Context) *VersioningReadParams

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

func NewVersioningReadParamsWithHTTPClient

func NewVersioningReadParamsWithHTTPClient(client *http.Client) *VersioningReadParams

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

func NewVersioningReadParamsWithTimeout

func NewVersioningReadParamsWithTimeout(timeout time.Duration) *VersioningReadParams

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

func (*VersioningReadParams) SetContext

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

SetContext adds the context to the versioning read params

func (*VersioningReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the versioning read params

func (*VersioningReadParams) SetTimeout

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

SetTimeout adds the timeout to the versioning read params

func (*VersioningReadParams) WithContext

WithContext adds the context to the versioning read params

func (*VersioningReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the versioning read params

func (*VersioningReadParams) WithTimeout

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

WithTimeout adds the timeout to the versioning read params

func (*VersioningReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type VersioningReadReader

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

VersioningReadReader is a Reader for the VersioningRead structure.

func (*VersioningReadReader) ReadResponse

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