admin

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for admin API

func (*Client) CountServer

CountServer counts all managed servers

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint counts all of dedicated servers in a namespace managed by this service.

func (*Client) CountServerDetailed

CountServerDetailed gets detailed count of managed servers in a region

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint counts all of dedicated servers in a region managed by this service.

func (*Client) CountServerDetailedShort added in v0.8.0

func (a *Client) CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error)

func (*Client) CountServerShort added in v0.8.0

func (a *Client) CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error)

func (*Client) CountSession

CountSession counts all sessions

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [READ]

Required scope: social

This endpoint count all of sessions in a namespace managed by this service.

func (*Client) CountSessionShort added in v0.8.0

func (a *Client) CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error)

func (*Client) DeleteLocalServer

DeleteLocalServer deletes a local server

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE]

Required scope: social

This endpoint deletes a specified local dedicated server from DB. Note that DSM has no ability to shutdown local DS.

func (*Client) DeleteLocalServerShort added in v0.8.0

func (a *Client) DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error)

func (*Client) DeleteServer

DeleteServer deletes a server in a region

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE]

Required scope: social

This endpoint deletes a specified dedicated server from DB and terminates the DS pod.

func (*Client) DeleteServerShort added in v0.8.0

func (a *Client) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)

func (*Client) DeleteSession

DeleteSession deletes a session in a region

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [DELETE]

Required scope: social

This endpoint deletes a specified session and its corresponding match result from DB.

func (*Client) DeleteSessionShort added in v0.8.0

func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, error)

func (*Client) GetServer

GetServer queries a server in a region

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint queries a specified dedicated server from DB.

func (*Client) GetServerLogs

GetServerLogs queries server logs

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint queries a specified dedicated server's logs.

func (*Client) GetServerLogsShort added in v0.8.0

func (a *Client) GetServerLogsShort(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, error)

func (*Client) GetServerShort added in v0.8.0

func (a *Client) GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error)

func (*Client) ListLocalServer

ListLocalServer lists all managed local servers

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint lists all of local dedicated servers in a namespace managed by this service.

func (*Client) ListLocalServerShort added in v0.8.0

func (a *Client) ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error)

func (*Client) ListServer

ListServer lists all managed servers in a region

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]

Required scope: social

This endpoint lists all of dedicated servers in a namespace managed by this service.

func (*Client) ListServerShort added in v0.8.0

func (a *Client) ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error)

func (*Client) ListSession

ListSession lists all managed sessions in a region

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [READ]

Required scope: social

This endpoint lists all of sessions in a namespace managed by this service.

func (*Client) ListSessionShort added in v0.8.0

