operations

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 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 Client

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

Client for operations API

func (*Client) Func2 deprecated added in v0.51.0

func (a *Client) Func2(params *Func2Params, authInfo runtime.ClientAuthInfoWriter) (*Func2OK, error)

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

Func2 health check

func (*Client) Func2Short added in v0.51.0

func (a *Client) Func2Short(params *Func2Params, authInfo runtime.ClientAuthInfoWriter) (*Func2OK, error)

Func2Short health check

func (*Client) PortalHealthCheck deprecated added in v0.51.0

func (a *Client) PortalHealthCheck(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, error)

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

PortalHealthCheck health check

func (*Client) PortalHealthCheckShort added in v0.51.0

func (a *Client) PortalHealthCheckShort(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, error)

PortalHealthCheckShort health check

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	Func2(params *Func2Params, authInfo runtime.ClientAuthInfoWriter) (*Func2OK, error)
	Func2Short(params *Func2Params, authInfo runtime.ClientAuthInfoWriter) (*Func2OK, error)
	PortalHealthCheck(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, error)
	PortalHealthCheckShort(params *PortalHealthCheckParams, authInfo runtime.ClientAuthInfoWriter) (*PortalHealthCheckOK, 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 Func2OK added in v0.51.0

type Func2OK struct {
}

Func2OK handles this case with default header values.

OK

func NewFunc2OK added in v0.51.0

func NewFunc2OK() *Func2OK

NewFunc2OK creates a Func2OK with default headers values

func (*Func2OK) Error added in v0.51.0

func (o *Func2OK) Error() string

type Func2Params added in v0.51.0

type Func2Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

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

func NewFunc2Params added in v0.51.0

func NewFunc2Params() *Func2Params

NewFunc2Params creates a new Func2Params object with the default values initialized.

func NewFunc2ParamsWithContext added in v0.51.0

func NewFunc2ParamsWithContext(ctx context.Context) *Func2Params

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

func NewFunc2ParamsWithHTTPClient added in v0.51.0

func NewFunc2ParamsWithHTTPClient(client *http.Client) *Func2Params

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

func NewFunc2ParamsWithTimeout added in v0.51.0

func NewFunc2ParamsWithTimeout(timeout time.Duration) *Func2Params

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

func (*Func2Params) SetAuthInfoWriter added in v0.51.0

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

SetAuthInfoWriter adds the authInfoWriter to the func2 params

func (*Func2Params) SetContext added in v0.51.0

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

SetContext adds the context to the func2 params

func (*Func2Params) SetHTTPClient added in v0.51.0

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

SetHTTPClient adds the HTTPClient to the func2 params

func (*Func2Params) SetHTTPClientTransport added in v0.51.0

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

SetHTTPClient adds the HTTPClient Transport to the func2 params

func (*Func2Params) SetTimeout added in v0.51.0

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

SetTimeout adds the timeout to the func2 params

func (*Func2Params) WithContext added in v0.51.0

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

WithContext adds the context to the func2 params

func (*Func2Params) WithHTTPClient added in v0.51.0

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

WithHTTPClient adds the HTTPClient to the func2 params

func (*Func2Params) WithTimeout added in v0.51.0

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

WithTimeout adds the timeout to the func2 params

func (*Func2Params) WriteToRequest added in v0.51.0

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

WriteToRequest writes these params to a swagger request

type Func2Reader added in v0.51.0

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

Func2Reader is a Reader for the Func2 structure.

func (*Func2Reader) ReadResponse added in v0.51.0

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

ReadResponse reads a server response into the received o.

type PortalHealthCheckOK added in v0.51.0

type PortalHealthCheckOK struct {
}

PortalHealthCheckOK handles this case with default header values.

OK

func NewPortalHealthCheckOK added in v0.51.0

func NewPortalHealthCheckOK() *PortalHealthCheckOK

NewPortalHealthCheckOK creates a PortalHealthCheckOK with default headers values

func (*PortalHealthCheckOK) Error added in v0.51.0

func (o *PortalHealthCheckOK) Error() string

type PortalHealthCheckParams added in v0.51.0

type PortalHealthCheckParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

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

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

func NewPortalHealthCheckParams added in v0.51.0

func NewPortalHealthCheckParams() *PortalHealthCheckParams

NewPortalHealthCheckParams creates a new PortalHealthCheckParams object with the default values initialized.

func NewPortalHealthCheckParamsWithContext added in v0.51.0

func NewPortalHealthCheckParamsWithContext(ctx context.Context) *PortalHealthCheckParams

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

func NewPortalHealthCheckParamsWithHTTPClient added in v0.51.0

func NewPortalHealthCheckParamsWithHTTPClient(client *http.Client) *PortalHealthCheckParams

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

func NewPortalHealthCheckParamsWithTimeout added in v0.51.0

func NewPortalHealthCheckParamsWithTimeout(timeout time.Duration) *PortalHealthCheckParams

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

func (*PortalHealthCheckParams) SetAuthInfoWriter added in v0.51.0

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

SetAuthInfoWriter adds the authInfoWriter to the portal health check params

func (*PortalHealthCheckParams) SetContext added in v0.51.0

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

SetContext adds the context to the portal health check params

func (*PortalHealthCheckParams) SetHTTPClient added in v0.51.0

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

SetHTTPClient adds the HTTPClient to the portal health check params

func (*PortalHealthCheckParams) SetHTTPClientTransport added in v0.51.0

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

SetHTTPClient adds the HTTPClient Transport to the portal health check params

func (*PortalHealthCheckParams) SetTimeout added in v0.51.0

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

SetTimeout adds the timeout to the portal health check params

func (*PortalHealthCheckParams) WithContext added in v0.51.0

WithContext adds the context to the portal health check params

func (*PortalHealthCheckParams) WithHTTPClient added in v0.51.0

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

WithHTTPClient adds the HTTPClient to the portal health check params

func (*PortalHealthCheckParams) WithTimeout added in v0.51.0

WithTimeout adds the timeout to the portal health check params

func (*PortalHealthCheckParams) WriteToRequest added in v0.51.0

WriteToRequest writes these params to a swagger request

type PortalHealthCheckReader added in v0.51.0

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

PortalHealthCheckReader is a Reader for the PortalHealthCheck structure.

func (*PortalHealthCheckReader) ReadResponse added in v0.51.0

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