specification_openapiv3

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 11 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 specification openapiv3 API

func (*Client) GetOpenapiv3Specification

func (a *Client) GetOpenapiv3Specification(params *GetOpenapiv3SpecificationParams, authInfo runtime.ClientAuthInfoWriter) (*GetOpenapiv3SpecificationOK, error)

GetOpenapiv3Specification data plane API v3 specification

Return Data Plane API OpenAPI v3 specification

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetOpenapiv3Specification(params *GetOpenapiv3SpecificationParams, authInfo runtime.ClientAuthInfoWriter) (*GetOpenapiv3SpecificationOK, 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 specification openapiv3 API client.

type GetOpenapiv3SpecificationDefault

type GetOpenapiv3SpecificationDefault struct {

	/*Configuration file version
	 */
	ConfigurationVersion int64

	Payload *models.Error
	// contains filtered or unexported fields
}

GetOpenapiv3SpecificationDefault handles this case with default header values.

General Error

func NewGetOpenapiv3SpecificationDefault

func NewGetOpenapiv3SpecificationDefault(code int) *GetOpenapiv3SpecificationDefault

NewGetOpenapiv3SpecificationDefault creates a GetOpenapiv3SpecificationDefault with default headers values

func (*GetOpenapiv3SpecificationDefault) Code

Code gets the status code for the get openapiv3 specification default response

func (*GetOpenapiv3SpecificationDefault) Error

func (*GetOpenapiv3SpecificationDefault) GetPayload

type GetOpenapiv3SpecificationOK

type GetOpenapiv3SpecificationOK struct {
	Payload interface{}
}

GetOpenapiv3SpecificationOK handles this case with default header values.

Success

func NewGetOpenapiv3SpecificationOK

func NewGetOpenapiv3SpecificationOK() *GetOpenapiv3SpecificationOK

NewGetOpenapiv3SpecificationOK creates a GetOpenapiv3SpecificationOK with default headers values

func (*GetOpenapiv3SpecificationOK) Error

func (*GetOpenapiv3SpecificationOK) GetPayload

func (o *GetOpenapiv3SpecificationOK) GetPayload() interface{}

type GetOpenapiv3SpecificationParams

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

GetOpenapiv3SpecificationParams contains all the parameters to send to the API endpoint for the get openapiv3 specification operation typically these are written to a http.Request

func NewGetOpenapiv3SpecificationParams

func NewGetOpenapiv3SpecificationParams() *GetOpenapiv3SpecificationParams

NewGetOpenapiv3SpecificationParams creates a new GetOpenapiv3SpecificationParams object with the default values initialized.

func NewGetOpenapiv3SpecificationParamsWithContext

func NewGetOpenapiv3SpecificationParamsWithContext(ctx context.Context) *GetOpenapiv3SpecificationParams

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

func NewGetOpenapiv3SpecificationParamsWithHTTPClient

func NewGetOpenapiv3SpecificationParamsWithHTTPClient(client *http.Client) *GetOpenapiv3SpecificationParams

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

func NewGetOpenapiv3SpecificationParamsWithTimeout

func NewGetOpenapiv3SpecificationParamsWithTimeout(timeout time.Duration) *GetOpenapiv3SpecificationParams

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

func (*GetOpenapiv3SpecificationParams) SetContext

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

SetContext adds the context to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) SetTimeout

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

SetTimeout adds the timeout to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WithContext

WithContext adds the context to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WithTimeout

WithTimeout adds the timeout to the get openapiv3 specification params

func (*GetOpenapiv3SpecificationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOpenapiv3SpecificationReader

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

GetOpenapiv3SpecificationReader is a Reader for the GetOpenapiv3Specification structure.

func (*GetOpenapiv3SpecificationReader) ReadResponse

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