config

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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

type AddPortBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortBadRequest handles this case with default header values.

malformed request

func NewAddPortBadRequest

func NewAddPortBadRequest() *AddPortBadRequest

NewAddPortBadRequest creates a AddPortBadRequest with default headers values

func (*AddPortBadRequest) Error

func (o *AddPortBadRequest) Error() string

func (*AddPortBadRequest) GetPayload

func (*AddPortBadRequest) ToJSONString

func (o *AddPortBadRequest) ToJSONString() string

type AddPortConflict

type AddPortConflict struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortConflict handles this case with default header values.

port config already exists

func NewAddPortConflict

func NewAddPortConflict() *AddPortConflict

NewAddPortConflict creates a AddPortConflict with default headers values

func (*AddPortConflict) Error

func (o *AddPortConflict) Error() string

func (*AddPortConflict) GetPayload

func (*AddPortConflict) ToJSONString

func (o *AddPortConflict) ToJSONString() string

type AddPortCreated

type AddPortCreated struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

AddPortCreated handles this case with default header values.

pod config created

func NewAddPortCreated

func NewAddPortCreated() *AddPortCreated

NewAddPortCreated creates a AddPortCreated with default headers values

func (*AddPortCreated) Error

func (o *AddPortCreated) Error() string

func (*AddPortCreated) GetPayload

func (*AddPortCreated) ToJSONString

func (o *AddPortCreated) ToJSONString() string

type AddPortInternalServerError

type AddPortInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortInternalServerError handles this case with default header values.

Internal Server Error

func NewAddPortInternalServerError

func NewAddPortInternalServerError() *AddPortInternalServerError

NewAddPortInternalServerError creates a AddPortInternalServerError with default headers values

func (*AddPortInternalServerError) Error

func (*AddPortInternalServerError) GetPayload

func (*AddPortInternalServerError) ToJSONString

func (o *AddPortInternalServerError) ToJSONString() string

type AddPortNotFound

type AddPortNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortNotFound handles this case with default header values.

port config not found

func NewAddPortNotFound

func NewAddPortNotFound() *AddPortNotFound

NewAddPortNotFound creates a AddPortNotFound with default headers values

func (*AddPortNotFound) Error

func (o *AddPortNotFound) Error() string

func (*AddPortNotFound) GetPayload

func (*AddPortNotFound) ToJSONString

func (o *AddPortNotFound) ToJSONString() string

type AddPortParams

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
	// 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

func NewAddPortParams() *AddPortParams

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

func NewAddPortParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the add port params

func (*AddPortParams) SetBody

SetBody adds the body to the add port params

func (*AddPortParams) SetContext

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

SetContext adds the context to the add port params

