operations

package
v0.50.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 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) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	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.

Jump to

Keyboard shortcuts

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