Documentation ¶
Index ¶
- type Client
- func (a *Client) DeregisterLocalServer(params *DeregisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeregisterLocalServerNoContent, *DeregisterLocalServerBadRequest, ...)deprecated
- func (a *Client) DeregisterLocalServerShort(params *DeregisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeregisterLocalServerNoContent, error)
- func (a *Client) GetServerSession(params *GetServerSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionOK, *GetServerSessionBadRequest, ...)deprecated
- func (a *Client) GetServerSessionShort(params *GetServerSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionOK, error)
- func (a *Client) GetServerSessionTimeout(params *GetServerSessionTimeoutParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionTimeoutOK, *GetServerSessionTimeoutBadRequest, ...)deprecated
- func (a *Client) GetServerSessionTimeoutShort(params *GetServerSessionTimeoutParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionTimeoutOK, error)
- func (a *Client) ListServerClient(params *ListServerClientParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerClientOK, *ListServerClientUnauthorized, ...)deprecated
- func (a *Client) ListServerClientShort(params *ListServerClientParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerClientOK, error)
- func (a *Client) RegisterLocalServer(params *RegisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterLocalServerOK, *RegisterLocalServerBadRequest, ...)deprecated
- func (a *Client) RegisterLocalServerShort(params *RegisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterLocalServerOK, error)
- func (a *Client) RegisterServer(params *RegisterServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterServerOK, *RegisterServerBadRequest, *RegisterServerUnauthorized, ...)deprecated
- func (a *Client) RegisterServerShort(params *RegisterServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterServerOK, error)
- func (a *Client) ServerHeartbeat(params *ServerHeartbeatParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHeartbeatAccepted, *ServerHeartbeatBadRequest, ...)deprecated
- func (a *Client) ServerHeartbeatShort(params *ServerHeartbeatParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHeartbeatAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) ShutdownServer(params *ShutdownServerParams, authInfo runtime.ClientAuthInfoWriter) (*ShutdownServerNoContent, *ShutdownServerBadRequest, ...)deprecated
- func (a *Client) ShutdownServerShort(params *ShutdownServerParams, authInfo runtime.ClientAuthInfoWriter) (*ShutdownServerNoContent, error)
- type ClientService
- type DeregisterLocalServerBadRequest
- type DeregisterLocalServerInternalServerError
- type DeregisterLocalServerNoContent
- type DeregisterLocalServerParams
- func NewDeregisterLocalServerParams() *DeregisterLocalServerParams
- func NewDeregisterLocalServerParamsWithContext(ctx context.Context) *DeregisterLocalServerParams
- func NewDeregisterLocalServerParamsWithHTTPClient(client *http.Client) *DeregisterLocalServerParams
- func NewDeregisterLocalServerParamsWithTimeout(timeout time.Duration) *DeregisterLocalServerParams
- func (o *DeregisterLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeregisterLocalServerParams) SetBody(body *dsmcclientmodels.ModelsDeregisterLocalServerRequest)
- func (o *DeregisterLocalServerParams) SetContext(ctx context.Context)
- func (o *DeregisterLocalServerParams) SetHTTPClient(client *http.Client)
- func (o *DeregisterLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeregisterLocalServerParams) SetNamespace(namespace string)
- func (o *DeregisterLocalServerParams) SetTimeout(timeout time.Duration)
- func (o *DeregisterLocalServerParams) WithBody(body *dsmcclientmodels.ModelsDeregisterLocalServerRequest) *DeregisterLocalServerParams
- func (o *DeregisterLocalServerParams) WithContext(ctx context.Context) *DeregisterLocalServerParams
- func (o *DeregisterLocalServerParams) WithHTTPClient(client *http.Client) *DeregisterLocalServerParams
- func (o *DeregisterLocalServerParams) WithNamespace(namespace string) *DeregisterLocalServerParams
- func (o *DeregisterLocalServerParams) WithTimeout(timeout time.Duration) *DeregisterLocalServerParams
- func (o *DeregisterLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeregisterLocalServerReader
- type DeregisterLocalServerUnauthorized
- type GetServerSessionBadRequest
- type GetServerSessionInternalServerError
- type GetServerSessionNotFound
- type GetServerSessionOK
- type GetServerSessionParams
- func NewGetServerSessionParams() *GetServerSessionParams
- func NewGetServerSessionParamsWithContext(ctx context.Context) *GetServerSessionParams
- func NewGetServerSessionParamsWithHTTPClient(client *http.Client) *GetServerSessionParams
- func NewGetServerSessionParamsWithTimeout(timeout time.Duration) *GetServerSessionParams
- func (o *GetServerSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetServerSessionParams) SetContext(ctx context.Context)
- func (o *GetServerSessionParams) SetHTTPClient(client *http.Client)
- func (o *GetServerSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetServerSessionParams) SetNamespace(namespace string)
- func (o *GetServerSessionParams) SetPodName(podName string)
- func (o *GetServerSessionParams) SetTimeout(timeout time.Duration)
- func (o *GetServerSessionParams) WithContext(ctx context.Context) *GetServerSessionParams
- func (o *GetServerSessionParams) WithHTTPClient(client *http.Client) *GetServerSessionParams
- func (o *GetServerSessionParams) WithNamespace(namespace string) *GetServerSessionParams
- func (o *GetServerSessionParams) WithPodName(podName string) *GetServerSessionParams
- func (o *GetServerSessionParams) WithTimeout(timeout time.Duration) *GetServerSessionParams
- func (o *GetServerSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServerSessionReader
- type GetServerSessionTimeoutBadRequest
- type GetServerSessionTimeoutInternalServerError
- type GetServerSessionTimeoutNotFound
- type GetServerSessionTimeoutOK
- type GetServerSessionTimeoutParams
- func NewGetServerSessionTimeoutParams() *GetServerSessionTimeoutParams
- func NewGetServerSessionTimeoutParamsWithContext(ctx context.Context) *GetServerSessionTimeoutParams
- func NewGetServerSessionTimeoutParamsWithHTTPClient(client *http.Client) *GetServerSessionTimeoutParams
- func NewGetServerSessionTimeoutParamsWithTimeout(timeout time.Duration) *GetServerSessionTimeoutParams
- func (o *GetServerSessionTimeoutParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetServerSessionTimeoutParams) SetContext(ctx context.Context)
- func (o *GetServerSessionTimeoutParams) SetHTTPClient(client *http.Client)
- func (o *GetServerSessionTimeoutParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetServerSessionTimeoutParams) SetNamespace(namespace string)
- func (o *GetServerSessionTimeoutParams) SetPodName(podName string)
- func (o *GetServerSessionTimeoutParams) SetTimeout(timeout time.Duration)
- func (o *GetServerSessionTimeoutParams) WithContext(ctx context.Context) *GetServerSessionTimeoutParams
- func (o *GetServerSessionTimeoutParams) WithHTTPClient(client *http.Client) *GetServerSessionTimeoutParams
- func (o *GetServerSessionTimeoutParams) WithNamespace(namespace string) *GetServerSessionTimeoutParams
- func (o *GetServerSessionTimeoutParams) WithPodName(podName string) *GetServerSessionTimeoutParams
- func (o *GetServerSessionTimeoutParams) WithTimeout(timeout time.Duration) *GetServerSessionTimeoutParams
- func (o *GetServerSessionTimeoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServerSessionTimeoutReader
- type GetServerSessionTimeoutUnauthorized
- type GetServerSessionUnauthorized
- type ListServerClientInternalServerError
- type ListServerClientOK
- type ListServerClientParams
- func NewListServerClientParams() *ListServerClientParams
- func NewListServerClientParamsWithContext(ctx context.Context) *ListServerClientParams
- func NewListServerClientParamsWithHTTPClient(client *http.Client) *ListServerClientParams
- func NewListServerClientParamsWithTimeout(timeout time.Duration) *ListServerClientParams
- func (o *ListServerClientParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListServerClientParams) SetContext(ctx context.Context)
- func (o *ListServerClientParams) SetCount(count int64)
- func (o *ListServerClientParams) SetHTTPClient(client *http.Client)
- func (o *ListServerClientParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListServerClientParams) SetNamespace(namespace string)
- func (o *ListServerClientParams) SetOffset(offset int64)
- func (o *ListServerClientParams) SetRegion(region *string)
- func (o *ListServerClientParams) SetTimeout(timeout time.Duration)
- func (o *ListServerClientParams) WithContext(ctx context.Context) *ListServerClientParams
- func (o *ListServerClientParams) WithCount(count int64) *ListServerClientParams
- func (o *ListServerClientParams) WithHTTPClient(client *http.Client) *ListServerClientParams
- func (o *ListServerClientParams) WithNamespace(namespace string) *ListServerClientParams
- func (o *ListServerClientParams) WithOffset(offset int64) *ListServerClientParams
- func (o *ListServerClientParams) WithRegion(region *string) *ListServerClientParams
- func (o *ListServerClientParams) WithTimeout(timeout time.Duration) *ListServerClientParams
- func (o *ListServerClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServerClientReader
- type ListServerClientUnauthorized
- type RegisterLocalServerBadRequest
- type RegisterLocalServerConflict
- type RegisterLocalServerInternalServerError
- type RegisterLocalServerOK
- type RegisterLocalServerParams
- func NewRegisterLocalServerParams() *RegisterLocalServerParams
- func NewRegisterLocalServerParamsWithContext(ctx context.Context) *RegisterLocalServerParams
- func NewRegisterLocalServerParamsWithHTTPClient(client *http.Client) *RegisterLocalServerParams
- func NewRegisterLocalServerParamsWithTimeout(timeout time.Duration) *RegisterLocalServerParams
- func (o *RegisterLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RegisterLocalServerParams) SetBody(body *dsmcclientmodels.ModelsRegisterLocalServerRequest)
- func (o *RegisterLocalServerParams) SetContext(ctx context.Context)
- func (o *RegisterLocalServerParams) SetHTTPClient(client *http.Client)
- func (o *RegisterLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RegisterLocalServerParams) SetNamespace(namespace string)
- func (o *RegisterLocalServerParams) SetTimeout(timeout time.Duration)
- func (o *RegisterLocalServerParams) WithBody(body *dsmcclientmodels.ModelsRegisterLocalServerRequest) *RegisterLocalServerParams
- func (o *RegisterLocalServerParams) WithContext(ctx context.Context) *RegisterLocalServerParams
- func (o *RegisterLocalServerParams) WithHTTPClient(client *http.Client) *RegisterLocalServerParams
- func (o *RegisterLocalServerParams) WithNamespace(namespace string) *RegisterLocalServerParams
- func (o *RegisterLocalServerParams) WithTimeout(timeout time.Duration) *RegisterLocalServerParams
- func (o *RegisterLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterLocalServerReader
- type RegisterLocalServerUnauthorized
- type RegisterServerBadRequest
- type RegisterServerConflict
- type RegisterServerInternalServerError
- type RegisterServerNotFound
- type RegisterServerOK
- type RegisterServerParams
- func NewRegisterServerParams() *RegisterServerParams
- func NewRegisterServerParamsWithContext(ctx context.Context) *RegisterServerParams
- func NewRegisterServerParamsWithHTTPClient(client *http.Client) *RegisterServerParams
- func NewRegisterServerParamsWithTimeout(timeout time.Duration) *RegisterServerParams
- func (o *RegisterServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *RegisterServerParams) SetBody(body *dsmcclientmodels.ModelsRegisterServerRequest)
- func (o *RegisterServerParams) SetContext(ctx context.Context)
- func (o *RegisterServerParams) SetHTTPClient(client *http.Client)
- func (o *RegisterServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *RegisterServerParams) SetNamespace(namespace string)
- func (o *RegisterServerParams) SetTimeout(timeout time.Duration)
- func (o *RegisterServerParams) WithBody(body *dsmcclientmodels.ModelsRegisterServerRequest) *RegisterServerParams
- func (o *RegisterServerParams) WithContext(ctx context.Context) *RegisterServerParams
- func (o *RegisterServerParams) WithHTTPClient(client *http.Client) *RegisterServerParams
- func (o *RegisterServerParams) WithNamespace(namespace string) *RegisterServerParams
- func (o *RegisterServerParams) WithTimeout(timeout time.Duration) *RegisterServerParams
- func (o *RegisterServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegisterServerReader
- type RegisterServerUnauthorized
- type ServerHeartbeatAccepted
- type ServerHeartbeatBadRequest
- type ServerHeartbeatInternalServerError
- type ServerHeartbeatNotFound
- type ServerHeartbeatParams
- func NewServerHeartbeatParams() *ServerHeartbeatParams
- func NewServerHeartbeatParamsWithContext(ctx context.Context) *ServerHeartbeatParams
- func NewServerHeartbeatParamsWithHTTPClient(client *http.Client) *ServerHeartbeatParams
- func NewServerHeartbeatParamsWithTimeout(timeout time.Duration) *ServerHeartbeatParams
- func (o *ServerHeartbeatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ServerHeartbeatParams) SetBody(body *dsmcclientmodels.ModelsDSHeartbeatRequest)
- func (o *ServerHeartbeatParams) SetContext(ctx context.Context)
- func (o *ServerHeartbeatParams) SetHTTPClient(client *http.Client)
- func (o *ServerHeartbeatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ServerHeartbeatParams) SetNamespace(namespace string)
- func (o *ServerHeartbeatParams) SetTimeout(timeout time.Duration)
- func (o *ServerHeartbeatParams) WithBody(body *dsmcclientmodels.ModelsDSHeartbeatRequest) *ServerHeartbeatParams
- func (o *ServerHeartbeatParams) WithContext(ctx context.Context) *ServerHeartbeatParams
- func (o *ServerHeartbeatParams) WithHTTPClient(client *http.Client) *ServerHeartbeatParams
- func (o *ServerHeartbeatParams) WithNamespace(namespace string) *ServerHeartbeatParams
- func (o *ServerHeartbeatParams) WithTimeout(timeout time.Duration) *ServerHeartbeatParams
- func (o *ServerHeartbeatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ServerHeartbeatReader
- type ServerHeartbeatUnauthorized
- type ShutdownServerBadRequest
- type ShutdownServerInternalServerError
- type ShutdownServerNoContent
- type ShutdownServerNotFound
- type ShutdownServerParams
- func NewShutdownServerParams() *ShutdownServerParams
- func NewShutdownServerParamsWithContext(ctx context.Context) *ShutdownServerParams
- func NewShutdownServerParamsWithHTTPClient(client *http.Client) *ShutdownServerParams
- func NewShutdownServerParamsWithTimeout(timeout time.Duration) *ShutdownServerParams
- func (o *ShutdownServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ShutdownServerParams) SetBody(body *dsmcclientmodels.ModelsShutdownServerRequest)
- func (o *ShutdownServerParams) SetContext(ctx context.Context)
- func (o *ShutdownServerParams) SetHTTPClient(client *http.Client)
- func (o *ShutdownServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ShutdownServerParams) SetNamespace(namespace string)
- func (o *ShutdownServerParams) SetTimeout(timeout time.Duration)
- func (o *ShutdownServerParams) WithBody(body *dsmcclientmodels.ModelsShutdownServerRequest) *ShutdownServerParams
- func (o *ShutdownServerParams) WithContext(ctx context.Context) *ShutdownServerParams
- func (o *ShutdownServerParams) WithHTTPClient(client *http.Client) *ShutdownServerParams
- func (o *ShutdownServerParams) WithNamespace(namespace string) *ShutdownServerParams
- func (o *ShutdownServerParams) WithTimeout(timeout time.Duration) *ShutdownServerParams
- func (o *ShutdownServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ShutdownServerReader
- type ShutdownServerUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for server API
func (*Client) DeregisterLocalServer
deprecated
func (a *Client) DeregisterLocalServer(params *DeregisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeregisterLocalServerNoContent, *DeregisterLocalServerBadRequest, *DeregisterLocalServerUnauthorized, *DeregisterLocalServerInternalServerError, error)
Deprecated: 2022-08-10 - Use DeregisterLocalServerShort instead.
DeregisterLocalServer deregister local ds ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by local dedicated server to let DSM know that it is shutting down.
Calling this will remove the server records from DB.```
func (*Client) DeregisterLocalServerShort ¶ added in v0.8.0
func (a *Client) DeregisterLocalServerShort(params *DeregisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeregisterLocalServerNoContent, error)
DeregisterLocalServerShort deregister local ds ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by local dedicated server to let DSM know that it is shutting down.
Calling this will remove the server records from DB.```
func (*Client) GetServerSession
deprecated
func (a *Client) GetServerSession(params *GetServerSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionOK, *GetServerSessionBadRequest, *GetServerSessionUnauthorized, *GetServerSessionNotFound, *GetServerSessionInternalServerError, error)
Deprecated: 2022-08-10 - Use GetServerSessionShort instead.
GetServerSession get session id ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by dedicated server to query its session ID. DS should call this when it first receive player connection, to see if it is actually claimed```
func (*Client) GetServerSessionShort ¶ added in v0.8.0
func (a *Client) GetServerSessionShort(params *GetServerSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionOK, error)
GetServerSessionShort get session id ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by dedicated server to query its session ID. DS should call this when it first receive player connection, to see if it is actually claimed```
func (*Client) GetServerSessionTimeout
deprecated
added in
v0.45.0
func (a *Client) GetServerSessionTimeout(params *GetServerSessionTimeoutParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionTimeoutOK, *GetServerSessionTimeoutBadRequest, *GetServerSessionTimeoutUnauthorized, *GetServerSessionTimeoutNotFound, *GetServerSessionTimeoutInternalServerError, error)
Deprecated: 2022-08-10 - Use GetServerSessionTimeoutShort instead.
GetServerSessionTimeout get the session timeout that will be used for the server ``` Required permission: NAMESPACE:{namespace}:DSM:CONFIG [READ] Required scope: social
This endpoint is intended to be called by dedicated server to get the session timeout that will be used for the DS. DS will use this session timeout to make sure it regularly make heartbeat call to the DSMC, before the session timeout.```
func (*Client) GetServerSessionTimeoutShort ¶ added in v0.45.0
func (a *Client) GetServerSessionTimeoutShort(params *GetServerSessionTimeoutParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionTimeoutOK, error)
GetServerSessionTimeoutShort get the session timeout that will be used for the server ``` Required permission: NAMESPACE:{namespace}:DSM:CONFIG [READ] Required scope: social
This endpoint is intended to be called by dedicated server to get the session timeout that will be used for the DS. DS will use this session timeout to make sure it regularly make heartbeat call to the DSMC, before the session timeout.```
func (*Client) ListServerClient
deprecated
added in
v0.45.0
func (a *Client) ListServerClient(params *ListServerClientParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerClientOK, *ListServerClientUnauthorized, *ListServerClientInternalServerError, error)
Deprecated: 2022-08-10 - Use ListServerClientShort instead.
ListServerClient list all managed servers in a region for client Required permission: NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint lists all of dedicated servers in a namespace managed by this service.
Parameter Offset and Count is Required
func (*Client) ListServerClientShort ¶ added in v0.45.0
func (a *Client) ListServerClientShort(params *ListServerClientParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerClientOK, error)
ListServerClientShort list all managed servers in a region for client Required permission: NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint lists all of dedicated servers in a namespace managed by this service.
Parameter Offset and Count is Required
func (*Client) RegisterLocalServer
deprecated
func (a *Client) RegisterLocalServer(params *RegisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterLocalServerOK, *RegisterLocalServerBadRequest, *RegisterLocalServerUnauthorized, *RegisterLocalServerConflict, *RegisterLocalServerInternalServerError, error)
Deprecated: 2022-08-10 - Use RegisterLocalServerShort instead.
RegisterLocalServer register a local ds ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
Use the alternative GET of the same endpoint to upgrade DS connection to DSM via websocket.
This endpoint is intended to be called by local dedicated server to let DSM know that it is ready for use. Use local DS only for development purposes since DSM wouldn't be able to properly manage local DS in production. This MUST be called by DS after it is ready to accept match data and incoming client connections.
Upon successfully calling this endpoint, the dedicated server is listed under READY local servers.```
func (*Client) RegisterLocalServerShort ¶ added in v0.8.0
func (a *Client) RegisterLocalServerShort(params *RegisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterLocalServerOK, error)
RegisterLocalServerShort register a local ds ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
Use the alternative GET of the same endpoint to upgrade DS connection to DSM via websocket.
This endpoint is intended to be called by local dedicated server to let DSM know that it is ready for use. Use local DS only for development purposes since DSM wouldn't be able to properly manage local DS in production. This MUST be called by DS after it is ready to accept match data and incoming client connections.
Upon successfully calling this endpoint, the dedicated server is listed under READY local servers.```
func (*Client) RegisterServer
deprecated
func (a *Client) RegisterServer(params *RegisterServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterServerOK, *RegisterServerBadRequest, *RegisterServerUnauthorized, *RegisterServerNotFound, *RegisterServerConflict, *RegisterServerInternalServerError, error)
Deprecated: 2022-08-10 - Use RegisterServerShort instead.
RegisterServer register a ds ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by dedicated server to let DSM know that it is ready for use. This MUST be called by DS after it is ready to accept match data and incoming client connections.
Upon successfully calling this endpoint, the dedicated server is listed under READY servers.```
func (*Client) RegisterServerShort ¶ added in v0.8.0
func (a *Client) RegisterServerShort(params *RegisterServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterServerOK, error)
RegisterServerShort register a ds ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by dedicated server to let DSM know that it is ready for use. This MUST be called by DS after it is ready to accept match data and incoming client connections.
Upon successfully calling this endpoint, the dedicated server is listed under READY servers.```
func (*Client) ServerHeartbeat
deprecated
added in
v0.45.0
func (a *Client) ServerHeartbeat(params *ServerHeartbeatParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHeartbeatAccepted, *ServerHeartbeatBadRequest, *ServerHeartbeatUnauthorized, *ServerHeartbeatNotFound, *ServerHeartbeatInternalServerError, error)
Deprecated: 2022-08-10 - Use ServerHeartbeatShort instead.
ServerHeartbeat server heartbeat ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by dedicated server which already has claimed to extend its lifetime. DS should call this periodically after it claimed. The timeframe between 2 heartbeat call should be smaller than the session timout in the deployment configuration. If the last heartbeat is longer than the session timout, the server. will be considered as expired and will be terminated by DSMC.```
func (*Client) ServerHeartbeatShort ¶ added in v0.45.0
func (a *Client) ServerHeartbeatShort(params *ServerHeartbeatParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHeartbeatAccepted, error)
ServerHeartbeatShort server heartbeat ``` Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE] Required scope: social
This endpoint is intended to be called by dedicated server which already has claimed to extend its lifetime. DS should call this periodically after it claimed. The timeframe between 2 heartbeat call should be smaller than the session timout in the deployment configuration. If the last heartbeat is longer than the session timout, the server. will be considered as expired and will be terminated by DSMC.```
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) ShutdownServer
deprecated
func (a *Client) ShutdownServer(params *ShutdownServerParams, authInfo runtime.ClientAuthInfoWriter) (*ShutdownServerNoContent, *ShutdownServerBadRequest, *ShutdownServerUnauthorized, *ShutdownServerNotFound, *ShutdownServerInternalServerError, error)
Deprecated: 2022-08-10 - Use ShutdownServerShort instead.
ShutdownServer mark a ds is shutting down Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE]
Required scope: social
This endpoint is intended to be called by dedicated server to let DSM know that it is shutting down. Calling this will remove the server and session records from DB.Set 'kill_me' in request to 'true' if the DS cannot shut itself down.
func (*Client) ShutdownServerShort ¶ added in v0.8.0
func (a *Client) ShutdownServerShort(params *ShutdownServerParams, authInfo runtime.ClientAuthInfoWriter) (*ShutdownServerNoContent, error)
ShutdownServerShort mark a ds is shutting down Required permission: NAMESPACE:{namespace}:DSM:SERVER [UPDATE]
Required scope: social
This endpoint is intended to be called by dedicated server to let DSM know that it is shutting down. Calling this will remove the server and session records from DB.Set 'kill_me' in request to 'true' if the DS cannot shut itself down.
type ClientService ¶
type ClientService interface { ListServerClient(params *ListServerClientParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerClientOK, *ListServerClientUnauthorized, *ListServerClientInternalServerError, error) ListServerClientShort(params *ListServerClientParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerClientOK, error) ServerHeartbeat(params *ServerHeartbeatParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHeartbeatAccepted, *ServerHeartbeatBadRequest, *ServerHeartbeatUnauthorized, *ServerHeartbeatNotFound, *ServerHeartbeatInternalServerError, error) ServerHeartbeatShort(params *ServerHeartbeatParams, authInfo runtime.ClientAuthInfoWriter) (*ServerHeartbeatAccepted, error) DeregisterLocalServer(params *DeregisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeregisterLocalServerNoContent, *DeregisterLocalServerBadRequest, *DeregisterLocalServerUnauthorized, *DeregisterLocalServerInternalServerError, error) DeregisterLocalServerShort(params *DeregisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeregisterLocalServerNoContent, error) RegisterLocalServer(params *RegisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterLocalServerOK, *RegisterLocalServerBadRequest, *RegisterLocalServerUnauthorized, *RegisterLocalServerConflict, *RegisterLocalServerInternalServerError, error) RegisterLocalServerShort(params *RegisterLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterLocalServerOK, error) RegisterServer(params *RegisterServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterServerOK, *RegisterServerBadRequest, *RegisterServerUnauthorized, *RegisterServerNotFound, *RegisterServerConflict, *RegisterServerInternalServerError, error) RegisterServerShort(params *RegisterServerParams, authInfo runtime.ClientAuthInfoWriter) (*RegisterServerOK, error) ShutdownServer(params *ShutdownServerParams, authInfo runtime.ClientAuthInfoWriter) (*ShutdownServerNoContent, *ShutdownServerBadRequest, *ShutdownServerUnauthorized, *ShutdownServerNotFound, *ShutdownServerInternalServerError, error) ShutdownServerShort(params *ShutdownServerParams, authInfo runtime.ClientAuthInfoWriter) (*ShutdownServerNoContent, error) GetServerSessionTimeout(params *GetServerSessionTimeoutParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionTimeoutOK, *GetServerSessionTimeoutBadRequest, *GetServerSessionTimeoutUnauthorized, *GetServerSessionTimeoutNotFound, *GetServerSessionTimeoutInternalServerError, error) GetServerSessionTimeoutShort(params *GetServerSessionTimeoutParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionTimeoutOK, error) GetServerSession(params *GetServerSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionOK, *GetServerSessionBadRequest, *GetServerSessionUnauthorized, *GetServerSessionNotFound, *GetServerSessionInternalServerError, error) GetServerSessionShort(params *GetServerSessionParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerSessionOK, 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 server API client.
type DeregisterLocalServerBadRequest ¶
type DeregisterLocalServerBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
DeregisterLocalServerBadRequest handles this case with default header values.
malformed request
func NewDeregisterLocalServerBadRequest ¶
func NewDeregisterLocalServerBadRequest() *DeregisterLocalServerBadRequest
NewDeregisterLocalServerBadRequest creates a DeregisterLocalServerBadRequest with default headers values
func (*DeregisterLocalServerBadRequest) Error ¶
func (o *DeregisterLocalServerBadRequest) Error() string
func (*DeregisterLocalServerBadRequest) GetPayload ¶
func (o *DeregisterLocalServerBadRequest) GetPayload() *dsmcclientmodels.ResponseError
func (*DeregisterLocalServerBadRequest) ToJSONString ¶ added in v0.25.0
func (o *DeregisterLocalServerBadRequest) ToJSONString() string
type DeregisterLocalServerInternalServerError ¶
type DeregisterLocalServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
DeregisterLocalServerInternalServerError handles this case with default header values.
Internal Server Error
func NewDeregisterLocalServerInternalServerError ¶
func NewDeregisterLocalServerInternalServerError() *DeregisterLocalServerInternalServerError
NewDeregisterLocalServerInternalServerError creates a DeregisterLocalServerInternalServerError with default headers values
func (*DeregisterLocalServerInternalServerError) Error ¶
func (o *DeregisterLocalServerInternalServerError) Error() string
func (*DeregisterLocalServerInternalServerError) GetPayload ¶
func (o *DeregisterLocalServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*DeregisterLocalServerInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *DeregisterLocalServerInternalServerError) ToJSONString() string
type DeregisterLocalServerNoContent ¶
type DeregisterLocalServerNoContent struct { }
DeregisterLocalServerNoContent handles this case with default header values.
server removed
func NewDeregisterLocalServerNoContent ¶
func NewDeregisterLocalServerNoContent() *DeregisterLocalServerNoContent
NewDeregisterLocalServerNoContent creates a DeregisterLocalServerNoContent with default headers values
func (*DeregisterLocalServerNoContent) Error ¶
func (o *DeregisterLocalServerNoContent) Error() string
type DeregisterLocalServerParams ¶
type DeregisterLocalServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *dsmcclientmodels.ModelsDeregisterLocalServerRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeregisterLocalServerParams contains all the parameters to send to the API endpoint for the deregister local server operation typically these are written to a http.Request
func NewDeregisterLocalServerParams ¶
func NewDeregisterLocalServerParams() *DeregisterLocalServerParams
NewDeregisterLocalServerParams creates a new DeregisterLocalServerParams object with the default values initialized.
func NewDeregisterLocalServerParamsWithContext ¶
func NewDeregisterLocalServerParamsWithContext(ctx context.Context) *DeregisterLocalServerParams
NewDeregisterLocalServerParamsWithContext creates a new DeregisterLocalServerParams object with the default values initialized, and the ability to set a context for a request
func NewDeregisterLocalServerParamsWithHTTPClient ¶
func NewDeregisterLocalServerParamsWithHTTPClient(client *http.Client) *DeregisterLocalServerParams
NewDeregisterLocalServerParamsWithHTTPClient creates a new DeregisterLocalServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeregisterLocalServerParamsWithTimeout ¶
func NewDeregisterLocalServerParamsWithTimeout(timeout time.Duration) *DeregisterLocalServerParams
NewDeregisterLocalServerParamsWithTimeout creates a new DeregisterLocalServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeregisterLocalServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeregisterLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the deregister local server params
func (*DeregisterLocalServerParams) SetBody ¶
func (o *DeregisterLocalServerParams) SetBody(body *dsmcclientmodels.ModelsDeregisterLocalServerRequest)
SetBody adds the body to the deregister local server params
func (*DeregisterLocalServerParams) SetContext ¶
func (o *DeregisterLocalServerParams) SetContext(ctx context.Context)
SetContext adds the context to the deregister local server params
func (*DeregisterLocalServerParams) SetHTTPClient ¶
func (o *DeregisterLocalServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deregister local server params
func (*DeregisterLocalServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeregisterLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the deregister local server params
func (*DeregisterLocalServerParams) SetNamespace ¶
func (o *DeregisterLocalServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the deregister local server params
func (*DeregisterLocalServerParams) SetTimeout ¶
func (o *DeregisterLocalServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deregister local server params
func (*DeregisterLocalServerParams) WithBody ¶
func (o *DeregisterLocalServerParams) WithBody(body *dsmcclientmodels.ModelsDeregisterLocalServerRequest) *DeregisterLocalServerParams
WithBody adds the body to the deregister local server params
func (*DeregisterLocalServerParams) WithContext ¶
func (o *DeregisterLocalServerParams) WithContext(ctx context.Context) *DeregisterLocalServerParams
WithContext adds the context to the deregister local server params
func (*DeregisterLocalServerParams) WithHTTPClient ¶
func (o *DeregisterLocalServerParams) WithHTTPClient(client *http.Client) *DeregisterLocalServerParams
WithHTTPClient adds the HTTPClient to the deregister local server params
func (*DeregisterLocalServerParams) WithNamespace ¶
func (o *DeregisterLocalServerParams) WithNamespace(namespace string) *DeregisterLocalServerParams
WithNamespace adds the namespace to the deregister local server params
func (*DeregisterLocalServerParams) WithTimeout ¶
func (o *DeregisterLocalServerParams) WithTimeout(timeout time.Duration) *DeregisterLocalServerParams
WithTimeout adds the timeout to the deregister local server params
func (*DeregisterLocalServerParams) WriteToRequest ¶
func (o *DeregisterLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeregisterLocalServerReader ¶
type DeregisterLocalServerReader struct {
// contains filtered or unexported fields
}
DeregisterLocalServerReader is a Reader for the DeregisterLocalServer structure.
func (*DeregisterLocalServerReader) ReadResponse ¶
func (o *DeregisterLocalServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeregisterLocalServerUnauthorized ¶
type DeregisterLocalServerUnauthorized struct {
}DeregisterLocalServerUnauthorized handles this case with default header values.
Unauthorized
func NewDeregisterLocalServerUnauthorized ¶
func NewDeregisterLocalServerUnauthorized() *DeregisterLocalServerUnauthorized
NewDeregisterLocalServerUnauthorized creates a DeregisterLocalServerUnauthorized with default headers values
func (*DeregisterLocalServerUnauthorized) Error ¶
func (o *DeregisterLocalServerUnauthorized) Error() string
func (*DeregisterLocalServerUnauthorized) GetPayload ¶
func (o *DeregisterLocalServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*DeregisterLocalServerUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *DeregisterLocalServerUnauthorized) ToJSONString() string
type GetServerSessionBadRequest ¶
type GetServerSessionBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerSessionBadRequest handles this case with default header values.
malformed request
func NewGetServerSessionBadRequest ¶
func NewGetServerSessionBadRequest() *GetServerSessionBadRequest
NewGetServerSessionBadRequest creates a GetServerSessionBadRequest with default headers values
func (*GetServerSessionBadRequest) Error ¶
func (o *GetServerSessionBadRequest) Error() string
func (*GetServerSessionBadRequest) GetPayload ¶
func (o *GetServerSessionBadRequest) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionBadRequest) ToJSONString ¶ added in v0.25.0
func (o *GetServerSessionBadRequest) ToJSONString() string
type GetServerSessionInternalServerError ¶
type GetServerSessionInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewGetServerSessionInternalServerError ¶
func NewGetServerSessionInternalServerError() *GetServerSessionInternalServerError
NewGetServerSessionInternalServerError creates a GetServerSessionInternalServerError with default headers values
func (*GetServerSessionInternalServerError) Error ¶
func (o *GetServerSessionInternalServerError) Error() string
func (*GetServerSessionInternalServerError) GetPayload ¶
func (o *GetServerSessionInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *GetServerSessionInternalServerError) ToJSONString() string
type GetServerSessionNotFound ¶
type GetServerSessionNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerSessionNotFound handles this case with default header values.
server not found
func NewGetServerSessionNotFound ¶
func NewGetServerSessionNotFound() *GetServerSessionNotFound
NewGetServerSessionNotFound creates a GetServerSessionNotFound with default headers values
func (*GetServerSessionNotFound) Error ¶
func (o *GetServerSessionNotFound) Error() string
func (*GetServerSessionNotFound) GetPayload ¶
func (o *GetServerSessionNotFound) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionNotFound) ToJSONString ¶ added in v0.25.0
func (o *GetServerSessionNotFound) ToJSONString() string
type GetServerSessionOK ¶
type GetServerSessionOK struct {
Payload *dsmcclientmodels.ModelsServerSessionResponse
}
GetServerSessionOK handles this case with default header values.
session found
func NewGetServerSessionOK ¶
func NewGetServerSessionOK() *GetServerSessionOK
NewGetServerSessionOK creates a GetServerSessionOK with default headers values
func (*GetServerSessionOK) Error ¶
func (o *GetServerSessionOK) Error() string
func (*GetServerSessionOK) GetPayload ¶
func (o *GetServerSessionOK) GetPayload() *dsmcclientmodels.ModelsServerSessionResponse
func (*GetServerSessionOK) ToJSONString ¶ added in v0.25.0
func (o *GetServerSessionOK) ToJSONString() string
type GetServerSessionParams ¶
type GetServerSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*PodName DS name */ PodName string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServerSessionParams contains all the parameters to send to the API endpoint for the get server session operation typically these are written to a http.Request
func NewGetServerSessionParams ¶
func NewGetServerSessionParams() *GetServerSessionParams
NewGetServerSessionParams creates a new GetServerSessionParams object with the default values initialized.
func NewGetServerSessionParamsWithContext ¶
func NewGetServerSessionParamsWithContext(ctx context.Context) *GetServerSessionParams
NewGetServerSessionParamsWithContext creates a new GetServerSessionParams object with the default values initialized, and the ability to set a context for a request
func NewGetServerSessionParamsWithHTTPClient ¶
func NewGetServerSessionParamsWithHTTPClient(client *http.Client) *GetServerSessionParams
NewGetServerSessionParamsWithHTTPClient creates a new GetServerSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServerSessionParamsWithTimeout ¶
func NewGetServerSessionParamsWithTimeout(timeout time.Duration) *GetServerSessionParams
NewGetServerSessionParamsWithTimeout creates a new GetServerSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServerSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetServerSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get server session params
func (*GetServerSessionParams) SetContext ¶
func (o *GetServerSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the get server session params
func (*GetServerSessionParams) SetHTTPClient ¶
func (o *GetServerSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get server session params
func (*GetServerSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetServerSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get server session params
func (*GetServerSessionParams) SetNamespace ¶
func (o *GetServerSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get server session params
func (*GetServerSessionParams) SetPodName ¶
func (o *GetServerSessionParams) SetPodName(podName string)
SetPodName adds the podName to the get server session params
func (*GetServerSessionParams) SetTimeout ¶
func (o *GetServerSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get server session params
func (*GetServerSessionParams) WithContext ¶
func (o *GetServerSessionParams) WithContext(ctx context.Context) *GetServerSessionParams
WithContext adds the context to the get server session params
func (*GetServerSessionParams) WithHTTPClient ¶
func (o *GetServerSessionParams) WithHTTPClient(client *http.Client) *GetServerSessionParams
WithHTTPClient adds the HTTPClient to the get server session params
func (*GetServerSessionParams) WithNamespace ¶
func (o *GetServerSessionParams) WithNamespace(namespace string) *GetServerSessionParams
WithNamespace adds the namespace to the get server session params
func (*GetServerSessionParams) WithPodName ¶
func (o *GetServerSessionParams) WithPodName(podName string) *GetServerSessionParams
WithPodName adds the podName to the get server session params
func (*GetServerSessionParams) WithTimeout ¶
func (o *GetServerSessionParams) WithTimeout(timeout time.Duration) *GetServerSessionParams
WithTimeout adds the timeout to the get server session params
func (*GetServerSessionParams) WriteToRequest ¶
func (o *GetServerSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServerSessionReader ¶
type GetServerSessionReader struct {
// contains filtered or unexported fields
}
GetServerSessionReader is a Reader for the GetServerSession structure.
func (*GetServerSessionReader) ReadResponse ¶
func (o *GetServerSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServerSessionTimeoutBadRequest ¶ added in v0.45.0
type GetServerSessionTimeoutBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerSessionTimeoutBadRequest handles this case with default header values.
malformed request
func NewGetServerSessionTimeoutBadRequest ¶ added in v0.45.0
func NewGetServerSessionTimeoutBadRequest() *GetServerSessionTimeoutBadRequest
NewGetServerSessionTimeoutBadRequest creates a GetServerSessionTimeoutBadRequest with default headers values
func (*GetServerSessionTimeoutBadRequest) Error ¶ added in v0.45.0
func (o *GetServerSessionTimeoutBadRequest) Error() string
func (*GetServerSessionTimeoutBadRequest) GetPayload ¶ added in v0.45.0
func (o *GetServerSessionTimeoutBadRequest) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionTimeoutBadRequest) ToJSONString ¶ added in v0.45.0
func (o *GetServerSessionTimeoutBadRequest) ToJSONString() string
type GetServerSessionTimeoutInternalServerError ¶ added in v0.45.0
type GetServerSessionTimeoutInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerSessionTimeoutInternalServerError handles this case with default header values.
Internal Server Error
func NewGetServerSessionTimeoutInternalServerError ¶ added in v0.45.0
func NewGetServerSessionTimeoutInternalServerError() *GetServerSessionTimeoutInternalServerError
NewGetServerSessionTimeoutInternalServerError creates a GetServerSessionTimeoutInternalServerError with default headers values
func (*GetServerSessionTimeoutInternalServerError) Error ¶ added in v0.45.0
func (o *GetServerSessionTimeoutInternalServerError) Error() string
func (*GetServerSessionTimeoutInternalServerError) GetPayload ¶ added in v0.45.0
func (o *GetServerSessionTimeoutInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionTimeoutInternalServerError) ToJSONString ¶ added in v0.45.0
func (o *GetServerSessionTimeoutInternalServerError) ToJSONString() string
type GetServerSessionTimeoutNotFound ¶ added in v0.45.0
type GetServerSessionTimeoutNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerSessionTimeoutNotFound handles this case with default header values.
server not found
func NewGetServerSessionTimeoutNotFound ¶ added in v0.45.0
func NewGetServerSessionTimeoutNotFound() *GetServerSessionTimeoutNotFound
NewGetServerSessionTimeoutNotFound creates a GetServerSessionTimeoutNotFound with default headers values
func (*GetServerSessionTimeoutNotFound) Error ¶ added in v0.45.0
func (o *GetServerSessionTimeoutNotFound) Error() string
func (*GetServerSessionTimeoutNotFound) GetPayload ¶ added in v0.45.0
func (o *GetServerSessionTimeoutNotFound) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionTimeoutNotFound) ToJSONString ¶ added in v0.45.0
func (o *GetServerSessionTimeoutNotFound) ToJSONString() string
type GetServerSessionTimeoutOK ¶ added in v0.45.0
type GetServerSessionTimeoutOK struct {
Payload *dsmcclientmodels.ModelsServerDeploymentConfigSessionTimeoutResponse
}
GetServerSessionTimeoutOK handles this case with default header values.
session timout successfully retrieved
func NewGetServerSessionTimeoutOK ¶ added in v0.45.0
func NewGetServerSessionTimeoutOK() *GetServerSessionTimeoutOK
NewGetServerSessionTimeoutOK creates a GetServerSessionTimeoutOK with default headers values
func (*GetServerSessionTimeoutOK) Error ¶ added in v0.45.0
func (o *GetServerSessionTimeoutOK) Error() string
func (*GetServerSessionTimeoutOK) GetPayload ¶ added in v0.45.0
func (o *GetServerSessionTimeoutOK) GetPayload() *dsmcclientmodels.ModelsServerDeploymentConfigSessionTimeoutResponse
func (*GetServerSessionTimeoutOK) ToJSONString ¶ added in v0.45.0
func (o *GetServerSessionTimeoutOK) ToJSONString() string
type GetServerSessionTimeoutParams ¶ added in v0.45.0
type GetServerSessionTimeoutParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*PodName DS name */ PodName string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServerSessionTimeoutParams contains all the parameters to send to the API endpoint for the get server session timeout operation typically these are written to a http.Request
func NewGetServerSessionTimeoutParams ¶ added in v0.45.0
func NewGetServerSessionTimeoutParams() *GetServerSessionTimeoutParams
NewGetServerSessionTimeoutParams creates a new GetServerSessionTimeoutParams object with the default values initialized.
func NewGetServerSessionTimeoutParamsWithContext ¶ added in v0.45.0
func NewGetServerSessionTimeoutParamsWithContext(ctx context.Context) *GetServerSessionTimeoutParams
NewGetServerSessionTimeoutParamsWithContext creates a new GetServerSessionTimeoutParams object with the default values initialized, and the ability to set a context for a request
func NewGetServerSessionTimeoutParamsWithHTTPClient ¶ added in v0.45.0
func NewGetServerSessionTimeoutParamsWithHTTPClient(client *http.Client) *GetServerSessionTimeoutParams
NewGetServerSessionTimeoutParamsWithHTTPClient creates a new GetServerSessionTimeoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServerSessionTimeoutParamsWithTimeout ¶ added in v0.45.0
func NewGetServerSessionTimeoutParamsWithTimeout(timeout time.Duration) *GetServerSessionTimeoutParams
NewGetServerSessionTimeoutParamsWithTimeout creates a new GetServerSessionTimeoutParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServerSessionTimeoutParams) SetAuthInfoWriter ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get server session timeout params
func (*GetServerSessionTimeoutParams) SetContext ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) SetContext(ctx context.Context)
SetContext adds the context to the get server session timeout params
func (*GetServerSessionTimeoutParams) SetHTTPClient ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get server session timeout params
func (*GetServerSessionTimeoutParams) SetHTTPClientTransport ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get server session timeout params
func (*GetServerSessionTimeoutParams) SetNamespace ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get server session timeout params
func (*GetServerSessionTimeoutParams) SetPodName ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) SetPodName(podName string)
SetPodName adds the podName to the get server session timeout params
func (*GetServerSessionTimeoutParams) SetTimeout ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get server session timeout params
func (*GetServerSessionTimeoutParams) WithContext ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) WithContext(ctx context.Context) *GetServerSessionTimeoutParams
WithContext adds the context to the get server session timeout params
func (*GetServerSessionTimeoutParams) WithHTTPClient ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) WithHTTPClient(client *http.Client) *GetServerSessionTimeoutParams
WithHTTPClient adds the HTTPClient to the get server session timeout params
func (*GetServerSessionTimeoutParams) WithNamespace ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) WithNamespace(namespace string) *GetServerSessionTimeoutParams
WithNamespace adds the namespace to the get server session timeout params
func (*GetServerSessionTimeoutParams) WithPodName ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) WithPodName(podName string) *GetServerSessionTimeoutParams
WithPodName adds the podName to the get server session timeout params
func (*GetServerSessionTimeoutParams) WithTimeout ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) WithTimeout(timeout time.Duration) *GetServerSessionTimeoutParams
WithTimeout adds the timeout to the get server session timeout params
func (*GetServerSessionTimeoutParams) WriteToRequest ¶ added in v0.45.0
func (o *GetServerSessionTimeoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServerSessionTimeoutReader ¶ added in v0.45.0
type GetServerSessionTimeoutReader struct {
// contains filtered or unexported fields
}
GetServerSessionTimeoutReader is a Reader for the GetServerSessionTimeout structure.
func (*GetServerSessionTimeoutReader) ReadResponse ¶ added in v0.45.0
func (o *GetServerSessionTimeoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServerSessionTimeoutUnauthorized ¶ added in v0.45.0
type GetServerSessionTimeoutUnauthorized struct {
}GetServerSessionTimeoutUnauthorized handles this case with default header values.
Unauthorized
func NewGetServerSessionTimeoutUnauthorized ¶ added in v0.45.0
func NewGetServerSessionTimeoutUnauthorized() *GetServerSessionTimeoutUnauthorized
NewGetServerSessionTimeoutUnauthorized creates a GetServerSessionTimeoutUnauthorized with default headers values
func (*GetServerSessionTimeoutUnauthorized) Error ¶ added in v0.45.0
func (o *GetServerSessionTimeoutUnauthorized) Error() string
func (*GetServerSessionTimeoutUnauthorized) GetPayload ¶ added in v0.45.0
func (o *GetServerSessionTimeoutUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionTimeoutUnauthorized) ToJSONString ¶ added in v0.45.0
func (o *GetServerSessionTimeoutUnauthorized) ToJSONString() string
type GetServerSessionUnauthorized ¶
type GetServerSessionUnauthorized struct {
}GetServerSessionUnauthorized handles this case with default header values.
Unauthorized
func NewGetServerSessionUnauthorized ¶
func NewGetServerSessionUnauthorized() *GetServerSessionUnauthorized
NewGetServerSessionUnauthorized creates a GetServerSessionUnauthorized with default headers values
func (*GetServerSessionUnauthorized) Error ¶
func (o *GetServerSessionUnauthorized) Error() string
func (*GetServerSessionUnauthorized) GetPayload ¶
func (o *GetServerSessionUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*GetServerSessionUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *GetServerSessionUnauthorized) ToJSONString() string
type ListServerClientInternalServerError ¶ added in v0.45.0
type ListServerClientInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ListServerClientInternalServerError handles this case with default header values.
Internal Server Error
func NewListServerClientInternalServerError ¶ added in v0.45.0
func NewListServerClientInternalServerError() *ListServerClientInternalServerError
NewListServerClientInternalServerError creates a ListServerClientInternalServerError with default headers values
func (*ListServerClientInternalServerError) Error ¶ added in v0.45.0
func (o *ListServerClientInternalServerError) Error() string
func (*ListServerClientInternalServerError) GetPayload ¶ added in v0.45.0
func (o *ListServerClientInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*ListServerClientInternalServerError) ToJSONString ¶ added in v0.45.0
func (o *ListServerClientInternalServerError) ToJSONString() string
type ListServerClientOK ¶ added in v0.45.0
type ListServerClientOK struct {
Payload *dsmcclientmodels.ModelsListServerResponse
}
ListServerClientOK handles this case with default header values.
servers listed
func NewListServerClientOK ¶ added in v0.45.0
func NewListServerClientOK() *ListServerClientOK
NewListServerClientOK creates a ListServerClientOK with default headers values
func (*ListServerClientOK) Error ¶ added in v0.45.0
func (o *ListServerClientOK) Error() string
func (*ListServerClientOK) GetPayload ¶ added in v0.45.0
func (o *ListServerClientOK) GetPayload() *dsmcclientmodels.ModelsListServerResponse
func (*ListServerClientOK) ToJSONString ¶ added in v0.45.0
func (o *ListServerClientOK) ToJSONString() string
type ListServerClientParams ¶ added in v0.45.0
type ListServerClientParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Region region where DS server is located. if not specified it will list all servers. */ Region *string /*Count how many items to return */ Count int64 /*Offset offset from list to query from */ Offset int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServerClientParams contains all the parameters to send to the API endpoint for the list server client operation typically these are written to a http.Request
func NewListServerClientParams ¶ added in v0.45.0
func NewListServerClientParams() *ListServerClientParams
NewListServerClientParams creates a new ListServerClientParams object with the default values initialized.
func NewListServerClientParamsWithContext ¶ added in v0.45.0
func NewListServerClientParamsWithContext(ctx context.Context) *ListServerClientParams
NewListServerClientParamsWithContext creates a new ListServerClientParams object with the default values initialized, and the ability to set a context for a request
func NewListServerClientParamsWithHTTPClient ¶ added in v0.45.0
func NewListServerClientParamsWithHTTPClient(client *http.Client) *ListServerClientParams
NewListServerClientParamsWithHTTPClient creates a new ListServerClientParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServerClientParamsWithTimeout ¶ added in v0.45.0
func NewListServerClientParamsWithTimeout(timeout time.Duration) *ListServerClientParams
NewListServerClientParamsWithTimeout creates a new ListServerClientParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServerClientParams) SetAuthInfoWriter ¶ added in v0.45.0
func (o *ListServerClientParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list server client params
func (*ListServerClientParams) SetContext ¶ added in v0.45.0
func (o *ListServerClientParams) SetContext(ctx context.Context)
SetContext adds the context to the list server client params
func (*ListServerClientParams) SetCount ¶ added in v0.45.0
func (o *ListServerClientParams) SetCount(count int64)
SetCount adds the count to the list server client params
func (*ListServerClientParams) SetHTTPClient ¶ added in v0.45.0
func (o *ListServerClientParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list server client params
func (*ListServerClientParams) SetHTTPClientTransport ¶ added in v0.45.0
func (o *ListServerClientParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list server client params
func (*ListServerClientParams) SetNamespace ¶ added in v0.45.0
func (o *ListServerClientParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list server client params
func (*ListServerClientParams) SetOffset ¶ added in v0.45.0
func (o *ListServerClientParams) SetOffset(offset int64)
SetOffset adds the offset to the list server client params
func (*ListServerClientParams) SetRegion ¶ added in v0.45.0
func (o *ListServerClientParams) SetRegion(region *string)
SetRegion adds the region to the list server client params
func (*ListServerClientParams) SetTimeout ¶ added in v0.45.0
func (o *ListServerClientParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list server client params
func (*ListServerClientParams) WithContext ¶ added in v0.45.0
func (o *ListServerClientParams) WithContext(ctx context.Context) *ListServerClientParams
WithContext adds the context to the list server client params
func (*ListServerClientParams) WithCount ¶ added in v0.45.0
func (o *ListServerClientParams) WithCount(count int64) *ListServerClientParams
WithCount adds the count to the list server client params
func (*ListServerClientParams) WithHTTPClient ¶ added in v0.45.0
func (o *ListServerClientParams) WithHTTPClient(client *http.Client) *ListServerClientParams
WithHTTPClient adds the HTTPClient to the list server client params
func (*ListServerClientParams) WithNamespace ¶ added in v0.45.0
func (o *ListServerClientParams) WithNamespace(namespace string) *ListServerClientParams
WithNamespace adds the namespace to the list server client params
func (*ListServerClientParams) WithOffset ¶ added in v0.45.0
func (o *ListServerClientParams) WithOffset(offset int64) *ListServerClientParams
WithOffset adds the offset to the list server client params
func (*ListServerClientParams) WithRegion ¶ added in v0.45.0
func (o *ListServerClientParams) WithRegion(region *string) *ListServerClientParams
WithRegion adds the region to the list server client params
func (*ListServerClientParams) WithTimeout ¶ added in v0.45.0
func (o *ListServerClientParams) WithTimeout(timeout time.Duration) *ListServerClientParams
WithTimeout adds the timeout to the list server client params
func (*ListServerClientParams) WriteToRequest ¶ added in v0.45.0
func (o *ListServerClientParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServerClientReader ¶ added in v0.45.0
type ListServerClientReader struct {
// contains filtered or unexported fields
}
ListServerClientReader is a Reader for the ListServerClient structure.
func (*ListServerClientReader) ReadResponse ¶ added in v0.45.0
func (o *ListServerClientReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServerClientUnauthorized ¶ added in v0.45.0
type ListServerClientUnauthorized struct {
}ListServerClientUnauthorized handles this case with default header values.
Unauthorized
func NewListServerClientUnauthorized ¶ added in v0.45.0
func NewListServerClientUnauthorized() *ListServerClientUnauthorized
NewListServerClientUnauthorized creates a ListServerClientUnauthorized with default headers values
func (*ListServerClientUnauthorized) Error ¶ added in v0.45.0
func (o *ListServerClientUnauthorized) Error() string
func (*ListServerClientUnauthorized) GetPayload ¶ added in v0.45.0
func (o *ListServerClientUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*ListServerClientUnauthorized) ToJSONString ¶ added in v0.45.0
func (o *ListServerClientUnauthorized) ToJSONString() string
type RegisterLocalServerBadRequest ¶
type RegisterLocalServerBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
RegisterLocalServerBadRequest handles this case with default header values.
malformed request
func NewRegisterLocalServerBadRequest ¶
func NewRegisterLocalServerBadRequest() *RegisterLocalServerBadRequest
NewRegisterLocalServerBadRequest creates a RegisterLocalServerBadRequest with default headers values
func (*RegisterLocalServerBadRequest) Error ¶
func (o *RegisterLocalServerBadRequest) Error() string
func (*RegisterLocalServerBadRequest) GetPayload ¶
func (o *RegisterLocalServerBadRequest) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterLocalServerBadRequest) ToJSONString ¶ added in v0.25.0
func (o *RegisterLocalServerBadRequest) ToJSONString() string
type RegisterLocalServerConflict ¶
type RegisterLocalServerConflict struct {
Payload *dsmcclientmodels.ResponseError
}
RegisterLocalServerConflict handles this case with default header values.
server with same name already registered
func NewRegisterLocalServerConflict ¶
func NewRegisterLocalServerConflict() *RegisterLocalServerConflict
NewRegisterLocalServerConflict creates a RegisterLocalServerConflict with default headers values
func (*RegisterLocalServerConflict) Error ¶
func (o *RegisterLocalServerConflict) Error() string
func (*RegisterLocalServerConflict) GetPayload ¶
func (o *RegisterLocalServerConflict) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterLocalServerConflict) ToJSONString ¶ added in v0.25.0
func (o *RegisterLocalServerConflict) ToJSONString() string
type RegisterLocalServerInternalServerError ¶
type RegisterLocalServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
RegisterLocalServerInternalServerError handles this case with default header values.
Internal Server Error
func NewRegisterLocalServerInternalServerError ¶
func NewRegisterLocalServerInternalServerError() *RegisterLocalServerInternalServerError
NewRegisterLocalServerInternalServerError creates a RegisterLocalServerInternalServerError with default headers values
func (*RegisterLocalServerInternalServerError) Error ¶
func (o *RegisterLocalServerInternalServerError) Error() string
func (*RegisterLocalServerInternalServerError) GetPayload ¶
func (o *RegisterLocalServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterLocalServerInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *RegisterLocalServerInternalServerError) ToJSONString() string
type RegisterLocalServerOK ¶
type RegisterLocalServerOK struct {
Payload *dsmcclientmodels.ModelsServer
}
RegisterLocalServerOK handles this case with default header values.
server registered
func NewRegisterLocalServerOK ¶
func NewRegisterLocalServerOK() *RegisterLocalServerOK
NewRegisterLocalServerOK creates a RegisterLocalServerOK with default headers values
func (*RegisterLocalServerOK) Error ¶
func (o *RegisterLocalServerOK) Error() string
func (*RegisterLocalServerOK) GetPayload ¶
func (o *RegisterLocalServerOK) GetPayload() *dsmcclientmodels.ModelsServer
func (*RegisterLocalServerOK) ToJSONString ¶ added in v0.25.0
func (o *RegisterLocalServerOK) ToJSONString() string
type RegisterLocalServerParams ¶
type RegisterLocalServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *dsmcclientmodels.ModelsRegisterLocalServerRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterLocalServerParams contains all the parameters to send to the API endpoint for the register local server operation typically these are written to a http.Request
func NewRegisterLocalServerParams ¶
func NewRegisterLocalServerParams() *RegisterLocalServerParams
NewRegisterLocalServerParams creates a new RegisterLocalServerParams object with the default values initialized.
func NewRegisterLocalServerParamsWithContext ¶
func NewRegisterLocalServerParamsWithContext(ctx context.Context) *RegisterLocalServerParams
NewRegisterLocalServerParamsWithContext creates a new RegisterLocalServerParams object with the default values initialized, and the ability to set a context for a request
func NewRegisterLocalServerParamsWithHTTPClient ¶
func NewRegisterLocalServerParamsWithHTTPClient(client *http.Client) *RegisterLocalServerParams
NewRegisterLocalServerParamsWithHTTPClient creates a new RegisterLocalServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegisterLocalServerParamsWithTimeout ¶
func NewRegisterLocalServerParamsWithTimeout(timeout time.Duration) *RegisterLocalServerParams
NewRegisterLocalServerParamsWithTimeout creates a new RegisterLocalServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegisterLocalServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RegisterLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the register local server params
func (*RegisterLocalServerParams) SetBody ¶
func (o *RegisterLocalServerParams) SetBody(body *dsmcclientmodels.ModelsRegisterLocalServerRequest)
SetBody adds the body to the register local server params
func (*RegisterLocalServerParams) SetContext ¶
func (o *RegisterLocalServerParams) SetContext(ctx context.Context)
SetContext adds the context to the register local server params
func (*RegisterLocalServerParams) SetHTTPClient ¶
func (o *RegisterLocalServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register local server params
func (*RegisterLocalServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RegisterLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the register local server params
func (*RegisterLocalServerParams) SetNamespace ¶
func (o *RegisterLocalServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the register local server params
func (*RegisterLocalServerParams) SetTimeout ¶
func (o *RegisterLocalServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register local server params
func (*RegisterLocalServerParams) WithBody ¶
func (o *RegisterLocalServerParams) WithBody(body *dsmcclientmodels.ModelsRegisterLocalServerRequest) *RegisterLocalServerParams
WithBody adds the body to the register local server params
func (*RegisterLocalServerParams) WithContext ¶
func (o *RegisterLocalServerParams) WithContext(ctx context.Context) *RegisterLocalServerParams
WithContext adds the context to the register local server params
func (*RegisterLocalServerParams) WithHTTPClient ¶
func (o *RegisterLocalServerParams) WithHTTPClient(client *http.Client) *RegisterLocalServerParams
WithHTTPClient adds the HTTPClient to the register local server params
func (*RegisterLocalServerParams) WithNamespace ¶
func (o *RegisterLocalServerParams) WithNamespace(namespace string) *RegisterLocalServerParams
WithNamespace adds the namespace to the register local server params
func (*RegisterLocalServerParams) WithTimeout ¶
func (o *RegisterLocalServerParams) WithTimeout(timeout time.Duration) *RegisterLocalServerParams
WithTimeout adds the timeout to the register local server params
func (*RegisterLocalServerParams) WriteToRequest ¶
func (o *RegisterLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterLocalServerReader ¶
type RegisterLocalServerReader struct {
// contains filtered or unexported fields
}
RegisterLocalServerReader is a Reader for the RegisterLocalServer structure.
func (*RegisterLocalServerReader) ReadResponse ¶
func (o *RegisterLocalServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterLocalServerUnauthorized ¶
type RegisterLocalServerUnauthorized struct {
}RegisterLocalServerUnauthorized handles this case with default header values.
Unauthorized
func NewRegisterLocalServerUnauthorized ¶
func NewRegisterLocalServerUnauthorized() *RegisterLocalServerUnauthorized
NewRegisterLocalServerUnauthorized creates a RegisterLocalServerUnauthorized with default headers values
func (*RegisterLocalServerUnauthorized) Error ¶
func (o *RegisterLocalServerUnauthorized) Error() string
func (*RegisterLocalServerUnauthorized) GetPayload ¶
func (o *RegisterLocalServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterLocalServerUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *RegisterLocalServerUnauthorized) ToJSONString() string
type RegisterServerBadRequest ¶
type RegisterServerBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
RegisterServerBadRequest handles this case with default header values.
malformed request
func NewRegisterServerBadRequest ¶
func NewRegisterServerBadRequest() *RegisterServerBadRequest
NewRegisterServerBadRequest creates a RegisterServerBadRequest with default headers values
func (*RegisterServerBadRequest) Error ¶
func (o *RegisterServerBadRequest) Error() string
func (*RegisterServerBadRequest) GetPayload ¶
func (o *RegisterServerBadRequest) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterServerBadRequest) ToJSONString ¶ added in v0.25.0
func (o *RegisterServerBadRequest) ToJSONString() string
type RegisterServerConflict ¶
type RegisterServerConflict struct {
Payload *dsmcclientmodels.ResponseError
}
RegisterServerConflict handles this case with default header values.
server with same name already registered
func NewRegisterServerConflict ¶
func NewRegisterServerConflict() *RegisterServerConflict
NewRegisterServerConflict creates a RegisterServerConflict with default headers values
func (*RegisterServerConflict) Error ¶
func (o *RegisterServerConflict) Error() string
func (*RegisterServerConflict) GetPayload ¶
func (o *RegisterServerConflict) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterServerConflict) ToJSONString ¶ added in v0.25.0
func (o *RegisterServerConflict) ToJSONString() string
type RegisterServerInternalServerError ¶
type RegisterServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
RegisterServerInternalServerError handles this case with default header values.
Internal Server Error
func NewRegisterServerInternalServerError ¶
func NewRegisterServerInternalServerError() *RegisterServerInternalServerError
NewRegisterServerInternalServerError creates a RegisterServerInternalServerError with default headers values
func (*RegisterServerInternalServerError) Error ¶
func (o *RegisterServerInternalServerError) Error() string
func (*RegisterServerInternalServerError) GetPayload ¶
func (o *RegisterServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterServerInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *RegisterServerInternalServerError) ToJSONString() string
type RegisterServerNotFound ¶ added in v0.45.0
type RegisterServerNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
RegisterServerNotFound handles this case with default header values.
allocation not found
func NewRegisterServerNotFound ¶ added in v0.45.0
func NewRegisterServerNotFound() *RegisterServerNotFound
NewRegisterServerNotFound creates a RegisterServerNotFound with default headers values
func (*RegisterServerNotFound) Error ¶ added in v0.45.0
func (o *RegisterServerNotFound) Error() string
func (*RegisterServerNotFound) GetPayload ¶ added in v0.45.0
func (o *RegisterServerNotFound) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterServerNotFound) ToJSONString ¶ added in v0.45.0
func (o *RegisterServerNotFound) ToJSONString() string
type RegisterServerOK ¶
type RegisterServerOK struct {
Payload *dsmcclientmodels.ModelsServer
}
RegisterServerOK handles this case with default header values.
server registered
func NewRegisterServerOK ¶
func NewRegisterServerOK() *RegisterServerOK
NewRegisterServerOK creates a RegisterServerOK with default headers values
func (*RegisterServerOK) Error ¶
func (o *RegisterServerOK) Error() string
func (*RegisterServerOK) GetPayload ¶
func (o *RegisterServerOK) GetPayload() *dsmcclientmodels.ModelsServer
func (*RegisterServerOK) ToJSONString ¶ added in v0.25.0
func (o *RegisterServerOK) ToJSONString() string
type RegisterServerParams ¶
type RegisterServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *dsmcclientmodels.ModelsRegisterServerRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegisterServerParams contains all the parameters to send to the API endpoint for the register server operation typically these are written to a http.Request
func NewRegisterServerParams ¶
func NewRegisterServerParams() *RegisterServerParams
NewRegisterServerParams creates a new RegisterServerParams object with the default values initialized.
func NewRegisterServerParamsWithContext ¶
func NewRegisterServerParamsWithContext(ctx context.Context) *RegisterServerParams
NewRegisterServerParamsWithContext creates a new RegisterServerParams object with the default values initialized, and the ability to set a context for a request
func NewRegisterServerParamsWithHTTPClient ¶
func NewRegisterServerParamsWithHTTPClient(client *http.Client) *RegisterServerParams
NewRegisterServerParamsWithHTTPClient creates a new RegisterServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegisterServerParamsWithTimeout ¶
func NewRegisterServerParamsWithTimeout(timeout time.Duration) *RegisterServerParams
NewRegisterServerParamsWithTimeout creates a new RegisterServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegisterServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *RegisterServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the register server params
func (*RegisterServerParams) SetBody ¶
func (o *RegisterServerParams) SetBody(body *dsmcclientmodels.ModelsRegisterServerRequest)
SetBody adds the body to the register server params
func (*RegisterServerParams) SetContext ¶
func (o *RegisterServerParams) SetContext(ctx context.Context)
SetContext adds the context to the register server params
func (*RegisterServerParams) SetHTTPClient ¶
func (o *RegisterServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the register server params
func (*RegisterServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *RegisterServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the register server params
func (*RegisterServerParams) SetNamespace ¶
func (o *RegisterServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the register server params
func (*RegisterServerParams) SetTimeout ¶
func (o *RegisterServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the register server params
func (*RegisterServerParams) WithBody ¶
func (o *RegisterServerParams) WithBody(body *dsmcclientmodels.ModelsRegisterServerRequest) *RegisterServerParams
WithBody adds the body to the register server params
func (*RegisterServerParams) WithContext ¶
func (o *RegisterServerParams) WithContext(ctx context.Context) *RegisterServerParams
WithContext adds the context to the register server params
func (*RegisterServerParams) WithHTTPClient ¶
func (o *RegisterServerParams) WithHTTPClient(client *http.Client) *RegisterServerParams
WithHTTPClient adds the HTTPClient to the register server params
func (*RegisterServerParams) WithNamespace ¶
func (o *RegisterServerParams) WithNamespace(namespace string) *RegisterServerParams
WithNamespace adds the namespace to the register server params
func (*RegisterServerParams) WithTimeout ¶
func (o *RegisterServerParams) WithTimeout(timeout time.Duration) *RegisterServerParams
WithTimeout adds the timeout to the register server params
func (*RegisterServerParams) WriteToRequest ¶
func (o *RegisterServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegisterServerReader ¶
type RegisterServerReader struct {
// contains filtered or unexported fields
}
RegisterServerReader is a Reader for the RegisterServer structure.
func (*RegisterServerReader) ReadResponse ¶
func (o *RegisterServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegisterServerUnauthorized ¶
type RegisterServerUnauthorized struct {
}RegisterServerUnauthorized handles this case with default header values.
Unauthorized
func NewRegisterServerUnauthorized ¶
func NewRegisterServerUnauthorized() *RegisterServerUnauthorized
NewRegisterServerUnauthorized creates a RegisterServerUnauthorized with default headers values
func (*RegisterServerUnauthorized) Error ¶
func (o *RegisterServerUnauthorized) Error() string
func (*RegisterServerUnauthorized) GetPayload ¶
func (o *RegisterServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*RegisterServerUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *RegisterServerUnauthorized) ToJSONString() string
type ServerHeartbeatAccepted ¶ added in v0.45.0
type ServerHeartbeatAccepted struct { }
ServerHeartbeatAccepted handles this case with default header values.
heartbeat accepted
func NewServerHeartbeatAccepted ¶ added in v0.45.0
func NewServerHeartbeatAccepted() *ServerHeartbeatAccepted
NewServerHeartbeatAccepted creates a ServerHeartbeatAccepted with default headers values
func (*ServerHeartbeatAccepted) Error ¶ added in v0.45.0
func (o *ServerHeartbeatAccepted) Error() string
type ServerHeartbeatBadRequest ¶ added in v0.45.0
type ServerHeartbeatBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
ServerHeartbeatBadRequest handles this case with default header values.
malformed request
func NewServerHeartbeatBadRequest ¶ added in v0.45.0
func NewServerHeartbeatBadRequest() *ServerHeartbeatBadRequest
NewServerHeartbeatBadRequest creates a ServerHeartbeatBadRequest with default headers values
func (*ServerHeartbeatBadRequest) Error ¶ added in v0.45.0
func (o *ServerHeartbeatBadRequest) Error() string
func (*ServerHeartbeatBadRequest) GetPayload ¶ added in v0.45.0
func (o *ServerHeartbeatBadRequest) GetPayload() *dsmcclientmodels.ResponseError
func (*ServerHeartbeatBadRequest) ToJSONString ¶ added in v0.45.0
func (o *ServerHeartbeatBadRequest) ToJSONString() string
type ServerHeartbeatInternalServerError ¶ added in v0.45.0
type ServerHeartbeatInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ServerHeartbeatInternalServerError handles this case with default header values.
Internal Server Error
func NewServerHeartbeatInternalServerError ¶ added in v0.45.0
func NewServerHeartbeatInternalServerError() *ServerHeartbeatInternalServerError
NewServerHeartbeatInternalServerError creates a ServerHeartbeatInternalServerError with default headers values
func (*ServerHeartbeatInternalServerError) Error ¶ added in v0.45.0
func (o *ServerHeartbeatInternalServerError) Error() string
func (*ServerHeartbeatInternalServerError) GetPayload ¶ added in v0.45.0
func (o *ServerHeartbeatInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*ServerHeartbeatInternalServerError) ToJSONString ¶ added in v0.45.0
func (o *ServerHeartbeatInternalServerError) ToJSONString() string
type ServerHeartbeatNotFound ¶ added in v0.45.0
type ServerHeartbeatNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
ServerHeartbeatNotFound handles this case with default header values.
server not found
func NewServerHeartbeatNotFound ¶ added in v0.45.0
func NewServerHeartbeatNotFound() *ServerHeartbeatNotFound
NewServerHeartbeatNotFound creates a ServerHeartbeatNotFound with default headers values
func (*ServerHeartbeatNotFound) Error ¶ added in v0.45.0
func (o *ServerHeartbeatNotFound) Error() string
func (*ServerHeartbeatNotFound) GetPayload ¶ added in v0.45.0
func (o *ServerHeartbeatNotFound) GetPayload() *dsmcclientmodels.ResponseError
func (*ServerHeartbeatNotFound) ToJSONString ¶ added in v0.45.0
func (o *ServerHeartbeatNotFound) ToJSONString() string
type ServerHeartbeatParams ¶ added in v0.45.0
type ServerHeartbeatParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *dsmcclientmodels.ModelsDSHeartbeatRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ServerHeartbeatParams contains all the parameters to send to the API endpoint for the server heartbeat operation typically these are written to a http.Request
func NewServerHeartbeatParams ¶ added in v0.45.0
func NewServerHeartbeatParams() *ServerHeartbeatParams
NewServerHeartbeatParams creates a new ServerHeartbeatParams object with the default values initialized.
func NewServerHeartbeatParamsWithContext ¶ added in v0.45.0
func NewServerHeartbeatParamsWithContext(ctx context.Context) *ServerHeartbeatParams
NewServerHeartbeatParamsWithContext creates a new ServerHeartbeatParams object with the default values initialized, and the ability to set a context for a request
func NewServerHeartbeatParamsWithHTTPClient ¶ added in v0.45.0
func NewServerHeartbeatParamsWithHTTPClient(client *http.Client) *ServerHeartbeatParams
NewServerHeartbeatParamsWithHTTPClient creates a new ServerHeartbeatParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewServerHeartbeatParamsWithTimeout ¶ added in v0.45.0
func NewServerHeartbeatParamsWithTimeout(timeout time.Duration) *ServerHeartbeatParams
NewServerHeartbeatParamsWithTimeout creates a new ServerHeartbeatParams object with the default values initialized, and the ability to set a timeout on a request
func (*ServerHeartbeatParams) SetAuthInfoWriter ¶ added in v0.45.0
func (o *ServerHeartbeatParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the server heartbeat params
func (*ServerHeartbeatParams) SetBody ¶ added in v0.45.0
func (o *ServerHeartbeatParams) SetBody(body *dsmcclientmodels.ModelsDSHeartbeatRequest)
SetBody adds the body to the server heartbeat params
func (*ServerHeartbeatParams) SetContext ¶ added in v0.45.0
func (o *ServerHeartbeatParams) SetContext(ctx context.Context)
SetContext adds the context to the server heartbeat params
func (*ServerHeartbeatParams) SetHTTPClient ¶ added in v0.45.0
func (o *ServerHeartbeatParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the server heartbeat params
func (*ServerHeartbeatParams) SetHTTPClientTransport ¶ added in v0.45.0
func (o *ServerHeartbeatParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the server heartbeat params
func (*ServerHeartbeatParams) SetNamespace ¶ added in v0.45.0
func (o *ServerHeartbeatParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the server heartbeat params
func (*ServerHeartbeatParams) SetTimeout ¶ added in v0.45.0
func (o *ServerHeartbeatParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the server heartbeat params
func (*ServerHeartbeatParams) WithBody ¶ added in v0.45.0
func (o *ServerHeartbeatParams) WithBody(body *dsmcclientmodels.ModelsDSHeartbeatRequest) *ServerHeartbeatParams
WithBody adds the body to the server heartbeat params
func (*ServerHeartbeatParams) WithContext ¶ added in v0.45.0
func (o *ServerHeartbeatParams) WithContext(ctx context.Context) *ServerHeartbeatParams
WithContext adds the context to the server heartbeat params
func (*ServerHeartbeatParams) WithHTTPClient ¶ added in v0.45.0
func (o *ServerHeartbeatParams) WithHTTPClient(client *http.Client) *ServerHeartbeatParams
WithHTTPClient adds the HTTPClient to the server heartbeat params
func (*ServerHeartbeatParams) WithNamespace ¶ added in v0.45.0
func (o *ServerHeartbeatParams) WithNamespace(namespace string) *ServerHeartbeatParams
WithNamespace adds the namespace to the server heartbeat params
func (*ServerHeartbeatParams) WithTimeout ¶ added in v0.45.0
func (o *ServerHeartbeatParams) WithTimeout(timeout time.Duration) *ServerHeartbeatParams
WithTimeout adds the timeout to the server heartbeat params
func (*ServerHeartbeatParams) WriteToRequest ¶ added in v0.45.0
func (o *ServerHeartbeatParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ServerHeartbeatReader ¶ added in v0.45.0
type ServerHeartbeatReader struct {
// contains filtered or unexported fields
}
ServerHeartbeatReader is a Reader for the ServerHeartbeat structure.
func (*ServerHeartbeatReader) ReadResponse ¶ added in v0.45.0
func (o *ServerHeartbeatReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ServerHeartbeatUnauthorized ¶ added in v0.45.0
type ServerHeartbeatUnauthorized struct {
}ServerHeartbeatUnauthorized handles this case with default header values.
Unauthorized
func NewServerHeartbeatUnauthorized ¶ added in v0.45.0
func NewServerHeartbeatUnauthorized() *ServerHeartbeatUnauthorized
NewServerHeartbeatUnauthorized creates a ServerHeartbeatUnauthorized with default headers values
func (*ServerHeartbeatUnauthorized) Error ¶ added in v0.45.0
func (o *ServerHeartbeatUnauthorized) Error() string
func (*ServerHeartbeatUnauthorized) GetPayload ¶ added in v0.45.0
func (o *ServerHeartbeatUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*ServerHeartbeatUnauthorized) ToJSONString ¶ added in v0.45.0
func (o *ServerHeartbeatUnauthorized) ToJSONString() string
type ShutdownServerBadRequest ¶
type ShutdownServerBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
ShutdownServerBadRequest handles this case with default header values.
malformed request
func NewShutdownServerBadRequest ¶
func NewShutdownServerBadRequest() *ShutdownServerBadRequest
NewShutdownServerBadRequest creates a ShutdownServerBadRequest with default headers values
func (*ShutdownServerBadRequest) Error ¶
func (o *ShutdownServerBadRequest) Error() string
func (*ShutdownServerBadRequest) GetPayload ¶
func (o *ShutdownServerBadRequest) GetPayload() *dsmcclientmodels.ResponseError
func (*ShutdownServerBadRequest) ToJSONString ¶ added in v0.25.0
func (o *ShutdownServerBadRequest) ToJSONString() string
type ShutdownServerInternalServerError ¶
type ShutdownServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ShutdownServerInternalServerError handles this case with default header values.
Internal Server Error
func NewShutdownServerInternalServerError ¶
func NewShutdownServerInternalServerError() *ShutdownServerInternalServerError
NewShutdownServerInternalServerError creates a ShutdownServerInternalServerError with default headers values
func (*ShutdownServerInternalServerError) Error ¶
func (o *ShutdownServerInternalServerError) Error() string
func (*ShutdownServerInternalServerError) GetPayload ¶
func (o *ShutdownServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
func (*ShutdownServerInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *ShutdownServerInternalServerError) ToJSONString() string
type ShutdownServerNoContent ¶
type ShutdownServerNoContent struct { }
ShutdownServerNoContent handles this case with default header values.
server removed
func NewShutdownServerNoContent ¶
func NewShutdownServerNoContent() *ShutdownServerNoContent
NewShutdownServerNoContent creates a ShutdownServerNoContent with default headers values
func (*ShutdownServerNoContent) Error ¶
func (o *ShutdownServerNoContent) Error() string
type ShutdownServerNotFound ¶
type ShutdownServerNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
ShutdownServerNotFound handles this case with default header values.
server not found
func NewShutdownServerNotFound ¶
func NewShutdownServerNotFound() *ShutdownServerNotFound
NewShutdownServerNotFound creates a ShutdownServerNotFound with default headers values
func (*ShutdownServerNotFound) Error ¶
func (o *ShutdownServerNotFound) Error() string
func (*ShutdownServerNotFound) GetPayload ¶
func (o *ShutdownServerNotFound) GetPayload() *dsmcclientmodels.ResponseError
func (*ShutdownServerNotFound) ToJSONString ¶ added in v0.25.0
func (o *ShutdownServerNotFound) ToJSONString() string
type ShutdownServerParams ¶
type ShutdownServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *dsmcclientmodels.ModelsShutdownServerRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ShutdownServerParams contains all the parameters to send to the API endpoint for the shutdown server operation typically these are written to a http.Request
func NewShutdownServerParams ¶
func NewShutdownServerParams() *ShutdownServerParams
NewShutdownServerParams creates a new ShutdownServerParams object with the default values initialized.
func NewShutdownServerParamsWithContext ¶
func NewShutdownServerParamsWithContext(ctx context.Context) *ShutdownServerParams
NewShutdownServerParamsWithContext creates a new ShutdownServerParams object with the default values initialized, and the ability to set a context for a request
func NewShutdownServerParamsWithHTTPClient ¶
func NewShutdownServerParamsWithHTTPClient(client *http.Client) *ShutdownServerParams
NewShutdownServerParamsWithHTTPClient creates a new ShutdownServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewShutdownServerParamsWithTimeout ¶
func NewShutdownServerParamsWithTimeout(timeout time.Duration) *ShutdownServerParams
NewShutdownServerParamsWithTimeout creates a new ShutdownServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*ShutdownServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ShutdownServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the shutdown server params
func (*ShutdownServerParams) SetBody ¶
func (o *ShutdownServerParams) SetBody(body *dsmcclientmodels.ModelsShutdownServerRequest)
SetBody adds the body to the shutdown server params
func (*ShutdownServerParams) SetContext ¶
func (o *ShutdownServerParams) SetContext(ctx context.Context)
SetContext adds the context to the shutdown server params
func (*ShutdownServerParams) SetHTTPClient ¶
func (o *ShutdownServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the shutdown server params
func (*ShutdownServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ShutdownServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the shutdown server params
func (*ShutdownServerParams) SetNamespace ¶
func (o *ShutdownServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the shutdown server params
func (*ShutdownServerParams) SetTimeout ¶
func (o *ShutdownServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the shutdown server params
func (*ShutdownServerParams) WithBody ¶
func (o *ShutdownServerParams) WithBody(body *dsmcclientmodels.ModelsShutdownServerRequest) *ShutdownServerParams
WithBody adds the body to the shutdown server params
func (*ShutdownServerParams) WithContext ¶
func (o *ShutdownServerParams) WithContext(ctx context.Context) *ShutdownServerParams
WithContext adds the context to the shutdown server params
func (*ShutdownServerParams) WithHTTPClient ¶
func (o *ShutdownServerParams) WithHTTPClient(client *http.Client) *ShutdownServerParams
WithHTTPClient adds the HTTPClient to the shutdown server params
func (*ShutdownServerParams) WithNamespace ¶
func (o *ShutdownServerParams) WithNamespace(namespace string) *ShutdownServerParams
WithNamespace adds the namespace to the shutdown server params
func (*ShutdownServerParams) WithTimeout ¶
func (o *ShutdownServerParams) WithTimeout(timeout time.Duration) *ShutdownServerParams
WithTimeout adds the timeout to the shutdown server params
func (*ShutdownServerParams) WriteToRequest ¶
func (o *ShutdownServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ShutdownServerReader ¶
type ShutdownServerReader struct {
// contains filtered or unexported fields
}
ShutdownServerReader is a Reader for the ShutdownServer structure.
func (*ShutdownServerReader) ReadResponse ¶
func (o *ShutdownServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ShutdownServerUnauthorized ¶
type ShutdownServerUnauthorized struct {
}ShutdownServerUnauthorized handles this case with default header values.
Unauthorized
func NewShutdownServerUnauthorized ¶
func NewShutdownServerUnauthorized() *ShutdownServerUnauthorized
NewShutdownServerUnauthorized creates a ShutdownServerUnauthorized with default headers values
func (*ShutdownServerUnauthorized) Error ¶
func (o *ShutdownServerUnauthorized) Error() string
func (*ShutdownServerUnauthorized) GetPayload ¶
func (o *ShutdownServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
func (*ShutdownServerUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *ShutdownServerUnauthorized) ToJSONString() string
Source Files ¶
- deregister_local_server_parameters.go
- deregister_local_server_responses.go
- get_server_session_parameters.go
- get_server_session_responses.go
- get_server_session_timeout_parameters.go
- get_server_session_timeout_responses.go
- list_server_client_parameters.go
- list_server_client_responses.go
- register_local_server_parameters.go
- register_local_server_responses.go
- register_server_parameters.go
- register_server_responses.go
- server_client.go
- server_heartbeat_parameters.go
- server_heartbeat_responses.go
- shutdown_server_parameters.go
- shutdown_server_responses.go