all_terminated_servers

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDownloadServerLogsBadRequest

type BatchDownloadServerLogsBadRequest struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

BatchDownloadServerLogsBadRequest handles this case with default header values.

Bad Request

func NewBatchDownloadServerLogsBadRequest

func NewBatchDownloadServerLogsBadRequest() *BatchDownloadServerLogsBadRequest

NewBatchDownloadServerLogsBadRequest creates a BatchDownloadServerLogsBadRequest with default headers values

func (*BatchDownloadServerLogsBadRequest) Error

func (*BatchDownloadServerLogsBadRequest) GetPayload

func (*BatchDownloadServerLogsBadRequest) ToJSONString

func (o *BatchDownloadServerLogsBadRequest) ToJSONString() string

type BatchDownloadServerLogsInternalServerError

type BatchDownloadServerLogsInternalServerError struct {
	Payload *dslogmanagerclientmodels.ResponseError
}

BatchDownloadServerLogsInternalServerError handles this case with default header values.

Internal Server Error

func NewBatchDownloadServerLogsInternalServerError

func NewBatchDownloadServerLogsInternalServerError() *BatchDownloadServerLogsInternalServerError

NewBatchDownloadServerLogsInternalServerError creates a BatchDownloadServerLogsInternalServerError with default headers values

func (*BatchDownloadServerLogsInternalServerError) Error

func (*BatchDownloadServerLogsInternalServerError) GetPayload

func (*BatchDownloadServerLogsInternalServerError) ToJSONString

type BatchDownloadServerLogsOK

type BatchDownloadServerLogsOK struct {
	Payload io.Writer
}

BatchDownloadServerLogsOK handles this case with default header values.

server logs downloaded.

func NewBatchDownloadServerLogsOK

func NewBatchDownloadServerLogsOK(writer io.Writer) *BatchDownloadServerLogsOK

NewBatchDownloadServerLogsOK creates a BatchDownloadServerLogsOK with default headers values

func (*BatchDownloadServerLogsOK) Error

func (o *BatchDownloadServerLogsOK) Error() string

func (*BatchDownloadServerLogsOK) GetPayload

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

func (*BatchDownloadServerLogsOK) ToJSONString

func (o *BatchDownloadServerLogsOK) ToJSONString() string

type BatchDownloadServerLogsParams

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

func NewBatchDownloadServerLogsParams() *BatchDownloadServerLogsParams

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

func NewBatchDownloadServerLogsParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetBody

SetBody adds the body to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetContext

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

SetContext adds the context to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the batch download server logs params

func (*BatchDownloadServerLogsParams) SetHTTPClientTransport

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

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

func (*BatchDownloadServerLogsParams) SetTimeout

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

SetTimeout adds the timeout to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithBody

WithBody adds the body to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithContext

WithContext adds the context to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the batch download server logs params

func (*BatchDownloadServerLogsParams) WithTimeout

WithTimeout adds the timeout to the batch download server logs params

func (*BatchDownloadServerLogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type BatchDownloadServerLogsReader

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

BatchDownloadServerLogsReader is a Reader for the BatchDownloadServerLogs structure.

func (*BatchDownloadServerLogsReader) ReadResponse

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 deprecated

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

BatchDownloadServerLogs batch 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

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

BatchDownloadServerLogsShort batch 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) ListAllTerminatedServers deprecated

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

ListAllTerminatedServers retrieve all terminated servers ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSLM:SERVER [READ]

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

func (*Client) ListAllTerminatedServersShort

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

ListAllTerminatedServersShort retrieve all terminated servers ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSLM:SERVER [READ]

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

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

func (*ListAllTerminatedServersBadRequest) ToJSONString

func (o *ListAllTerminatedServersBadRequest) ToJSONString() string

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

func (*ListAllTerminatedServersInternalServerError) ToJSONString

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

func (*ListAllTerminatedServersOK) ToJSONString

func (o *ListAllTerminatedServersOK) ToJSONString() string

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

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

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

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

func (o *ListAllTerminatedServersParams) SetNext(nextVar *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

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

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

SetStartDate adds the startDate to the list all terminated servers params

func (*ListAllTerminatedServersParams) SetStatus

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

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

WithNext adds the nextVar 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

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

WithStartDate adds the startDate to the list all terminated servers params

func (*ListAllTerminatedServersParams) WithStatus

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

func (*ListAllTerminatedServersUnauthorized) ToJSONString

func (o *ListAllTerminatedServersUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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