config

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminGetAllConfigV1Forbidden

type AdminGetAllConfigV1Forbidden struct {
	Payload *match2clientmodels.ResponseError
}

AdminGetAllConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminGetAllConfigV1Forbidden

func NewAdminGetAllConfigV1Forbidden() *AdminGetAllConfigV1Forbidden

NewAdminGetAllConfigV1Forbidden creates a AdminGetAllConfigV1Forbidden with default headers values

func (*AdminGetAllConfigV1Forbidden) Error

func (*AdminGetAllConfigV1Forbidden) GetPayload

func (*AdminGetAllConfigV1Forbidden) ToJSONString

func (o *AdminGetAllConfigV1Forbidden) ToJSONString() string

type AdminGetAllConfigV1InternalServerError

type AdminGetAllConfigV1InternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

AdminGetAllConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetAllConfigV1InternalServerError

func NewAdminGetAllConfigV1InternalServerError() *AdminGetAllConfigV1InternalServerError

NewAdminGetAllConfigV1InternalServerError creates a AdminGetAllConfigV1InternalServerError with default headers values

func (*AdminGetAllConfigV1InternalServerError) Error

func (*AdminGetAllConfigV1InternalServerError) GetPayload

func (*AdminGetAllConfigV1InternalServerError) ToJSONString

type AdminGetAllConfigV1OK

type AdminGetAllConfigV1OK struct {
	Payload *match2clientmodels.APINamespaceConfigList
}

AdminGetAllConfigV1OK handles this case with default header values.

OK

func NewAdminGetAllConfigV1OK

func NewAdminGetAllConfigV1OK() *AdminGetAllConfigV1OK

NewAdminGetAllConfigV1OK creates a AdminGetAllConfigV1OK with default headers values

func (*AdminGetAllConfigV1OK) Error

func (o *AdminGetAllConfigV1OK) Error() string

func (*AdminGetAllConfigV1OK) GetPayload

func (*AdminGetAllConfigV1OK) ToJSONString

func (o *AdminGetAllConfigV1OK) ToJSONString() string

type AdminGetAllConfigV1Params

type AdminGetAllConfigV1Params 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
}

AdminGetAllConfigV1Params contains all the parameters to send to the API endpoint for the admin get all config v1 operation typically these are written to a http.Request

func NewAdminGetAllConfigV1Params

func NewAdminGetAllConfigV1Params() *AdminGetAllConfigV1Params

NewAdminGetAllConfigV1Params creates a new AdminGetAllConfigV1Params object with the default values initialized.

func NewAdminGetAllConfigV1ParamsWithContext

func NewAdminGetAllConfigV1ParamsWithContext(ctx context.Context) *AdminGetAllConfigV1Params

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

func NewAdminGetAllConfigV1ParamsWithHTTPClient

func NewAdminGetAllConfigV1ParamsWithHTTPClient(client *http.Client) *AdminGetAllConfigV1Params

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

func NewAdminGetAllConfigV1ParamsWithTimeout

func NewAdminGetAllConfigV1ParamsWithTimeout(timeout time.Duration) *AdminGetAllConfigV1Params

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

