operations

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 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) Healthz

func (a *Client) Healthz(params *HealthzParams, authInfo runtime.ClientAuthInfoWriter) (*HealthzOK, error)

Healthz healthz API

func (*Client) MatchmakingHealthz

func (a *Client) MatchmakingHealthz(params *MatchmakingHealthzParams, authInfo runtime.ClientAuthInfoWriter) (*MatchmakingHealthzOK, error)

MatchmakingHealthz matchmaking healthz API

func (*Client) PublicGetMessages

PublicGetMessages gets service messages

get the list of messages.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VersionCheckHandler

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

VersionCheckHandler version check handler API

type ClientService

type ClientService interface {
	Healthz(params *HealthzParams, authInfo runtime.ClientAuthInfoWriter) (*HealthzOK, error)

	MatchmakingHealthz(params *MatchmakingHealthzParams, authInfo runtime.ClientAuthInfoWriter) (*MatchmakingHealthzOK, error)

	PublicGetMessages(params *PublicGetMessagesParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetMessagesOK, *PublicGetMessagesInternalServerError, error)

	VersionCheckHandler(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 HealthzOK

type HealthzOK struct {
}

HealthzOK handles this case with default header values.

OK

func NewHealthzOK

func NewHealthzOK() *HealthzOK

NewHealthzOK creates a HealthzOK with default headers values

func (*HealthzOK) Error

func (o *HealthzOK) Error() string

type HealthzParams

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

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

func NewHealthzParams

func NewHealthzParams() *HealthzParams

NewHealthzParams creates a new HealthzParams object with the default values initialized.

func NewHealthzParamsWithContext

func NewHealthzParamsWithContext(ctx context.Context) *HealthzParams

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

func NewHealthzParamsWithHTTPClient

func NewHealthzParamsWithHTTPClient(client *http.Client) *HealthzParams

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

func NewHealthzParamsWithTimeout

func NewHealthzParamsWithTimeout(timeout time.Duration) *HealthzParams

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

func (*HealthzParams) SetContext

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

SetContext adds the context to the healthz params

func (*HealthzParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the healthz params

func (*HealthzParams) SetTimeout

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

SetTimeout adds the timeout to the healthz params

func (*HealthzParams) WithContext

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

WithContext adds the context to the healthz params

func (*HealthzParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the healthz params

func (*HealthzParams) WithTimeout

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

WithTimeout adds the timeout to the healthz params

func (*HealthzParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type HealthzReader

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

HealthzReader is a Reader for the Healthz structure.

func (*HealthzReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type MatchmakingHealthzOK

type MatchmakingHealthzOK struct {
}

MatchmakingHealthzOK handles this case with default header values.

OK

func NewMatchmakingHealthzOK

func NewMatchmakingHealthzOK() *MatchmakingHealthzOK

NewMatchmakingHealthzOK creates a MatchmakingHealthzOK with default headers values

func (*MatchmakingHealthzOK) Error

func (o *MatchmakingHealthzOK) Error() string

type MatchmakingHealthzParams

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

MatchmakingHealthzParams contains all the parameters to send to the API endpoint for the matchmaking healthz operation typically these are written to a http.Request

func NewMatchmakingHealthzParams

func NewMatchmakingHealthzParams() *MatchmakingHealthzParams

NewMatchmakingHealthzParams creates a new MatchmakingHealthzParams object with the default values initialized.

func NewMatchmakingHealthzParamsWithContext

func NewMatchmakingHealthzParamsWithContext(ctx context.Context) *MatchmakingHealthzParams

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

func NewMatchmakingHealthzParamsWithHTTPClient

func NewMatchmakingHealthzParamsWithHTTPClient(client *http.Client) *MatchmakingHealthzParams

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

func NewMatchmakingHealthzParamsWithTimeout

func NewMatchmakingHealthzParamsWithTimeout(timeout time.Duration) *MatchmakingHealthzParams

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

func (*MatchmakingHealthzParams) SetContext

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

SetContext adds the context to the matchmaking healthz params

func (*MatchmakingHealthzParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the matchmaking healthz params

func (*MatchmakingHealthzParams) SetTimeout

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

SetTimeout adds the timeout to the matchmaking healthz params

func (*MatchmakingHealthzParams) WithContext

WithContext adds the context to the matchmaking healthz params

func (*MatchmakingHealthzParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the matchmaking healthz params

func (*MatchmakingHealthzParams) WithTimeout

WithTimeout adds the timeout to the matchmaking healthz params

func (*MatchmakingHealthzParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type MatchmakingHealthzReader

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

MatchmakingHealthzReader is a Reader for the MatchmakingHealthz structure.

func (*MatchmakingHealthzReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicGetMessagesInternalServerError

type PublicGetMessagesInternalServerError struct {
	Payload *matchmakingclientmodels.ResponseError
}

PublicGetMessagesInternalServerError handles this case with default header values.

PublicGetMessagesInternalServerError public get messages internal server error

func NewPublicGetMessagesInternalServerError

func NewPublicGetMessagesInternalServerError() *PublicGetMessagesInternalServerError

NewPublicGetMessagesInternalServerError creates a PublicGetMessagesInternalServerError with default headers values

func (*PublicGetMessagesInternalServerError) Error

func (*PublicGetMessagesInternalServerError) GetPayload

type PublicGetMessagesOK

type PublicGetMessagesOK struct {
	Payload []*matchmakingclientmodels.LogAppMessageDeclaration
}

PublicGetMessagesOK handles this case with default header values.

PublicGetMessagesOK public get messages o k

func NewPublicGetMessagesOK

func NewPublicGetMessagesOK() *PublicGetMessagesOK

NewPublicGetMessagesOK creates a PublicGetMessagesOK with default headers values

func (*PublicGetMessagesOK) Error

func (o *PublicGetMessagesOK) Error() string

func (*PublicGetMessagesOK) GetPayload

type PublicGetMessagesParams

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

PublicGetMessagesParams contains all the parameters to send to the API endpoint for the public get messages operation typically these are written to a http.Request

func NewPublicGetMessagesParams

func NewPublicGetMessagesParams() *PublicGetMessagesParams

NewPublicGetMessagesParams creates a new PublicGetMessagesParams object with the default values initialized.

func NewPublicGetMessagesParamsWithContext

func NewPublicGetMessagesParamsWithContext(ctx context.Context) *PublicGetMessagesParams

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

func NewPublicGetMessagesParamsWithHTTPClient

func NewPublicGetMessagesParamsWithHTTPClient(client *http.Client) *PublicGetMessagesParams

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

func NewPublicGetMessagesParamsWithTimeout

func NewPublicGetMessagesParamsWithTimeout(timeout time.Duration) *PublicGetMessagesParams

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

func (*PublicGetMessagesParams) SetContext

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

SetContext adds the context to the public get messages params

func (*PublicGetMessagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public get messages params

func (*PublicGetMessagesParams) SetTimeout

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

SetTimeout adds the timeout to the public get messages params

func (*PublicGetMessagesParams) WithContext

WithContext adds the context to the public get messages params

func (*PublicGetMessagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public get messages params

func (*PublicGetMessagesParams) WithTimeout

WithTimeout adds the timeout to the public get messages params

func (*PublicGetMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetMessagesReader

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

PublicGetMessagesReader is a Reader for the PublicGetMessages structure.

func (*PublicGetMessagesReader) ReadResponse

func (o *PublicGetMessagesReader) 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 {
	Context    context.Context
	HTTPClient *http.Client
	// 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) SetContext

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

SetContext adds the context to the version check handler params

func (*VersionCheckHandlerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient 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