Documentation
¶
Index ¶
- type Client
- func (a *Client) CountServer(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, *CountServerUnauthorized, *CountServerInternalServerError, ...)
- func (a *Client) CountServerDetailed(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, *CountServerDetailedUnauthorized, ...)
- func (a *Client) CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error)
- func (a *Client) CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error)
- func (a *Client) CountSession(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, *CountSessionUnauthorized, *CountSessionInternalServerError, ...)
- func (a *Client) CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error)
- func (a *Client) DeleteLocalServer(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, *DeleteLocalServerUnauthorized, ...)
- func (a *Client) DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error)
- func (a *Client) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerUnauthorized, *DeleteServerNotFound, ...)
- func (a *Client) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)
- func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, *DeleteSessionUnauthorized, ...)
- func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, error)
- func (a *Client) GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, *GetServerUnauthorized, *GetServerNotFound, ...)
- func (a *Client) GetServerLogs(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, *GetServerLogsBadRequest, *GetServerLogsUnauthorized, ...)
- func (a *Client) GetServerLogsShort(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, error)
- func (a *Client) GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error)
- func (a *Client) ListLocalServer(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, *ListLocalServerUnauthorized, ...)
- func (a *Client) ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error)
- func (a *Client) ListServer(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, *ListServerUnauthorized, *ListServerInternalServerError, error)
- func (a *Client) ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error)
- func (a *Client) ListSession(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, *ListSessionUnauthorized, *ListSessionInternalServerError, ...)
- func (a *Client) ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CountServerDetailedInternalServerError
- type CountServerDetailedOK
- type CountServerDetailedParams
- func NewCountServerDetailedParams() *CountServerDetailedParams
- func NewCountServerDetailedParamsWithContext(ctx context.Context) *CountServerDetailedParams
- func NewCountServerDetailedParamsWithHTTPClient(client *http.Client) *CountServerDetailedParams
- func NewCountServerDetailedParamsWithTimeout(timeout time.Duration) *CountServerDetailedParams
- func (o *CountServerDetailedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CountServerDetailedParams) SetContext(ctx context.Context)
- func (o *CountServerDetailedParams) SetHTTPClient(client *http.Client)
- func (o *CountServerDetailedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CountServerDetailedParams) SetNamespace(namespace string)
- func (o *CountServerDetailedParams) SetRegion(region *string)
- func (o *CountServerDetailedParams) SetTimeout(timeout time.Duration)
- func (o *CountServerDetailedParams) WithContext(ctx context.Context) *CountServerDetailedParams
- func (o *CountServerDetailedParams) WithHTTPClient(client *http.Client) *CountServerDetailedParams
- func (o *CountServerDetailedParams) WithNamespace(namespace string) *CountServerDetailedParams
- func (o *CountServerDetailedParams) WithRegion(region *string) *CountServerDetailedParams
- func (o *CountServerDetailedParams) WithTimeout(timeout time.Duration) *CountServerDetailedParams
- func (o *CountServerDetailedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountServerDetailedReader
- type CountServerDetailedUnauthorized
- type CountServerInternalServerError
- type CountServerOK
- type CountServerParams
- func (o *CountServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CountServerParams) SetContext(ctx context.Context)
- func (o *CountServerParams) SetHTTPClient(client *http.Client)
- func (o *CountServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CountServerParams) SetNamespace(namespace string)
- func (o *CountServerParams) SetTimeout(timeout time.Duration)
- func (o *CountServerParams) WithContext(ctx context.Context) *CountServerParams
- func (o *CountServerParams) WithHTTPClient(client *http.Client) *CountServerParams
- func (o *CountServerParams) WithNamespace(namespace string) *CountServerParams
- func (o *CountServerParams) WithTimeout(timeout time.Duration) *CountServerParams
- func (o *CountServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountServerReader
- type CountServerUnauthorized
- type CountSessionInternalServerError
- type CountSessionOK
- type CountSessionParams
- func (o *CountSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CountSessionParams) SetContext(ctx context.Context)
- func (o *CountSessionParams) SetHTTPClient(client *http.Client)
- func (o *CountSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CountSessionParams) SetNamespace(namespace string)
- func (o *CountSessionParams) SetRegion(region *string)
- func (o *CountSessionParams) SetTimeout(timeout time.Duration)
- func (o *CountSessionParams) WithContext(ctx context.Context) *CountSessionParams
- func (o *CountSessionParams) WithHTTPClient(client *http.Client) *CountSessionParams
- func (o *CountSessionParams) WithNamespace(namespace string) *CountSessionParams
- func (o *CountSessionParams) WithRegion(region *string) *CountSessionParams
- func (o *CountSessionParams) WithTimeout(timeout time.Duration) *CountSessionParams
- func (o *CountSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CountSessionReader
- type CountSessionUnauthorized
- type DeleteLocalServerInternalServerError
- type DeleteLocalServerNoContent
- type DeleteLocalServerParams
- func NewDeleteLocalServerParams() *DeleteLocalServerParams
- func NewDeleteLocalServerParamsWithContext(ctx context.Context) *DeleteLocalServerParams
- func NewDeleteLocalServerParamsWithHTTPClient(client *http.Client) *DeleteLocalServerParams
- func NewDeleteLocalServerParamsWithTimeout(timeout time.Duration) *DeleteLocalServerParams
- func (o *DeleteLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteLocalServerParams) SetContext(ctx context.Context)
- func (o *DeleteLocalServerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteLocalServerParams) SetName(name string)
- func (o *DeleteLocalServerParams) SetNamespace(namespace string)
- func (o *DeleteLocalServerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteLocalServerParams) WithContext(ctx context.Context) *DeleteLocalServerParams
- func (o *DeleteLocalServerParams) WithHTTPClient(client *http.Client) *DeleteLocalServerParams
- func (o *DeleteLocalServerParams) WithName(name string) *DeleteLocalServerParams
- func (o *DeleteLocalServerParams) WithNamespace(namespace string) *DeleteLocalServerParams
- func (o *DeleteLocalServerParams) WithTimeout(timeout time.Duration) *DeleteLocalServerParams
- func (o *DeleteLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteLocalServerReader
- type DeleteLocalServerUnauthorized
- type DeleteServerInternalServerError
- type DeleteServerNoContent
- type DeleteServerNotFound
- type DeleteServerParams
- func (o *DeleteServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteServerParams) SetContext(ctx context.Context)
- func (o *DeleteServerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteServerParams) SetNamespace(namespace string)
- func (o *DeleteServerParams) SetPodName(podName string)
- func (o *DeleteServerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServerParams) WithContext(ctx context.Context) *DeleteServerParams
- func (o *DeleteServerParams) WithHTTPClient(client *http.Client) *DeleteServerParams
- func (o *DeleteServerParams) WithNamespace(namespace string) *DeleteServerParams
- func (o *DeleteServerParams) WithPodName(podName string) *DeleteServerParams
- func (o *DeleteServerParams) WithTimeout(timeout time.Duration) *DeleteServerParams
- func (o *DeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServerReader
- type DeleteServerUnauthorized
- type DeleteSessionInternalServerError
- type DeleteSessionNoContent
- type DeleteSessionParams
- func (o *DeleteSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteSessionParams) SetContext(ctx context.Context)
- func (o *DeleteSessionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteSessionParams) SetNamespace(namespace string)
- func (o *DeleteSessionParams) SetSessionID(sessionID string)
- func (o *DeleteSessionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteSessionParams) WithContext(ctx context.Context) *DeleteSessionParams
- func (o *DeleteSessionParams) WithHTTPClient(client *http.Client) *DeleteSessionParams
- func (o *DeleteSessionParams) WithNamespace(namespace string) *DeleteSessionParams
- func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams
- func (o *DeleteSessionParams) WithTimeout(timeout time.Duration) *DeleteSessionParams
- func (o *DeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteSessionReader
- type DeleteSessionUnauthorized
- type GetServerInternalServerError
- type GetServerLogsBadRequest
- type GetServerLogsInternalServerError
- type GetServerLogsNotFound
- type GetServerLogsOK
- type GetServerLogsParams
- func (o *GetServerLogsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetServerLogsParams) SetContext(ctx context.Context)
- func (o *GetServerLogsParams) SetHTTPClient(client *http.Client)
- func (o *GetServerLogsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetServerLogsParams) SetNamespace(namespace string)
- func (o *GetServerLogsParams) SetPodName(podName string)
- func (o *GetServerLogsParams) SetTimeout(timeout time.Duration)
- func (o *GetServerLogsParams) WithContext(ctx context.Context) *GetServerLogsParams
- func (o *GetServerLogsParams) WithHTTPClient(client *http.Client) *GetServerLogsParams
- func (o *GetServerLogsParams) WithNamespace(namespace string) *GetServerLogsParams
- func (o *GetServerLogsParams) WithPodName(podName string) *GetServerLogsParams
- func (o *GetServerLogsParams) WithTimeout(timeout time.Duration) *GetServerLogsParams
- func (o *GetServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServerLogsReader
- type GetServerLogsUnauthorized
- type GetServerNotFound
- type GetServerOK
- type GetServerParams
- func (o *GetServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetServerParams) SetContext(ctx context.Context)
- func (o *GetServerParams) SetHTTPClient(client *http.Client)
- func (o *GetServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetServerParams) SetNamespace(namespace string)
- func (o *GetServerParams) SetPodName(podName string)
- func (o *GetServerParams) SetTimeout(timeout time.Duration)
- func (o *GetServerParams) WithContext(ctx context.Context) *GetServerParams
- func (o *GetServerParams) WithHTTPClient(client *http.Client) *GetServerParams
- func (o *GetServerParams) WithNamespace(namespace string) *GetServerParams
- func (o *GetServerParams) WithPodName(podName string) *GetServerParams
- func (o *GetServerParams) WithTimeout(timeout time.Duration) *GetServerParams
- func (o *GetServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServerReader
- type GetServerUnauthorized
- type ListLocalServerInternalServerError
- type ListLocalServerOK
- type ListLocalServerParams
- func NewListLocalServerParams() *ListLocalServerParams
- func NewListLocalServerParamsWithContext(ctx context.Context) *ListLocalServerParams
- func NewListLocalServerParamsWithHTTPClient(client *http.Client) *ListLocalServerParams
- func NewListLocalServerParamsWithTimeout(timeout time.Duration) *ListLocalServerParams
- func (o *ListLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListLocalServerParams) SetContext(ctx context.Context)
- func (o *ListLocalServerParams) SetHTTPClient(client *http.Client)
- func (o *ListLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListLocalServerParams) SetNamespace(namespace string)
- func (o *ListLocalServerParams) SetTimeout(timeout time.Duration)
- func (o *ListLocalServerParams) WithContext(ctx context.Context) *ListLocalServerParams
- func (o *ListLocalServerParams) WithHTTPClient(client *http.Client) *ListLocalServerParams
- func (o *ListLocalServerParams) WithNamespace(namespace string) *ListLocalServerParams
- func (o *ListLocalServerParams) WithTimeout(timeout time.Duration) *ListLocalServerParams
- func (o *ListLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListLocalServerReader
- type ListLocalServerUnauthorized
- type ListServerInternalServerError
- type ListServerOK
- type ListServerParams
- func (o *ListServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListServerParams) SetContext(ctx context.Context)
- func (o *ListServerParams) SetCount(count *int64)
- func (o *ListServerParams) SetHTTPClient(client *http.Client)
- func (o *ListServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListServerParams) SetNamespace(namespace string)
- func (o *ListServerParams) SetOffset(offset *int64)
- func (o *ListServerParams) SetRegion(region *string)
- func (o *ListServerParams) SetTimeout(timeout time.Duration)
- func (o *ListServerParams) WithContext(ctx context.Context) *ListServerParams
- func (o *ListServerParams) WithCount(count *int64) *ListServerParams
- func (o *ListServerParams) WithHTTPClient(client *http.Client) *ListServerParams
- func (o *ListServerParams) WithNamespace(namespace string) *ListServerParams
- func (o *ListServerParams) WithOffset(offset *int64) *ListServerParams
- func (o *ListServerParams) WithRegion(region *string) *ListServerParams
- func (o *ListServerParams) WithTimeout(timeout time.Duration) *ListServerParams
- func (o *ListServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListServerReader
- type ListServerUnauthorized
- type ListSessionInternalServerError
- type ListSessionOK
- type ListSessionParams
- func (o *ListSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *ListSessionParams) SetContext(ctx context.Context)
- func (o *ListSessionParams) SetCount(count *int64)
- func (o *ListSessionParams) SetHTTPClient(client *http.Client)
- func (o *ListSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *ListSessionParams) SetNamespace(namespace string)
- func (o *ListSessionParams) SetOffset(offset *int64)
- func (o *ListSessionParams) SetRegion(region *string)
- func (o *ListSessionParams) SetTimeout(timeout time.Duration)
- func (o *ListSessionParams) SetWithServer(withServer *bool)
- func (o *ListSessionParams) WithContext(ctx context.Context) *ListSessionParams
- func (o *ListSessionParams) WithCount(count *int64) *ListSessionParams
- func (o *ListSessionParams) WithHTTPClient(client *http.Client) *ListSessionParams
- func (o *ListSessionParams) WithNamespace(namespace string) *ListSessionParams
- func (o *ListSessionParams) WithOffset(offset *int64) *ListSessionParams
- func (o *ListSessionParams) WithRegion(region *string) *ListSessionParams
- func (o *ListSessionParams) WithTimeout(timeout time.Duration) *ListSessionParams
- func (o *ListSessionParams) WithWithServer(withServer *bool) *ListSessionParams
- func (o *ListSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListSessionReader
- type ListSessionUnauthorized
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 admin API
func (*Client) CountServer ¶
func (a *Client) CountServer(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, *CountServerUnauthorized, *CountServerInternalServerError, error)
CountServer counts all managed servers Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint counts all of dedicated servers in a namespace managed by this service.
func (*Client) CountServerDetailed ¶
func (a *Client) CountServerDetailed(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, *CountServerDetailedUnauthorized, *CountServerDetailedInternalServerError, error)
CountServerDetailed gets detailed count of managed servers in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint counts all of dedicated servers in a region managed by this service.
func (*Client) CountServerDetailedShort ¶ added in v0.8.0
func (a *Client) CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error)
func (*Client) CountServerShort ¶ added in v0.8.0
func (a *Client) CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error)
func (*Client) CountSession ¶
func (a *Client) CountSession(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, *CountSessionUnauthorized, *CountSessionInternalServerError, error)
CountSession counts all sessions Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [READ]
Required scope: social
This endpoint count all of sessions in a namespace managed by this service.
func (*Client) CountSessionShort ¶ added in v0.8.0
func (a *Client) CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error)
func (*Client) DeleteLocalServer ¶
func (a *Client) DeleteLocalServer(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, *DeleteLocalServerUnauthorized, *DeleteLocalServerInternalServerError, error)
DeleteLocalServer deletes a local server Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE]
Required scope: social
This endpoint deletes a specified local dedicated server from DB. Note that DSM has no ability to shutdown local DS.
func (*Client) DeleteLocalServerShort ¶ added in v0.8.0
func (a *Client) DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error)
func (*Client) DeleteServer ¶
func (a *Client) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerUnauthorized, *DeleteServerNotFound, *DeleteServerInternalServerError, error)
DeleteServer deletes a server in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [DELETE]
Required scope: social
This endpoint deletes a specified dedicated server from DB and terminates the DS pod.
func (*Client) DeleteServerShort ¶ added in v0.8.0
func (a *Client) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)
func (*Client) DeleteSession ¶
func (a *Client) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, *DeleteSessionUnauthorized, *DeleteSessionInternalServerError, error)
DeleteSession deletes a session in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [DELETE]
Required scope: social
This endpoint deletes a specified session and its corresponding match result from DB.
func (*Client) DeleteSessionShort ¶ added in v0.8.0
func (a *Client) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, error)
func (*Client) GetServer ¶
func (a *Client) GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, *GetServerUnauthorized, *GetServerNotFound, *GetServerInternalServerError, error)
GetServer queries a server in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint queries a specified dedicated server from DB.
func (*Client) GetServerLogs ¶
func (a *Client) GetServerLogs(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, *GetServerLogsBadRequest, *GetServerLogsUnauthorized, *GetServerLogsNotFound, *GetServerLogsInternalServerError, error)
GetServerLogs queries server logs Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint queries a specified dedicated server's logs.
func (*Client) GetServerLogsShort ¶ added in v0.8.0
func (a *Client) GetServerLogsShort(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, error)
func (*Client) GetServerShort ¶ added in v0.8.0
func (a *Client) GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error)
func (*Client) ListLocalServer ¶
func (a *Client) ListLocalServer(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, *ListLocalServerUnauthorized, *ListLocalServerInternalServerError, error)
ListLocalServer lists all managed local servers Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint lists all of local dedicated servers in a namespace managed by this service.
func (*Client) ListLocalServerShort ¶ added in v0.8.0
func (a *Client) ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error)
func (*Client) ListServer ¶
func (a *Client) ListServer(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, *ListServerUnauthorized, *ListServerInternalServerError, error)
ListServer lists all managed servers in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SERVER [READ]
Required scope: social
This endpoint lists all of dedicated servers in a namespace managed by this service.
func (*Client) ListServerShort ¶ added in v0.8.0
func (a *Client) ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error)
func (*Client) ListSession ¶
func (a *Client) ListSession(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, *ListSessionUnauthorized, *ListSessionInternalServerError, error)
ListSession lists all managed sessions in a region Required permission: ADMIN:NAMESPACE:{namespace}:DSM:SESSION [READ]
Required scope: social
This endpoint lists all of sessions in a namespace managed by this service.
func (*Client) ListSessionShort ¶ added in v0.8.0
func (a *Client) ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CountServer(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, *CountServerUnauthorized, *CountServerInternalServerError, error) CountServerShort(params *CountServerParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerOK, error) CountServerDetailed(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, *CountServerDetailedUnauthorized, *CountServerDetailedInternalServerError, error) CountServerDetailedShort(params *CountServerDetailedParams, authInfo runtime.ClientAuthInfoWriter) (*CountServerDetailedOK, error) CountSession(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, *CountSessionUnauthorized, *CountSessionInternalServerError, error) CountSessionShort(params *CountSessionParams, authInfo runtime.ClientAuthInfoWriter) (*CountSessionOK, error) DeleteLocalServer(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, *DeleteLocalServerUnauthorized, *DeleteLocalServerInternalServerError, error) DeleteLocalServerShort(params *DeleteLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteLocalServerNoContent, error) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerUnauthorized, *DeleteServerNotFound, *DeleteServerInternalServerError, error) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error) DeleteSession(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, *DeleteSessionUnauthorized, *DeleteSessionInternalServerError, error) DeleteSessionShort(params *DeleteSessionParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteSessionNoContent, error) GetServer(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, *GetServerUnauthorized, *GetServerNotFound, *GetServerInternalServerError, error) GetServerShort(params *GetServerParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerOK, error) ListLocalServer(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, *ListLocalServerUnauthorized, *ListLocalServerInternalServerError, error) ListLocalServerShort(params *ListLocalServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListLocalServerOK, error) ListServer(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, *ListServerUnauthorized, *ListServerInternalServerError, error) ListServerShort(params *ListServerParams, authInfo runtime.ClientAuthInfoWriter) (*ListServerOK, error) ListSession(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, *ListSessionUnauthorized, *ListSessionInternalServerError, error) ListSessionShort(params *ListSessionParams, authInfo runtime.ClientAuthInfoWriter) (*ListSessionOK, error) GetServerLogs(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, *GetServerLogsBadRequest, *GetServerLogsUnauthorized, *GetServerLogsNotFound, *GetServerLogsInternalServerError, error) GetServerLogsShort(params *GetServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*GetServerLogsOK, 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 admin API client.
type CountServerDetailedInternalServerError ¶
type CountServerDetailedInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
CountServerDetailedInternalServerError handles this case with default header values.
Internal Server Error
func NewCountServerDetailedInternalServerError ¶
func NewCountServerDetailedInternalServerError() *CountServerDetailedInternalServerError
NewCountServerDetailedInternalServerError creates a CountServerDetailedInternalServerError with default headers values
func (*CountServerDetailedInternalServerError) Error ¶
func (o *CountServerDetailedInternalServerError) Error() string
func (*CountServerDetailedInternalServerError) GetPayload ¶
func (o *CountServerDetailedInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type CountServerDetailedOK ¶
type CountServerDetailedOK struct {
Payload *dsmcclientmodels.ModelsDetailedCountServerResponse
}
CountServerDetailedOK handles this case with default header values.
servers listed
func NewCountServerDetailedOK ¶
func NewCountServerDetailedOK() *CountServerDetailedOK
NewCountServerDetailedOK creates a CountServerDetailedOK with default headers values
func (*CountServerDetailedOK) Error ¶
func (o *CountServerDetailedOK) Error() string
func (*CountServerDetailedOK) GetPayload ¶
func (o *CountServerDetailedOK) GetPayload() *dsmcclientmodels.ModelsDetailedCountServerResponse
type CountServerDetailedParams ¶
type CountServerDetailedParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Region region where DS server is located. */ Region *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountServerDetailedParams contains all the parameters to send to the API endpoint for the count server detailed operation typically these are written to a http.Request
func NewCountServerDetailedParams ¶
func NewCountServerDetailedParams() *CountServerDetailedParams
NewCountServerDetailedParams creates a new CountServerDetailedParams object with the default values initialized.
func NewCountServerDetailedParamsWithContext ¶
func NewCountServerDetailedParamsWithContext(ctx context.Context) *CountServerDetailedParams
NewCountServerDetailedParamsWithContext creates a new CountServerDetailedParams object with the default values initialized, and the ability to set a context for a request
func NewCountServerDetailedParamsWithHTTPClient ¶
func NewCountServerDetailedParamsWithHTTPClient(client *http.Client) *CountServerDetailedParams
NewCountServerDetailedParamsWithHTTPClient creates a new CountServerDetailedParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCountServerDetailedParamsWithTimeout ¶
func NewCountServerDetailedParamsWithTimeout(timeout time.Duration) *CountServerDetailedParams
NewCountServerDetailedParamsWithTimeout creates a new CountServerDetailedParams object with the default values initialized, and the ability to set a timeout on a request
func (*CountServerDetailedParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CountServerDetailedParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the count server detailed params
func (*CountServerDetailedParams) SetContext ¶
func (o *CountServerDetailedParams) SetContext(ctx context.Context)
SetContext adds the context to the count server detailed params
func (*CountServerDetailedParams) SetHTTPClient ¶
func (o *CountServerDetailedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count server detailed params
func (*CountServerDetailedParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CountServerDetailedParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the count server detailed params
func (*CountServerDetailedParams) SetNamespace ¶
func (o *CountServerDetailedParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the count server detailed params
func (*CountServerDetailedParams) SetRegion ¶
func (o *CountServerDetailedParams) SetRegion(region *string)
SetRegion adds the region to the count server detailed params
func (*CountServerDetailedParams) SetTimeout ¶
func (o *CountServerDetailedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count server detailed params
func (*CountServerDetailedParams) WithContext ¶
func (o *CountServerDetailedParams) WithContext(ctx context.Context) *CountServerDetailedParams
WithContext adds the context to the count server detailed params
func (*CountServerDetailedParams) WithHTTPClient ¶
func (o *CountServerDetailedParams) WithHTTPClient(client *http.Client) *CountServerDetailedParams
WithHTTPClient adds the HTTPClient to the count server detailed params
func (*CountServerDetailedParams) WithNamespace ¶
func (o *CountServerDetailedParams) WithNamespace(namespace string) *CountServerDetailedParams
WithNamespace adds the namespace to the count server detailed params
func (*CountServerDetailedParams) WithRegion ¶
func (o *CountServerDetailedParams) WithRegion(region *string) *CountServerDetailedParams
WithRegion adds the region to the count server detailed params
func (*CountServerDetailedParams) WithTimeout ¶
func (o *CountServerDetailedParams) WithTimeout(timeout time.Duration) *CountServerDetailedParams
WithTimeout adds the timeout to the count server detailed params
func (*CountServerDetailedParams) WriteToRequest ¶
func (o *CountServerDetailedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountServerDetailedReader ¶
type CountServerDetailedReader struct {
// contains filtered or unexported fields
}
CountServerDetailedReader is a Reader for the CountServerDetailed structure.
func (*CountServerDetailedReader) ReadResponse ¶
func (o *CountServerDetailedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CountServerDetailedUnauthorized ¶
type CountServerDetailedUnauthorized struct {
}CountServerDetailedUnauthorized handles this case with default header values.
Unauthorized
func NewCountServerDetailedUnauthorized ¶
func NewCountServerDetailedUnauthorized() *CountServerDetailedUnauthorized
NewCountServerDetailedUnauthorized creates a CountServerDetailedUnauthorized with default headers values
func (*CountServerDetailedUnauthorized) Error ¶
func (o *CountServerDetailedUnauthorized) Error() string
func (*CountServerDetailedUnauthorized) GetPayload ¶
func (o *CountServerDetailedUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type CountServerInternalServerError ¶
type CountServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
CountServerInternalServerError handles this case with default header values.
Internal Server Error
func NewCountServerInternalServerError ¶
func NewCountServerInternalServerError() *CountServerInternalServerError
NewCountServerInternalServerError creates a CountServerInternalServerError with default headers values
func (*CountServerInternalServerError) Error ¶
func (o *CountServerInternalServerError) Error() string
func (*CountServerInternalServerError) GetPayload ¶
func (o *CountServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type CountServerOK ¶
type CountServerOK struct {
Payload *dsmcclientmodels.ModelsCountServerResponse
}
CountServerOK handles this case with default header values.
servers listed
func NewCountServerOK ¶
func NewCountServerOK() *CountServerOK
NewCountServerOK creates a CountServerOK with default headers values
func (*CountServerOK) Error ¶
func (o *CountServerOK) Error() string
func (*CountServerOK) GetPayload ¶
func (o *CountServerOK) GetPayload() *dsmcclientmodels.ModelsCountServerResponse
type CountServerParams ¶
type CountServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountServerParams contains all the parameters to send to the API endpoint for the count server operation typically these are written to a http.Request
func NewCountServerParams ¶
func NewCountServerParams() *CountServerParams
NewCountServerParams creates a new CountServerParams object with the default values initialized.
func NewCountServerParamsWithContext ¶
func NewCountServerParamsWithContext(ctx context.Context) *CountServerParams
NewCountServerParamsWithContext creates a new CountServerParams object with the default values initialized, and the ability to set a context for a request
func NewCountServerParamsWithHTTPClient ¶
func NewCountServerParamsWithHTTPClient(client *http.Client) *CountServerParams
NewCountServerParamsWithHTTPClient creates a new CountServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCountServerParamsWithTimeout ¶
func NewCountServerParamsWithTimeout(timeout time.Duration) *CountServerParams
NewCountServerParamsWithTimeout creates a new CountServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*CountServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CountServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the count server params
func (*CountServerParams) SetContext ¶
func (o *CountServerParams) SetContext(ctx context.Context)
SetContext adds the context to the count server params
func (*CountServerParams) SetHTTPClient ¶
func (o *CountServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count server params
func (*CountServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CountServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the count server params
func (*CountServerParams) SetNamespace ¶
func (o *CountServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the count server params
func (*CountServerParams) SetTimeout ¶
func (o *CountServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count server params
func (*CountServerParams) WithContext ¶
func (o *CountServerParams) WithContext(ctx context.Context) *CountServerParams
WithContext adds the context to the count server params
func (*CountServerParams) WithHTTPClient ¶
func (o *CountServerParams) WithHTTPClient(client *http.Client) *CountServerParams
WithHTTPClient adds the HTTPClient to the count server params
func (*CountServerParams) WithNamespace ¶
func (o *CountServerParams) WithNamespace(namespace string) *CountServerParams
WithNamespace adds the namespace to the count server params
func (*CountServerParams) WithTimeout ¶
func (o *CountServerParams) WithTimeout(timeout time.Duration) *CountServerParams
WithTimeout adds the timeout to the count server params
func (*CountServerParams) WriteToRequest ¶
func (o *CountServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountServerReader ¶
type CountServerReader struct {
// contains filtered or unexported fields
}
CountServerReader is a Reader for the CountServer structure.
func (*CountServerReader) ReadResponse ¶
func (o *CountServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CountServerUnauthorized ¶
type CountServerUnauthorized struct {
}CountServerUnauthorized handles this case with default header values.
Unauthorized
func NewCountServerUnauthorized ¶
func NewCountServerUnauthorized() *CountServerUnauthorized
NewCountServerUnauthorized creates a CountServerUnauthorized with default headers values
func (*CountServerUnauthorized) Error ¶
func (o *CountServerUnauthorized) Error() string
func (*CountServerUnauthorized) GetPayload ¶
func (o *CountServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type CountSessionInternalServerError ¶
type CountSessionInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
CountSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewCountSessionInternalServerError ¶
func NewCountSessionInternalServerError() *CountSessionInternalServerError
NewCountSessionInternalServerError creates a CountSessionInternalServerError with default headers values
func (*CountSessionInternalServerError) Error ¶
func (o *CountSessionInternalServerError) Error() string
func (*CountSessionInternalServerError) GetPayload ¶
func (o *CountSessionInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type CountSessionOK ¶
type CountSessionOK struct {
Payload *dsmcclientmodels.ModelsCountSessionResponse
}
CountSessionOK handles this case with default header values.
sessions listed
func NewCountSessionOK ¶
func NewCountSessionOK() *CountSessionOK
NewCountSessionOK creates a CountSessionOK with default headers values
func (*CountSessionOK) Error ¶
func (o *CountSessionOK) Error() string
func (*CountSessionOK) GetPayload ¶
func (o *CountSessionOK) GetPayload() *dsmcclientmodels.ModelsCountSessionResponse
type CountSessionParams ¶
type CountSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Region region where session is located. if not specified it will count all sessions. */ Region *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CountSessionParams contains all the parameters to send to the API endpoint for the count session operation typically these are written to a http.Request
func NewCountSessionParams ¶
func NewCountSessionParams() *CountSessionParams
NewCountSessionParams creates a new CountSessionParams object with the default values initialized.
func NewCountSessionParamsWithContext ¶
func NewCountSessionParamsWithContext(ctx context.Context) *CountSessionParams
NewCountSessionParamsWithContext creates a new CountSessionParams object with the default values initialized, and the ability to set a context for a request
func NewCountSessionParamsWithHTTPClient ¶
func NewCountSessionParamsWithHTTPClient(client *http.Client) *CountSessionParams
NewCountSessionParamsWithHTTPClient creates a new CountSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCountSessionParamsWithTimeout ¶
func NewCountSessionParamsWithTimeout(timeout time.Duration) *CountSessionParams
NewCountSessionParamsWithTimeout creates a new CountSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*CountSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *CountSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the count session params
func (*CountSessionParams) SetContext ¶
func (o *CountSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the count session params
func (*CountSessionParams) SetHTTPClient ¶
func (o *CountSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the count session params
func (*CountSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *CountSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the count session params
func (*CountSessionParams) SetNamespace ¶
func (o *CountSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the count session params
func (*CountSessionParams) SetRegion ¶
func (o *CountSessionParams) SetRegion(region *string)
SetRegion adds the region to the count session params
func (*CountSessionParams) SetTimeout ¶
func (o *CountSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the count session params
func (*CountSessionParams) WithContext ¶
func (o *CountSessionParams) WithContext(ctx context.Context) *CountSessionParams
WithContext adds the context to the count session params
func (*CountSessionParams) WithHTTPClient ¶
func (o *CountSessionParams) WithHTTPClient(client *http.Client) *CountSessionParams
WithHTTPClient adds the HTTPClient to the count session params
func (*CountSessionParams) WithNamespace ¶
func (o *CountSessionParams) WithNamespace(namespace string) *CountSessionParams
WithNamespace adds the namespace to the count session params
func (*CountSessionParams) WithRegion ¶
func (o *CountSessionParams) WithRegion(region *string) *CountSessionParams
WithRegion adds the region to the count session params
func (*CountSessionParams) WithTimeout ¶
func (o *CountSessionParams) WithTimeout(timeout time.Duration) *CountSessionParams
WithTimeout adds the timeout to the count session params
func (*CountSessionParams) WriteToRequest ¶
func (o *CountSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CountSessionReader ¶
type CountSessionReader struct {
// contains filtered or unexported fields
}
CountSessionReader is a Reader for the CountSession structure.
func (*CountSessionReader) ReadResponse ¶
func (o *CountSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CountSessionUnauthorized ¶
type CountSessionUnauthorized struct {
}CountSessionUnauthorized handles this case with default header values.
Unauthorized
func NewCountSessionUnauthorized ¶
func NewCountSessionUnauthorized() *CountSessionUnauthorized
NewCountSessionUnauthorized creates a CountSessionUnauthorized with default headers values
func (*CountSessionUnauthorized) Error ¶
func (o *CountSessionUnauthorized) Error() string
func (*CountSessionUnauthorized) GetPayload ¶
func (o *CountSessionUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type DeleteLocalServerInternalServerError ¶
type DeleteLocalServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
DeleteLocalServerInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteLocalServerInternalServerError ¶
func NewDeleteLocalServerInternalServerError() *DeleteLocalServerInternalServerError
NewDeleteLocalServerInternalServerError creates a DeleteLocalServerInternalServerError with default headers values
func (*DeleteLocalServerInternalServerError) Error ¶
func (o *DeleteLocalServerInternalServerError) Error() string
func (*DeleteLocalServerInternalServerError) GetPayload ¶
func (o *DeleteLocalServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type DeleteLocalServerNoContent ¶
type DeleteLocalServerNoContent struct { }
DeleteLocalServerNoContent handles this case with default header values.
server deleted
func NewDeleteLocalServerNoContent ¶
func NewDeleteLocalServerNoContent() *DeleteLocalServerNoContent
NewDeleteLocalServerNoContent creates a DeleteLocalServerNoContent with default headers values
func (*DeleteLocalServerNoContent) Error ¶
func (o *DeleteLocalServerNoContent) Error() string
type DeleteLocalServerParams ¶
type DeleteLocalServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Name name of the DS */ Name string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteLocalServerParams contains all the parameters to send to the API endpoint for the delete local server operation typically these are written to a http.Request
func NewDeleteLocalServerParams ¶
func NewDeleteLocalServerParams() *DeleteLocalServerParams
NewDeleteLocalServerParams creates a new DeleteLocalServerParams object with the default values initialized.
func NewDeleteLocalServerParamsWithContext ¶
func NewDeleteLocalServerParamsWithContext(ctx context.Context) *DeleteLocalServerParams
NewDeleteLocalServerParamsWithContext creates a new DeleteLocalServerParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteLocalServerParamsWithHTTPClient ¶
func NewDeleteLocalServerParamsWithHTTPClient(client *http.Client) *DeleteLocalServerParams
NewDeleteLocalServerParamsWithHTTPClient creates a new DeleteLocalServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteLocalServerParamsWithTimeout ¶
func NewDeleteLocalServerParamsWithTimeout(timeout time.Duration) *DeleteLocalServerParams
NewDeleteLocalServerParamsWithTimeout creates a new DeleteLocalServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteLocalServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete local server params
func (*DeleteLocalServerParams) SetContext ¶
func (o *DeleteLocalServerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete local server params
func (*DeleteLocalServerParams) SetHTTPClient ¶
func (o *DeleteLocalServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete local server params
func (*DeleteLocalServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete local server params
func (*DeleteLocalServerParams) SetName ¶
func (o *DeleteLocalServerParams) SetName(name string)
SetName adds the name to the delete local server params
func (*DeleteLocalServerParams) SetNamespace ¶
func (o *DeleteLocalServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete local server params
func (*DeleteLocalServerParams) SetTimeout ¶
func (o *DeleteLocalServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete local server params
func (*DeleteLocalServerParams) WithContext ¶
func (o *DeleteLocalServerParams) WithContext(ctx context.Context) *DeleteLocalServerParams
WithContext adds the context to the delete local server params
func (*DeleteLocalServerParams) WithHTTPClient ¶
func (o *DeleteLocalServerParams) WithHTTPClient(client *http.Client) *DeleteLocalServerParams
WithHTTPClient adds the HTTPClient to the delete local server params
func (*DeleteLocalServerParams) WithName ¶
func (o *DeleteLocalServerParams) WithName(name string) *DeleteLocalServerParams
WithName adds the name to the delete local server params
func (*DeleteLocalServerParams) WithNamespace ¶
func (o *DeleteLocalServerParams) WithNamespace(namespace string) *DeleteLocalServerParams
WithNamespace adds the namespace to the delete local server params
func (*DeleteLocalServerParams) WithTimeout ¶
func (o *DeleteLocalServerParams) WithTimeout(timeout time.Duration) *DeleteLocalServerParams
WithTimeout adds the timeout to the delete local server params
func (*DeleteLocalServerParams) WriteToRequest ¶
func (o *DeleteLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteLocalServerReader ¶
type DeleteLocalServerReader struct {
// contains filtered or unexported fields
}
DeleteLocalServerReader is a Reader for the DeleteLocalServer structure.
func (*DeleteLocalServerReader) ReadResponse ¶
func (o *DeleteLocalServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteLocalServerUnauthorized ¶
type DeleteLocalServerUnauthorized struct {
}DeleteLocalServerUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteLocalServerUnauthorized ¶
func NewDeleteLocalServerUnauthorized() *DeleteLocalServerUnauthorized
NewDeleteLocalServerUnauthorized creates a DeleteLocalServerUnauthorized with default headers values
func (*DeleteLocalServerUnauthorized) Error ¶
func (o *DeleteLocalServerUnauthorized) Error() string
func (*DeleteLocalServerUnauthorized) GetPayload ¶
func (o *DeleteLocalServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type DeleteServerInternalServerError ¶
type DeleteServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
DeleteServerInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteServerInternalServerError ¶
func NewDeleteServerInternalServerError() *DeleteServerInternalServerError
NewDeleteServerInternalServerError creates a DeleteServerInternalServerError with default headers values
func (*DeleteServerInternalServerError) Error ¶
func (o *DeleteServerInternalServerError) Error() string
func (*DeleteServerInternalServerError) GetPayload ¶
func (o *DeleteServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type DeleteServerNoContent ¶
type DeleteServerNoContent struct { }
DeleteServerNoContent handles this case with default header values.
server deleted
func NewDeleteServerNoContent ¶
func NewDeleteServerNoContent() *DeleteServerNoContent
NewDeleteServerNoContent creates a DeleteServerNoContent with default headers values
func (*DeleteServerNoContent) Error ¶
func (o *DeleteServerNoContent) Error() string
type DeleteServerNotFound ¶
type DeleteServerNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
DeleteServerNotFound handles this case with default header values.
server not found
func NewDeleteServerNotFound ¶
func NewDeleteServerNotFound() *DeleteServerNotFound
NewDeleteServerNotFound creates a DeleteServerNotFound with default headers values
func (*DeleteServerNotFound) Error ¶
func (o *DeleteServerNotFound) Error() string
func (*DeleteServerNotFound) GetPayload ¶
func (o *DeleteServerNotFound) GetPayload() *dsmcclientmodels.ResponseError
type DeleteServerParams ¶
type DeleteServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*PodName name of the DS pod */ PodName string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServerParams contains all the parameters to send to the API endpoint for the delete server operation typically these are written to a http.Request
func NewDeleteServerParams ¶
func NewDeleteServerParams() *DeleteServerParams
NewDeleteServerParams creates a new DeleteServerParams object with the default values initialized.
func NewDeleteServerParamsWithContext ¶
func NewDeleteServerParamsWithContext(ctx context.Context) *DeleteServerParams
NewDeleteServerParamsWithContext creates a new DeleteServerParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteServerParamsWithHTTPClient ¶
func NewDeleteServerParamsWithHTTPClient(client *http.Client) *DeleteServerParams
NewDeleteServerParamsWithHTTPClient creates a new DeleteServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteServerParamsWithTimeout ¶
func NewDeleteServerParamsWithTimeout(timeout time.Duration) *DeleteServerParams
NewDeleteServerParamsWithTimeout creates a new DeleteServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete server params
func (*DeleteServerParams) SetContext ¶
func (o *DeleteServerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete server params
func (*DeleteServerParams) SetHTTPClient ¶
func (o *DeleteServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete server params
func (*DeleteServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete server params
func (*DeleteServerParams) SetNamespace ¶
func (o *DeleteServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete server params
func (*DeleteServerParams) SetPodName ¶
func (o *DeleteServerParams) SetPodName(podName string)
SetPodName adds the podName to the delete server params
func (*DeleteServerParams) SetTimeout ¶
func (o *DeleteServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete server params
func (*DeleteServerParams) WithContext ¶
func (o *DeleteServerParams) WithContext(ctx context.Context) *DeleteServerParams
WithContext adds the context to the delete server params
func (*DeleteServerParams) WithHTTPClient ¶
func (o *DeleteServerParams) WithHTTPClient(client *http.Client) *DeleteServerParams
WithHTTPClient adds the HTTPClient to the delete server params
func (*DeleteServerParams) WithNamespace ¶
func (o *DeleteServerParams) WithNamespace(namespace string) *DeleteServerParams
WithNamespace adds the namespace to the delete server params
func (*DeleteServerParams) WithPodName ¶
func (o *DeleteServerParams) WithPodName(podName string) *DeleteServerParams
WithPodName adds the podName to the delete server params
func (*DeleteServerParams) WithTimeout ¶
func (o *DeleteServerParams) WithTimeout(timeout time.Duration) *DeleteServerParams
WithTimeout adds the timeout to the delete server params
func (*DeleteServerParams) WriteToRequest ¶
func (o *DeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServerReader ¶
type DeleteServerReader struct {
// contains filtered or unexported fields
}
DeleteServerReader is a Reader for the DeleteServer structure.
func (*DeleteServerReader) ReadResponse ¶
func (o *DeleteServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteServerUnauthorized ¶
type DeleteServerUnauthorized struct {
}DeleteServerUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteServerUnauthorized ¶
func NewDeleteServerUnauthorized() *DeleteServerUnauthorized
NewDeleteServerUnauthorized creates a DeleteServerUnauthorized with default headers values
func (*DeleteServerUnauthorized) Error ¶
func (o *DeleteServerUnauthorized) Error() string
func (*DeleteServerUnauthorized) GetPayload ¶
func (o *DeleteServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type DeleteSessionInternalServerError ¶
type DeleteSessionInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
DeleteSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteSessionInternalServerError ¶
func NewDeleteSessionInternalServerError() *DeleteSessionInternalServerError
NewDeleteSessionInternalServerError creates a DeleteSessionInternalServerError with default headers values
func (*DeleteSessionInternalServerError) Error ¶
func (o *DeleteSessionInternalServerError) Error() string
func (*DeleteSessionInternalServerError) GetPayload ¶
func (o *DeleteSessionInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type DeleteSessionNoContent ¶
type DeleteSessionNoContent struct { }
DeleteSessionNoContent handles this case with default header values.
session deleted
func NewDeleteSessionNoContent ¶
func NewDeleteSessionNoContent() *DeleteSessionNoContent
NewDeleteSessionNoContent creates a DeleteSessionNoContent with default headers values
func (*DeleteSessionNoContent) Error ¶
func (o *DeleteSessionNoContent) Error() string
type DeleteSessionParams ¶
type DeleteSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*SessionID session to be deleted */ SessionID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteSessionParams contains all the parameters to send to the API endpoint for the delete session operation typically these are written to a http.Request
func NewDeleteSessionParams ¶
func NewDeleteSessionParams() *DeleteSessionParams
NewDeleteSessionParams creates a new DeleteSessionParams object with the default values initialized.
func NewDeleteSessionParamsWithContext ¶
func NewDeleteSessionParamsWithContext(ctx context.Context) *DeleteSessionParams
NewDeleteSessionParamsWithContext creates a new DeleteSessionParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteSessionParamsWithHTTPClient ¶
func NewDeleteSessionParamsWithHTTPClient(client *http.Client) *DeleteSessionParams
NewDeleteSessionParamsWithHTTPClient creates a new DeleteSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteSessionParamsWithTimeout ¶
func NewDeleteSessionParamsWithTimeout(timeout time.Duration) *DeleteSessionParams
NewDeleteSessionParamsWithTimeout creates a new DeleteSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete session params
func (*DeleteSessionParams) SetContext ¶
func (o *DeleteSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete session params
func (*DeleteSessionParams) SetHTTPClient ¶
func (o *DeleteSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete session params
func (*DeleteSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete session params
func (*DeleteSessionParams) SetNamespace ¶
func (o *DeleteSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete session params
func (*DeleteSessionParams) SetSessionID ¶
func (o *DeleteSessionParams) SetSessionID(sessionID string)
SetSessionID adds the sessionId to the delete session params
func (*DeleteSessionParams) SetTimeout ¶
func (o *DeleteSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete session params
func (*DeleteSessionParams) WithContext ¶
func (o *DeleteSessionParams) WithContext(ctx context.Context) *DeleteSessionParams
WithContext adds the context to the delete session params
func (*DeleteSessionParams) WithHTTPClient ¶
func (o *DeleteSessionParams) WithHTTPClient(client *http.Client) *DeleteSessionParams
WithHTTPClient adds the HTTPClient to the delete session params
func (*DeleteSessionParams) WithNamespace ¶
func (o *DeleteSessionParams) WithNamespace(namespace string) *DeleteSessionParams
WithNamespace adds the namespace to the delete session params
func (*DeleteSessionParams) WithSessionID ¶
func (o *DeleteSessionParams) WithSessionID(sessionID string) *DeleteSessionParams
WithSessionID adds the sessionID to the delete session params
func (*DeleteSessionParams) WithTimeout ¶
func (o *DeleteSessionParams) WithTimeout(timeout time.Duration) *DeleteSessionParams
WithTimeout adds the timeout to the delete session params
func (*DeleteSessionParams) WriteToRequest ¶
func (o *DeleteSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteSessionReader ¶
type DeleteSessionReader struct {
// contains filtered or unexported fields
}
DeleteSessionReader is a Reader for the DeleteSession structure.
func (*DeleteSessionReader) ReadResponse ¶
func (o *DeleteSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteSessionUnauthorized ¶
type DeleteSessionUnauthorized struct {
}DeleteSessionUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteSessionUnauthorized ¶
func NewDeleteSessionUnauthorized() *DeleteSessionUnauthorized
NewDeleteSessionUnauthorized creates a DeleteSessionUnauthorized with default headers values
func (*DeleteSessionUnauthorized) Error ¶
func (o *DeleteSessionUnauthorized) Error() string
func (*DeleteSessionUnauthorized) GetPayload ¶
func (o *DeleteSessionUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type GetServerInternalServerError ¶
type GetServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerInternalServerError handles this case with default header values.
Internal Server Error
func NewGetServerInternalServerError ¶
func NewGetServerInternalServerError() *GetServerInternalServerError
NewGetServerInternalServerError creates a GetServerInternalServerError with default headers values
func (*GetServerInternalServerError) Error ¶
func (o *GetServerInternalServerError) Error() string
func (*GetServerInternalServerError) GetPayload ¶
func (o *GetServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type GetServerLogsBadRequest ¶
type GetServerLogsBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerLogsBadRequest handles this case with default header values.
malformed request
func NewGetServerLogsBadRequest ¶
func NewGetServerLogsBadRequest() *GetServerLogsBadRequest
NewGetServerLogsBadRequest creates a GetServerLogsBadRequest with default headers values
func (*GetServerLogsBadRequest) Error ¶
func (o *GetServerLogsBadRequest) Error() string
func (*GetServerLogsBadRequest) GetPayload ¶
func (o *GetServerLogsBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type GetServerLogsInternalServerError ¶
type GetServerLogsInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerLogsInternalServerError handles this case with default header values.
Internal Server Error
func NewGetServerLogsInternalServerError ¶
func NewGetServerLogsInternalServerError() *GetServerLogsInternalServerError
NewGetServerLogsInternalServerError creates a GetServerLogsInternalServerError with default headers values
func (*GetServerLogsInternalServerError) Error ¶
func (o *GetServerLogsInternalServerError) Error() string
func (*GetServerLogsInternalServerError) GetPayload ¶
func (o *GetServerLogsInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type GetServerLogsNotFound ¶
type GetServerLogsNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerLogsNotFound handles this case with default header values.
server not found
func NewGetServerLogsNotFound ¶
func NewGetServerLogsNotFound() *GetServerLogsNotFound
NewGetServerLogsNotFound creates a GetServerLogsNotFound with default headers values
func (*GetServerLogsNotFound) Error ¶
func (o *GetServerLogsNotFound) Error() string
func (*GetServerLogsNotFound) GetPayload ¶
func (o *GetServerLogsNotFound) GetPayload() *dsmcclientmodels.ResponseError
type GetServerLogsOK ¶
type GetServerLogsOK struct {
Payload *dsmcclientmodels.ModelsServerLogs
}
GetServerLogsOK handles this case with default header values.
server logs queried
func NewGetServerLogsOK ¶
func NewGetServerLogsOK() *GetServerLogsOK
NewGetServerLogsOK creates a GetServerLogsOK with default headers values
func (*GetServerLogsOK) Error ¶
func (o *GetServerLogsOK) Error() string
func (*GetServerLogsOK) GetPayload ¶
func (o *GetServerLogsOK) GetPayload() *dsmcclientmodels.ModelsServerLogs
type GetServerLogsParams ¶
type GetServerLogsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*PodName name of the DS pod */ PodName string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServerLogsParams contains all the parameters to send to the API endpoint for the get server logs operation typically these are written to a http.Request
func NewGetServerLogsParams ¶
func NewGetServerLogsParams() *GetServerLogsParams
NewGetServerLogsParams creates a new GetServerLogsParams object with the default values initialized.
func NewGetServerLogsParamsWithContext ¶
func NewGetServerLogsParamsWithContext(ctx context.Context) *GetServerLogsParams
NewGetServerLogsParamsWithContext creates a new GetServerLogsParams object with the default values initialized, and the ability to set a context for a request
func NewGetServerLogsParamsWithHTTPClient ¶
func NewGetServerLogsParamsWithHTTPClient(client *http.Client) *GetServerLogsParams
NewGetServerLogsParamsWithHTTPClient creates a new GetServerLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServerLogsParamsWithTimeout ¶
func NewGetServerLogsParamsWithTimeout(timeout time.Duration) *GetServerLogsParams
NewGetServerLogsParamsWithTimeout creates a new GetServerLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServerLogsParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetServerLogsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get server logs params
func (*GetServerLogsParams) SetContext ¶
func (o *GetServerLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the get server logs params
func (*GetServerLogsParams) SetHTTPClient ¶
func (o *GetServerLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get server logs params
func (*GetServerLogsParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetServerLogsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get server logs params
func (*GetServerLogsParams) SetNamespace ¶
func (o *GetServerLogsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get server logs params
func (*GetServerLogsParams) SetPodName ¶
func (o *GetServerLogsParams) SetPodName(podName string)
SetPodName adds the podName to the get server logs params
func (*GetServerLogsParams) SetTimeout ¶
func (o *GetServerLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get server logs params
func (*GetServerLogsParams) WithContext ¶
func (o *GetServerLogsParams) WithContext(ctx context.Context) *GetServerLogsParams
WithContext adds the context to the get server logs params
func (*GetServerLogsParams) WithHTTPClient ¶
func (o *GetServerLogsParams) WithHTTPClient(client *http.Client) *GetServerLogsParams
WithHTTPClient adds the HTTPClient to the get server logs params
func (*GetServerLogsParams) WithNamespace ¶
func (o *GetServerLogsParams) WithNamespace(namespace string) *GetServerLogsParams
WithNamespace adds the namespace to the get server logs params
func (*GetServerLogsParams) WithPodName ¶
func (o *GetServerLogsParams) WithPodName(podName string) *GetServerLogsParams
WithPodName adds the podName to the get server logs params
func (*GetServerLogsParams) WithTimeout ¶
func (o *GetServerLogsParams) WithTimeout(timeout time.Duration) *GetServerLogsParams
WithTimeout adds the timeout to the get server logs params
func (*GetServerLogsParams) WriteToRequest ¶
func (o *GetServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServerLogsReader ¶
type GetServerLogsReader struct {
// contains filtered or unexported fields
}
GetServerLogsReader is a Reader for the GetServerLogs structure.
func (*GetServerLogsReader) ReadResponse ¶
func (o *GetServerLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServerLogsUnauthorized ¶
type GetServerLogsUnauthorized struct {
}GetServerLogsUnauthorized handles this case with default header values.
Unauthorized
func NewGetServerLogsUnauthorized ¶
func NewGetServerLogsUnauthorized() *GetServerLogsUnauthorized
NewGetServerLogsUnauthorized creates a GetServerLogsUnauthorized with default headers values
func (*GetServerLogsUnauthorized) Error ¶
func (o *GetServerLogsUnauthorized) Error() string
func (*GetServerLogsUnauthorized) GetPayload ¶
func (o *GetServerLogsUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type GetServerNotFound ¶
type GetServerNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
GetServerNotFound handles this case with default header values.
server not found
func NewGetServerNotFound ¶
func NewGetServerNotFound() *GetServerNotFound
NewGetServerNotFound creates a GetServerNotFound with default headers values
func (*GetServerNotFound) Error ¶
func (o *GetServerNotFound) Error() string
func (*GetServerNotFound) GetPayload ¶
func (o *GetServerNotFound) GetPayload() *dsmcclientmodels.ResponseError
type GetServerOK ¶
type GetServerOK struct {
Payload *dsmcclientmodels.ModelsServer
}
GetServerOK handles this case with default header values.
server queried
func NewGetServerOK ¶
func NewGetServerOK() *GetServerOK
NewGetServerOK creates a GetServerOK with default headers values
func (*GetServerOK) Error ¶
func (o *GetServerOK) Error() string
func (*GetServerOK) GetPayload ¶
func (o *GetServerOK) GetPayload() *dsmcclientmodels.ModelsServer
type GetServerParams ¶
type GetServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*PodName name of the DS pod */ PodName string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServerParams contains all the parameters to send to the API endpoint for the get server operation typically these are written to a http.Request
func NewGetServerParams ¶
func NewGetServerParams() *GetServerParams
NewGetServerParams creates a new GetServerParams object with the default values initialized.
func NewGetServerParamsWithContext ¶
func NewGetServerParamsWithContext(ctx context.Context) *GetServerParams
NewGetServerParamsWithContext creates a new GetServerParams object with the default values initialized, and the ability to set a context for a request
func NewGetServerParamsWithHTTPClient ¶
func NewGetServerParamsWithHTTPClient(client *http.Client) *GetServerParams
NewGetServerParamsWithHTTPClient creates a new GetServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetServerParamsWithTimeout ¶
func NewGetServerParamsWithTimeout(timeout time.Duration) *GetServerParams
NewGetServerParamsWithTimeout creates a new GetServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get server params
func (*GetServerParams) SetContext ¶
func (o *GetServerParams) SetContext(ctx context.Context)
SetContext adds the context to the get server params
func (*GetServerParams) SetHTTPClient ¶
func (o *GetServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get server params
func (*GetServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get server params
func (*GetServerParams) SetNamespace ¶
func (o *GetServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get server params
func (*GetServerParams) SetPodName ¶
func (o *GetServerParams) SetPodName(podName string)
SetPodName adds the podName to the get server params
func (*GetServerParams) SetTimeout ¶
func (o *GetServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get server params
func (*GetServerParams) WithContext ¶
func (o *GetServerParams) WithContext(ctx context.Context) *GetServerParams
WithContext adds the context to the get server params
func (*GetServerParams) WithHTTPClient ¶
func (o *GetServerParams) WithHTTPClient(client *http.Client) *GetServerParams
WithHTTPClient adds the HTTPClient to the get server params
func (*GetServerParams) WithNamespace ¶
func (o *GetServerParams) WithNamespace(namespace string) *GetServerParams
WithNamespace adds the namespace to the get server params
func (*GetServerParams) WithPodName ¶
func (o *GetServerParams) WithPodName(podName string) *GetServerParams
WithPodName adds the podName to the get server params
func (*GetServerParams) WithTimeout ¶
func (o *GetServerParams) WithTimeout(timeout time.Duration) *GetServerParams
WithTimeout adds the timeout to the get server params
func (*GetServerParams) WriteToRequest ¶
func (o *GetServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServerReader ¶
type GetServerReader struct {
// contains filtered or unexported fields
}
GetServerReader is a Reader for the GetServer structure.
func (*GetServerReader) ReadResponse ¶
func (o *GetServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetServerUnauthorized ¶
type GetServerUnauthorized struct {
}GetServerUnauthorized handles this case with default header values.
Unauthorized
func NewGetServerUnauthorized ¶
func NewGetServerUnauthorized() *GetServerUnauthorized
NewGetServerUnauthorized creates a GetServerUnauthorized with default headers values
func (*GetServerUnauthorized) Error ¶
func (o *GetServerUnauthorized) Error() string
func (*GetServerUnauthorized) GetPayload ¶
func (o *GetServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type ListLocalServerInternalServerError ¶
type ListLocalServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ListLocalServerInternalServerError handles this case with default header values.
Internal Server Error
func NewListLocalServerInternalServerError ¶
func NewListLocalServerInternalServerError() *ListLocalServerInternalServerError
NewListLocalServerInternalServerError creates a ListLocalServerInternalServerError with default headers values
func (*ListLocalServerInternalServerError) Error ¶
func (o *ListLocalServerInternalServerError) Error() string
func (*ListLocalServerInternalServerError) GetPayload ¶
func (o *ListLocalServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type ListLocalServerOK ¶
type ListLocalServerOK struct {
Payload *dsmcclientmodels.ModelsListServerResponse
}
ListLocalServerOK handles this case with default header values.
servers listed
func NewListLocalServerOK ¶
func NewListLocalServerOK() *ListLocalServerOK
NewListLocalServerOK creates a ListLocalServerOK with default headers values
func (*ListLocalServerOK) Error ¶
func (o *ListLocalServerOK) Error() string
func (*ListLocalServerOK) GetPayload ¶
func (o *ListLocalServerOK) GetPayload() *dsmcclientmodels.ModelsListServerResponse
type ListLocalServerParams ¶
type ListLocalServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListLocalServerParams contains all the parameters to send to the API endpoint for the list local server operation typically these are written to a http.Request
func NewListLocalServerParams ¶
func NewListLocalServerParams() *ListLocalServerParams
NewListLocalServerParams creates a new ListLocalServerParams object with the default values initialized.
func NewListLocalServerParamsWithContext ¶
func NewListLocalServerParamsWithContext(ctx context.Context) *ListLocalServerParams
NewListLocalServerParamsWithContext creates a new ListLocalServerParams object with the default values initialized, and the ability to set a context for a request
func NewListLocalServerParamsWithHTTPClient ¶
func NewListLocalServerParamsWithHTTPClient(client *http.Client) *ListLocalServerParams
NewListLocalServerParamsWithHTTPClient creates a new ListLocalServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListLocalServerParamsWithTimeout ¶
func NewListLocalServerParamsWithTimeout(timeout time.Duration) *ListLocalServerParams
NewListLocalServerParamsWithTimeout creates a new ListLocalServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListLocalServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListLocalServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list local server params
func (*ListLocalServerParams) SetContext ¶
func (o *ListLocalServerParams) SetContext(ctx context.Context)
SetContext adds the context to the list local server params
func (*ListLocalServerParams) SetHTTPClient ¶
func (o *ListLocalServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list local server params
func (*ListLocalServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListLocalServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list local server params
func (*ListLocalServerParams) SetNamespace ¶
func (o *ListLocalServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list local server params
func (*ListLocalServerParams) SetTimeout ¶
func (o *ListLocalServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list local server params
func (*ListLocalServerParams) WithContext ¶
func (o *ListLocalServerParams) WithContext(ctx context.Context) *ListLocalServerParams
WithContext adds the context to the list local server params
func (*ListLocalServerParams) WithHTTPClient ¶
func (o *ListLocalServerParams) WithHTTPClient(client *http.Client) *ListLocalServerParams
WithHTTPClient adds the HTTPClient to the list local server params
func (*ListLocalServerParams) WithNamespace ¶
func (o *ListLocalServerParams) WithNamespace(namespace string) *ListLocalServerParams
WithNamespace adds the namespace to the list local server params
func (*ListLocalServerParams) WithTimeout ¶
func (o *ListLocalServerParams) WithTimeout(timeout time.Duration) *ListLocalServerParams
WithTimeout adds the timeout to the list local server params
func (*ListLocalServerParams) WriteToRequest ¶
func (o *ListLocalServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListLocalServerReader ¶
type ListLocalServerReader struct {
// contains filtered or unexported fields
}
ListLocalServerReader is a Reader for the ListLocalServer structure.
func (*ListLocalServerReader) ReadResponse ¶
func (o *ListLocalServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListLocalServerUnauthorized ¶
type ListLocalServerUnauthorized struct {
}ListLocalServerUnauthorized handles this case with default header values.
Unauthorized
func NewListLocalServerUnauthorized ¶
func NewListLocalServerUnauthorized() *ListLocalServerUnauthorized
NewListLocalServerUnauthorized creates a ListLocalServerUnauthorized with default headers values
func (*ListLocalServerUnauthorized) Error ¶
func (o *ListLocalServerUnauthorized) Error() string
func (*ListLocalServerUnauthorized) GetPayload ¶
func (o *ListLocalServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type ListServerInternalServerError ¶
type ListServerInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ListServerInternalServerError handles this case with default header values.
Internal Server Error
func NewListServerInternalServerError ¶
func NewListServerInternalServerError() *ListServerInternalServerError
NewListServerInternalServerError creates a ListServerInternalServerError with default headers values
func (*ListServerInternalServerError) Error ¶
func (o *ListServerInternalServerError) Error() string
func (*ListServerInternalServerError) GetPayload ¶
func (o *ListServerInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type ListServerOK ¶
type ListServerOK struct {
Payload *dsmcclientmodels.ModelsListServerResponse
}
ListServerOK handles this case with default header values.
servers listed
func NewListServerOK ¶
func NewListServerOK() *ListServerOK
NewListServerOK creates a ListServerOK with default headers values
func (*ListServerOK) Error ¶
func (o *ListServerOK) Error() string
func (*ListServerOK) GetPayload ¶
func (o *ListServerOK) GetPayload() *dsmcclientmodels.ModelsListServerResponse
type ListServerParams ¶
type ListServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Count how many items to return, default: 50 */ Count *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset from list to query from */ Offset *int64 /*Region region where DS server is located. if not specified it will list all servers. */ Region *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListServerParams contains all the parameters to send to the API endpoint for the list server operation typically these are written to a http.Request
func NewListServerParams ¶
func NewListServerParams() *ListServerParams
NewListServerParams creates a new ListServerParams object with the default values initialized.
func NewListServerParamsWithContext ¶
func NewListServerParamsWithContext(ctx context.Context) *ListServerParams
NewListServerParamsWithContext creates a new ListServerParams object with the default values initialized, and the ability to set a context for a request
func NewListServerParamsWithHTTPClient ¶
func NewListServerParamsWithHTTPClient(client *http.Client) *ListServerParams
NewListServerParamsWithHTTPClient creates a new ListServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListServerParamsWithTimeout ¶
func NewListServerParamsWithTimeout(timeout time.Duration) *ListServerParams
NewListServerParamsWithTimeout creates a new ListServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list server params
func (*ListServerParams) SetContext ¶
func (o *ListServerParams) SetContext(ctx context.Context)
SetContext adds the context to the list server params
func (*ListServerParams) SetCount ¶
func (o *ListServerParams) SetCount(count *int64)
SetCount adds the count to the list server params
func (*ListServerParams) SetHTTPClient ¶
func (o *ListServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list server params
func (*ListServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list server params
func (*ListServerParams) SetNamespace ¶
func (o *ListServerParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list server params
func (*ListServerParams) SetOffset ¶
func (o *ListServerParams) SetOffset(offset *int64)
SetOffset adds the offset to the list server params
func (*ListServerParams) SetRegion ¶
func (o *ListServerParams) SetRegion(region *string)
SetRegion adds the region to the list server params
func (*ListServerParams) SetTimeout ¶
func (o *ListServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list server params
func (*ListServerParams) WithContext ¶
func (o *ListServerParams) WithContext(ctx context.Context) *ListServerParams
WithContext adds the context to the list server params
func (*ListServerParams) WithCount ¶
func (o *ListServerParams) WithCount(count *int64) *ListServerParams
WithCount adds the count to the list server params
func (*ListServerParams) WithHTTPClient ¶
func (o *ListServerParams) WithHTTPClient(client *http.Client) *ListServerParams
WithHTTPClient adds the HTTPClient to the list server params
func (*ListServerParams) WithNamespace ¶
func (o *ListServerParams) WithNamespace(namespace string) *ListServerParams
WithNamespace adds the namespace to the list server params
func (*ListServerParams) WithOffset ¶
func (o *ListServerParams) WithOffset(offset *int64) *ListServerParams
WithOffset adds the offset to the list server params
func (*ListServerParams) WithRegion ¶
func (o *ListServerParams) WithRegion(region *string) *ListServerParams
WithRegion adds the region to the list server params
func (*ListServerParams) WithTimeout ¶
func (o *ListServerParams) WithTimeout(timeout time.Duration) *ListServerParams
WithTimeout adds the timeout to the list server params
func (*ListServerParams) WriteToRequest ¶
func (o *ListServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListServerReader ¶
type ListServerReader struct {
// contains filtered or unexported fields
}
ListServerReader is a Reader for the ListServer structure.
func (*ListServerReader) ReadResponse ¶
func (o *ListServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListServerUnauthorized ¶
type ListServerUnauthorized struct {
}ListServerUnauthorized handles this case with default header values.
Unauthorized
func NewListServerUnauthorized ¶
func NewListServerUnauthorized() *ListServerUnauthorized
NewListServerUnauthorized creates a ListServerUnauthorized with default headers values
func (*ListServerUnauthorized) Error ¶
func (o *ListServerUnauthorized) Error() string
func (*ListServerUnauthorized) GetPayload ¶
func (o *ListServerUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type ListSessionInternalServerError ¶
type ListSessionInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ListSessionInternalServerError handles this case with default header values.
Internal Server Error
func NewListSessionInternalServerError ¶
func NewListSessionInternalServerError() *ListSessionInternalServerError
NewListSessionInternalServerError creates a ListSessionInternalServerError with default headers values
func (*ListSessionInternalServerError) Error ¶
func (o *ListSessionInternalServerError) Error() string
func (*ListSessionInternalServerError) GetPayload ¶
func (o *ListSessionInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type ListSessionOK ¶
type ListSessionOK struct {
Payload *dsmcclientmodels.ModelsListSessionResponse
}
ListSessionOK handles this case with default header values.
sessions listed
func NewListSessionOK ¶
func NewListSessionOK() *ListSessionOK
NewListSessionOK creates a ListSessionOK with default headers values
func (*ListSessionOK) Error ¶
func (o *ListSessionOK) Error() string
func (*ListSessionOK) GetPayload ¶
func (o *ListSessionOK) GetPayload() *dsmcclientmodels.ModelsListSessionResponse
type ListSessionParams ¶
type ListSessionParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Count how many items to return, default: 50 */ Count *int64 /*Namespace namespace of the game */ Namespace string /*Offset offset from list to query from */ Offset *int64 /*Region region where session is located. if not specified it will list all sessions. */ Region *string /*WithServer append server info to session or not */ WithServer *bool AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListSessionParams contains all the parameters to send to the API endpoint for the list session operation typically these are written to a http.Request
func NewListSessionParams ¶
func NewListSessionParams() *ListSessionParams
NewListSessionParams creates a new ListSessionParams object with the default values initialized.
func NewListSessionParamsWithContext ¶
func NewListSessionParamsWithContext(ctx context.Context) *ListSessionParams
NewListSessionParamsWithContext creates a new ListSessionParams object with the default values initialized, and the ability to set a context for a request
func NewListSessionParamsWithHTTPClient ¶
func NewListSessionParamsWithHTTPClient(client *http.Client) *ListSessionParams
NewListSessionParamsWithHTTPClient creates a new ListSessionParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListSessionParamsWithTimeout ¶
func NewListSessionParamsWithTimeout(timeout time.Duration) *ListSessionParams
NewListSessionParamsWithTimeout creates a new ListSessionParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListSessionParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *ListSessionParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the list session params
func (*ListSessionParams) SetContext ¶
func (o *ListSessionParams) SetContext(ctx context.Context)
SetContext adds the context to the list session params
func (*ListSessionParams) SetCount ¶
func (o *ListSessionParams) SetCount(count *int64)
SetCount adds the count to the list session params
func (*ListSessionParams) SetHTTPClient ¶
func (o *ListSessionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list session params
func (*ListSessionParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *ListSessionParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the list session params
func (*ListSessionParams) SetNamespace ¶
func (o *ListSessionParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the list session params
func (*ListSessionParams) SetOffset ¶
func (o *ListSessionParams) SetOffset(offset *int64)
SetOffset adds the offset to the list session params
func (*ListSessionParams) SetRegion ¶
func (o *ListSessionParams) SetRegion(region *string)
SetRegion adds the region to the list session params
func (*ListSessionParams) SetTimeout ¶
func (o *ListSessionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list session params
func (*ListSessionParams) SetWithServer ¶
func (o *ListSessionParams) SetWithServer(withServer *bool)
SetWithServer adds the withServer to the list session params
func (*ListSessionParams) WithContext ¶
func (o *ListSessionParams) WithContext(ctx context.Context) *ListSessionParams
WithContext adds the context to the list session params
func (*ListSessionParams) WithCount ¶
func (o *ListSessionParams) WithCount(count *int64) *ListSessionParams
WithCount adds the count to the list session params
func (*ListSessionParams) WithHTTPClient ¶
func (o *ListSessionParams) WithHTTPClient(client *http.Client) *ListSessionParams
WithHTTPClient adds the HTTPClient to the list session params
func (*ListSessionParams) WithNamespace ¶
func (o *ListSessionParams) WithNamespace(namespace string) *ListSessionParams
WithNamespace adds the namespace to the list session params
func (*ListSessionParams) WithOffset ¶
func (o *ListSessionParams) WithOffset(offset *int64) *ListSessionParams
WithOffset adds the offset to the list session params
func (*ListSessionParams) WithRegion ¶
func (o *ListSessionParams) WithRegion(region *string) *ListSessionParams
WithRegion adds the region to the list session params
func (*ListSessionParams) WithTimeout ¶
func (o *ListSessionParams) WithTimeout(timeout time.Duration) *ListSessionParams
WithTimeout adds the timeout to the list session params
func (*ListSessionParams) WithWithServer ¶
func (o *ListSessionParams) WithWithServer(withServer *bool) *ListSessionParams
WithWithServer adds the withServer to the list session params
func (*ListSessionParams) WriteToRequest ¶
func (o *ListSessionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListSessionReader ¶
type ListSessionReader struct {
// contains filtered or unexported fields
}
ListSessionReader is a Reader for the ListSession structure.
func (*ListSessionReader) ReadResponse ¶
func (o *ListSessionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListSessionUnauthorized ¶
type ListSessionUnauthorized struct {
}ListSessionUnauthorized handles this case with default header values.
Unauthorized
func NewListSessionUnauthorized ¶
func NewListSessionUnauthorized() *ListSessionUnauthorized
NewListSessionUnauthorized creates a ListSessionUnauthorized with default headers values
func (*ListSessionUnauthorized) Error ¶
func (o *ListSessionUnauthorized) Error() string
func (*ListSessionUnauthorized) GetPayload ¶
func (o *ListSessionUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
Source Files
¶
- admin_client.go
- count_server_detailed_parameters.go
- count_server_detailed_responses.go
- count_server_parameters.go
- count_server_responses.go
- count_session_parameters.go
- count_session_responses.go
- delete_local_server_parameters.go
- delete_local_server_responses.go
- delete_server_parameters.go
- delete_server_responses.go
- delete_session_parameters.go
- delete_session_responses.go
- get_server_logs_parameters.go
- get_server_logs_responses.go
- get_server_parameters.go
- get_server_responses.go
- list_local_server_parameters.go
- list_local_server_responses.go
- list_server_parameters.go
- list_server_responses.go
- list_session_parameters.go
- list_session_responses.go