Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListTerminatedServersBadRequest
- type ListTerminatedServersInternalServerError
- type ListTerminatedServersOK
- type ListTerminatedServersParams
- func NewListTerminatedServersParams() *ListTerminatedServersParams
- func NewListTerminatedServersParamsWithContext(ctx context.Context) *ListTerminatedServersParams
- func NewListTerminatedServersParamsWithHTTPClient(client *http.Client) *ListTerminatedServersParams
- func NewListTerminatedServersParamsWithTimeout(timeout time.Duration) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) SetContext(ctx context.Context)
- func (o *ListTerminatedServersParams) SetDeployment(deployment *string)
- func (o *ListTerminatedServersParams) SetGameMode(gameMode *string)
- func (o *ListTerminatedServersParams) SetHTTPClient(client *http.Client)
- func (o *ListTerminatedServersParams) SetLimit(limit *int64)
- func (o *ListTerminatedServersParams) SetNamespace(namespace string)
- func (o *ListTerminatedServersParams) SetOffset(offset *int64)
- func (o *ListTerminatedServersParams) SetPartyID(partyID *string)
- func (o *ListTerminatedServersParams) SetPodName(podName *string)
- func (o *ListTerminatedServersParams) SetProvider(provider *string)
- func (o *ListTerminatedServersParams) SetRegion(region *string)
- func (o *ListTerminatedServersParams) SetSessionID(sessionID *string)
- func (o *ListTerminatedServersParams) SetTimeout(timeout time.Duration)
- func (o *ListTerminatedServersParams) SetUserID(userID *string)
- func (o *ListTerminatedServersParams) WithContext(ctx context.Context) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithDeployment(deployment *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithGameMode(gameMode *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithHTTPClient(client *http.Client) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithLimit(limit *int64) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithNamespace(namespace string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithOffset(offset *int64) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithPartyID(partyID *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithPodName(podName *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithProvider(provider *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithRegion(region *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithSessionID(sessionID *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithTimeout(timeout time.Duration) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithUserID(userID *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListTerminatedServersReader
- type ListTerminatedServersUnauthorized
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 terminated servers API
func (*Client) ListTerminatedServers ¶
func (a *Client) ListTerminatedServers(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, *ListTerminatedServersBadRequest, *ListTerminatedServersUnauthorized, *ListTerminatedServersInternalServerError, error)
ListTerminatedServers retrieves all terminated servers ```
Required permission: ADMIN:NAMESPACE:{namespace}:DSLM:SERVER [READ]
This endpoint used to retrieve terminated servers in a namespace ```
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListTerminatedServers(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, *ListTerminatedServersBadRequest, *ListTerminatedServersUnauthorized, *ListTerminatedServersInternalServerError, 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 terminated servers API client.
type ListTerminatedServersBadRequest ¶
type ListTerminatedServersBadRequest struct {
Payload *dslogmanagerclientmodels.ResponseError
}
ListTerminatedServersBadRequest handles this case with default header values.
Bad Request
func NewListTerminatedServersBadRequest ¶
func NewListTerminatedServersBadRequest() *ListTerminatedServersBadRequest
NewListTerminatedServersBadRequest creates a ListTerminatedServersBadRequest with default headers values
func (*ListTerminatedServersBadRequest) Error ¶
func (o *ListTerminatedServersBadRequest) Error() string
func (*ListTerminatedServersBadRequest) GetPayload ¶
func (o *ListTerminatedServersBadRequest) GetPayload() *dslogmanagerclientmodels.ResponseError
type ListTerminatedServersInternalServerError ¶
type ListTerminatedServersInternalServerError struct {
Payload *dslogmanagerclientmodels.ResponseError
}
ListTerminatedServersInternalServerError handles this case with default header values.
Internal Server Error
func NewListTerminatedServersInternalServerError ¶
func NewListTerminatedServersInternalServerError() *ListTerminatedServersInternalServerError
NewListTerminatedServersInternalServerError creates a ListTerminatedServersInternalServerError with default headers values
func (*ListTerminatedServersInternalServerError) Error ¶
func (o *ListTerminatedServersInternalServerError) Error() string
func (*ListTerminatedServersInternalServerError) GetPayload ¶
func (o *ListTerminatedServersInternalServerError) GetPayload() *dslogmanagerclientmodels.ResponseError
type ListTerminatedServersOK ¶
type ListTerminatedServersOK struct {
Payload *dslogmanagerclientmodels.ModelsListTerminatedServersResponse
}
ListTerminatedServersOK handles this case with default header values.
OK
func NewListTerminatedServersOK ¶
func NewListTerminatedServersOK() *ListTerminatedServersOK
NewListTerminatedServersOK creates a ListTerminatedServersOK with default headers values
func (*ListTerminatedServersOK) Error ¶
func (o *ListTerminatedServersOK) Error() string
func (*ListTerminatedServersOK) GetPayload ¶
func (o *ListTerminatedServersOK) GetPayload() *dslogmanagerclientmodels.ModelsListTerminatedServersResponse
type ListTerminatedServersParams ¶
type ListTerminatedServersParams struct { /*Deployment deployment of the game */ Deployment *string /*GameMode game mode of the game */ GameMode *string /*Limit limit */ Limit *int64 /*Namespace namespace of the game */ 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 }
ListTerminatedServersParams contains all the parameters to send to the API endpoint for the list terminated servers operation typically these are written to a http.Request
func NewListTerminatedServersParams ¶
func NewListTerminatedServersParams() *ListTerminatedServersParams
NewListTerminatedServersParams creates a new ListTerminatedServersParams object with the default values initialized.
func NewListTerminatedServersParamsWithContext ¶
func NewListTerminatedServersParamsWithContext(ctx context.Context) *ListTerminatedServersParams
NewListTerminatedServersParamsWithContext creates a new ListTerminatedServersParams object with the default values initialized, and the ability to set a context for a request
func NewListTerminatedServersParamsWithHTTPClient ¶
func NewListTerminatedServersParamsWithHTTPClient(client *http.Client) *ListTerminatedServersParams
NewListTerminatedServersParamsWithHTTPClient creates a new ListTerminatedServersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListTerminatedServersParamsWithTimeout ¶
func NewListTerminatedServersParamsWithTimeout(timeout time.Duration) *ListTerminatedServersParams
NewListTerminatedServersParamsWithTimeout creates a new ListTerminatedServersParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListTerminatedServersParams) SetContext ¶
func (o *ListTerminatedServersParams) SetContext(ctx context.Context)
SetContext adds the context to the list terminated servers params
func (*ListTerminatedServersParams) SetDeployment ¶
func (o *ListTerminatedServersParams) SetDeployment(deployment *string)
SetDeployment adds the deployment to the list terminated servers params
func (*ListTerminatedServersParams) SetGameMode ¶
func (o *ListTerminatedServersParams) SetGameMode(gameMode *string)
SetGameMode adds the gameMode to the list terminated servers params
func (*ListTerminatedServersParams) SetHTTPClient ¶
func (o *ListTerminatedServersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list terminated servers params
func (*ListTerminatedServersParams) SetLimit ¶
func (o *ListTerminatedServersParams) SetLimit(limit *int64)
SetLimit adds the limit to the list terminated servers params
func (*ListTerminatedServersParams) SetNamespace ¶
func (o *ListTerminatedServersParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list terminated servers params
func (*ListTerminatedServersParams) SetOffset ¶
func (o *ListTerminatedServersParams) SetOffset(offset *int64)
SetOffset adds the offset to the list terminated servers params
func (*ListTerminatedServersParams) SetPartyID ¶
func (o *ListTerminatedServersParams) SetPartyID(partyID *string)
SetPartyID adds the partyId to the list terminated servers params
func (*ListTerminatedServersParams) SetPodName ¶
func (o *ListTerminatedServersParams) SetPodName(podName *string)
SetPodName adds the podName to the list terminated servers params
func (*ListTerminatedServersParams) SetProvider ¶
func (o *ListTerminatedServersParams) SetProvider(provider *string)
SetProvider adds the provider to the list terminated servers params
func (*ListTerminatedServersParams) SetRegion ¶
func (o *ListTerminatedServersParams) SetRegion(region *string)
SetRegion adds the region to the list terminated servers params
func (*ListTerminatedServersParams) SetSessionID ¶
func (o *ListTerminatedServersParams) SetSessionID(sessionID *string)
SetSessionID adds the sessionId to the list terminated servers params
func (*ListTerminatedServersParams) SetTimeout ¶
func (o *ListTerminatedServersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list terminated servers params
func (*ListTerminatedServersParams) SetUserID ¶
func (o *ListTerminatedServersParams) SetUserID(userID *string)
SetUserID adds the userId to the list terminated servers params
func (*ListTerminatedServersParams) WithContext ¶
func (o *ListTerminatedServersParams) WithContext(ctx context.Context) *ListTerminatedServersParams
WithContext adds the context to the list terminated servers params
func (*ListTerminatedServersParams) WithDeployment ¶
func (o *ListTerminatedServersParams) WithDeployment(deployment *string) *ListTerminatedServersParams
WithDeployment adds the deployment to the list terminated servers params
func (*ListTerminatedServersParams) WithGameMode ¶
func (o *ListTerminatedServersParams) WithGameMode(gameMode *string) *ListTerminatedServersParams
WithGameMode adds the gameMode to the list terminated servers params
func (*ListTerminatedServersParams) WithHTTPClient ¶
func (o *ListTerminatedServersParams) WithHTTPClient(client *http.Client) *ListTerminatedServersParams
WithHTTPClient adds the HTTPClient to the list terminated servers params
func (*ListTerminatedServersParams) WithLimit ¶
func (o *ListTerminatedServersParams) WithLimit(limit *int64) *ListTerminatedServersParams
WithLimit adds the limit to the list terminated servers params
func (*ListTerminatedServersParams) WithNamespace ¶
func (o *ListTerminatedServersParams) WithNamespace(namespace string) *ListTerminatedServersParams
WithNamespace adds the namespace to the list terminated servers params
func (*ListTerminatedServersParams) WithOffset ¶
func (o *ListTerminatedServersParams) WithOffset(offset *int64) *ListTerminatedServersParams
WithOffset adds the offset to the list terminated servers params
func (*ListTerminatedServersParams) WithPartyID ¶
func (o *ListTerminatedServersParams) WithPartyID(partyID *string) *ListTerminatedServersParams
WithPartyID adds the partyID to the list terminated servers params
func (*ListTerminatedServersParams) WithPodName ¶
func (o *ListTerminatedServersParams) WithPodName(podName *string) *ListTerminatedServersParams
WithPodName adds the podName to the list terminated servers params
func (*ListTerminatedServersParams) WithProvider ¶
func (o *ListTerminatedServersParams) WithProvider(provider *string) *ListTerminatedServersParams
WithProvider adds the provider to the list terminated servers params
func (*ListTerminatedServersParams) WithRegion ¶
func (o *ListTerminatedServersParams) WithRegion(region *string) *ListTerminatedServersParams
WithRegion adds the region to the list terminated servers params
func (*ListTerminatedServersParams) WithSessionID ¶
func (o *ListTerminatedServersParams) WithSessionID(sessionID *string) *ListTerminatedServersParams
WithSessionID adds the sessionID to the list terminated servers params
func (*ListTerminatedServersParams) WithTimeout ¶
func (o *ListTerminatedServersParams) WithTimeout(timeout time.Duration) *ListTerminatedServersParams
WithTimeout adds the timeout to the list terminated servers params
func (*ListTerminatedServersParams) WithUserID ¶
func (o *ListTerminatedServersParams) WithUserID(userID *string) *ListTerminatedServersParams
WithUserID adds the userID to the list terminated servers params
func (*ListTerminatedServersParams) WriteToRequest ¶
func (o *ListTerminatedServersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListTerminatedServersReader ¶
type ListTerminatedServersReader struct {
// contains filtered or unexported fields
}
ListTerminatedServersReader is a Reader for the ListTerminatedServers structure.
func (*ListTerminatedServersReader) ReadResponse ¶
func (o *ListTerminatedServersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListTerminatedServersUnauthorized ¶
type ListTerminatedServersUnauthorized struct {
}ListTerminatedServersUnauthorized handles this case with default header values.
Unauthorized
func NewListTerminatedServersUnauthorized ¶
func NewListTerminatedServersUnauthorized() *ListTerminatedServersUnauthorized
NewListTerminatedServersUnauthorized creates a ListTerminatedServersUnauthorized with default headers values
func (*ListTerminatedServersUnauthorized) Error ¶
func (o *ListTerminatedServersUnauthorized) Error() string
func (*ListTerminatedServersUnauthorized) GetPayload ¶
func (o *ListTerminatedServersUnauthorized) GetPayload() *dslogmanagerclientmodels.ResponseError