operations

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicHealthCheckOK

type BasicHealthCheckOK struct {
}

BasicHealthCheckOK handles this case with default header values.

OK

func NewBasicHealthCheckOK

func NewBasicHealthCheckOK() *BasicHealthCheckOK

NewBasicHealthCheckOK creates a BasicHealthCheckOK with default headers values

func (*BasicHealthCheckOK) Error

func (o *BasicHealthCheckOK) Error() string

type BasicHealthCheckParams

type BasicHealthCheckParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

BasicHealthCheckParams contains all the parameters to send to the API endpoint for the basic health check operation typically these are written to a http.Request

func NewBasicHealthCheckParams

func NewBasicHealthCheckParams() *BasicHealthCheckParams

NewBasicHealthCheckParams creates a new BasicHealthCheckParams object with the default values initialized.

func NewBasicHealthCheckParamsWithContext

func NewBasicHealthCheckParamsWithContext(ctx context.Context) *BasicHealthCheckParams

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

func NewBasicHealthCheckParamsWithHTTPClient

func NewBasicHealthCheckParamsWithHTTPClient(client *http.Client) *BasicHealthCheckParams

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

func NewBasicHealthCheckParamsWithTimeout

func NewBasicHealthCheckParamsWithTimeout(timeout time.Duration) *BasicHealthCheckParams

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

func (*BasicHealthCheckParams) SetAuthInfoWriter

func (o *BasicHealthCheckParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the basic health check params

func (*BasicHealthCheckParams) SetContext

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

SetContext adds the context to the basic health check params

func (*BasicHealthCheckParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the basic health check params

func (*BasicHealthCheckParams) SetHTTPClientTransport

func (o *BasicHealthCheckParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the basic health check params

func (*BasicHealthCheckParams) SetTimeout

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

SetTimeout adds the timeout to the basic health check params

func (*BasicHealthCheckParams) WithContext

WithContext adds the context to the basic health check params

func (*BasicHealthCheckParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the basic health check params

func (*BasicHealthCheckParams) WithTimeout

WithTimeout adds the timeout to the basic health check params

func (*BasicHealthCheckParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BasicHealthCheckReader

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

BasicHealthCheckReader is a Reader for the BasicHealthCheck structure.

func (*BasicHealthCheckReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for operations API

func (*Client) BasicHealthCheck deprecated

func (a *Client) BasicHealthCheck(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, error)

Deprecated: 2022-08-10 - Use BasicHealthCheckShort instead.

BasicHealthCheck health check

func (*Client) BasicHealthCheckShort

func (a *Client) BasicHealthCheckShort(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, error)

BasicHealthCheckShort health check

func (*Client) Func1 deprecated

func (a *Client) Func1(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)

Deprecated: 2022-08-10 - Use Func1Short instead.

Func1 version info

func (*Client) Func1Short

func (a *Client) Func1Short(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)

Func1Short version info

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	Func1(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)
	Func1Short(params *Func1Params, authInfo runtime.ClientAuthInfoWriter) (*Func1OK, error)
	BasicHealthCheck(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, error)
	BasicHealthCheckShort(params *BasicHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*BasicHealthCheckOK, 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 operations API client.

type Func1OK

type Func1OK struct {
}

Func1OK handles this case with default header values.

OK

func NewFunc1OK

func NewFunc1OK() *Func1OK

NewFunc1OK creates a Func1OK with default headers values

func (*Func1OK) Error

func (o *Func1OK) Error() string

type Func1Params

type Func1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

Func1Params contains all the parameters to send to the API endpoint for the func1 operation typically these are written to a http.Request

func NewFunc1Params

func NewFunc1Params() *Func1Params

NewFunc1Params creates a new Func1Params object with the default values initialized.

func NewFunc1ParamsWithContext

func NewFunc1ParamsWithContext(ctx context.Context) *Func1Params

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

func NewFunc1ParamsWithHTTPClient

func NewFunc1ParamsWithHTTPClient(client *http.Client) *Func1Params

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

func NewFunc1ParamsWithTimeout

func NewFunc1ParamsWithTimeout(timeout time.Duration) *Func1Params

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

func (*Func1Params) SetAuthInfoWriter

func (o *Func1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the func1 params

func (*Func1Params) SetContext

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

SetContext adds the context to the func1 params

func (*Func1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the func1 params

func (*Func1Params) SetHTTPClientTransport

func (o *Func1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the func1 params

func (*Func1Params) SetTimeout

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

SetTimeout adds the timeout to the func1 params

func (*Func1Params) WithContext

func (o *Func1Params) WithContext(ctx context.Context) *Func1Params

WithContext adds the context to the func1 params

func (*Func1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the func1 params

func (*Func1Params) WithTimeout

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

WithTimeout adds the timeout to the func1 params

func (*Func1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type Func1Reader

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

Func1Reader is a Reader for the Func1 structure.

func (*Func1Reader) ReadResponse

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