Documentation
¶
Index ¶
- type Client
- func (a *Client) ListAllTerminatedServers(params *ListAllTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllTerminatedServersOK, *ListAllTerminatedServersBadRequest, ...)
- func (a *Client) ListAllTerminatedServersShort(params *ListAllTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllTerminatedServersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ListAllTerminatedServersBadRequest
- type ListAllTerminatedServersInternalServerError
- type ListAllTerminatedServersOK
- type ListAllTerminatedServersParams
- func NewListAllTerminatedServersParams() *ListAllTerminatedServersParams
- func NewListAllTerminatedServersParamsWithContext(ctx context.Context) *ListAllTerminatedServersParams
- func NewListAllTerminatedServersParamsWithHTTPClient(client *http.Client) *ListAllTerminatedServersParams
- func NewListAllTerminatedServersParamsWithTimeout(timeout time.Duration) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) SetContext(ctx context.Context)
- func (o *ListAllTerminatedServersParams) SetDeployment(deployment *string)
- func (o *ListAllTerminatedServersParams) SetGameMode(gameMode *string)
- func (o *ListAllTerminatedServersParams) SetHTTPClient(client *http.Client)
- func (o *ListAllTerminatedServersParams) SetLimit(limit *int64)
- func (o *ListAllTerminatedServersParams) SetNamespace(namespace *string)
- func (o *ListAllTerminatedServersParams) SetOffset(offset *int64)
- func (o *ListAllTerminatedServersParams) SetPartyID(partyID *string)
- func (o *ListAllTerminatedServersParams) SetPodName(podName *string)
- func (o *ListAllTerminatedServersParams) SetProvider(provider *string)
- func (o *ListAllTerminatedServersParams) SetRegion(region *string)
- func (o *ListAllTerminatedServersParams) SetSessionID(sessionID *string)
- func (o *ListAllTerminatedServersParams) SetTimeout(timeout time.Duration)
- func (o *ListAllTerminatedServersParams) SetUserID(userID *string)
- func (o *ListAllTerminatedServersParams) WithContext(ctx context.Context) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithDeployment(deployment *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithGameMode(gameMode *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithHTTPClient(client *http.Client) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithLimit(limit *int64) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithNamespace(namespace *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithOffset(offset *int64) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithPartyID(partyID *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithPodName(podName *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithProvider(provider *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithRegion(region *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithSessionID(sessionID *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithTimeout(timeout time.Duration) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WithUserID(userID *string) *ListAllTerminatedServersParams
- func (o *ListAllTerminatedServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAllTerminatedServersReader
- type ListAllTerminatedServersUnauthorized
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 all terminated servers API
func (*Client) ListAllTerminatedServers ¶
func (a *Client) ListAllTerminatedServers(params *ListAllTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllTerminatedServersOK, *ListAllTerminatedServersBadRequest, *ListAllTerminatedServersUnauthorized, *ListAllTerminatedServersInternalServerError, error)
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 ¶
type ClientService interface { ListAllTerminatedServers(params *ListAllTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllTerminatedServersOK, *ListAllTerminatedServersBadRequest, *ListAllTerminatedServersUnauthorized, *ListAllTerminatedServersInternalServerError, error) ListAllTerminatedServersShort(params *ListAllTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllTerminatedServersOK, 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 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 (o *ListAllTerminatedServersBadRequest) Error() string
func (*ListAllTerminatedServersBadRequest) GetPayload ¶
func (o *ListAllTerminatedServersBadRequest) GetPayload() *dslogmanagerclientmodels.ResponseError
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 (o *ListAllTerminatedServersInternalServerError) Error() string
func (*ListAllTerminatedServersInternalServerError) GetPayload ¶
func (o *ListAllTerminatedServersInternalServerError) GetPayload() *dslogmanagerclientmodels.ResponseError
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 (o *ListAllTerminatedServersOK) Error() string
func (*ListAllTerminatedServersOK) GetPayload ¶
func (o *ListAllTerminatedServersOK) GetPayload() *dslogmanagerclientmodels.ModelsListTerminatedServersResponse
type ListAllTerminatedServersParams ¶
type ListAllTerminatedServersParams struct { /*Deployment deployment of the game */ Deployment *string /*GameMode game mode of the game */ GameMode *string /*Limit limit */ Limit *int64 /*Namespace namespace of the server */ Namespace *string /*Offset offset */ Offset *int64 /*PartyID ID of the party */ PartyID *string /*PodName pod name of the server */ PodName *string /*Provider provider of the server */ Provider *string /*Region region of the server */ Region *string /*SessionID session id of the game */ SessionID *string /*UserID ID of the user */ UserID *string 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) 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) 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) 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) SetOffset ¶
func (o *ListAllTerminatedServersParams) SetOffset(offset *int64)
SetOffset adds the offset 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) 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) 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 ¶
func (o *ListAllTerminatedServersParams) WithContext(ctx context.Context) *ListAllTerminatedServersParams
WithContext adds the context to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithDeployment ¶
func (o *ListAllTerminatedServersParams) WithDeployment(deployment *string) *ListAllTerminatedServersParams
WithDeployment adds the deployment to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithGameMode ¶
func (o *ListAllTerminatedServersParams) WithGameMode(gameMode *string) *ListAllTerminatedServersParams
WithGameMode adds the gameMode to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithHTTPClient ¶
func (o *ListAllTerminatedServersParams) WithHTTPClient(client *http.Client) *ListAllTerminatedServersParams
WithHTTPClient adds the HTTPClient to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithLimit ¶
func (o *ListAllTerminatedServersParams) WithLimit(limit *int64) *ListAllTerminatedServersParams
WithLimit adds the limit to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithNamespace ¶
func (o *ListAllTerminatedServersParams) WithNamespace(namespace *string) *ListAllTerminatedServersParams
WithNamespace adds the namespace to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithOffset ¶
func (o *ListAllTerminatedServersParams) WithOffset(offset *int64) *ListAllTerminatedServersParams
WithOffset adds the offset to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithPartyID ¶
func (o *ListAllTerminatedServersParams) WithPartyID(partyID *string) *ListAllTerminatedServersParams
WithPartyID adds the partyID to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithPodName ¶
func (o *ListAllTerminatedServersParams) WithPodName(podName *string) *ListAllTerminatedServersParams
WithPodName adds the podName to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithProvider ¶
func (o *ListAllTerminatedServersParams) WithProvider(provider *string) *ListAllTerminatedServersParams
WithProvider adds the provider to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithRegion ¶
func (o *ListAllTerminatedServersParams) WithRegion(region *string) *ListAllTerminatedServersParams
WithRegion adds the region to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithSessionID ¶
func (o *ListAllTerminatedServersParams) WithSessionID(sessionID *string) *ListAllTerminatedServersParams
WithSessionID adds the sessionID to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithTimeout ¶
func (o *ListAllTerminatedServersParams) WithTimeout(timeout time.Duration) *ListAllTerminatedServersParams
WithTimeout adds the timeout to the list all terminated servers params
func (*ListAllTerminatedServersParams) WithUserID ¶
func (o *ListAllTerminatedServersParams) WithUserID(userID *string) *ListAllTerminatedServersParams
WithUserID adds the userID to the list all terminated servers params
func (*ListAllTerminatedServersParams) WriteToRequest ¶
func (o *ListAllTerminatedServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListAllTerminatedServersUnauthorized) Error() string
func (*ListAllTerminatedServersUnauthorized) GetPayload ¶
func (o *ListAllTerminatedServersUnauthorized) GetPayload() *dslogmanagerclientmodels.ResponseError