func (*AdminGetAllConfigV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetContext

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

SetContext adds the context to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetFlightId

func (o *AdminGetAllConfigV1Params) SetFlightId(flightId string)

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

func (*AdminGetAllConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithContext

WithContext adds the context to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin get all config v1 params

func (*AdminGetAllConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetAllConfigV1Reader

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

AdminGetAllConfigV1Reader is a Reader for the AdminGetAllConfigV1 structure.

func (*AdminGetAllConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetAllConfigV1Unauthorized

type AdminGetAllConfigV1Unauthorized struct {
	Payload *match2clientmodels.ResponseError
}

AdminGetAllConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminGetAllConfigV1Unauthorized

func NewAdminGetAllConfigV1Unauthorized() *AdminGetAllConfigV1Unauthorized

NewAdminGetAllConfigV1Unauthorized creates a AdminGetAllConfigV1Unauthorized with default headers values

func (*AdminGetAllConfigV1Unauthorized) Error

func (*AdminGetAllConfigV1Unauthorized) GetPayload

func (*AdminGetAllConfigV1Unauthorized) ToJSONString

func (o *AdminGetAllConfigV1Unauthorized) ToJSONString() string

type AdminGetConfigV1Forbidden

type AdminGetConfigV1Forbidden struct {
	Payload *match2clientmodels.ResponseError
}

AdminGetConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminGetConfigV1Forbidden

func NewAdminGetConfigV1Forbidden() *AdminGetConfigV1Forbidden

NewAdminGetConfigV1Forbidden creates a AdminGetConfigV1Forbidden with default headers values

func (*AdminGetConfigV1Forbidden) Error

func (o *AdminGetConfigV1Forbidden) Error() string

func (*AdminGetConfigV1Forbidden) GetPayload

func (*AdminGetConfigV1Forbidden) ToJSONString

func (o *AdminGetConfigV1Forbidden) ToJSONString() string

type AdminGetConfigV1InternalServerError

type AdminGetConfigV1InternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

AdminGetConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminGetConfigV1InternalServerError

func NewAdminGetConfigV1InternalServerError() *AdminGetConfigV1InternalServerError

NewAdminGetConfigV1InternalServerError creates a AdminGetConfigV1InternalServerError with default headers values

func (*AdminGetConfigV1InternalServerError) Error

func (*AdminGetConfigV1InternalServerError) GetPayload

func (*AdminGetConfigV1InternalServerError) ToJSONString

func (o *AdminGetConfigV1InternalServerError) ToJSONString() string

type AdminGetConfigV1OK

type AdminGetConfigV1OK struct {
	Payload *match2clientmodels.ConfigmodelsNamespaceConfig
}

AdminGetConfigV1OK handles this case with default header values.

OK

func NewAdminGetConfigV1OK

func NewAdminGetConfigV1OK() *AdminGetConfigV1OK

NewAdminGetConfigV1OK creates a AdminGetConfigV1OK with default headers values

func (*AdminGetConfigV1OK) Error

func (o *AdminGetConfigV1OK) Error() string

func (*AdminGetConfigV1OK) GetPayload

func (*AdminGetConfigV1OK) ToJSONString

func (o *AdminGetConfigV1OK) ToJSONString() string

type AdminGetConfigV1Params

type AdminGetConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

AdminGetConfigV1Params contains all the parameters to send to the API endpoint for the admin get config v1 operation typically these are written to a http.Request

func NewAdminGetConfigV1Params

func NewAdminGetConfigV1Params() *AdminGetConfigV1Params

NewAdminGetConfigV1Params creates a new AdminGetConfigV1Params object with the default values initialized.

func NewAdminGetConfigV1ParamsWithContext

func NewAdminGetConfigV1ParamsWithContext(ctx context.Context) *AdminGetConfigV1Params

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

func NewAdminGetConfigV1ParamsWithHTTPClient

func NewAdminGetConfigV1ParamsWithHTTPClient(client *http.Client) *AdminGetConfigV1Params

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

func NewAdminGetConfigV1ParamsWithTimeout

func NewAdminGetConfigV1ParamsWithTimeout(timeout time.Duration) *AdminGetConfigV1Params

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

func (*AdminGetConfigV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin get config v1 params

func (*AdminGetConfigV1Params) SetContext

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

SetContext adds the context to the admin get config v1 params

func (*AdminGetConfigV1Params) SetFlightId

func (o *AdminGetConfigV1Params) SetFlightId(flightId string)

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

func (*AdminGetConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin get config v1 params

func (*AdminGetConfigV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin get config v1 params

func (*AdminGetConfigV1Params) SetNamespace

func (o *AdminGetConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin get config v1 params

func (*AdminGetConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin get config v1 params

func (*AdminGetConfigV1Params) WithContext

WithContext adds the context to the admin get config v1 params

func (*AdminGetConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin get config v1 params

func (*AdminGetConfigV1Params) WithNamespace

func (o *AdminGetConfigV1Params) WithNamespace(namespace string) *AdminGetConfigV1Params

WithNamespace adds the namespace to the admin get config v1 params

func (*AdminGetConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin get config v1 params

func (*AdminGetConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminGetConfigV1Reader

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

AdminGetConfigV1Reader is a Reader for the AdminGetConfigV1 structure.

func (*AdminGetConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminGetConfigV1Unauthorized

type AdminGetConfigV1Unauthorized struct {
	Payload *match2clientmodels.ResponseError
}

AdminGetConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminGetConfigV1Unauthorized

func NewAdminGetConfigV1Unauthorized() *AdminGetConfigV1Unauthorized

NewAdminGetConfigV1Unauthorized creates a AdminGetConfigV1Unauthorized with default headers values

func (*AdminGetConfigV1Unauthorized) Error

func (*AdminGetConfigV1Unauthorized) GetPayload

func (*AdminGetConfigV1Unauthorized) ToJSONString

func (o *AdminGetConfigV1Unauthorized) ToJSONString() string

type AdminPatchConfigV1Forbidden

type AdminPatchConfigV1Forbidden struct {
	Payload *match2clientmodels.ResponseError
}

AdminPatchConfigV1Forbidden handles this case with default header values.

Forbidden

func NewAdminPatchConfigV1Forbidden

func NewAdminPatchConfigV1Forbidden() *AdminPatchConfigV1Forbidden

NewAdminPatchConfigV1Forbidden creates a AdminPatchConfigV1Forbidden with default headers values

func (*AdminPatchConfigV1Forbidden) Error

func (*AdminPatchConfigV1Forbidden) GetPayload

func (*AdminPatchConfigV1Forbidden) ToJSONString

func (o *AdminPatchConfigV1Forbidden) ToJSONString() string

type AdminPatchConfigV1InternalServerError

type AdminPatchConfigV1InternalServerError struct {
	Payload *match2clientmodels.ResponseError
}

AdminPatchConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewAdminPatchConfigV1InternalServerError

func NewAdminPatchConfigV1InternalServerError() *AdminPatchConfigV1InternalServerError

NewAdminPatchConfigV1InternalServerError creates a AdminPatchConfigV1InternalServerError with default headers values

func (*AdminPatchConfigV1InternalServerError) Error

func (*AdminPatchConfigV1InternalServerError) GetPayload

func (*AdminPatchConfigV1InternalServerError) ToJSONString

type AdminPatchConfigV1OK

type AdminPatchConfigV1OK struct {
	Payload *match2clientmodels.ConfigmodelsNamespaceConfig
}

AdminPatchConfigV1OK handles this case with default header values.

OK

func NewAdminPatchConfigV1OK

func NewAdminPatchConfigV1OK() *AdminPatchConfigV1OK

NewAdminPatchConfigV1OK creates a AdminPatchConfigV1OK with default headers values

func (*AdminPatchConfigV1OK) Error

func (o *AdminPatchConfigV1OK) Error() string

func (*AdminPatchConfigV1OK) GetPayload

func (*AdminPatchConfigV1OK) ToJSONString

func (o *AdminPatchConfigV1OK) ToJSONString() string

type AdminPatchConfigV1Params

type AdminPatchConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *match2clientmodels.APIPatchNamespaceConfigRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

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

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

AdminPatchConfigV1Params contains all the parameters to send to the API endpoint for the admin patch config v1 operation typically these are written to a http.Request

func NewAdminPatchConfigV1Params

func NewAdminPatchConfigV1Params() *AdminPatchConfigV1Params

NewAdminPatchConfigV1Params creates a new AdminPatchConfigV1Params object with the default values initialized.

func NewAdminPatchConfigV1ParamsWithContext

func NewAdminPatchConfigV1ParamsWithContext(ctx context.Context) *AdminPatchConfigV1Params

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

func NewAdminPatchConfigV1ParamsWithHTTPClient

func NewAdminPatchConfigV1ParamsWithHTTPClient(client *http.Client) *AdminPatchConfigV1Params

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

func NewAdminPatchConfigV1ParamsWithTimeout

func NewAdminPatchConfigV1ParamsWithTimeout(timeout time.Duration) *AdminPatchConfigV1Params

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

func (*AdminPatchConfigV1Params) SetAuthInfoWriter

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

SetAuthInfoWriter adds the authInfoWriter to the admin patch config v1 params

func (*AdminPatchConfigV1Params) SetBody

SetBody adds the body to the admin patch config v1 params

func (*AdminPatchConfigV1Params) SetContext

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

SetContext adds the context to the admin patch config v1 params

func (*AdminPatchConfigV1Params) SetFlightId

func (o *AdminPatchConfigV1Params) SetFlightId(flightId string)

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

func (*AdminPatchConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin patch config v1 params

func (*AdminPatchConfigV1Params) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin patch config v1 params

func (*AdminPatchConfigV1Params) SetNamespace

func (o *AdminPatchConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin patch config v1 params

func (*AdminPatchConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the admin patch config v1 params

func (*AdminPatchConfigV1Params) WithBody

WithBody adds the body to the admin patch config v1 params

func (*AdminPatchConfigV1Params) WithContext

WithContext adds the context to the admin patch config v1 params

func (*AdminPatchConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin patch config v1 params

func (*AdminPatchConfigV1Params) WithNamespace

func (o *AdminPatchConfigV1Params) WithNamespace(namespace string) *AdminPatchConfigV1Params

WithNamespace adds the namespace to the admin patch config v1 params

func (*AdminPatchConfigV1Params) WithTimeout

WithTimeout adds the timeout to the admin patch config v1 params

func (*AdminPatchConfigV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminPatchConfigV1Reader

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

AdminPatchConfigV1Reader is a Reader for the AdminPatchConfigV1 structure.

func (*AdminPatchConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminPatchConfigV1Unauthorized

type AdminPatchConfigV1Unauthorized struct {
	Payload *match2clientmodels.ResponseError
}

AdminPatchConfigV1Unauthorized handles this case with default header values.

Unauthorized

func NewAdminPatchConfigV1Unauthorized

func NewAdminPatchConfigV1Unauthorized() *AdminPatchConfigV1Unauthorized

NewAdminPatchConfigV1Unauthorized creates a AdminPatchConfigV1Unauthorized with default headers values

func (*AdminPatchConfigV1Unauthorized) Error

func (*AdminPatchConfigV1Unauthorized) GetPayload

func (*AdminPatchConfigV1Unauthorized) ToJSONString

func (o *AdminPatchConfigV1Unauthorized) ToJSONString() string

type Client

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

Client for config API

func (*Client) AdminGetAllConfigV1 deprecated

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

AdminGetAllConfigV1 admin get all namespaces config Get matchmaking config of all namespaces. Will only return namespace configs than have been updated.

func (*Client) AdminGetAllConfigV1Short

func (a *Client) AdminGetAllConfigV1Short(params *AdminGetAllConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetAllConfigV1OK, error)

AdminGetAllConfigV1Short admin get all namespaces config Get matchmaking config of all namespaces. Will only return namespace configs than have been updated.

func (*Client) AdminGetConfigV1 deprecated

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

AdminGetConfigV1 admin get namespace config Get matchmaking config of a namespaces.

func (*Client) AdminGetConfigV1Short

func (a *Client) AdminGetConfigV1Short(params *AdminGetConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigV1OK, error)

AdminGetConfigV1Short admin get namespace config Get matchmaking config of a namespaces.

func (*Client) AdminPatchConfigV1 deprecated

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

AdminPatchConfigV1 admin patch update namespace config Patch update matchmaking config of a namespaces. Partially update matchmaking config, will only update value that defined on the request.

func (*Client) AdminPatchConfigV1Short

func (a *Client) AdminPatchConfigV1Short(params *AdminPatchConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*AdminPatchConfigV1OK, error)

AdminPatchConfigV1Short admin patch update namespace config Patch update matchmaking config of a namespaces. Partially update matchmaking config, will only update value that defined on the request.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

Jump to

Keyboard shortcuts

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