Documentation ¶
Index ¶
- type Client
- func (a *Client) ListTerminatedServers(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, *ListTerminatedServersBadRequest, ...)deprecated
- func (a *Client) ListTerminatedServersShort(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- 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) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListTerminatedServersParams) SetContext(ctx context.Context)
- func (o *ListTerminatedServersParams) SetDeployment(deployment *string)
- func (o *ListTerminatedServersParams) SetFlightId(flightId string)
- func (o *ListTerminatedServersParams) SetGameMode(gameMode *string)
- func (o *ListTerminatedServersParams) SetHTTPClient(client *http.Client)
- func (o *ListTerminatedServersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListTerminatedServersParams) SetLimit(limit *int64)
- func (o *ListTerminatedServersParams) SetNext(nextVar *string)
- func (o *ListTerminatedServersParams) SetPartyID(partyID *string)
- func (o *ListTerminatedServersParams) SetPodName(podName *string)
- func (o *ListTerminatedServersParams) SetPrevious(previous *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) WithNext(nextVar *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithPartyID(partyID *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithPodName(podName *string) *ListTerminatedServersParams
- func (o *ListTerminatedServersParams) WithPrevious(previous *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 all terminated servers API
func (*Client) ListTerminatedServers
deprecated
func (a *Client) ListTerminatedServers(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, *ListTerminatedServersBadRequest, *ListTerminatedServersUnauthorized, *ListTerminatedServersInternalServerError, error)
Deprecated: 2022-08-10 - Use ListTerminatedServersShort instead.
ListTerminatedServers retrieve all terminated servers ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSAM:SERVER [READ]
This endpoint used to retrieve terminated servers in all namespace ```
func (*Client) ListTerminatedServersShort ¶
func (a *Client) ListTerminatedServersShort(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, error)
ListTerminatedServersShort retrieve all terminated servers ``` Required permission: ADMIN:NAMESPACE:{namespace}:DSAM: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 ¶
type ClientService interface { ListTerminatedServers(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, *ListTerminatedServersBadRequest, *ListTerminatedServersUnauthorized, *ListTerminatedServersInternalServerError, error) ListTerminatedServersShort(params *ListTerminatedServersParams, authInfo runtime.ClientAuthInfoWriter) (*ListTerminatedServersOK, 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 ListTerminatedServersBadRequest ¶
type ListTerminatedServersBadRequest struct {
Payload *dsartifactclientmodels.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() *dsartifactclientmodels.ResponseError
func (*ListTerminatedServersBadRequest) ToJSONString ¶
func (o *ListTerminatedServersBadRequest) ToJSONString() string
type ListTerminatedServersInternalServerError ¶
type ListTerminatedServersInternalServerError struct {
Payload *dsartifactclientmodels.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() *dsartifactclientmodels.ResponseError
func (*ListTerminatedServersInternalServerError) ToJSONString ¶
func (o *ListTerminatedServersInternalServerError) ToJSONString() string
type ListTerminatedServersOK ¶
type ListTerminatedServersOK struct {
Payload *dsartifactclientmodels.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() *dsartifactclientmodels.ModelsListTerminatedServersResponse
func (*ListTerminatedServersOK) ToJSONString ¶
func (o *ListTerminatedServersOK) ToJSONString() string
type ListTerminatedServersParams ¶
type ListTerminatedServersParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Deployment deployment of the game */ Deployment *string /*GameMode game mode of the game */ GameMode *string /*Limit limit */ Limit *int64 /*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 /*UserID ID of the user */ UserID *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // 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) SetAuthInfoWriter ¶
func (o *ListTerminatedServersParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list terminated servers params
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) SetFlightId ¶
func (o *ListTerminatedServersParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
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) SetHTTPClientTransport ¶
func (o *ListTerminatedServersParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport 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) SetNext ¶
func (o *ListTerminatedServersParams) SetNext(nextVar *string)
SetNext adds the next 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) SetPrevious ¶
func (o *ListTerminatedServersParams) SetPrevious(previous *string)
SetPrevious adds the previous 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) WithNext ¶
func (o *ListTerminatedServersParams) WithNext(nextVar *string) *ListTerminatedServersParams
WithNext adds the nextVar 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) WithPrevious ¶
func (o *ListTerminatedServersParams) WithPrevious(previous *string) *ListTerminatedServersParams
WithPrevious adds the previous 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() *dsartifactclientmodels.ResponseError
func (*ListTerminatedServersUnauthorized) ToJSONString ¶
func (o *ListTerminatedServersUnauthorized) ToJSONString() string