func (*AddPortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add port params

func (*AddPortParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the add port params

func (*AddPortParams) SetName

func (o *AddPortParams) SetName(name string)

SetName adds the name to the add port params

func (*AddPortParams) SetNamespace

func (o *AddPortParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the add port params

func (*AddPortParams) SetTimeout

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

SetTimeout adds the timeout to the add port params

func (*AddPortParams) WithBody

WithBody adds the body to the add port params

func (*AddPortParams) WithContext

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

WithContext adds the context to the add port params

func (*AddPortParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add port params

func (*AddPortParams) WithName

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

WithName adds the name to the add port params

func (*AddPortParams) WithNamespace

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

WithNamespace adds the namespace to the add port params

func (*AddPortParams) WithTimeout

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

WithTimeout adds the timeout to the add port params

func (*AddPortParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddPortReader

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

AddPortReader is a Reader for the AddPort structure.

func (*AddPortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddPortUnauthorized

type AddPortUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

AddPortUnauthorized handles this case with default header values.

Unauthorized

func NewAddPortUnauthorized

func NewAddPortUnauthorized() *AddPortUnauthorized

NewAddPortUnauthorized creates a AddPortUnauthorized with default headers values

func (*AddPortUnauthorized) Error

func (o *AddPortUnauthorized) Error() string

func (*AddPortUnauthorized) GetPayload

func (*AddPortUnauthorized) ToJSONString

func (o *AddPortUnauthorized) ToJSONString() string

type ClearCacheInternalServerError

type ClearCacheInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ClearCacheInternalServerError handles this case with default header values.

Internal Server Error

func NewClearCacheInternalServerError

func NewClearCacheInternalServerError() *ClearCacheInternalServerError

NewClearCacheInternalServerError creates a ClearCacheInternalServerError with default headers values

func (*ClearCacheInternalServerError) Error

func (*ClearCacheInternalServerError) GetPayload

func (*ClearCacheInternalServerError) ToJSONString

func (o *ClearCacheInternalServerError) ToJSONString() string

type ClearCacheNoContent

type ClearCacheNoContent struct {
}

ClearCacheNoContent handles this case with default header values.

ok

func NewClearCacheNoContent

func NewClearCacheNoContent() *ClearCacheNoContent

NewClearCacheNoContent creates a ClearCacheNoContent with default headers values

func (*ClearCacheNoContent) Error

func (o *ClearCacheNoContent) Error() string

type ClearCacheParams

type ClearCacheParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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

func NewClearCacheParams() *ClearCacheParams

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

func NewClearCacheParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the clear cache params

func (*ClearCacheParams) SetContext

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

SetContext adds the context to the clear cache params

func (*ClearCacheParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the clear cache params

func (*ClearCacheParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the clear cache params

func (*ClearCacheParams) SetNamespace

func (o *ClearCacheParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the clear cache params

func (*ClearCacheParams) SetTimeout

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

SetTimeout adds the timeout to the clear cache params

func (*ClearCacheParams) WithContext

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

WithContext adds the context to the clear cache params

func (*ClearCacheParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the clear cache params

func (*ClearCacheParams) WithNamespace

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

WithNamespace adds the namespace to the clear cache params

func (*ClearCacheParams) WithTimeout

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

WithTimeout adds the timeout to the clear cache params

func (*ClearCacheParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ClearCacheReader

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

ClearCacheReader is a Reader for the ClearCache structure.

func (*ClearCacheReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ClearCacheUnauthorized

type ClearCacheUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ClearCacheUnauthorized handles this case with default header values.

Unauthorized

func NewClearCacheUnauthorized

func NewClearCacheUnauthorized() *ClearCacheUnauthorized

NewClearCacheUnauthorized creates a ClearCacheUnauthorized with default headers values

func (*ClearCacheUnauthorized) Error

func (o *ClearCacheUnauthorized) Error() string

func (*ClearCacheUnauthorized) GetPayload

func (*ClearCacheUnauthorized) ToJSONString

func (o *ClearCacheUnauthorized) ToJSONString() string

type Client

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

Client for config API

func (*Client) AddPort deprecated

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type CreateConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigBadRequest handles this case with default header values.

malformed request

func NewCreateConfigBadRequest

func NewCreateConfigBadRequest() *CreateConfigBadRequest

NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values

func (*CreateConfigBadRequest) Error

func (o *CreateConfigBadRequest) Error() string

func (*CreateConfigBadRequest) GetPayload

func (*CreateConfigBadRequest) ToJSONString

func (o *CreateConfigBadRequest) ToJSONString() string

type CreateConfigConflict

type CreateConfigConflict struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigConflict handles this case with default header values.

Conflict

func NewCreateConfigConflict

func NewCreateConfigConflict() *CreateConfigConflict

NewCreateConfigConflict creates a CreateConfigConflict with default headers values

func (*CreateConfigConflict) Error

func (o *CreateConfigConflict) Error() string

func (*CreateConfigConflict) GetPayload

func (*CreateConfigConflict) ToJSONString

func (o *CreateConfigConflict) ToJSONString() string

type CreateConfigCreated

type CreateConfigCreated struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

CreateConfigCreated handles this case with default header values.

config created

func NewCreateConfigCreated

func NewCreateConfigCreated() *CreateConfigCreated

NewCreateConfigCreated creates a CreateConfigCreated with default headers values

func (*CreateConfigCreated) Error

func (o *CreateConfigCreated) Error() string

func (*CreateConfigCreated) GetPayload

func (*CreateConfigCreated) ToJSONString

func (o *CreateConfigCreated) ToJSONString() string

type CreateConfigInternalServerError

type CreateConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateConfigInternalServerError

func NewCreateConfigInternalServerError() *CreateConfigInternalServerError

NewCreateConfigInternalServerError creates a CreateConfigInternalServerError with default headers values

func (*CreateConfigInternalServerError) Error

func (*CreateConfigInternalServerError) GetPayload

func (*CreateConfigInternalServerError) ToJSONString

func (o *CreateConfigInternalServerError) ToJSONString() string

type CreateConfigParams

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
	// 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

func NewCreateConfigParams() *CreateConfigParams

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

func NewCreateConfigParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the create config params

func (*CreateConfigParams) SetBody

SetBody adds the body to the create config params

func (*CreateConfigParams) SetContext

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

SetContext adds the context to the create config params

func (*CreateConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the create config params

func (*CreateConfigParams) SetNamespace

func (o *CreateConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create config params

func (*CreateConfigParams) SetTimeout

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

SetTimeout adds the timeout to the create config params

func (*CreateConfigParams) WithBody

WithBody adds the body to the create config params

func (*CreateConfigParams) WithContext

WithContext adds the context to the create config params

func (*CreateConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create config params

func (*CreateConfigParams) WithNamespace

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

WithNamespace adds the namespace to the create config params

func (*CreateConfigParams) WithTimeout

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

WithTimeout adds the timeout to the create config params

func (*CreateConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateConfigReader

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

CreateConfigReader is a Reader for the CreateConfig structure.

func (*CreateConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConfigUnauthorized

type CreateConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateConfigUnauthorized handles this case with default header values.

Unauthorized

func NewCreateConfigUnauthorized

func NewCreateConfigUnauthorized() *CreateConfigUnauthorized

NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values

func (*CreateConfigUnauthorized) Error

func (o *CreateConfigUnauthorized) Error() string

func (*CreateConfigUnauthorized) GetPayload

func (*CreateConfigUnauthorized) ToJSONString

func (o *CreateConfigUnauthorized) ToJSONString() string

type DeleteConfigBadRequest

type DeleteConfigBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigBadRequest handles this case with default header values.

malformed request

func NewDeleteConfigBadRequest

func NewDeleteConfigBadRequest() *DeleteConfigBadRequest

NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values

func (*DeleteConfigBadRequest) Error

func (o *DeleteConfigBadRequest) Error() string

func (*DeleteConfigBadRequest) GetPayload

func (*DeleteConfigBadRequest) ToJSONString

func (o *DeleteConfigBadRequest) ToJSONString() string

type DeleteConfigInternalServerError

type DeleteConfigInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteConfigInternalServerError

func NewDeleteConfigInternalServerError() *DeleteConfigInternalServerError

NewDeleteConfigInternalServerError creates a DeleteConfigInternalServerError with default headers values

func (*DeleteConfigInternalServerError) Error

func (*DeleteConfigInternalServerError) GetPayload

func (*DeleteConfigInternalServerError) ToJSONString

func (o *DeleteConfigInternalServerError) ToJSONString() string

type DeleteConfigNoContent

type DeleteConfigNoContent struct {
}

DeleteConfigNoContent handles this case with default header values.

config deleted

func NewDeleteConfigNoContent

func NewDeleteConfigNoContent() *DeleteConfigNoContent

NewDeleteConfigNoContent creates a DeleteConfigNoContent with default headers values

func (*DeleteConfigNoContent) Error

func (o *DeleteConfigNoContent) Error() string

type DeleteConfigNotFound

type DeleteConfigNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigNotFound handles this case with default header values.

config not found

func NewDeleteConfigNotFound

func NewDeleteConfigNotFound() *DeleteConfigNotFound

NewDeleteConfigNotFound creates a DeleteConfigNotFound with default headers values

func (*DeleteConfigNotFound) Error

func (o *DeleteConfigNotFound) Error() string

func (*DeleteConfigNotFound) GetPayload

func (*DeleteConfigNotFound) ToJSONString

func (o *DeleteConfigNotFound) ToJSONString() string

type DeleteConfigParams

type DeleteConfigParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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

func NewDeleteConfigParams() *DeleteConfigParams

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

func NewDeleteConfigParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the delete config params

func (*DeleteConfigParams) SetContext

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

SetContext adds the context to the delete config params

func (*DeleteConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete config params

func (*DeleteConfigParams) SetNamespace

func (o *DeleteConfigParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete config params

func (*DeleteConfigParams) SetTimeout

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

SetTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WithContext

WithContext adds the context to the delete config params

func (*DeleteConfigParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete config params

func (*DeleteConfigParams) WithNamespace

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

WithNamespace adds the namespace to the delete config params

func (*DeleteConfigParams) WithTimeout

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

WithTimeout adds the timeout to the delete config params

func (*DeleteConfigParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteConfigReader

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

DeleteConfigReader is a Reader for the DeleteConfig structure.

func (*DeleteConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConfigUnauthorized

type DeleteConfigUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteConfigUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteConfigUnauthorized

func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized

NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values

func (*DeleteConfigUnauthorized) Error

func (o *DeleteConfigUnauthorized) Error() string

func (*DeleteConfigUnauthorized) GetPayload

func (*DeleteConfigUnauthorized) ToJSONString

func (o *DeleteConfigUnauthorized) ToJSONString() string

type DeletePortBadRequest

type DeletePortBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortBadRequest handles this case with default header values.

malformed request

func NewDeletePortBadRequest

func NewDeletePortBadRequest() *DeletePortBadRequest

NewDeletePortBadRequest creates a DeletePortBadRequest with default headers values

func (*DeletePortBadRequest) Error

func (o *DeletePortBadRequest) Error() string

func (*DeletePortBadRequest) GetPayload

func (*DeletePortBadRequest) ToJSONString

func (o *DeletePortBadRequest) ToJSONString() string

type DeletePortInternalServerError

type DeletePortInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortInternalServerError handles this case with default header values.

Internal Server Error

func NewDeletePortInternalServerError

func NewDeletePortInternalServerError() *DeletePortInternalServerError

NewDeletePortInternalServerError creates a DeletePortInternalServerError with default headers values

func (*DeletePortInternalServerError) Error

func (*DeletePortInternalServerError) GetPayload

func (*DeletePortInternalServerError) ToJSONString

func (o *DeletePortInternalServerError) ToJSONString() string

type DeletePortNotFound

type DeletePortNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortNotFound handles this case with default header values.

port config not found

func NewDeletePortNotFound

func NewDeletePortNotFound() *DeletePortNotFound

NewDeletePortNotFound creates a DeletePortNotFound with default headers values

func (*DeletePortNotFound) Error

func (o *DeletePortNotFound) Error() string

func (*DeletePortNotFound) GetPayload

func (*DeletePortNotFound) ToJSONString

func (o *DeletePortNotFound) ToJSONString() string

type DeletePortOK

type DeletePortOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

DeletePortOK handles this case with default header values.

ok

func NewDeletePortOK

func NewDeletePortOK() *DeletePortOK

NewDeletePortOK creates a DeletePortOK with default headers values

func (*DeletePortOK) Error

func (o *DeletePortOK) Error() string

func (*DeletePortOK) GetPayload

func (*DeletePortOK) ToJSONString

func (o *DeletePortOK) ToJSONString() string

type DeletePortParams

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
	// 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

func NewDeletePortParams() *DeletePortParams

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

func NewDeletePortParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the delete port params

func (*DeletePortParams) SetContext

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

SetContext adds the context to the delete port params

func (*DeletePortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete port params

func (*DeletePortParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the delete port params

func (*DeletePortParams) SetName

func (o *DeletePortParams) SetName(name string)

SetName adds the name to the delete port params

func (*DeletePortParams) SetNamespace

func (o *DeletePortParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete port params

func (*DeletePortParams) SetTimeout

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

SetTimeout adds the timeout to the delete port params

func (*DeletePortParams) WithContext

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

WithContext adds the context to the delete port params

func (*DeletePortParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete port params

func (*DeletePortParams) WithName

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

WithName adds the name to the delete port params

func (*DeletePortParams) WithNamespace

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

WithNamespace adds the namespace to the delete port params

func (*DeletePortParams) WithTimeout

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

WithTimeout adds the timeout to the delete port params

func (*DeletePortParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePortReader

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

DeletePortReader is a Reader for the DeletePort structure.

func (*DeletePortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePortUnauthorized

type DeletePortUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeletePortUnauthorized handles this case with default header values.

Unauthorized

func NewDeletePortUnauthorized

func NewDeletePortUnauthorized() *DeletePortUnauthorized

NewDeletePortUnauthorized creates a DeletePortUnauthorized with default headers values

func (*DeletePortUnauthorized) Error

func (o *DeletePortUnauthorized) Error() string

func (*DeletePortUnauthorized) GetPayload

func (*DeletePortUnauthorized) ToJSONString

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

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

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

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

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
	// 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

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export config v1 params

func (*ExportConfigV1Params) SetHTTPClientTransport

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

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

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

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

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
	// 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

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get config params

func (*GetConfigParams) SetHTTPClientTransport

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

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

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

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

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

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

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
	// 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

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import config v1 params

func (*ImportConfigV1Params) SetHTTPClientTransport

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

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

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

func (o *ListConfigOK) ToJSONString() string

type ListConfigParams

type ListConfigParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// 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

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list config params

func (*ListConfigParams) SetHTTPClientTransport

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

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

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

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
	// 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

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the save config params

func (*SaveConfigParams) SetHTTPClientTransport

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

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

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

func (o *UpdateConfigInternalServerError) ToJSONString() string

type UpdateConfigNotFound

type UpdateConfigNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateConfigNotFound handles this case with default header values.

config not found

func NewUpdateConfigNotFound

func NewUpdateConfigNotFound() *UpdateConfigNotFound

NewUpdateConfigNotFound creates a UpdateConfigNotFound with default headers values

func (*UpdateConfigNotFound) Error

func (o *UpdateConfigNotFound) Error() string

func (*UpdateConfigNotFound) GetPayload

func (*UpdateConfigNotFound) ToJSONString

func (o *UpdateConfigNotFound) ToJSONString() string

type UpdateConfigOK

type UpdateConfigOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

UpdateConfigOK handles this case with default header values.

config updated

func NewUpdateConfigOK

func NewUpdateConfigOK() *UpdateConfigOK

NewUpdateConfigOK creates a UpdateConfigOK with default headers values

func (*UpdateConfigOK) Error

func (o *UpdateConfigOK) Error() string

func (*UpdateConfigOK) GetPayload

func (*UpdateConfigOK) ToJSONString

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
	// 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

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) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update config params

func (*UpdateConfigParams) SetHTTPClientTransport

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

func (o *UpdateConfigUnauthorized) ToJSONString() string

type UpdatePortBadRequest

type UpdatePortBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortBadRequest handles this case with default header values.

malformed request

func NewUpdatePortBadRequest

func NewUpdatePortBadRequest() *UpdatePortBadRequest

NewUpdatePortBadRequest creates a UpdatePortBadRequest with default headers values

func (*UpdatePortBadRequest) Error

func (o *UpdatePortBadRequest) Error() string

func (*UpdatePortBadRequest) GetPayload

func (*UpdatePortBadRequest) ToJSONString

func (o *UpdatePortBadRequest) ToJSONString() string

type UpdatePortInternalServerError

type UpdatePortInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdatePortInternalServerError

func NewUpdatePortInternalServerError() *UpdatePortInternalServerError

NewUpdatePortInternalServerError creates a UpdatePortInternalServerError with default headers values

func (*UpdatePortInternalServerError) Error

func (*UpdatePortInternalServerError) GetPayload

func (*UpdatePortInternalServerError) ToJSONString

func (o *UpdatePortInternalServerError) ToJSONString() string

type UpdatePortNotFound

type UpdatePortNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortNotFound handles this case with default header values.

port config not found

func NewUpdatePortNotFound

func NewUpdatePortNotFound() *UpdatePortNotFound

NewUpdatePortNotFound creates a UpdatePortNotFound with default headers values

func (*UpdatePortNotFound) Error

func (o *UpdatePortNotFound) Error() string

func (*UpdatePortNotFound) GetPayload

func (*UpdatePortNotFound) ToJSONString

func (o *UpdatePortNotFound) ToJSONString() string

type UpdatePortOK

type UpdatePortOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfigRecord
}

UpdatePortOK handles this case with default header values.

pod config updated

func NewUpdatePortOK

func NewUpdatePortOK() *UpdatePortOK

NewUpdatePortOK creates a UpdatePortOK with default headers values

func (*UpdatePortOK) Error

func (o *UpdatePortOK) Error() string

func (*UpdatePortOK) GetPayload

func (*UpdatePortOK) ToJSONString

func (o *UpdatePortOK) ToJSONString() string

type UpdatePortParams

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
	// 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

func NewUpdatePortParams() *UpdatePortParams

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

func NewUpdatePortParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the update port params

func (*UpdatePortParams) SetBody

SetBody adds the body to the update port params

func (*UpdatePortParams) SetContext

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

SetContext adds the context to the update port params

func (*UpdatePortParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update port params

func (*UpdatePortParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the update port params

func (*UpdatePortParams) SetName

func (o *UpdatePortParams) SetName(name string)

SetName adds the name to the update port params

func (*UpdatePortParams) SetNamespace

func (o *UpdatePortParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update port params

func (*UpdatePortParams) SetTimeout

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

SetTimeout adds the timeout to the update port params

func (*UpdatePortParams) WithBody

WithBody adds the body to the update port params

func (*UpdatePortParams) WithContext

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

WithContext adds the context to the update port params

func (*UpdatePortParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update port params

func (*UpdatePortParams) WithName

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

WithName adds the name to the update port params

func (*UpdatePortParams) WithNamespace

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

WithNamespace adds the namespace to the update port params

func (*UpdatePortParams) WithTimeout

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

WithTimeout adds the timeout to the update port params

func (*UpdatePortParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePortReader

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

UpdatePortReader is a Reader for the UpdatePort structure.

func (*UpdatePortReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePortUnauthorized

type UpdatePortUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdatePortUnauthorized handles this case with default header values.

Unauthorized

func NewUpdatePortUnauthorized

func NewUpdatePortUnauthorized() *UpdatePortUnauthorized

NewUpdatePortUnauthorized creates a UpdatePortUnauthorized with default headers values

func (*UpdatePortUnauthorized) Error

func (o *UpdatePortUnauthorized) Error() string

func (*UpdatePortUnauthorized) GetPayload

func (*UpdatePortUnauthorized) ToJSONString

func (o *UpdatePortUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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