all_terminated_servers

package
v0.75.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 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 Client

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

Client for all terminated servers API

func (*Client) ListTerminatedServers deprecated

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

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 (*ListTerminatedServersBadRequest) GetPayload

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 (*ListTerminatedServersInternalServerError) GetPayload

func (*ListTerminatedServersInternalServerError) ToJSONString

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 (*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

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

WithGameMode adds the gameMode to the list terminated servers params

func (*ListTerminatedServersParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list terminated servers params

func (*ListTerminatedServersParams) WithLimit

WithLimit adds the limit to the list terminated servers params

func (*ListTerminatedServersParams) WithNext

WithNext adds the nextVar to the list terminated servers params

func (*ListTerminatedServersParams) WithPartyID

WithPartyID adds the partyID to the list terminated servers params

func (*ListTerminatedServersParams) WithPodName

WithPodName adds the podName to the list terminated servers params

func (*ListTerminatedServersParams) WithPrevious

WithPrevious adds the previous to the list terminated servers params

func (*ListTerminatedServersParams) WithProvider

WithProvider adds the provider to the list terminated servers params

func (*ListTerminatedServersParams) WithRegion

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

WithTimeout adds the timeout to the list terminated servers params

func (*ListTerminatedServersParams) WithUserID

WithUserID adds the userID to the list terminated servers params

func (*ListTerminatedServersParams) WriteToRequest

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 {
	Payload *dsartifactclientmodels.ResponseError
}

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 (*ListTerminatedServersUnauthorized) GetPayload

func (*ListTerminatedServersUnauthorized) ToJSONString

func (o *ListTerminatedServersUnauthorized) ToJSONString() string

Jump to

Keyboard shortcuts

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