config

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 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 AddPortBadRequest added in v0.4.0

type AddPortBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortBadRequest handles this case with default header values.

malformed request

func NewAddPortBadRequest added in v0.4.0

func NewAddPortBadRequest() *AddPortBadRequest

NewAddPortBadRequest creates a AddPortBadRequest with default headers values

func (*AddPortBadRequest) Error added in v0.4.0

func (o *AddPortBadRequest) Error() string

func (*AddPortBadRequest) GetPayload added in v0.4.0

func (*AddPortBadRequest) ToJSONString added in v0.25.0

func (o *AddPortBadRequest) ToJSONString() string

type AddPortConflict added in v0.4.0

type AddPortConflict struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortConflict handles this case with default header values.

port config already exists

func NewAddPortConflict added in v0.4.0

func NewAddPortConflict() *AddPortConflict

NewAddPortConflict creates a AddPortConflict with default headers values

func (*AddPortConflict) Error added in v0.4.0

func (o *AddPortConflict) Error() string

func (*AddPortConflict) GetPayload added in v0.4.0

func (*AddPortConflict) ToJSONString added in v0.25.0

func (o *AddPortConflict) ToJSONString() string

type AddPortCreated added in v0.4.0

type AddPortCreated struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

AddPortCreated handles this case with default header values.

pod config created

func NewAddPortCreated added in v0.4.0

func NewAddPortCreated() *AddPortCreated

NewAddPortCreated creates a AddPortCreated with default headers values

func (*AddPortCreated) Error added in v0.4.0

func (o *AddPortCreated) Error() string

func (*AddPortCreated) GetPayload added in v0.4.0

func (*AddPortCreated) ToJSONString added in v0.25.0

func (o *AddPortCreated) ToJSONString() string

type AddPortInternalServerError added in v0.4.0

type AddPortInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortInternalServerError handles this case with default header values.

Internal Server Error

func NewAddPortInternalServerError added in v0.4.0

func NewAddPortInternalServerError() *AddPortInternalServerError

NewAddPortInternalServerError creates a AddPortInternalServerError with default headers values

func (*AddPortInternalServerError) Error added in v0.4.0

func (*AddPortInternalServerError) GetPayload added in v0.4.0

func (*AddPortInternalServerError) ToJSONString added in v0.25.0

func (o *AddPortInternalServerError) ToJSONString() string

type AddPortNotFound added in v0.4.0

type AddPortNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortNotFound handles this case with default header values.

port config not found

func NewAddPortNotFound added in v0.4.0

func NewAddPortNotFound() *AddPortNotFound

NewAddPortNotFound creates a AddPortNotFound with default headers values

func (*AddPortNotFound) Error added in v0.4.0

func (o *AddPortNotFound) Error() string

func (*AddPortNotFound) GetPayload added in v0.4.0

func (*AddPortNotFound) ToJSONString added in v0.25.0

func (o *AddPortNotFound) ToJSONString() string

type AddPortParams added in v0.4.0

type AddPortParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsCreatePortRequest
	/*Name
	  port name

	*/
	Name string
	/*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
}

AddPortParams contains all the parameters to send to the API endpoint for the add port operation typically these are written to a http.Request

func NewAddPortParams added in v0.4.0

func NewAddPortParams() *AddPortParams

NewAddPortParams creates a new AddPortParams object with the default values initialized.

func NewAddPortParamsWithContext added in v0.4.0

func NewAddPortParamsWithContext(ctx context.Context) *AddPortParams

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

func NewAddPortParamsWithHTTPClient added in v0.4.0

func NewAddPortParamsWithHTTPClient(client *http.Client) *AddPortParams

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

func NewAddPortParamsWithTimeout added in v0.4.0

func NewAddPortParamsWithTimeout(timeout time.Duration) *AddPortParams

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

func (*AddPortParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the add port params

func (*AddPortParams) SetBody added in v0.4.0

SetBody adds the body to the add port params

func (*AddPortParams) SetContext added in v0.4.0

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

SetContext adds the context to the add port params

func (*AddPortParams) SetFlightId added in v0.63.0

func (o *AddPortParams) SetFlightId(flightId string)

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

func (*AddPortParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the add port params

func (*AddPortParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the add port params

func (*AddPortParams) SetName added in v0.4.0

func (o *AddPortParams) SetName(name string)

SetName adds the name to the add port params

func (*AddPortParams) SetNamespace added in v0.4.0

func (o *AddPortParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add port params

func (*AddPortParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the add port params

func (*AddPortParams) WithBody added in v0.4.0

WithBody adds the body to the add port params

func (*AddPortParams) WithContext added in v0.4.0

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

WithContext adds the context to the add port params

func (*AddPortParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the add port params

func (*AddPortParams) WithName added in v0.4.0

func (o *AddPortParams) WithName(name string) *AddPortParams

WithName adds the name to the add port params

func (*AddPortParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the add port params

func (*AddPortParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the add port params

func (*AddPortParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type AddPortReader added in v0.4.0

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

AddPortReader is a Reader for the AddPort structure.

func (*AddPortReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type AddPortUnauthorized added in v0.4.0

type AddPortUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortUnauthorized handles this case with default header values.

Unauthorized

func NewAddPortUnauthorized added in v0.4.0

func NewAddPortUnauthorized() *AddPortUnauthorized

NewAddPortUnauthorized creates a AddPortUnauthorized with default headers values

func (*AddPortUnauthorized) Error added in v0.4.0

func (o *AddPortUnauthorized) Error() string

func (*AddPortUnauthorized) GetPayload added in v0.4.0

func (*AddPortUnauthorized) ToJSONString added in v0.25.0

func (o *AddPortUnauthorized) ToJSONString() string

type ClearCacheInternalServerError added in v0.4.0

type ClearCacheInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ClearCacheInternalServerError handles this case with default header values.

Internal Server Error

func NewClearCacheInternalServerError added in v0.4.0

func NewClearCacheInternalServerError() *ClearCacheInternalServerError

NewClearCacheInternalServerError creates a ClearCacheInternalServerError with default headers values

func (*ClearCacheInternalServerError) Error added in v0.4.0

func (*ClearCacheInternalServerError) GetPayload added in v0.4.0

func (*ClearCacheInternalServerError) ToJSONString added in v0.25.0

func (o *ClearCacheInternalServerError) ToJSONString() string

type ClearCacheNoContent added in v0.4.0

type ClearCacheNoContent struct {
}

ClearCacheNoContent handles this case with default header values.

ok

func NewClearCacheNoContent added in v0.4.0

func NewClearCacheNoContent() *ClearCacheNoContent

NewClearCacheNoContent creates a ClearCacheNoContent with default headers values

func (*ClearCacheNoContent) Error added in v0.4.0

func (o *ClearCacheNoContent) Error() string

type ClearCacheParams added in v0.4.0

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

ClearCacheParams contains all the parameters to send to the API endpoint for the clear cache operation typically these are written to a http.Request

func NewClearCacheParams added in v0.4.0

func NewClearCacheParams() *ClearCacheParams

NewClearCacheParams creates a new ClearCacheParams object with the default values initialized.

func NewClearCacheParamsWithContext added in v0.4.0

func NewClearCacheParamsWithContext(ctx context.Context) *ClearCacheParams

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

func NewClearCacheParamsWithHTTPClient added in v0.4.0

func NewClearCacheParamsWithHTTPClient(client *http.Client) *ClearCacheParams

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

func NewClearCacheParamsWithTimeout added in v0.4.0

func NewClearCacheParamsWithTimeout(timeout time.Duration) *ClearCacheParams

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

func (*ClearCacheParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the clear cache params

func (*ClearCacheParams) SetContext added in v0.4.0

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

SetContext adds the context to the clear cache params

func (*ClearCacheParams) SetFlightId added in v0.63.0

func (o *ClearCacheParams) SetFlightId(flightId string)

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

func (*ClearCacheParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the clear cache params

func (*ClearCacheParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the clear cache params

func (*ClearCacheParams) SetNamespace added in v0.4.0

func (o *ClearCacheParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the clear cache params

func (*ClearCacheParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the clear cache params

func (*ClearCacheParams) WithContext added in v0.4.0

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

WithContext adds the context to the clear cache params

func (*ClearCacheParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the clear cache params

func (*ClearCacheParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the clear cache params

func (*ClearCacheParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the clear cache params

func (*ClearCacheParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type ClearCacheReader added in v0.4.0

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

ClearCacheReader is a Reader for the ClearCache structure.

func (*ClearCacheReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type ClearCacheUnauthorized added in v0.4.0

type ClearCacheUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ClearCacheUnauthorized handles this case with default header values.

Unauthorized

func NewClearCacheUnauthorized added in v0.4.0

func NewClearCacheUnauthorized() *ClearCacheUnauthorized

NewClearCacheUnauthorized creates a ClearCacheUnauthorized with default headers values

func (*ClearCacheUnauthorized) Error added in v0.4.0

func (o *ClearCacheUnauthorized) Error() string

func (*ClearCacheUnauthorized) GetPayload added in v0.4.0

func (*ClearCacheUnauthorized) ToJSONString added in v0.25.0

func (o *ClearCacheUnauthorized) ToJSONString() string

type Client

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

Client for config API

func (*Client) AddPort deprecated added in v0.4.0

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

AddPort create port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]

Required scope: social

This endpoint create a dedicated servers port config in a namespace.

func (*Client) AddPortShort added in v0.8.0

func (a *Client) AddPortShort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, error)

AddPortShort create port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]

Required scope: social

This endpoint create a dedicated servers port config in a namespace.

func (*Client) ClearCache deprecated added in v0.4.0

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

ClearCache clear config cache Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE]

Required scope: social

This endpoint clears config cache in a namespace

func (*Client) ClearCacheShort added in v0.8.0

func (a *Client) ClearCacheShort(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, error)

ClearCacheShort clear config cache Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE]

Required scope: social

This endpoint clears config cache in a namespace

func (*Client) CreateConfig deprecated added in v0.4.0

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

CreateConfig create config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE] Required scope: social

This endpoint creates config.

Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000

CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.

The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.

Sample config: { "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, } ```

func (*Client) CreateConfigShort added in v0.8.0

func (a *Client) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error)

CreateConfigShort create config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE] Required scope: social

This endpoint creates config.

Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000

CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.

The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.

Sample config: { "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, } ```

func (*Client) DeleteConfig deprecated added in v0.4.0

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

DeleteConfig delete config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE] Required scope: social

This endpoint removes config. When there are ready servers, those servers will be removed. ```

func (*Client) DeleteConfigShort added in v0.8.0

func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)

DeleteConfigShort delete config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE] Required scope: social

This endpoint removes config. When there are ready servers, those servers will be removed. ```

func (*Client) DeletePort deprecated added in v0.4.0

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

DeletePort delete port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE]

Required scope: social

This endpoint delete a dedicated server port config in a namespace

func (*Client) DeletePortShort added in v0.8.0

func (a *Client) DeletePortShort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, error)

DeletePortShort delete port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE]

Required scope: social

This endpoint delete a dedicated server port config in a namespace

func (*Client) ExportConfigV1 deprecated

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

ExportConfigV1 export dsm controller configuration for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint export a dedicated servers config in a namespace.

func (*Client) ExportConfigV1Short added in v0.8.0

func (a *Client) ExportConfigV1Short(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportConfigV1OK, error)

ExportConfigV1Short export dsm controller configuration for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint export a dedicated servers config in a namespace.

func (*Client) GetConfig deprecated

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

GetConfig get config for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint get a dedicated servers config in a namespace.

func (*Client) GetConfigShort added in v0.8.0

func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)

GetConfigShort get config for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint get a dedicated servers config in a namespace.

func (*Client) ImportConfigV1 deprecated

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

ImportConfigV1 import config for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]

Required scope: social

This endpoint import a dedicated servers config in a namespace.

If there is an existing configuration, the configuration would be replaced.

func (*Client) ImportConfigV1Short added in v0.8.0

func (a *Client) ImportConfigV1Short(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, error)

ImportConfigV1Short import config for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]

Required scope: social

This endpoint import a dedicated servers config in a namespace.

If there is an existing configuration, the configuration would be replaced.

func (*Client) ListConfig deprecated

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

ListConfig list all configs Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint lists all of dedicated servers configs.

func (*Client) ListConfigShort added in v0.8.0

func (a *Client) ListConfigShort(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, error)

ListConfigShort list all configs Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint lists all of dedicated servers configs.

func (*Client) SaveConfig deprecated

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

SaveConfig save config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE] Required scope: social

This endpoint adds/modifies config. When there are ready servers and the server version is updated, those servers will be replaced with newer version.

Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000

CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.

The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.

Sample config: { "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, "image_version_mapping": { "1.4.0": "accelbyte/sample-ds-go:1.4.0" }, "default_version": "1.4.0", "cpu_limit": "100", "mem_limit": "64", "params": "", "min_count": 0, "max_count": 0, "buffer_count": 0, "configurations": { "1player": { "cpu_limit": "100", "mem_limit": "64", "params": "-gamemode 1p", }, "50players": { "cpu_limit": "200", "mem_limit": "512", "params": "-gamemode 50p", } }, "deployments": { "global-1p": { "game_version": "1.4.0"", "regions": ["us-west", "ap-southeast"], "configuration": "1player", "min_count": 0, "max_count": 0, "buffer_count": 2 }, "us-50p": { "game_version": "1.4.0"", "regions": ["us-west"], "configuration": "50players", "min_count": 0, "max_count": 0, "buffer_count": 5 }, }, } ```

func (*Client) SaveConfigShort added in v0.8.0

func (a *Client) SaveConfigShort(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, error)

SaveConfigShort save config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE] Required scope: social

This endpoint adds/modifies config. When there are ready servers and the server version is updated, those servers will be replaced with newer version.

Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000

CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.

The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.

Sample config: { "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, "image_version_mapping": { "1.4.0": "accelbyte/sample-ds-go:1.4.0" }, "default_version": "1.4.0", "cpu_limit": "100", "mem_limit": "64", "params": "", "min_count": 0, "max_count": 0, "buffer_count": 0, "configurations": { "1player": { "cpu_limit": "100", "mem_limit": "64", "params": "-gamemode 1p", }, "50players": { "cpu_limit": "200", "mem_limit": "512", "params": "-gamemode 50p", } }, "deployments": { "global-1p": { "game_version": "1.4.0"", "regions": ["us-west", "ap-southeast"], "configuration": "1player", "min_count": 0, "max_count": 0, "buffer_count": 2 }, "us-50p": { "game_version": "1.4.0"", "regions": ["us-west"], "configuration": "50players", "min_count": 0, "max_count": 0, "buffer_count": 5 }, }, } ```

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateConfig deprecated

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

UpdateConfig update config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE] Required scope: social

This endpoint modifies config. When there are ready servers and the server version is updated, those servers will be replaced with newer version.

Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000

CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.

The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.

Sample config: { "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, } ```

func (*Client) UpdateConfigShort added in v0.8.0

func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)

UpdateConfigShort update config ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE] Required scope: social

This endpoint modifies config. When there are ready servers and the server version is updated, those servers will be replaced with newer version.

Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000

CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.

The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.

Sample config: { "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, } ```

func (*Client) UpdatePort deprecated added in v0.4.0

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

UpdatePort update port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE]

Required scope: social

This endpoint update a dedicated servers port config in a namespace.

func (*Client) UpdatePortShort added in v0.8.0

func (a *Client) UpdatePortShort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, error)

UpdatePortShort update port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE]

Required scope: social

This endpoint update a dedicated servers port config in a namespace.

type ClientService

type ClientService interface {
	ListConfig(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, *ListConfigUnauthorized, *ListConfigInternalServerError, error)
	ListConfigShort(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, error)
	SaveConfig(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, *SaveConfigBadRequest, *SaveConfigUnauthorized, *SaveConfigInternalServerError, error)
	SaveConfigShort(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, error)
	GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigUnauthorized, *GetConfigNotFound, *GetConfigInternalServerError, error)
	GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
	CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, *CreateConfigBadRequest, *CreateConfigUnauthorized, *CreateConfigConflict, *CreateConfigInternalServerError, error)
	CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error)
	DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, *DeleteConfigBadRequest, *DeleteConfigUnauthorized, *DeleteConfigNotFound, *DeleteConfigInternalServerError, error)
	DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
	UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigUnauthorized, *UpdateConfigNotFound, *UpdateConfigInternalServerError, error)
	UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)
	ClearCache(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, *ClearCacheUnauthorized, *ClearCacheInternalServerError, error)
	ClearCacheShort(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, error)
	AddPort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, *AddPortBadRequest, *AddPortUnauthorized, *AddPortNotFound, *AddPortConflict, *AddPortInternalServerError, error)
	AddPortShort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, error)
	DeletePort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, *DeletePortBadRequest, *DeletePortUnauthorized, *DeletePortNotFound, *DeletePortInternalServerError, error)
	DeletePortShort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, error)
	UpdatePort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, *UpdatePortBadRequest, *UpdatePortUnauthorized, *UpdatePortNotFound, *UpdatePortInternalServerError, error)
	UpdatePortShort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, error)
	ExportConfigV1(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportConfigV1OK, *ExportConfigV1Unauthorized, *ExportConfigV1Forbidden, *ExportConfigV1NotFound, *ExportConfigV1InternalServerError, error)
	ExportConfigV1Short(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*ExportConfigV1OK, error)
	ImportConfigV1(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, *ImportConfigV1BadRequest, *ImportConfigV1Unauthorized, *ImportConfigV1Forbidden, *ImportConfigV1NotFound, *ImportConfigV1InternalServerError, error)
	ImportConfigV1Short(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, 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 config API client.

type CreateConfigBadRequest added in v0.4.0

type CreateConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigBadRequest handles this case with default header values.

malformed request

func NewCreateConfigBadRequest added in v0.4.0

func NewCreateConfigBadRequest() *CreateConfigBadRequest

NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values

func (*CreateConfigBadRequest) Error added in v0.4.0

func (o *CreateConfigBadRequest) Error() string

func (*CreateConfigBadRequest) GetPayload added in v0.4.0

func (*CreateConfigBadRequest) ToJSONString added in v0.25.0

func (o *CreateConfigBadRequest) ToJSONString() string

type CreateConfigConflict added in v0.8.0

type CreateConfigConflict struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigConflict handles this case with default header values.

Conflict

func NewCreateConfigConflict added in v0.8.0

func NewCreateConfigConflict() *CreateConfigConflict

NewCreateConfigConflict creates a CreateConfigConflict with default headers values

func (*CreateConfigConflict) Error added in v0.8.0

func (o *CreateConfigConflict) Error() string

func (*CreateConfigConflict) GetPayload added in v0.8.0

func (*CreateConfigConflict) ToJSONString added in v0.25.0

func (o *CreateConfigConflict) ToJSONString() string

type CreateConfigCreated added in v0.4.0

type CreateConfigCreated struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

CreateConfigCreated handles this case with default header values.

config created

func NewCreateConfigCreated added in v0.4.0

func NewCreateConfigCreated() *CreateConfigCreated

NewCreateConfigCreated creates a CreateConfigCreated with default headers values

func (*CreateConfigCreated) Error added in v0.4.0

func (o *CreateConfigCreated) Error() string

func (*CreateConfigCreated) GetPayload added in v0.4.0

func (*CreateConfigCreated) ToJSONString added in v0.25.0

func (o *CreateConfigCreated) ToJSONString() string

type CreateConfigInternalServerError added in v0.4.0

type CreateConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateConfigInternalServerError added in v0.4.0

func NewCreateConfigInternalServerError() *CreateConfigInternalServerError

NewCreateConfigInternalServerError creates a CreateConfigInternalServerError with default headers values

func (*CreateConfigInternalServerError) Error added in v0.4.0

func (*CreateConfigInternalServerError) GetPayload added in v0.4.0

func (*CreateConfigInternalServerError) ToJSONString added in v0.25.0

func (o *CreateConfigInternalServerError) ToJSONString() string

type CreateConfigParams added in v0.4.0

type CreateConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsCreateDSMConfigRequest
	/*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
}

CreateConfigParams contains all the parameters to send to the API endpoint for the create config operation typically these are written to a http.Request

func NewCreateConfigParams added in v0.4.0

func NewCreateConfigParams() *CreateConfigParams

NewCreateConfigParams creates a new CreateConfigParams object with the default values initialized.

func NewCreateConfigParamsWithContext added in v0.4.0

func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams

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

func NewCreateConfigParamsWithHTTPClient added in v0.4.0

func NewCreateConfigParamsWithHTTPClient(client *http.Client) *CreateConfigParams

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

func NewCreateConfigParamsWithTimeout added in v0.4.0

func NewCreateConfigParamsWithTimeout(timeout time.Duration) *CreateConfigParams

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

func (*CreateConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the create config params

func (*CreateConfigParams) SetBody added in v0.4.0

SetBody adds the body to the create config params

func (*CreateConfigParams) SetContext added in v0.4.0

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

SetContext adds the context to the create config params

func (*CreateConfigParams) SetFlightId added in v0.63.0

func (o *CreateConfigParams) SetFlightId(flightId string)

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

func (*CreateConfigParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the create config params

func (*CreateConfigParams) SetNamespace added in v0.4.0

func (o *CreateConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create config params

func (*CreateConfigParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the create config params

func (*CreateConfigParams) WithBody added in v0.4.0

WithBody adds the body to the create config params

func (*CreateConfigParams) WithContext added in v0.4.0

WithContext adds the context to the create config params

func (*CreateConfigParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the create config params

func (*CreateConfigParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the create config params

func (*CreateConfigParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type CreateConfigReader added in v0.4.0

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

CreateConfigReader is a Reader for the CreateConfig structure.

func (*CreateConfigReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type CreateConfigUnauthorized added in v0.4.0

type CreateConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigUnauthorized handles this case with default header values.

Unauthorized

func NewCreateConfigUnauthorized added in v0.4.0

func NewCreateConfigUnauthorized() *CreateConfigUnauthorized

NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values

func (*CreateConfigUnauthorized) Error added in v0.4.0

func (o *CreateConfigUnauthorized) Error() string

func (*CreateConfigUnauthorized) GetPayload added in v0.4.0

func (*CreateConfigUnauthorized) ToJSONString added in v0.25.0

func (o *CreateConfigUnauthorized) ToJSONString() string

type DeleteConfigBadRequest added in v0.4.0

type DeleteConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigBadRequest handles this case with default header values.

malformed request

func NewDeleteConfigBadRequest added in v0.4.0

func NewDeleteConfigBadRequest() *DeleteConfigBadRequest

NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values

func (*DeleteConfigBadRequest) Error added in v0.4.0

func (o *DeleteConfigBadRequest) Error() string

func (*DeleteConfigBadRequest) GetPayload added in v0.4.0

func (*DeleteConfigBadRequest) ToJSONString added in v0.25.0

func (o *DeleteConfigBadRequest) ToJSONString() string

type DeleteConfigInternalServerError added in v0.4.0

type DeleteConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteConfigInternalServerError added in v0.4.0

func NewDeleteConfigInternalServerError() *DeleteConfigInternalServerError

NewDeleteConfigInternalServerError creates a DeleteConfigInternalServerError with default headers values

func (*DeleteConfigInternalServerError) Error added in v0.4.0

func (*DeleteConfigInternalServerError) GetPayload added in v0.4.0

func (*DeleteConfigInternalServerError) ToJSONString added in v0.25.0

func (o *DeleteConfigInternalServerError) ToJSONString() string

type DeleteConfigNoContent added in v0.4.0

type DeleteConfigNoContent struct {
}

DeleteConfigNoContent handles this case with default header values.

config deleted

func NewDeleteConfigNoContent added in v0.4.0

func NewDeleteConfigNoContent() *DeleteConfigNoContent

NewDeleteConfigNoContent creates a DeleteConfigNoContent with default headers values

func (*DeleteConfigNoContent) Error added in v0.4.0

func (o *DeleteConfigNoContent) Error() string

type DeleteConfigNotFound added in v0.4.0

type DeleteConfigNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigNotFound handles this case with default header values.

config not found

func NewDeleteConfigNotFound added in v0.4.0

func NewDeleteConfigNotFound() *DeleteConfigNotFound

NewDeleteConfigNotFound creates a DeleteConfigNotFound with default headers values

func (*DeleteConfigNotFound) Error added in v0.4.0

func (o *DeleteConfigNotFound) Error() string

func (*DeleteConfigNotFound) GetPayload added in v0.4.0

func (*DeleteConfigNotFound) ToJSONString added in v0.25.0

func (o *DeleteConfigNotFound) ToJSONString() string

type DeleteConfigParams added in v0.4.0

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

DeleteConfigParams contains all the parameters to send to the API endpoint for the delete config operation typically these are written to a http.Request

func NewDeleteConfigParams added in v0.4.0

func NewDeleteConfigParams() *DeleteConfigParams

NewDeleteConfigParams creates a new DeleteConfigParams object with the default values initialized.

func NewDeleteConfigParamsWithContext added in v0.4.0

func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams

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

func NewDeleteConfigParamsWithHTTPClient added in v0.4.0

func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams

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

func NewDeleteConfigParamsWithTimeout added in v0.4.0

func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams

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

func (*DeleteConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete config params

func (*DeleteConfigParams) SetContext added in v0.4.0

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

SetContext adds the context to the delete config params

func (*DeleteConfigParams) SetFlightId added in v0.63.0

func (o *DeleteConfigParams) SetFlightId(flightId string)

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

func (*DeleteConfigParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete config params

func (*DeleteConfigParams) SetNamespace added in v0.4.0

func (o *DeleteConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete config params

func (*DeleteConfigParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WithContext added in v0.4.0

WithContext adds the context to the delete config params

func (*DeleteConfigParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the delete config params

func (*DeleteConfigParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type DeleteConfigReader added in v0.4.0

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

DeleteConfigReader is a Reader for the DeleteConfig structure.

func (*DeleteConfigReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type DeleteConfigUnauthorized added in v0.4.0

type DeleteConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteConfigUnauthorized added in v0.4.0

func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized

NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values

func (*DeleteConfigUnauthorized) Error added in v0.4.0

func (o *DeleteConfigUnauthorized) Error() string

func (*DeleteConfigUnauthorized) GetPayload added in v0.4.0

func (*DeleteConfigUnauthorized) ToJSONString added in v0.25.0

func (o *DeleteConfigUnauthorized) ToJSONString() string

type DeletePortBadRequest added in v0.4.0

type DeletePortBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortBadRequest handles this case with default header values.

malformed request

func NewDeletePortBadRequest added in v0.4.0

func NewDeletePortBadRequest() *DeletePortBadRequest

NewDeletePortBadRequest creates a DeletePortBadRequest with default headers values

func (*DeletePortBadRequest) Error added in v0.4.0

func (o *DeletePortBadRequest) Error() string

func (*DeletePortBadRequest) GetPayload added in v0.4.0

func (*DeletePortBadRequest) ToJSONString added in v0.25.0

func (o *DeletePortBadRequest) ToJSONString() string

type DeletePortInternalServerError added in v0.4.0

type DeletePortInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortInternalServerError handles this case with default header values.

Internal Server Error

func NewDeletePortInternalServerError added in v0.4.0

func NewDeletePortInternalServerError() *DeletePortInternalServerError

NewDeletePortInternalServerError creates a DeletePortInternalServerError with default headers values

func (*DeletePortInternalServerError) Error added in v0.4.0

func (*DeletePortInternalServerError) GetPayload added in v0.4.0

func (*DeletePortInternalServerError) ToJSONString added in v0.25.0

func (o *DeletePortInternalServerError) ToJSONString() string

type DeletePortNotFound added in v0.4.0

type DeletePortNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortNotFound handles this case with default header values.

port config not found

func NewDeletePortNotFound added in v0.4.0

func NewDeletePortNotFound() *DeletePortNotFound

NewDeletePortNotFound creates a DeletePortNotFound with default headers values

func (*DeletePortNotFound) Error added in v0.4.0

func (o *DeletePortNotFound) Error() string

func (*DeletePortNotFound) GetPayload added in v0.4.0

func (*DeletePortNotFound) ToJSONString added in v0.25.0

func (o *DeletePortNotFound) ToJSONString() string

type DeletePortOK added in v0.4.0

type DeletePortOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

DeletePortOK handles this case with default header values.

ok

func NewDeletePortOK added in v0.4.0

func NewDeletePortOK() *DeletePortOK

NewDeletePortOK creates a DeletePortOK with default headers values

func (*DeletePortOK) Error added in v0.4.0

func (o *DeletePortOK) Error() string

func (*DeletePortOK) GetPayload added in v0.4.0

func (*DeletePortOK) ToJSONString added in v0.25.0

func (o *DeletePortOK) ToJSONString() string

type DeletePortParams added in v0.4.0

type DeletePortParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Name
	  port name

	*/
	Name string
	/*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
}

DeletePortParams contains all the parameters to send to the API endpoint for the delete port operation typically these are written to a http.Request

func NewDeletePortParams added in v0.4.0

func NewDeletePortParams() *DeletePortParams

NewDeletePortParams creates a new DeletePortParams object with the default values initialized.

func NewDeletePortParamsWithContext added in v0.4.0

func NewDeletePortParamsWithContext(ctx context.Context) *DeletePortParams

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

func NewDeletePortParamsWithHTTPClient added in v0.4.0

func NewDeletePortParamsWithHTTPClient(client *http.Client) *DeletePortParams

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

func NewDeletePortParamsWithTimeout added in v0.4.0

func NewDeletePortParamsWithTimeout(timeout time.Duration) *DeletePortParams

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

func (*DeletePortParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the delete port params

func (*DeletePortParams) SetContext added in v0.4.0

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

SetContext adds the context to the delete port params

func (*DeletePortParams) SetFlightId added in v0.63.0

func (o *DeletePortParams) SetFlightId(flightId string)

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

func (*DeletePortParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the delete port params

func (*DeletePortParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the delete port params

func (*DeletePortParams) SetName added in v0.4.0

func (o *DeletePortParams) SetName(name string)

SetName adds the name to the delete port params

func (*DeletePortParams) SetNamespace added in v0.4.0

func (o *DeletePortParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete port params

func (*DeletePortParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the delete port params

func (*DeletePortParams) WithContext added in v0.4.0

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

WithContext adds the context to the delete port params

func (*DeletePortParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the delete port params

func (*DeletePortParams) WithName added in v0.4.0

func (o *DeletePortParams) WithName(name string) *DeletePortParams

WithName adds the name to the delete port params

func (*DeletePortParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the delete port params

func (*DeletePortParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the delete port params

func (*DeletePortParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type DeletePortReader added in v0.4.0

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

DeletePortReader is a Reader for the DeletePort structure.

func (*DeletePortReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type DeletePortUnauthorized added in v0.4.0

type DeletePortUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortUnauthorized handles this case with default header values.

Unauthorized

func NewDeletePortUnauthorized added in v0.4.0

func NewDeletePortUnauthorized() *DeletePortUnauthorized

NewDeletePortUnauthorized creates a DeletePortUnauthorized with default headers values

func (*DeletePortUnauthorized) Error added in v0.4.0

func (o *DeletePortUnauthorized) Error() string

func (*DeletePortUnauthorized) GetPayload added in v0.4.0

func (*DeletePortUnauthorized) ToJSONString added in v0.25.0

func (o *DeletePortUnauthorized) ToJSONString() string

type ExportConfigV1Forbidden

type ExportConfigV1Forbidden struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportConfigV1Forbidden handles this case with default header values.

forbidden access

func NewExportConfigV1Forbidden

func NewExportConfigV1Forbidden() *ExportConfigV1Forbidden

NewExportConfigV1Forbidden creates a ExportConfigV1Forbidden with default headers values

func (*ExportConfigV1Forbidden) Error

func (o *ExportConfigV1Forbidden) Error() string

func (*ExportConfigV1Forbidden) GetPayload

func (*ExportConfigV1Forbidden) ToJSONString added in v0.25.0

func (o *ExportConfigV1Forbidden) ToJSONString() string

type ExportConfigV1InternalServerError

type ExportConfigV1InternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewExportConfigV1InternalServerError

func NewExportConfigV1InternalServerError() *ExportConfigV1InternalServerError

NewExportConfigV1InternalServerError creates a ExportConfigV1InternalServerError with default headers values

func (*ExportConfigV1InternalServerError) Error

func (*ExportConfigV1InternalServerError) GetPayload

func (*ExportConfigV1InternalServerError) ToJSONString added in v0.25.0

func (o *ExportConfigV1InternalServerError) ToJSONString() string

type ExportConfigV1NotFound

type ExportConfigV1NotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportConfigV1NotFound handles this case with default header values.

config not found

func NewExportConfigV1NotFound

func NewExportConfigV1NotFound() *ExportConfigV1NotFound

NewExportConfigV1NotFound creates a ExportConfigV1NotFound with default headers values

func (*ExportConfigV1NotFound) Error

func (o *ExportConfigV1NotFound) Error() string

func (*ExportConfigV1NotFound) GetPayload

func (*ExportConfigV1NotFound) ToJSONString added in v0.25.0

func (o *ExportConfigV1NotFound) ToJSONString() string

type ExportConfigV1OK

type ExportConfigV1OK struct {
	Payload io.Writer
}

ExportConfigV1OK handles this case with default header values.

config exported

func NewExportConfigV1OK

func NewExportConfigV1OK(writer io.Writer) *ExportConfigV1OK

NewExportConfigV1OK creates a ExportConfigV1OK with default headers values

func (*ExportConfigV1OK) Error

func (o *ExportConfigV1OK) Error() string

func (*ExportConfigV1OK) GetPayload

func (o *ExportConfigV1OK) GetPayload() io.Writer

func (*ExportConfigV1OK) ToJSONString added in v0.25.0

func (o *ExportConfigV1OK) ToJSONString() string

type ExportConfigV1Params

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

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

func NewExportConfigV1Params

func NewExportConfigV1Params() *ExportConfigV1Params

NewExportConfigV1Params creates a new ExportConfigV1Params object with the default values initialized.

func NewExportConfigV1ParamsWithContext

func NewExportConfigV1ParamsWithContext(ctx context.Context) *ExportConfigV1Params

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

func NewExportConfigV1ParamsWithHTTPClient

func NewExportConfigV1ParamsWithHTTPClient(client *http.Client) *ExportConfigV1Params

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

func NewExportConfigV1ParamsWithTimeout

func NewExportConfigV1ParamsWithTimeout(timeout time.Duration) *ExportConfigV1Params

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

func (*ExportConfigV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the export config v1 params

func (*ExportConfigV1Params) SetContext

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

SetContext adds the context to the export config v1 params

func (*ExportConfigV1Params) SetFlightId added in v0.63.0

func (o *ExportConfigV1Params) SetFlightId(flightId string)

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

func (*ExportConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export config v1 params

func (*ExportConfigV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the export config v1 params

func (*ExportConfigV1Params) SetNamespace

func (o *ExportConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the export config v1 params

func (*ExportConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the export config v1 params

func (*ExportConfigV1Params) WithContext

WithContext adds the context to the export config v1 params

func (*ExportConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export config v1 params

func (*ExportConfigV1Params) WithNamespace

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

WithNamespace adds the namespace to the export config v1 params

func (*ExportConfigV1Params) WithTimeout

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

WithTimeout adds the timeout to the export config v1 params

func (*ExportConfigV1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExportConfigV1Reader

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

ExportConfigV1Reader is a Reader for the ExportConfigV1 structure.

func (*ExportConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportConfigV1Unauthorized

type ExportConfigV1Unauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportConfigV1Unauthorized handles this case with default header values.

unauthorized access

func NewExportConfigV1Unauthorized

func NewExportConfigV1Unauthorized() *ExportConfigV1Unauthorized

NewExportConfigV1Unauthorized creates a ExportConfigV1Unauthorized with default headers values

func (*ExportConfigV1Unauthorized) Error

func (*ExportConfigV1Unauthorized) GetPayload

func (*ExportConfigV1Unauthorized) ToJSONString added in v0.25.0

func (o *ExportConfigV1Unauthorized) ToJSONString() string

type GetConfigInternalServerError

type GetConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

GetConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewGetConfigInternalServerError

func NewGetConfigInternalServerError() *GetConfigInternalServerError

NewGetConfigInternalServerError creates a GetConfigInternalServerError with default headers values

func (*GetConfigInternalServerError) Error

func (*GetConfigInternalServerError) GetPayload

func (*GetConfigInternalServerError) ToJSONString added in v0.25.0

func (o *GetConfigInternalServerError) ToJSONString() string

type GetConfigNotFound

type GetConfigNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

GetConfigNotFound handles this case with default header values.

config not found

func NewGetConfigNotFound

func NewGetConfigNotFound() *GetConfigNotFound

NewGetConfigNotFound creates a GetConfigNotFound with default headers values

func (*GetConfigNotFound) Error

func (o *GetConfigNotFound) Error() string

func (*GetConfigNotFound) GetPayload

func (*GetConfigNotFound) ToJSONString added in v0.25.0

func (o *GetConfigNotFound) ToJSONString() string

type GetConfigOK

type GetConfigOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

GetConfigOK handles this case with default header values.

config retrieved

func NewGetConfigOK

func NewGetConfigOK() *GetConfigOK

NewGetConfigOK creates a GetConfigOK with default headers values

func (*GetConfigOK) Error

func (o *GetConfigOK) Error() string

func (*GetConfigOK) GetPayload

func (*GetConfigOK) ToJSONString added in v0.25.0

func (o *GetConfigOK) ToJSONString() string

type GetConfigParams

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

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

func NewGetConfigParams

func NewGetConfigParams() *GetConfigParams

NewGetConfigParams creates a new GetConfigParams object with the default values initialized.

func NewGetConfigParamsWithContext

func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams

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

func NewGetConfigParamsWithHTTPClient

func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams

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

func NewGetConfigParamsWithTimeout

func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams

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

func (*GetConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the get config params

func (*GetConfigParams) SetContext

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

SetContext adds the context to the get config params

func (*GetConfigParams) SetFlightId added in v0.63.0

func (o *GetConfigParams) SetFlightId(flightId string)

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

func (*GetConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the get config params

func (*GetConfigParams) SetNamespace

func (o *GetConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get config params

func (*GetConfigParams) SetTimeout

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

SetTimeout adds the timeout to the get config params

func (*GetConfigParams) WithContext

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

WithContext adds the context to the get config params

func (*GetConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) WithNamespace

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

WithNamespace adds the namespace to the get config params

func (*GetConfigParams) WithTimeout

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

WithTimeout adds the timeout to the get config params

func (*GetConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetConfigReader

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

GetConfigReader is a Reader for the GetConfig structure.

func (*GetConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetConfigUnauthorized

type GetConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

GetConfigUnauthorized handles this case with default header values.

Unauthorized

func NewGetConfigUnauthorized

func NewGetConfigUnauthorized() *GetConfigUnauthorized

NewGetConfigUnauthorized creates a GetConfigUnauthorized with default headers values

func (*GetConfigUnauthorized) Error

func (o *GetConfigUnauthorized) Error() string

func (*GetConfigUnauthorized) GetPayload

func (*GetConfigUnauthorized) ToJSONString added in v0.25.0

func (o *GetConfigUnauthorized) ToJSONString() string

type ImportConfigV1BadRequest

type ImportConfigV1BadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportConfigV1BadRequest handles this case with default header values.

malformed request

func NewImportConfigV1BadRequest

func NewImportConfigV1BadRequest() *ImportConfigV1BadRequest

NewImportConfigV1BadRequest creates a ImportConfigV1BadRequest with default headers values

func (*ImportConfigV1BadRequest) Error

func (o *ImportConfigV1BadRequest) Error() string

func (*ImportConfigV1BadRequest) GetPayload

func (*ImportConfigV1BadRequest) ToJSONString added in v0.25.0

func (o *ImportConfigV1BadRequest) ToJSONString() string

type ImportConfigV1Forbidden

type ImportConfigV1Forbidden struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportConfigV1Forbidden handles this case with default header values.

forbidden access

func NewImportConfigV1Forbidden

func NewImportConfigV1Forbidden() *ImportConfigV1Forbidden

NewImportConfigV1Forbidden creates a ImportConfigV1Forbidden with default headers values

func (*ImportConfigV1Forbidden) Error

func (o *ImportConfigV1Forbidden) Error() string

func (*ImportConfigV1Forbidden) GetPayload

func (*ImportConfigV1Forbidden) ToJSONString added in v0.25.0

func (o *ImportConfigV1Forbidden) ToJSONString() string

type ImportConfigV1InternalServerError

type ImportConfigV1InternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportConfigV1InternalServerError handles this case with default header values.

Internal Server Error

func NewImportConfigV1InternalServerError

func NewImportConfigV1InternalServerError() *ImportConfigV1InternalServerError

NewImportConfigV1InternalServerError creates a ImportConfigV1InternalServerError with default headers values

func (*ImportConfigV1InternalServerError) Error

func (*ImportConfigV1InternalServerError) GetPayload

func (*ImportConfigV1InternalServerError) ToJSONString added in v0.25.0

func (o *ImportConfigV1InternalServerError) ToJSONString() string

type ImportConfigV1NotFound

type ImportConfigV1NotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportConfigV1NotFound handles this case with default header values.

config not found

func NewImportConfigV1NotFound

func NewImportConfigV1NotFound() *ImportConfigV1NotFound

NewImportConfigV1NotFound creates a ImportConfigV1NotFound with default headers values

func (*ImportConfigV1NotFound) Error

func (o *ImportConfigV1NotFound) Error() string

func (*ImportConfigV1NotFound) GetPayload

func (*ImportConfigV1NotFound) ToJSONString added in v0.25.0

func (o *ImportConfigV1NotFound) ToJSONString() string

type ImportConfigV1OK

type ImportConfigV1OK struct {
	Payload *dsmcclientmodels.ModelsImportResponse
}

ImportConfigV1OK handles this case with default header values.

config imported

func NewImportConfigV1OK

func NewImportConfigV1OK() *ImportConfigV1OK

NewImportConfigV1OK creates a ImportConfigV1OK with default headers values

func (*ImportConfigV1OK) Error

func (o *ImportConfigV1OK) Error() string

func (*ImportConfigV1OK) GetPayload

func (*ImportConfigV1OK) ToJSONString added in v0.25.0

func (o *ImportConfigV1OK) ToJSONString() string

type ImportConfigV1Params

type ImportConfigV1Params struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*File
	  imported file

	*/
	File runtime.NamedReadCloser
	/*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
}

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

func NewImportConfigV1Params

func NewImportConfigV1Params() *ImportConfigV1Params

NewImportConfigV1Params creates a new ImportConfigV1Params object with the default values initialized.

func NewImportConfigV1ParamsWithContext

func NewImportConfigV1ParamsWithContext(ctx context.Context) *ImportConfigV1Params

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

func NewImportConfigV1ParamsWithHTTPClient

func NewImportConfigV1ParamsWithHTTPClient(client *http.Client) *ImportConfigV1Params

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

func NewImportConfigV1ParamsWithTimeout

func NewImportConfigV1ParamsWithTimeout(timeout time.Duration) *ImportConfigV1Params

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

func (*ImportConfigV1Params) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the import config v1 params

func (*ImportConfigV1Params) SetContext

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

SetContext adds the context to the import config v1 params

func (*ImportConfigV1Params) SetFile

func (o *ImportConfigV1Params) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the import config v1 params

func (*ImportConfigV1Params) SetFlightId added in v0.63.0

func (o *ImportConfigV1Params) SetFlightId(flightId string)

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

func (*ImportConfigV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import config v1 params

func (*ImportConfigV1Params) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the import config v1 params

func (*ImportConfigV1Params) SetNamespace

func (o *ImportConfigV1Params) SetNamespace(namespace string)

SetNamespace adds the namespace to the import config v1 params

func (*ImportConfigV1Params) SetTimeout

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

SetTimeout adds the timeout to the import config v1 params

func (*ImportConfigV1Params) WithContext

WithContext adds the context to the import config v1 params

func (*ImportConfigV1Params) WithFile

WithFile adds the file to the import config v1 params

func (*ImportConfigV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import config v1 params

func (*ImportConfigV1Params) WithNamespace

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

WithNamespace adds the namespace to the import config v1 params

func (*ImportConfigV1Params) WithTimeout

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

WithTimeout adds the timeout to the import config v1 params

func (*ImportConfigV1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImportConfigV1Reader

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

ImportConfigV1Reader is a Reader for the ImportConfigV1 structure.

func (*ImportConfigV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportConfigV1Unauthorized

type ImportConfigV1Unauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportConfigV1Unauthorized handles this case with default header values.

unauthorized access

func NewImportConfigV1Unauthorized

func NewImportConfigV1Unauthorized() *ImportConfigV1Unauthorized

NewImportConfigV1Unauthorized creates a ImportConfigV1Unauthorized with default headers values

func (*ImportConfigV1Unauthorized) Error

func (*ImportConfigV1Unauthorized) GetPayload

func (*ImportConfigV1Unauthorized) ToJSONString added in v0.25.0

func (o *ImportConfigV1Unauthorized) ToJSONString() string

type ListConfigInternalServerError

type ListConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewListConfigInternalServerError

func NewListConfigInternalServerError() *ListConfigInternalServerError

NewListConfigInternalServerError creates a ListConfigInternalServerError with default headers values

func (*ListConfigInternalServerError) Error

func (*ListConfigInternalServerError) GetPayload

func (*ListConfigInternalServerError) ToJSONString added in v0.25.0

func (o *ListConfigInternalServerError) ToJSONString() string

type ListConfigOK

type ListConfigOK struct {
	Payload *dsmcclientmodels.ModelsListConfigResponse
}

ListConfigOK handles this case with default header values.

configs listed

func NewListConfigOK

func NewListConfigOK() *ListConfigOK

NewListConfigOK creates a ListConfigOK with default headers values

func (*ListConfigOK) Error

func (o *ListConfigOK) Error() string

func (*ListConfigOK) GetPayload

func (*ListConfigOK) ToJSONString added in v0.25.0

func (o *ListConfigOK) ToJSONString() string

type ListConfigParams

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

ListConfigParams contains all the parameters to send to the API endpoint for the list config operation typically these are written to a http.Request

func NewListConfigParams

func NewListConfigParams() *ListConfigParams

NewListConfigParams creates a new ListConfigParams object with the default values initialized.

func NewListConfigParamsWithContext

func NewListConfigParamsWithContext(ctx context.Context) *ListConfigParams

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

func NewListConfigParamsWithHTTPClient

func NewListConfigParamsWithHTTPClient(client *http.Client) *ListConfigParams

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

func NewListConfigParamsWithTimeout

func NewListConfigParamsWithTimeout(timeout time.Duration) *ListConfigParams

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

func (*ListConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the list config params

func (*ListConfigParams) SetContext

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

SetContext adds the context to the list config params

func (*ListConfigParams) SetFlightId added in v0.63.0

func (o *ListConfigParams) SetFlightId(flightId string)

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

func (*ListConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list config params

func (*ListConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the list config params

func (*ListConfigParams) SetTimeout

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

SetTimeout adds the timeout to the list config params

func (*ListConfigParams) WithContext

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

WithContext adds the context to the list config params

func (*ListConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list config params

func (*ListConfigParams) WithTimeout

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

WithTimeout adds the timeout to the list config params

func (*ListConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListConfigReader

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

ListConfigReader is a Reader for the ListConfig structure.

func (*ListConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListConfigUnauthorized

type ListConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListConfigUnauthorized handles this case with default header values.

Unauthorized

func NewListConfigUnauthorized

func NewListConfigUnauthorized() *ListConfigUnauthorized

NewListConfigUnauthorized creates a ListConfigUnauthorized with default headers values

func (*ListConfigUnauthorized) Error

func (o *ListConfigUnauthorized) Error() string

func (*ListConfigUnauthorized) GetPayload

func (*ListConfigUnauthorized) ToJSONString added in v0.25.0

func (o *ListConfigUnauthorized) ToJSONString() string

type SaveConfigBadRequest

type SaveConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

SaveConfigBadRequest handles this case with default header values.

malformed request

func NewSaveConfigBadRequest

func NewSaveConfigBadRequest() *SaveConfigBadRequest

NewSaveConfigBadRequest creates a SaveConfigBadRequest with default headers values

func (*SaveConfigBadRequest) Error

func (o *SaveConfigBadRequest) Error() string

func (*SaveConfigBadRequest) GetPayload

func (*SaveConfigBadRequest) ToJSONString added in v0.25.0

func (o *SaveConfigBadRequest) ToJSONString() string

type SaveConfigInternalServerError

type SaveConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

SaveConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewSaveConfigInternalServerError

func NewSaveConfigInternalServerError() *SaveConfigInternalServerError

NewSaveConfigInternalServerError creates a SaveConfigInternalServerError with default headers values

func (*SaveConfigInternalServerError) Error

func (*SaveConfigInternalServerError) GetPayload

func (*SaveConfigInternalServerError) ToJSONString added in v0.25.0

func (o *SaveConfigInternalServerError) ToJSONString() string

type SaveConfigNoContent

type SaveConfigNoContent struct {
}

SaveConfigNoContent handles this case with default header values.

config added/updated

func NewSaveConfigNoContent

func NewSaveConfigNoContent() *SaveConfigNoContent

NewSaveConfigNoContent creates a SaveConfigNoContent with default headers values

func (*SaveConfigNoContent) Error

func (o *SaveConfigNoContent) Error() string

type SaveConfigParams

type SaveConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsDSMConfigRecord

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

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

SaveConfigParams contains all the parameters to send to the API endpoint for the save config operation typically these are written to a http.Request

func NewSaveConfigParams

func NewSaveConfigParams() *SaveConfigParams

NewSaveConfigParams creates a new SaveConfigParams object with the default values initialized.

func NewSaveConfigParamsWithContext

func NewSaveConfigParamsWithContext(ctx context.Context) *SaveConfigParams

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

func NewSaveConfigParamsWithHTTPClient

func NewSaveConfigParamsWithHTTPClient(client *http.Client) *SaveConfigParams

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

func NewSaveConfigParamsWithTimeout

func NewSaveConfigParamsWithTimeout(timeout time.Duration) *SaveConfigParams

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

func (*SaveConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the save config params

func (*SaveConfigParams) SetBody

SetBody adds the body to the save config params

func (*SaveConfigParams) SetContext

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

SetContext adds the context to the save config params

func (*SaveConfigParams) SetFlightId added in v0.63.0

func (o *SaveConfigParams) SetFlightId(flightId string)

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

func (*SaveConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the save config params

func (*SaveConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the save config params

func (*SaveConfigParams) SetTimeout

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

SetTimeout adds the timeout to the save config params

func (*SaveConfigParams) WithBody

WithBody adds the body to the save config params

func (*SaveConfigParams) WithContext

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

WithContext adds the context to the save config params

func (*SaveConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the save config params

func (*SaveConfigParams) WithTimeout

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

WithTimeout adds the timeout to the save config params

func (*SaveConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SaveConfigReader

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

SaveConfigReader is a Reader for the SaveConfig structure.

func (*SaveConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SaveConfigUnauthorized

type SaveConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

SaveConfigUnauthorized handles this case with default header values.

Unauthorized

func NewSaveConfigUnauthorized

func NewSaveConfigUnauthorized() *SaveConfigUnauthorized

NewSaveConfigUnauthorized creates a SaveConfigUnauthorized with default headers values

func (*SaveConfigUnauthorized) Error

func (o *SaveConfigUnauthorized) Error() string

func (*SaveConfigUnauthorized) GetPayload

func (*SaveConfigUnauthorized) ToJSONString added in v0.25.0

func (o *SaveConfigUnauthorized) ToJSONString() string

type UpdateConfigBadRequest

type UpdateConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateConfigBadRequest handles this case with default header values.

malformed request

func NewUpdateConfigBadRequest

func NewUpdateConfigBadRequest() *UpdateConfigBadRequest

NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values

func (*UpdateConfigBadRequest) Error

func (o *UpdateConfigBadRequest) Error() string

func (*UpdateConfigBadRequest) GetPayload

func (*UpdateConfigBadRequest) ToJSONString added in v0.25.0

func (o *UpdateConfigBadRequest) ToJSONString() string

type UpdateConfigInternalServerError

type UpdateConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateConfigInternalServerError

func NewUpdateConfigInternalServerError() *UpdateConfigInternalServerError

NewUpdateConfigInternalServerError creates a UpdateConfigInternalServerError with default headers values

func (*UpdateConfigInternalServerError) Error

func (*UpdateConfigInternalServerError) GetPayload

func (*UpdateConfigInternalServerError) ToJSONString added in v0.25.0

func (o *UpdateConfigInternalServerError) ToJSONString() string

type UpdateConfigNotFound added in v0.4.0

type UpdateConfigNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateConfigNotFound handles this case with default header values.

config not found

func NewUpdateConfigNotFound added in v0.4.0

func NewUpdateConfigNotFound() *UpdateConfigNotFound

NewUpdateConfigNotFound creates a UpdateConfigNotFound with default headers values

func (*UpdateConfigNotFound) Error added in v0.4.0

func (o *UpdateConfigNotFound) Error() string

func (*UpdateConfigNotFound) GetPayload added in v0.4.0

func (*UpdateConfigNotFound) ToJSONString added in v0.25.0

func (o *UpdateConfigNotFound) ToJSONString() string

type UpdateConfigOK added in v0.4.0

type UpdateConfigOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

UpdateConfigOK handles this case with default header values.

config updated

func NewUpdateConfigOK added in v0.4.0

func NewUpdateConfigOK() *UpdateConfigOK

NewUpdateConfigOK creates a UpdateConfigOK with default headers values

func (*UpdateConfigOK) Error added in v0.4.0

func (o *UpdateConfigOK) Error() string

func (*UpdateConfigOK) GetPayload added in v0.4.0

func (*UpdateConfigOK) ToJSONString added in v0.25.0

func (o *UpdateConfigOK) ToJSONString() string

type UpdateConfigParams

type UpdateConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsUpdateDSMConfigRequest
	/*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
}

UpdateConfigParams contains all the parameters to send to the API endpoint for the update config operation typically these are written to a http.Request

func NewUpdateConfigParams

func NewUpdateConfigParams() *UpdateConfigParams

NewUpdateConfigParams creates a new UpdateConfigParams object with the default values initialized.

func NewUpdateConfigParamsWithContext

func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams

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

func NewUpdateConfigParamsWithHTTPClient

func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams

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

func NewUpdateConfigParamsWithTimeout

func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams

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

func (*UpdateConfigParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update config params

func (*UpdateConfigParams) SetBody

SetBody adds the body to the update config params

func (*UpdateConfigParams) SetContext

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

SetContext adds the context to the update config params

func (*UpdateConfigParams) SetFlightId added in v0.63.0

func (o *UpdateConfigParams) SetFlightId(flightId string)

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

func (*UpdateConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update config params

func (*UpdateConfigParams) SetNamespace

func (o *UpdateConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update config params

func (*UpdateConfigParams) SetTimeout

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

SetTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WithBody

WithBody adds the body to the update config params

func (*UpdateConfigParams) WithContext

WithContext adds the context to the update config params

func (*UpdateConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) WithNamespace

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

WithNamespace adds the namespace to the update config params

func (*UpdateConfigParams) WithTimeout

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

WithTimeout adds the timeout to the update config params

func (*UpdateConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateConfigReader

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

UpdateConfigReader is a Reader for the UpdateConfig structure.

func (*UpdateConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConfigUnauthorized

type UpdateConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateConfigUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateConfigUnauthorized

func NewUpdateConfigUnauthorized() *UpdateConfigUnauthorized

NewUpdateConfigUnauthorized creates a UpdateConfigUnauthorized with default headers values

func (*UpdateConfigUnauthorized) Error

func (o *UpdateConfigUnauthorized) Error() string

func (*UpdateConfigUnauthorized) GetPayload

func (*UpdateConfigUnauthorized) ToJSONString added in v0.25.0

func (o *UpdateConfigUnauthorized) ToJSONString() string

type UpdatePortBadRequest added in v0.4.0

type UpdatePortBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortBadRequest handles this case with default header values.

malformed request

func NewUpdatePortBadRequest added in v0.4.0

func NewUpdatePortBadRequest() *UpdatePortBadRequest

NewUpdatePortBadRequest creates a UpdatePortBadRequest with default headers values

func (*UpdatePortBadRequest) Error added in v0.4.0

func (o *UpdatePortBadRequest) Error() string

func (*UpdatePortBadRequest) GetPayload added in v0.4.0

func (*UpdatePortBadRequest) ToJSONString added in v0.25.0

func (o *UpdatePortBadRequest) ToJSONString() string

type UpdatePortInternalServerError added in v0.4.0

type UpdatePortInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdatePortInternalServerError added in v0.4.0

func NewUpdatePortInternalServerError() *UpdatePortInternalServerError

NewUpdatePortInternalServerError creates a UpdatePortInternalServerError with default headers values

func (*UpdatePortInternalServerError) Error added in v0.4.0

func (*UpdatePortInternalServerError) GetPayload added in v0.4.0

func (*UpdatePortInternalServerError) ToJSONString added in v0.25.0

func (o *UpdatePortInternalServerError) ToJSONString() string

type UpdatePortNotFound added in v0.4.0

type UpdatePortNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortNotFound handles this case with default header values.

port config not found

func NewUpdatePortNotFound added in v0.4.0

func NewUpdatePortNotFound() *UpdatePortNotFound

NewUpdatePortNotFound creates a UpdatePortNotFound with default headers values

func (*UpdatePortNotFound) Error added in v0.4.0

func (o *UpdatePortNotFound) Error() string

func (*UpdatePortNotFound) GetPayload added in v0.4.0

func (*UpdatePortNotFound) ToJSONString added in v0.25.0

func (o *UpdatePortNotFound) ToJSONString() string

type UpdatePortOK added in v0.4.0

type UpdatePortOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

UpdatePortOK handles this case with default header values.

pod config updated

func NewUpdatePortOK added in v0.4.0

func NewUpdatePortOK() *UpdatePortOK

NewUpdatePortOK creates a UpdatePortOK with default headers values

func (*UpdatePortOK) Error added in v0.4.0

func (o *UpdatePortOK) Error() string

func (*UpdatePortOK) GetPayload added in v0.4.0

func (*UpdatePortOK) ToJSONString added in v0.25.0

func (o *UpdatePortOK) ToJSONString() string

type UpdatePortParams added in v0.4.0

type UpdatePortParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dsmcclientmodels.ModelsUpdatePortRequest
	/*Name
	  port name

	*/
	Name string
	/*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
}

UpdatePortParams contains all the parameters to send to the API endpoint for the update port operation typically these are written to a http.Request

func NewUpdatePortParams added in v0.4.0

func NewUpdatePortParams() *UpdatePortParams

NewUpdatePortParams creates a new UpdatePortParams object with the default values initialized.

func NewUpdatePortParamsWithContext added in v0.4.0

func NewUpdatePortParamsWithContext(ctx context.Context) *UpdatePortParams

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

func NewUpdatePortParamsWithHTTPClient added in v0.4.0

func NewUpdatePortParamsWithHTTPClient(client *http.Client) *UpdatePortParams

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

func NewUpdatePortParamsWithTimeout added in v0.4.0

func NewUpdatePortParamsWithTimeout(timeout time.Duration) *UpdatePortParams

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

func (*UpdatePortParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the update port params

func (*UpdatePortParams) SetBody added in v0.4.0

SetBody adds the body to the update port params

func (*UpdatePortParams) SetContext added in v0.4.0

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

SetContext adds the context to the update port params

func (*UpdatePortParams) SetFlightId added in v0.63.0

func (o *UpdatePortParams) SetFlightId(flightId string)

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

func (*UpdatePortParams) SetHTTPClient added in v0.4.0

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

SetHTTPClient adds the HTTPClient to the update port params

func (*UpdatePortParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the update port params

func (*UpdatePortParams) SetName added in v0.4.0

func (o *UpdatePortParams) SetName(name string)

SetName adds the name to the update port params

func (*UpdatePortParams) SetNamespace added in v0.4.0

func (o *UpdatePortParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update port params

func (*UpdatePortParams) SetTimeout added in v0.4.0

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

SetTimeout adds the timeout to the update port params

func (*UpdatePortParams) WithBody added in v0.4.0

WithBody adds the body to the update port params

func (*UpdatePortParams) WithContext added in v0.4.0

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

WithContext adds the context to the update port params

func (*UpdatePortParams) WithHTTPClient added in v0.4.0

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

WithHTTPClient adds the HTTPClient to the update port params

func (*UpdatePortParams) WithName added in v0.4.0

func (o *UpdatePortParams) WithName(name string) *UpdatePortParams

WithName adds the name to the update port params

func (*UpdatePortParams) WithNamespace added in v0.4.0

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

WithNamespace adds the namespace to the update port params

func (*UpdatePortParams) WithTimeout added in v0.4.0

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

WithTimeout adds the timeout to the update port params

func (*UpdatePortParams) WriteToRequest added in v0.4.0

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

WriteToRequest writes these params to a swagger request

type UpdatePortReader added in v0.4.0

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

UpdatePortReader is a Reader for the UpdatePort structure.

func (*UpdatePortReader) ReadResponse added in v0.4.0

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

ReadResponse reads a server response into the received o.

type UpdatePortUnauthorized added in v0.4.0

type UpdatePortUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortUnauthorized handles this case with default header values.

Unauthorized

func NewUpdatePortUnauthorized added in v0.4.0

func NewUpdatePortUnauthorized() *UpdatePortUnauthorized

NewUpdatePortUnauthorized creates a UpdatePortUnauthorized with default headers values

func (*UpdatePortUnauthorized) Error added in v0.4.0

func (o *UpdatePortUnauthorized) Error() string

func (*UpdatePortUnauthorized) GetPayload added in v0.4.0

func (*UpdatePortUnauthorized) ToJSONString added in v0.25.0

func (o *UpdatePortUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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