operations

package
v0.1.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 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 Client

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

Client for operations API

func (*Client) GetHealthcheckInfo deprecated

func (a *Client) GetHealthcheckInfo(params *GetHealthcheckInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoOK, error)

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

GetHealthcheckInfo

func (*Client) GetHealthcheckInfoShort

func (a *Client) GetHealthcheckInfoShort(params *GetHealthcheckInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoOK, error)

GetHealthcheckInfoShort

func (*Client) GetHealthcheckInfoV1 deprecated

func (a *Client) GetHealthcheckInfoV1(params *GetHealthcheckInfoV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoV1OK, error)

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

GetHealthcheckInfoV1

func (*Client) GetHealthcheckInfoV1Short

func (a *Client) GetHealthcheckInfoV1Short(params *GetHealthcheckInfoV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoV1OK, error)

GetHealthcheckInfoV1Short

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VersionCheckHandler deprecated

func (a *Client) VersionCheckHandler(params *VersionCheckHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*VersionCheckHandlerOK, error)

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

VersionCheckHandler

func (*Client) VersionCheckHandlerShort

func (a *Client) VersionCheckHandlerShort(params *VersionCheckHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*VersionCheckHandlerOK, error)

VersionCheckHandlerShort

type ClientService

type ClientService interface {
	GetHealthcheckInfo(params *GetHealthcheckInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoOK, error)
	GetHealthcheckInfoShort(params *GetHealthcheckInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoOK, error)
	GetHealthcheckInfoV1(params *GetHealthcheckInfoV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoV1OK, error)
	GetHealthcheckInfoV1Short(params *GetHealthcheckInfoV1Params, authInfo runtime.ClientAuthInfoWriter) (*GetHealthcheckInfoV1OK, error)
	VersionCheckHandler(params *VersionCheckHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*VersionCheckHandlerOK, error)
	VersionCheckHandlerShort(params *VersionCheckHandlerParams, authInfo runtime.ClientAuthInfoWriter) (*VersionCheckHandlerOK, 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 GetHealthcheckInfoOK

type GetHealthcheckInfoOK struct {
}

GetHealthcheckInfoOK handles this case with default header values.

OK

func NewGetHealthcheckInfoOK

func NewGetHealthcheckInfoOK() *GetHealthcheckInfoOK

NewGetHealthcheckInfoOK creates a GetHealthcheckInfoOK with default headers values

func (*GetHealthcheckInfoOK) Error

func (o *GetHealthcheckInfoOK) Error() string

type GetHealthcheckInfoParams

type GetHealthcheckInfoParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetHealthcheckInfoParams contains all the parameters to send to the API endpoint for the get healthcheck info operation typically these are written to a http.Request

func NewGetHealthcheckInfoParams

func NewGetHealthcheckInfoParams() *GetHealthcheckInfoParams

NewGetHealthcheckInfoParams creates a new GetHealthcheckInfoParams object with the default values initialized.

func NewGetHealthcheckInfoParamsWithContext

func NewGetHealthcheckInfoParamsWithContext(ctx context.Context) *GetHealthcheckInfoParams

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

func NewGetHealthcheckInfoParamsWithHTTPClient

func NewGetHealthcheckInfoParamsWithHTTPClient(client *http.Client) *GetHealthcheckInfoParams

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

func NewGetHealthcheckInfoParamsWithTimeout

func NewGetHealthcheckInfoParamsWithTimeout(timeout time.Duration) *GetHealthcheckInfoParams

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

func (*GetHealthcheckInfoParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get healthcheck info params

func (*GetHealthcheckInfoParams) SetContext

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

SetContext adds the context to the get healthcheck info params

func (*GetHealthcheckInfoParams) SetFlightId

func (o *GetHealthcheckInfoParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetHealthcheckInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get healthcheck info params

func (*GetHealthcheckInfoParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get healthcheck info params

func (*GetHealthcheckInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get healthcheck info params

func (*GetHealthcheckInfoParams) WithContext

WithContext adds the context to the get healthcheck info params

func (*GetHealthcheckInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get healthcheck info params

func (*GetHealthcheckInfoParams) WithTimeout

WithTimeout adds the timeout to the get healthcheck info params

func (*GetHealthcheckInfoParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHealthcheckInfoReader

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

GetHealthcheckInfoReader is a Reader for the GetHealthcheckInfo structure.

func (*GetHealthcheckInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetHealthcheckInfoV1OK

type GetHealthcheckInfoV1OK struct {
}

GetHealthcheckInfoV1OK handles this case with default header values.

OK

func NewGetHealthcheckInfoV1OK

func NewGetHealthcheckInfoV1OK() *GetHealthcheckInfoV1OK

NewGetHealthcheckInfoV1OK creates a GetHealthcheckInfoV1OK with default headers values

func (*GetHealthcheckInfoV1OK) Error

func (o *GetHealthcheckInfoV1OK) Error() string

type GetHealthcheckInfoV1Params

type GetHealthcheckInfoV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

GetHealthcheckInfoV1Params contains all the parameters to send to the API endpoint for the get healthcheck info v1 operation typically these are written to a http.Request

func NewGetHealthcheckInfoV1Params

func NewGetHealthcheckInfoV1Params() *GetHealthcheckInfoV1Params

NewGetHealthcheckInfoV1Params creates a new GetHealthcheckInfoV1Params object with the default values initialized.

func NewGetHealthcheckInfoV1ParamsWithContext

func NewGetHealthcheckInfoV1ParamsWithContext(ctx context.Context) *GetHealthcheckInfoV1Params

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

func NewGetHealthcheckInfoV1ParamsWithHTTPClient

func NewGetHealthcheckInfoV1ParamsWithHTTPClient(client *http.Client) *GetHealthcheckInfoV1Params

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

func NewGetHealthcheckInfoV1ParamsWithTimeout

func NewGetHealthcheckInfoV1ParamsWithTimeout(timeout time.Duration) *GetHealthcheckInfoV1Params

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

func (*GetHealthcheckInfoV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) SetContext

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

SetContext adds the context to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) SetFlightId

func (o *GetHealthcheckInfoV1Params) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*GetHealthcheckInfoV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) SetTimeout

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

SetTimeout adds the timeout to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) WithContext

WithContext adds the context to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) WithTimeout

WithTimeout adds the timeout to the get healthcheck info v1 params

func (*GetHealthcheckInfoV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetHealthcheckInfoV1Reader

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

GetHealthcheckInfoV1Reader is a Reader for the GetHealthcheckInfoV1 structure.

func (*GetHealthcheckInfoV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VersionCheckHandlerOK

type VersionCheckHandlerOK struct {
}

VersionCheckHandlerOK handles this case with default header values.

OK

func NewVersionCheckHandlerOK

func NewVersionCheckHandlerOK() *VersionCheckHandlerOK

NewVersionCheckHandlerOK creates a VersionCheckHandlerOK with default headers values

func (*VersionCheckHandlerOK) Error

func (o *VersionCheckHandlerOK) Error() string

type VersionCheckHandlerParams

type VersionCheckHandlerParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

VersionCheckHandlerParams contains all the parameters to send to the API endpoint for the version check handler operation typically these are written to a http.Request

func NewVersionCheckHandlerParams

func NewVersionCheckHandlerParams() *VersionCheckHandlerParams

NewVersionCheckHandlerParams creates a new VersionCheckHandlerParams object with the default values initialized.

func NewVersionCheckHandlerParamsWithContext

func NewVersionCheckHandlerParamsWithContext(ctx context.Context) *VersionCheckHandlerParams

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

func NewVersionCheckHandlerParamsWithHTTPClient

func NewVersionCheckHandlerParamsWithHTTPClient(client *http.Client) *VersionCheckHandlerParams

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

func NewVersionCheckHandlerParamsWithTimeout

func NewVersionCheckHandlerParamsWithTimeout(timeout time.Duration) *VersionCheckHandlerParams

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

func (*VersionCheckHandlerParams) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the version check handler params

func (*VersionCheckHandlerParams) SetContext

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

SetContext adds the context to the version check handler params

func (*VersionCheckHandlerParams) SetFlightId

func (o *VersionCheckHandlerParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*VersionCheckHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the version check handler params

func (*VersionCheckHandlerParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the version check handler params

func (*VersionCheckHandlerParams) SetTimeout

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

SetTimeout adds the timeout to the version check handler params

func (*VersionCheckHandlerParams) WithContext

WithContext adds the context to the version check handler params

func (*VersionCheckHandlerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the version check handler params

func (*VersionCheckHandlerParams) WithTimeout

WithTimeout adds the timeout to the version check handler params

func (*VersionCheckHandlerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VersionCheckHandlerReader

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

VersionCheckHandlerReader is a Reader for the VersionCheckHandler structure.

func (*VersionCheckHandlerReader) ReadResponse

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