all_terminated_servers

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDownloadServerLogsBadRequest added in v0.9.0

type BatchDownloadServerLogsBadRequest struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

BatchDownloadServerLogsBadRequest handles this case with default header values.

Bad Request

func NewBatchDownloadServerLogsBadRequest added in v0.9.0

func NewBatchDownloadServerLogsBadRequest() *BatchDownloadServerLogsBadRequest

NewBatchDownloadServerLogsBadRequest creates a BatchDownloadServerLogsBadRequest with default headers values

func (*BatchDownloadServerLogsBadRequest) Error added in v0.9.0

func (*BatchDownloadServerLogsBadRequest) GetPayload added in v0.9.0

type BatchDownloadServerLogsInternalServerError added in v0.9.0

type BatchDownloadServerLogsInternalServerError struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

BatchDownloadServerLogsInternalServerError handles this case with default header values.

Internal Server Error

func NewBatchDownloadServerLogsInternalServerError added in v0.9.0

func NewBatchDownloadServerLogsInternalServerError() *BatchDownloadServerLogsInternalServerError

NewBatchDownloadServerLogsInternalServerError creates a BatchDownloadServerLogsInternalServerError with default headers values

func (*BatchDownloadServerLogsInternalServerError) Error added in v0.9.0

func (*BatchDownloadServerLogsInternalServerError) GetPayload added in v0.9.0

type BatchDownloadServerLogsOK added in v0.9.0

type BatchDownloadServerLogsOK struct {
}

BatchDownloadServerLogsOK handles this case with default header values.

server logs downloaded.

func NewBatchDownloadServerLogsOK added in v0.9.0

func NewBatchDownloadServerLogsOK() *BatchDownloadServerLogsOK

NewBatchDownloadServerLogsOK creates a BatchDownloadServerLogsOK with default headers values

func (*BatchDownloadServerLogsOK) Error added in v0.9.0

func (o *BatchDownloadServerLogsOK) Error() string

type BatchDownloadServerLogsParams added in v0.9.0

type BatchDownloadServerLogsParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *dslogmanagerclientmodels.ModelsBatchDownloadLogsRequest

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

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

func NewBatchDownloadServerLogsParams added in v0.9.0

func NewBatchDownloadServerLogsParams() *BatchDownloadServerLogsParams

NewBatchDownloadServerLogsParams creates a new BatchDownloadServerLogsParams object with the default values initialized.

func NewBatchDownloadServerLogsParamsWithContext added in v0.9.0

func NewBatchDownloadServerLogsParamsWithContext(ctx context.Context) *BatchDownloadServerLogsParams

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

func NewBatchDownloadServerLogsParamsWithHTTPClient added in v0.9.0

func NewBatchDownloadServerLogsParamsWithHTTPClient(client *http.Client) *BatchDownloadServerLogsParams

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

func NewBatchDownloadServerLogsParamsWithTimeout added in v0.9.0

func NewBatchDownloadServerLogsParamsWithTimeout(timeout time.Duration) *BatchDownloadServerLogsParams

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

func (*BatchDownloadServerLogsParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetBody added in v0.9.0

SetBody adds the body to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetContext added in v0.9.0

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

SetContext adds the context to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetHTTPClient added in v0.9.0

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

SetHTTPClient adds the HTTPClient to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetTimeout added in v0.9.0

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

SetTimeout adds the timeout to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithBody added in v0.9.0

WithBody adds the body to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithContext added in v0.9.0

WithContext adds the context to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithHTTPClient added in v0.9.0

WithHTTPClient adds the HTTPClient to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithTimeout added in v0.9.0

WithTimeout adds the timeout to the batch download server logs params

func (*BatchDownloadServerLogsParams) WriteToRequest added in v0.9.0

WriteToRequest writes these params to a swagger request

type BatchDownloadServerLogsReader added in v0.9.0

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

BatchDownloadServerLogsReader is a Reader for the BatchDownloadServerLogs structure.

func (*BatchDownloadServerLogsReader) ReadResponse added in v0.9.0

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

ReadResponse reads a server response into the received o.

type Client

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

Client for all terminated servers API

func (*Client) BatchDownloadServerLogs added in v0.9.0

BatchDownloadServerLogs batches download dedicated server log files

Required permission: ADMIN:NAMESPACE:{namespace}:DSLM:LOG [READ]

Required scope: social

This endpoint will download dedicated server's log file (.zip).

func (*Client) BatchDownloadServerLogsShort added in v0.9.0

func (a *Client) BatchDownloadServerLogsShort(params *BatchDownloadServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*BatchDownloadServerLogsOK, error)

func (*Client) ListAllTerminatedServers

ListAllTerminatedServers retrieves all terminated servers

```

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

This endpoint used to retrieve terminated servers in all namespace ```

func (*Client) ListAllTerminatedServersShort added in v0.8.0

func (a *Client) ListAllTerminatedServersShort(params *ListAllTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllTerminatedServersOK, error)

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new all terminated servers API client.

type ListAllTerminatedServersBadRequest

type ListAllTerminatedServersBadRequest struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

ListAllTerminatedServersBadRequest handles this case with default header values.

Bad Request

func NewListAllTerminatedServersBadRequest

func NewListAllTerminatedServersBadRequest() *ListAllTerminatedServersBadRequest

NewListAllTerminatedServersBadRequest creates a ListAllTerminatedServersBadRequest with default headers values

func (*ListAllTerminatedServersBadRequest) Error

func (*ListAllTerminatedServersBadRequest) GetPayload

type ListAllTerminatedServersInternalServerError

type ListAllTerminatedServersInternalServerError struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

ListAllTerminatedServersInternalServerError handles this case with default header values.

Internal Server Error

func NewListAllTerminatedServersInternalServerError

func NewListAllTerminatedServersInternalServerError() *ListAllTerminatedServersInternalServerError

NewListAllTerminatedServersInternalServerError creates a ListAllTerminatedServersInternalServerError with default headers values

func (*ListAllTerminatedServersInternalServerError) Error

func (*ListAllTerminatedServersInternalServerError) GetPayload

type ListAllTerminatedServersOK

type ListAllTerminatedServersOK struct {
	Payload *dslogmanagerclientmodels.ModelsListTerminatedServersResponse
}

ListAllTerminatedServersOK handles this case with default header values.

OK

func NewListAllTerminatedServersOK

func NewListAllTerminatedServersOK() *ListAllTerminatedServersOK

NewListAllTerminatedServersOK creates a ListAllTerminatedServersOK with default headers values

func (*ListAllTerminatedServersOK) Error

func (*ListAllTerminatedServersOK) GetPayload

type ListAllTerminatedServersParams

type ListAllTerminatedServersParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Deployment
	  deployment of the game

	*/
	Deployment *string
	/*EndDate
	  end date on last update of the game RFC 3339

	*/
	EndDate *string
	/*GameMode
	  game mode of the game

	*/
	GameMode *string
	/*Limit
	  limit

	*/
	Limit *int64
	/*Namespace
	  namespace of the server

	*/
	Namespace *string
	/*Next
	  next

	*/
	Next *string
	/*PartyID
	  ID of the party

	*/
	PartyID *string
	/*PodName
	  pod name of the server

	*/
	PodName *string
	/*Previous
	  previous

	*/
	Previous *string
	/*Provider
	  provider of the server

	*/
	Provider *string
	/*Region
	  region of the server

	*/
	Region *string
	/*SessionID
	  session id of the game

	*/
	SessionID *string
	/*StartDate
	  start date on last update of the game RFC 3339

	*/
	StartDate *string
	/*Status
	  last status of the server

	*/
	Status *string
	/*UserID
	  ID of the user

	*/
	UserID *string

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

ListAllTerminatedServersParams contains all the parameters to send to the API endpoint for the list all terminated servers operation typically these are written to a http.Request

func NewListAllTerminatedServersParams

func NewListAllTerminatedServersParams() *ListAllTerminatedServersParams

NewListAllTerminatedServersParams creates a new ListAllTerminatedServersParams object with the default values initialized.

func NewListAllTerminatedServersParamsWithContext

func NewListAllTerminatedServersParamsWithContext(ctx context.Context) *ListAllTerminatedServersParams

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

func NewListAllTerminatedServersParamsWithHTTPClient

func NewListAllTerminatedServersParamsWithHTTPClient(client *http.Client) *ListAllTerminatedServersParams

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

func NewListAllTerminatedServersParamsWithTimeout

func NewListAllTerminatedServersParamsWithTimeout(timeout time.Duration) *ListAllTerminatedServersParams

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

func (*ListAllTerminatedServersParams) SetAuthInfoWriter added in v0.17.0

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

SetAuthInfoWriter adds the authInfoWriter to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetContext

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

SetContext adds the context to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetDeployment

func (o *ListAllTerminatedServersParams) SetDeployment(deployment *string)

SetDeployment adds the deployment to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetEndDate added in v0.9.0

func (o *ListAllTerminatedServersParams) SetEndDate(endDate *string)

SetEndDate adds the endDate to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetGameMode

func (o *ListAllTerminatedServersParams) SetGameMode(gameMode *string)

SetGameMode adds the gameMode to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetHTTPClientTransport added in v0.19.0

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

SetHTTPClient adds the HTTPClient Transport to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetLimit

func (o *ListAllTerminatedServersParams) SetLimit(limit *int64)

SetLimit adds the limit to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetNamespace

func (o *ListAllTerminatedServersParams) SetNamespace(namespace *string)

SetNamespace adds the namespace to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetNext added in v0.9.0

func (o *ListAllTerminatedServersParams) SetNext(next *string)

SetNext adds the next to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetPartyID

func (o *ListAllTerminatedServersParams) SetPartyID(partyID *string)

SetPartyID adds the partyId to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetPodName

func (o *ListAllTerminatedServersParams) SetPodName(podName *string)

SetPodName adds the podName to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetPrevious added in v0.9.0

func (o *ListAllTerminatedServersParams) SetPrevious(previous *string)

SetPrevious adds the previous to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetProvider

func (o *ListAllTerminatedServersParams) SetProvider(provider *string)

SetProvider adds the provider to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetRegion

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

SetRegion adds the region to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetSessionID

func (o *ListAllTerminatedServersParams) SetSessionID(sessionID *string)

SetSessionID adds the sessionId to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetStartDate added in v0.9.0

func (o *ListAllTerminatedServersParams) SetStartDate(startDate *string)

SetStartDate adds the startDate to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetStatus added in v0.22.0

func (o *ListAllTerminatedServersParams) SetStatus(status *string)

SetStatus adds the status to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetTimeout

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

SetTimeout adds the timeout to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetUserID

func (o *ListAllTerminatedServersParams) SetUserID(userID *string)

SetUserID adds the userId to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithContext

WithContext adds the context to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithDeployment

WithDeployment adds the deployment to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithEndDate added in v0.9.0

WithEndDate adds the endDate to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithGameMode

WithGameMode adds the gameMode to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithLimit

WithLimit adds the limit to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithNamespace

WithNamespace adds the namespace to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithNext added in v0.9.0

WithNext adds the next to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithPartyID

WithPartyID adds the partyID to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithPodName

WithPodName adds the podName to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithPrevious added in v0.9.0

WithPrevious adds the previous to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithProvider

WithProvider adds the provider to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithRegion

WithRegion adds the region to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithSessionID

WithSessionID adds the sessionID to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithStartDate added in v0.9.0

WithStartDate adds the startDate to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithStatus added in v0.22.0

WithStatus adds the status to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithTimeout

WithTimeout adds the timeout to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithUserID

WithUserID adds the userID to the list all terminated servers params

func (*ListAllTerminatedServersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListAllTerminatedServersReader

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

ListAllTerminatedServersReader is a Reader for the ListAllTerminatedServers structure.

func (*ListAllTerminatedServersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListAllTerminatedServersUnauthorized

type ListAllTerminatedServersUnauthorized struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

ListAllTerminatedServersUnauthorized handles this case with default header values.

Unauthorized

func NewListAllTerminatedServersUnauthorized

func NewListAllTerminatedServersUnauthorized() *ListAllTerminatedServersUnauthorized

NewListAllTerminatedServersUnauthorized creates a ListAllTerminatedServersUnauthorized with default headers values

func (*ListAllTerminatedServersUnauthorized) Error

func (*ListAllTerminatedServersUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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