func (a *Client) ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	CountServer(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, *CountServerUnauthorized, *CountServerInternalServerError, error)
	CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error)
	CountServerDetailed(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, *CountServerDetailedUnauthorized, *CountServerDetailedInternalServerError, error)
	CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error)
	CountSession(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, *CountSessionUnauthorized, *CountSessionInternalServerError, error)
	CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error)
	DeleteLocalServer(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, *DeleteLocalServerUnauthorized, *DeleteLocalServerInternalServerError, error)
	DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error)
	DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerUnauthorized, *DeleteServerNotFound, *DeleteServerInternalServerError, error)
	DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)
	DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, *DeleteSessionUnauthorized, *DeleteSessionInternalServerError, error)
	DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, error)
	GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, *GetServerUnauthorized, *GetServerNotFound, *GetServerInternalServerError, error)
	GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error)
	ListLocalServer(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, *ListLocalServerUnauthorized, *ListLocalServerInternalServerError, error)
	ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error)
	ListServer(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, *ListServerUnauthorized, *ListServerInternalServerError, error)
	ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error)
	ListSession(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, *ListSessionUnauthorized, *ListSessionInternalServerError, error)
	ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error)
	GetServerLogs(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, *GetServerLogsBadRequest, *GetServerLogsUnauthorized, *GetServerLogsNotFound, *GetServerLogsInternalServerError, error)
	GetServerLogsShort(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, 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 admin API client.

type CountServerDetailedInternalServerError

type CountServerDetailedInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerDetailedInternalServerError handles this case with default header values.

Internal Server Error

func NewCountServerDetailedInternalServerError

func NewCountServerDetailedInternalServerError() *CountServerDetailedInternalServerError

NewCountServerDetailedInternalServerError creates a CountServerDetailedInternalServerError with default headers values

func (*CountServerDetailedInternalServerError) Error

func (*CountServerDetailedInternalServerError) GetPayload

type CountServerDetailedOK

type CountServerDetailedOK struct {
	Payload *dsmcclientmodels.ModelsDetailedCountServerResponse
}

CountServerDetailedOK handles this case with default header values.

servers listed

func NewCountServerDetailedOK

func NewCountServerDetailedOK() *CountServerDetailedOK

NewCountServerDetailedOK creates a CountServerDetailedOK with default headers values

func (*CountServerDetailedOK) Error

func (o *CountServerDetailedOK) Error() string

func (*CountServerDetailedOK) GetPayload

type CountServerDetailedParams

type CountServerDetailedParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Region
	  region where DS server is located.

	*/
	Region *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CountServerDetailedParams contains all the parameters to send to the API endpoint for the count server detailed operation typically these are written to a http.Request

func NewCountServerDetailedParams

func NewCountServerDetailedParams() *CountServerDetailedParams

NewCountServerDetailedParams creates a new CountServerDetailedParams object with the default values initialized.

func NewCountServerDetailedParamsWithContext

func NewCountServerDetailedParamsWithContext(ctx context.Context) *CountServerDetailedParams

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

func NewCountServerDetailedParamsWithHTTPClient

func NewCountServerDetailedParamsWithHTTPClient(client *http.Client) *CountServerDetailedParams

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

func NewCountServerDetailedParamsWithTimeout

func NewCountServerDetailedParamsWithTimeout(timeout time.Duration) *CountServerDetailedParams

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

func (*CountServerDetailedParams) SetContext

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

SetContext adds the context to the count server detailed params

func (*CountServerDetailedParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count server detailed params

func (*CountServerDetailedParams) SetNamespace

func (o *CountServerDetailedParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the count server detailed params

func (*CountServerDetailedParams) SetRegion

func (o *CountServerDetailedParams) SetRegion(region *string)

SetRegion adds the region to the count server detailed params

func (*CountServerDetailedParams) SetTimeout

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

SetTimeout adds the timeout to the count server detailed params

func (*CountServerDetailedParams) WithContext

WithContext adds the context to the count server detailed params

func (*CountServerDetailedParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the count server detailed params

func (*CountServerDetailedParams) WithNamespace

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

WithNamespace adds the namespace to the count server detailed params

func (*CountServerDetailedParams) WithRegion

WithRegion adds the region to the count server detailed params

func (*CountServerDetailedParams) WithTimeout

WithTimeout adds the timeout to the count server detailed params

func (*CountServerDetailedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CountServerDetailedReader

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

CountServerDetailedReader is a Reader for the CountServerDetailed structure.

func (*CountServerDetailedReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CountServerDetailedUnauthorized

type CountServerDetailedUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerDetailedUnauthorized handles this case with default header values.

Unauthorized

func NewCountServerDetailedUnauthorized

func NewCountServerDetailedUnauthorized() *CountServerDetailedUnauthorized

NewCountServerDetailedUnauthorized creates a CountServerDetailedUnauthorized with default headers values

func (*CountServerDetailedUnauthorized) Error

func (*CountServerDetailedUnauthorized) GetPayload

type CountServerInternalServerError

type CountServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerInternalServerError handles this case with default header values.

Internal Server Error

func NewCountServerInternalServerError

func NewCountServerInternalServerError() *CountServerInternalServerError

NewCountServerInternalServerError creates a CountServerInternalServerError with default headers values

func (*CountServerInternalServerError) Error

func (*CountServerInternalServerError) GetPayload

type CountServerOK

type CountServerOK struct {
	Payload *dsmcclientmodels.ModelsCountServerResponse
}

CountServerOK handles this case with default header values.

servers listed

func NewCountServerOK

func NewCountServerOK() *CountServerOK

NewCountServerOK creates a CountServerOK with default headers values

func (*CountServerOK) Error

func (o *CountServerOK) Error() string

func (*CountServerOK) GetPayload

type CountServerParams

type CountServerParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CountServerParams contains all the parameters to send to the API endpoint for the count server operation typically these are written to a http.Request

func NewCountServerParams

func NewCountServerParams() *CountServerParams

NewCountServerParams creates a new CountServerParams object with the default values initialized.

func NewCountServerParamsWithContext

func NewCountServerParamsWithContext(ctx context.Context) *CountServerParams

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

func NewCountServerParamsWithHTTPClient

func NewCountServerParamsWithHTTPClient(client *http.Client) *CountServerParams

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

func NewCountServerParamsWithTimeout

func NewCountServerParamsWithTimeout(timeout time.Duration) *CountServerParams

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

func (*CountServerParams) SetContext

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

SetContext adds the context to the count server params

func (*CountServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count server params

func (*CountServerParams) SetNamespace

func (o *CountServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the count server params

func (*CountServerParams) SetTimeout

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

SetTimeout adds the timeout to the count server params

func (*CountServerParams) WithContext

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

WithContext adds the context to the count server params

func (*CountServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the count server params

func (*CountServerParams) WithNamespace

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

WithNamespace adds the namespace to the count server params

func (*CountServerParams) WithTimeout

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

WithTimeout adds the timeout to the count server params

func (*CountServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CountServerReader

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

CountServerReader is a Reader for the CountServer structure.

func (*CountServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CountServerUnauthorized

type CountServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CountServerUnauthorized handles this case with default header values.

Unauthorized

func NewCountServerUnauthorized

func NewCountServerUnauthorized() *CountServerUnauthorized

NewCountServerUnauthorized creates a CountServerUnauthorized with default headers values

func (*CountServerUnauthorized) Error

func (o *CountServerUnauthorized) Error() string

func (*CountServerUnauthorized) GetPayload

type CountSessionInternalServerError

type CountSessionInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CountSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewCountSessionInternalServerError

func NewCountSessionInternalServerError() *CountSessionInternalServerError

NewCountSessionInternalServerError creates a CountSessionInternalServerError with default headers values

func (*CountSessionInternalServerError) Error

func (*CountSessionInternalServerError) GetPayload

type CountSessionOK

type CountSessionOK struct {
	Payload *dsmcclientmodels.ModelsCountSessionResponse
}

CountSessionOK handles this case with default header values.

sessions listed

func NewCountSessionOK

func NewCountSessionOK() *CountSessionOK

NewCountSessionOK creates a CountSessionOK with default headers values

func (*CountSessionOK) Error

func (o *CountSessionOK) Error() string

func (*CountSessionOK) GetPayload

type CountSessionParams

type CountSessionParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Region
	  region where session is located. if not specified it will count all sessions.

	*/
	Region *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CountSessionParams contains all the parameters to send to the API endpoint for the count session operation typically these are written to a http.Request

func NewCountSessionParams

func NewCountSessionParams() *CountSessionParams

NewCountSessionParams creates a new CountSessionParams object with the default values initialized.

func NewCountSessionParamsWithContext

func NewCountSessionParamsWithContext(ctx context.Context) *CountSessionParams

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

func NewCountSessionParamsWithHTTPClient

func NewCountSessionParamsWithHTTPClient(client *http.Client) *CountSessionParams

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

func NewCountSessionParamsWithTimeout

func NewCountSessionParamsWithTimeout(timeout time.Duration) *CountSessionParams

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

func (*CountSessionParams) SetContext

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

SetContext adds the context to the count session params

func (*CountSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the count session params

func (*CountSessionParams) SetNamespace

func (o *CountSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the count session params

func (*CountSessionParams) SetRegion

func (o *CountSessionParams) SetRegion(region *string)

SetRegion adds the region to the count session params

func (*CountSessionParams) SetTimeout

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

SetTimeout adds the timeout to the count session params

func (*CountSessionParams) WithContext

WithContext adds the context to the count session params

func (*CountSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the count session params

func (*CountSessionParams) WithNamespace

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

WithNamespace adds the namespace to the count session params

func (*CountSessionParams) WithRegion

func (o *CountSessionParams) WithRegion(region *string) *CountSessionParams

WithRegion adds the region to the count session params

func (*CountSessionParams) WithTimeout

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

WithTimeout adds the timeout to the count session params

func (*CountSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CountSessionReader

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

CountSessionReader is a Reader for the CountSession structure.

func (*CountSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CountSessionUnauthorized

type CountSessionUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CountSessionUnauthorized handles this case with default header values.

Unauthorized

func NewCountSessionUnauthorized

func NewCountSessionUnauthorized() *CountSessionUnauthorized

NewCountSessionUnauthorized creates a CountSessionUnauthorized with default headers values

func (*CountSessionUnauthorized) Error

func (o *CountSessionUnauthorized) Error() string

func (*CountSessionUnauthorized) GetPayload

type DeleteLocalServerInternalServerError

type DeleteLocalServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteLocalServerInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteLocalServerInternalServerError

func NewDeleteLocalServerInternalServerError() *DeleteLocalServerInternalServerError

NewDeleteLocalServerInternalServerError creates a DeleteLocalServerInternalServerError with default headers values

func (*DeleteLocalServerInternalServerError) Error

func (*DeleteLocalServerInternalServerError) GetPayload

type DeleteLocalServerNoContent

type DeleteLocalServerNoContent struct {
}

DeleteLocalServerNoContent handles this case with default header values.

server deleted

func NewDeleteLocalServerNoContent

func NewDeleteLocalServerNoContent() *DeleteLocalServerNoContent

NewDeleteLocalServerNoContent creates a DeleteLocalServerNoContent with default headers values

func (*DeleteLocalServerNoContent) Error

type DeleteLocalServerParams

type DeleteLocalServerParams struct {

	/*Name
	  name of the DS

	*/
	Name string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteLocalServerParams contains all the parameters to send to the API endpoint for the delete local server operation typically these are written to a http.Request

func NewDeleteLocalServerParams

func NewDeleteLocalServerParams() *DeleteLocalServerParams

NewDeleteLocalServerParams creates a new DeleteLocalServerParams object with the default values initialized.

func NewDeleteLocalServerParamsWithContext

func NewDeleteLocalServerParamsWithContext(ctx context.Context) *DeleteLocalServerParams

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

func NewDeleteLocalServerParamsWithHTTPClient

func NewDeleteLocalServerParamsWithHTTPClient(client *http.Client) *DeleteLocalServerParams

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

func NewDeleteLocalServerParamsWithTimeout

func NewDeleteLocalServerParamsWithTimeout(timeout time.Duration) *DeleteLocalServerParams

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

func (*DeleteLocalServerParams) SetContext

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

SetContext adds the context to the delete local server params

func (*DeleteLocalServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete local server params

func (*DeleteLocalServerParams) SetName

func (o *DeleteLocalServerParams) SetName(name string)

SetName adds the name to the delete local server params

func (*DeleteLocalServerParams) SetNamespace

func (o *DeleteLocalServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete local server params

func (*DeleteLocalServerParams) SetTimeout

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

SetTimeout adds the timeout to the delete local server params

func (*DeleteLocalServerParams) WithContext

WithContext adds the context to the delete local server params

func (*DeleteLocalServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete local server params

func (*DeleteLocalServerParams) WithName

WithName adds the name to the delete local server params

func (*DeleteLocalServerParams) WithNamespace

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

WithNamespace adds the namespace to the delete local server params

func (*DeleteLocalServerParams) WithTimeout

WithTimeout adds the timeout to the delete local server params

func (*DeleteLocalServerParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteLocalServerReader

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

DeleteLocalServerReader is a Reader for the DeleteLocalServer structure.

func (*DeleteLocalServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteLocalServerUnauthorized

type DeleteLocalServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteLocalServerUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteLocalServerUnauthorized

func NewDeleteLocalServerUnauthorized() *DeleteLocalServerUnauthorized

NewDeleteLocalServerUnauthorized creates a DeleteLocalServerUnauthorized with default headers values

func (*DeleteLocalServerUnauthorized) Error

func (*DeleteLocalServerUnauthorized) GetPayload

type DeleteServerInternalServerError

type DeleteServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteServerInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteServerInternalServerError

func NewDeleteServerInternalServerError() *DeleteServerInternalServerError

NewDeleteServerInternalServerError creates a DeleteServerInternalServerError with default headers values

func (*DeleteServerInternalServerError) Error

func (*DeleteServerInternalServerError) GetPayload

type DeleteServerNoContent

type DeleteServerNoContent struct {
}

DeleteServerNoContent handles this case with default header values.

server deleted

func NewDeleteServerNoContent

func NewDeleteServerNoContent() *DeleteServerNoContent

NewDeleteServerNoContent creates a DeleteServerNoContent with default headers values

func (*DeleteServerNoContent) Error

func (o *DeleteServerNoContent) Error() string

type DeleteServerNotFound

type DeleteServerNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteServerNotFound handles this case with default header values.

server not found

func NewDeleteServerNotFound

func NewDeleteServerNotFound() *DeleteServerNotFound

NewDeleteServerNotFound creates a DeleteServerNotFound with default headers values

func (*DeleteServerNotFound) Error

func (o *DeleteServerNotFound) Error() string

func (*DeleteServerNotFound) GetPayload

type DeleteServerParams

type DeleteServerParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*PodName
	  name of the DS pod

	*/
	PodName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewDeleteServerParams

func NewDeleteServerParams() *DeleteServerParams

NewDeleteServerParams creates a new DeleteServerParams object with the default values initialized.

func NewDeleteServerParamsWithContext

func NewDeleteServerParamsWithContext(ctx context.Context) *DeleteServerParams

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

func NewDeleteServerParamsWithHTTPClient

func NewDeleteServerParamsWithHTTPClient(client *http.Client) *DeleteServerParams

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

func NewDeleteServerParamsWithTimeout

func NewDeleteServerParamsWithTimeout(timeout time.Duration) *DeleteServerParams

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

func (*DeleteServerParams) SetContext

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

SetContext adds the context to the delete server params

func (*DeleteServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete server params

func (*DeleteServerParams) SetNamespace

func (o *DeleteServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete server params

func (*DeleteServerParams) SetPodName

func (o *DeleteServerParams) SetPodName(podName string)

SetPodName adds the podName to the delete server params

func (*DeleteServerParams) SetTimeout

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

SetTimeout adds the timeout to the delete server params

func (*DeleteServerParams) WithContext

WithContext adds the context to the delete server params

func (*DeleteServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete server params

func (*DeleteServerParams) WithNamespace

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

WithNamespace adds the namespace to the delete server params

func (*DeleteServerParams) WithPodName

func (o *DeleteServerParams) WithPodName(podName string) *DeleteServerParams

WithPodName adds the podName to the delete server params

func (*DeleteServerParams) WithTimeout

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

WithTimeout adds the timeout to the delete server params

func (*DeleteServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteServerReader

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

DeleteServerReader is a Reader for the DeleteServer structure.

func (*DeleteServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServerUnauthorized

type DeleteServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteServerUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteServerUnauthorized

func NewDeleteServerUnauthorized() *DeleteServerUnauthorized

NewDeleteServerUnauthorized creates a DeleteServerUnauthorized with default headers values

func (*DeleteServerUnauthorized) Error

func (o *DeleteServerUnauthorized) Error() string

func (*DeleteServerUnauthorized) GetPayload

type DeleteSessionInternalServerError

type DeleteSessionInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteSessionInternalServerError

func NewDeleteSessionInternalServerError() *DeleteSessionInternalServerError

NewDeleteSessionInternalServerError creates a DeleteSessionInternalServerError with default headers values

func (*DeleteSessionInternalServerError) Error

func (*DeleteSessionInternalServerError) GetPayload

type DeleteSessionNoContent

type DeleteSessionNoContent struct {
}

DeleteSessionNoContent handles this case with default header values.

session deleted

func NewDeleteSessionNoContent

func NewDeleteSessionNoContent() *DeleteSessionNoContent

NewDeleteSessionNoContent creates a DeleteSessionNoContent with default headers values

func (*DeleteSessionNoContent) Error

func (o *DeleteSessionNoContent) Error() string

type DeleteSessionParams

type DeleteSessionParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*SessionID
	  session to be deleted

	*/
	SessionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewDeleteSessionParams

func NewDeleteSessionParams() *DeleteSessionParams

NewDeleteSessionParams creates a new DeleteSessionParams object with the default values initialized.

func NewDeleteSessionParamsWithContext

func NewDeleteSessionParamsWithContext(ctx context.Context) *DeleteSessionParams

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

func NewDeleteSessionParamsWithHTTPClient

func NewDeleteSessionParamsWithHTTPClient(client *http.Client) *DeleteSessionParams

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

func NewDeleteSessionParamsWithTimeout

func NewDeleteSessionParamsWithTimeout(timeout time.Duration) *DeleteSessionParams

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

func (*DeleteSessionParams) SetContext

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

SetContext adds the context to the delete session params

func (*DeleteSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) SetNamespace

func (o *DeleteSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete session params

func (*DeleteSessionParams) SetSessionID

func (o *DeleteSessionParams) SetSessionID(sessionID string)

SetSessionID adds the sessionId to the delete session params

func (*DeleteSessionParams) SetTimeout

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

SetTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WithContext

WithContext adds the context to the delete session params

func (*DeleteSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete session params

func (*DeleteSessionParams) WithNamespace

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

WithNamespace adds the namespace to the delete session params

func (*DeleteSessionParams) WithSessionID

func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams

WithSessionID adds the sessionID to the delete session params

func (*DeleteSessionParams) WithTimeout

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

WithTimeout adds the timeout to the delete session params

func (*DeleteSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSessionReader

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

DeleteSessionReader is a Reader for the DeleteSession structure.

func (*DeleteSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSessionUnauthorized

type DeleteSessionUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteSessionUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteSessionUnauthorized

func NewDeleteSessionUnauthorized() *DeleteSessionUnauthorized

NewDeleteSessionUnauthorized creates a DeleteSessionUnauthorized with default headers values

func (*DeleteSessionUnauthorized) Error

func (o *DeleteSessionUnauthorized) Error() string

func (*DeleteSessionUnauthorized) GetPayload

type GetServerInternalServerError

type GetServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerInternalServerError handles this case with default header values.

Internal Server Error

func NewGetServerInternalServerError

func NewGetServerInternalServerError() *GetServerInternalServerError

NewGetServerInternalServerError creates a GetServerInternalServerError with default headers values

func (*GetServerInternalServerError) Error

func (*GetServerInternalServerError) GetPayload

type GetServerLogsBadRequest

type GetServerLogsBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerLogsBadRequest handles this case with default header values.

malformed request

func NewGetServerLogsBadRequest

func NewGetServerLogsBadRequest() *GetServerLogsBadRequest

NewGetServerLogsBadRequest creates a GetServerLogsBadRequest with default headers values

func (*GetServerLogsBadRequest) Error

func (o *GetServerLogsBadRequest) Error() string

func (*GetServerLogsBadRequest) GetPayload

type GetServerLogsInternalServerError

type GetServerLogsInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerLogsInternalServerError handles this case with default header values.

Internal Server Error

func NewGetServerLogsInternalServerError

func NewGetServerLogsInternalServerError() *GetServerLogsInternalServerError

NewGetServerLogsInternalServerError creates a GetServerLogsInternalServerError with default headers values

func (*GetServerLogsInternalServerError) Error

func (*GetServerLogsInternalServerError) GetPayload

type GetServerLogsNotFound

type GetServerLogsNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerLogsNotFound handles this case with default header values.

server not found

func NewGetServerLogsNotFound

func NewGetServerLogsNotFound() *GetServerLogsNotFound

NewGetServerLogsNotFound creates a GetServerLogsNotFound with default headers values

func (*GetServerLogsNotFound) Error

func (o *GetServerLogsNotFound) Error() string

func (*GetServerLogsNotFound) GetPayload

type GetServerLogsOK

type GetServerLogsOK struct {
	Payload *dsmcclientmodels.ModelsServerLogs
}

GetServerLogsOK handles this case with default header values.

server logs queried

func NewGetServerLogsOK

func NewGetServerLogsOK() *GetServerLogsOK

NewGetServerLogsOK creates a GetServerLogsOK with default headers values

func (*GetServerLogsOK) Error

func (o *GetServerLogsOK) Error() string

func (*GetServerLogsOK) GetPayload

type GetServerLogsParams

type GetServerLogsParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*PodName
	  name of the DS pod

	*/
	PodName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetServerLogsParams contains all the parameters to send to the API endpoint for the get server logs operation typically these are written to a http.Request

func NewGetServerLogsParams

func NewGetServerLogsParams() *GetServerLogsParams

NewGetServerLogsParams creates a new GetServerLogsParams object with the default values initialized.

func NewGetServerLogsParamsWithContext

func NewGetServerLogsParamsWithContext(ctx context.Context) *GetServerLogsParams

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

func NewGetServerLogsParamsWithHTTPClient

func NewGetServerLogsParamsWithHTTPClient(client *http.Client) *GetServerLogsParams

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

func NewGetServerLogsParamsWithTimeout

func NewGetServerLogsParamsWithTimeout(timeout time.Duration) *GetServerLogsParams

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

func (*GetServerLogsParams) SetContext

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

SetContext adds the context to the get server logs params

func (*GetServerLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get server logs params

func (*GetServerLogsParams) SetNamespace

func (o *GetServerLogsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get server logs params

func (*GetServerLogsParams) SetPodName

func (o *GetServerLogsParams) SetPodName(podName string)

SetPodName adds the podName to the get server logs params

func (*GetServerLogsParams) SetTimeout

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

SetTimeout adds the timeout to the get server logs params

func (*GetServerLogsParams) WithContext

WithContext adds the context to the get server logs params

func (*GetServerLogsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get server logs params

func (*GetServerLogsParams) WithNamespace

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

WithNamespace adds the namespace to the get server logs params

func (*GetServerLogsParams) WithPodName

func (o *GetServerLogsParams) WithPodName(podName string) *GetServerLogsParams

WithPodName adds the podName to the get server logs params

func (*GetServerLogsParams) WithTimeout

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

WithTimeout adds the timeout to the get server logs params

func (*GetServerLogsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetServerLogsReader

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

GetServerLogsReader is a Reader for the GetServerLogs structure.

func (*GetServerLogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServerLogsUnauthorized

type GetServerLogsUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerLogsUnauthorized handles this case with default header values.

Unauthorized

func NewGetServerLogsUnauthorized

func NewGetServerLogsUnauthorized() *GetServerLogsUnauthorized

NewGetServerLogsUnauthorized creates a GetServerLogsUnauthorized with default headers values

func (*GetServerLogsUnauthorized) Error

func (o *GetServerLogsUnauthorized) Error() string

func (*GetServerLogsUnauthorized) GetPayload

type GetServerNotFound

type GetServerNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerNotFound handles this case with default header values.

server not found

func NewGetServerNotFound

func NewGetServerNotFound() *GetServerNotFound

NewGetServerNotFound creates a GetServerNotFound with default headers values

func (*GetServerNotFound) Error

func (o *GetServerNotFound) Error() string

func (*GetServerNotFound) GetPayload

type GetServerOK

type GetServerOK struct {
	Payload *dsmcclientmodels.ModelsServer
}

GetServerOK handles this case with default header values.

server queried

func NewGetServerOK

func NewGetServerOK() *GetServerOK

NewGetServerOK creates a GetServerOK with default headers values

func (*GetServerOK) Error

func (o *GetServerOK) Error() string

func (*GetServerOK) GetPayload

func (o *GetServerOK) GetPayload() *dsmcclientmodels.ModelsServer

type GetServerParams

type GetServerParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*PodName
	  name of the DS pod

	*/
	PodName string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetServerParams

func NewGetServerParams() *GetServerParams

NewGetServerParams creates a new GetServerParams object with the default values initialized.

func NewGetServerParamsWithContext

func NewGetServerParamsWithContext(ctx context.Context) *GetServerParams

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

func NewGetServerParamsWithHTTPClient

func NewGetServerParamsWithHTTPClient(client *http.Client) *GetServerParams

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

func NewGetServerParamsWithTimeout

func NewGetServerParamsWithTimeout(timeout time.Duration) *GetServerParams

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

func (*GetServerParams) SetContext

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

SetContext adds the context to the get server params

func (*GetServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get server params

func (*GetServerParams) SetNamespace

func (o *GetServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get server params

func (*GetServerParams) SetPodName

func (o *GetServerParams) SetPodName(podName string)

SetPodName adds the podName to the get server params

func (*GetServerParams) SetTimeout

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

SetTimeout adds the timeout to the get server params

func (*GetServerParams) WithContext

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

WithContext adds the context to the get server params

func (*GetServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get server params

func (*GetServerParams) WithNamespace

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

WithNamespace adds the namespace to the get server params

func (*GetServerParams) WithPodName

func (o *GetServerParams) WithPodName(podName string) *GetServerParams

WithPodName adds the podName to the get server params

func (*GetServerParams) WithTimeout

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

WithTimeout adds the timeout to the get server params

func (*GetServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetServerReader

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

GetServerReader is a Reader for the GetServer structure.

func (*GetServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetServerUnauthorized

type GetServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

GetServerUnauthorized handles this case with default header values.

Unauthorized

func NewGetServerUnauthorized

func NewGetServerUnauthorized() *GetServerUnauthorized

NewGetServerUnauthorized creates a GetServerUnauthorized with default headers values

func (*GetServerUnauthorized) Error

func (o *GetServerUnauthorized) Error() string

func (*GetServerUnauthorized) GetPayload

type ListLocalServerInternalServerError

type ListLocalServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListLocalServerInternalServerError handles this case with default header values.

Internal Server Error

func NewListLocalServerInternalServerError

func NewListLocalServerInternalServerError() *ListLocalServerInternalServerError

NewListLocalServerInternalServerError creates a ListLocalServerInternalServerError with default headers values

func (*ListLocalServerInternalServerError) Error

func (*ListLocalServerInternalServerError) GetPayload

type ListLocalServerOK

type ListLocalServerOK struct {
	Payload *dsmcclientmodels.ModelsListServerResponse
}

ListLocalServerOK handles this case with default header values.

servers listed

func NewListLocalServerOK

func NewListLocalServerOK() *ListLocalServerOK

NewListLocalServerOK creates a ListLocalServerOK with default headers values

func (*ListLocalServerOK) Error

func (o *ListLocalServerOK) Error() string

func (*ListLocalServerOK) GetPayload

type ListLocalServerParams

type ListLocalServerParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListLocalServerParams contains all the parameters to send to the API endpoint for the list local server operation typically these are written to a http.Request

func NewListLocalServerParams

func NewListLocalServerParams() *ListLocalServerParams

NewListLocalServerParams creates a new ListLocalServerParams object with the default values initialized.

func NewListLocalServerParamsWithContext

func NewListLocalServerParamsWithContext(ctx context.Context) *ListLocalServerParams

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

func NewListLocalServerParamsWithHTTPClient

func NewListLocalServerParamsWithHTTPClient(client *http.Client) *ListLocalServerParams

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

func NewListLocalServerParamsWithTimeout

func NewListLocalServerParamsWithTimeout(timeout time.Duration) *ListLocalServerParams

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

func (*ListLocalServerParams) SetContext

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

SetContext adds the context to the list local server params

func (*ListLocalServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list local server params

func (*ListLocalServerParams) SetNamespace

func (o *ListLocalServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list local server params

func (*ListLocalServerParams) SetTimeout

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

SetTimeout adds the timeout to the list local server params

func (*ListLocalServerParams) WithContext

WithContext adds the context to the list local server params

func (*ListLocalServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list local server params

func (*ListLocalServerParams) WithNamespace

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

WithNamespace adds the namespace to the list local server params

func (*ListLocalServerParams) WithTimeout

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

WithTimeout adds the timeout to the list local server params

func (*ListLocalServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListLocalServerReader

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

ListLocalServerReader is a Reader for the ListLocalServer structure.

func (*ListLocalServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListLocalServerUnauthorized

type ListLocalServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListLocalServerUnauthorized handles this case with default header values.

Unauthorized

func NewListLocalServerUnauthorized

func NewListLocalServerUnauthorized() *ListLocalServerUnauthorized

NewListLocalServerUnauthorized creates a ListLocalServerUnauthorized with default headers values

func (*ListLocalServerUnauthorized) Error

func (*ListLocalServerUnauthorized) GetPayload

type ListServerInternalServerError

type ListServerInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListServerInternalServerError handles this case with default header values.

Internal Server Error

func NewListServerInternalServerError

func NewListServerInternalServerError() *ListServerInternalServerError

NewListServerInternalServerError creates a ListServerInternalServerError with default headers values

func (*ListServerInternalServerError) Error

func (*ListServerInternalServerError) GetPayload

type ListServerOK

type ListServerOK struct {
	Payload *dsmcclientmodels.ModelsListServerResponse
}

ListServerOK handles this case with default header values.

servers listed

func NewListServerOK

func NewListServerOK() *ListServerOK

NewListServerOK creates a ListServerOK with default headers values

func (*ListServerOK) Error

func (o *ListServerOK) Error() string

func (*ListServerOK) GetPayload

type ListServerParams

type ListServerParams struct {

	/*Count
	  how many items to return, default: 50

	*/
	Count *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset from list to query from

	*/
	Offset *int64
	/*Region
	  region where DS server is located. if not specified it will list all servers.

	*/
	Region *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewListServerParams

func NewListServerParams() *ListServerParams

NewListServerParams creates a new ListServerParams object with the default values initialized.

func NewListServerParamsWithContext

func NewListServerParamsWithContext(ctx context.Context) *ListServerParams

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

func NewListServerParamsWithHTTPClient

func NewListServerParamsWithHTTPClient(client *http.Client) *ListServerParams

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

func NewListServerParamsWithTimeout

func NewListServerParamsWithTimeout(timeout time.Duration) *ListServerParams

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

func (*ListServerParams) SetContext

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

SetContext adds the context to the list server params

func (*ListServerParams) SetCount

func (o *ListServerParams) SetCount(count *int64)

SetCount adds the count to the list server params

func (*ListServerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list server params

func (*ListServerParams) SetNamespace

func (o *ListServerParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list server params

func (*ListServerParams) SetOffset

func (o *ListServerParams) SetOffset(offset *int64)

SetOffset adds the offset to the list server params

func (*ListServerParams) SetRegion

func (o *ListServerParams) SetRegion(region *string)

SetRegion adds the region to the list server params

func (*ListServerParams) SetTimeout

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

SetTimeout adds the timeout to the list server params

func (*ListServerParams) WithContext

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

WithContext adds the context to the list server params

func (*ListServerParams) WithCount

func (o *ListServerParams) WithCount(count *int64) *ListServerParams

WithCount adds the count to the list server params

func (*ListServerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list server params

func (*ListServerParams) WithNamespace

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

WithNamespace adds the namespace to the list server params

func (*ListServerParams) WithOffset

func (o *ListServerParams) WithOffset(offset *int64) *ListServerParams

WithOffset adds the offset to the list server params

func (*ListServerParams) WithRegion

func (o *ListServerParams) WithRegion(region *string) *ListServerParams

WithRegion adds the region to the list server params

func (*ListServerParams) WithTimeout

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

WithTimeout adds the timeout to the list server params

func (*ListServerParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListServerReader

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

ListServerReader is a Reader for the ListServer structure.

func (*ListServerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServerUnauthorized

type ListServerUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListServerUnauthorized handles this case with default header values.

Unauthorized

func NewListServerUnauthorized

func NewListServerUnauthorized() *ListServerUnauthorized

NewListServerUnauthorized creates a ListServerUnauthorized with default headers values

func (*ListServerUnauthorized) Error

func (o *ListServerUnauthorized) Error() string

func (*ListServerUnauthorized) GetPayload

type ListSessionInternalServerError

type ListSessionInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListSessionInternalServerError handles this case with default header values.

Internal Server Error

func NewListSessionInternalServerError

func NewListSessionInternalServerError() *ListSessionInternalServerError

NewListSessionInternalServerError creates a ListSessionInternalServerError with default headers values

func (*ListSessionInternalServerError) Error

func (*ListSessionInternalServerError) GetPayload

type ListSessionOK

type ListSessionOK struct {
	Payload *dsmcclientmodels.ModelsListSessionResponse
}

ListSessionOK handles this case with default header values.

sessions listed

func NewListSessionOK

func NewListSessionOK() *ListSessionOK

NewListSessionOK creates a ListSessionOK with default headers values

func (*ListSessionOK) Error

func (o *ListSessionOK) Error() string

func (*ListSessionOK) GetPayload

type ListSessionParams

type ListSessionParams struct {

	/*Count
	  how many items to return, default: 50

	*/
	Count *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset from list to query from

	*/
	Offset *int64
	/*Region
	  region where session is located. if not specified it will list all sessions.

	*/
	Region *string
	/*WithServer
	  append server info to session or not

	*/
	WithServer *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewListSessionParams

func NewListSessionParams() *ListSessionParams

NewListSessionParams creates a new ListSessionParams object with the default values initialized.

func NewListSessionParamsWithContext

func NewListSessionParamsWithContext(ctx context.Context) *ListSessionParams

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

func NewListSessionParamsWithHTTPClient

func NewListSessionParamsWithHTTPClient(client *http.Client) *ListSessionParams

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

func NewListSessionParamsWithTimeout

func NewListSessionParamsWithTimeout(timeout time.Duration) *ListSessionParams

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

func (*ListSessionParams) SetContext

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

SetContext adds the context to the list session params

func (*ListSessionParams) SetCount

func (o *ListSessionParams) SetCount(count *int64)

SetCount adds the count to the list session params

func (*ListSessionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list session params

func (*ListSessionParams) SetNamespace

func (o *ListSessionParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list session params

func (*ListSessionParams) SetOffset

func (o *ListSessionParams) SetOffset(offset *int64)

SetOffset adds the offset to the list session params

func (*ListSessionParams) SetRegion

func (o *ListSessionParams) SetRegion(region *string)

SetRegion adds the region to the list session params

func (*ListSessionParams) SetTimeout

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

SetTimeout adds the timeout to the list session params

func (*ListSessionParams) SetWithServer

func (o *ListSessionParams) SetWithServer(withServer *bool)

SetWithServer adds the withServer to the list session params

func (*ListSessionParams) WithContext

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

WithContext adds the context to the list session params

func (*ListSessionParams) WithCount

func (o *ListSessionParams) WithCount(count *int64) *ListSessionParams

WithCount adds the count to the list session params

func (*ListSessionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list session params

func (*ListSessionParams) WithNamespace

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

WithNamespace adds the namespace to the list session params

func (*ListSessionParams) WithOffset

func (o *ListSessionParams) WithOffset(offset *int64) *ListSessionParams

WithOffset adds the offset to the list session params

func (*ListSessionParams) WithRegion

func (o *ListSessionParams) WithRegion(region *string) *ListSessionParams

WithRegion adds the region to the list session params

func (*ListSessionParams) WithTimeout

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

WithTimeout adds the timeout to the list session params

func (*ListSessionParams) WithWithServer

func (o *ListSessionParams) WithWithServer(withServer *bool) *ListSessionParams

WithWithServer adds the withServer to the list session params

func (*ListSessionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListSessionReader

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

ListSessionReader is a Reader for the ListSession structure.

func (*ListSessionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListSessionUnauthorized

type ListSessionUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListSessionUnauthorized handles this case with default header values.

Unauthorized

func NewListSessionUnauthorized

func NewListSessionUnauthorized() *ListSessionUnauthorized

NewListSessionUnauthorized creates a ListSessionUnauthorized with default headers values

func (*ListSessionUnauthorized) Error

func (o *ListSessionUnauthorized) Error() string

func (*ListSessionUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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