Documentation ¶
Index ¶
- type CheckServerLogsInternalServerError
- type CheckServerLogsNotFound
- type CheckServerLogsOK
- type CheckServerLogsParams
- func NewCheckServerLogsParams() *CheckServerLogsParams
- func NewCheckServerLogsParamsWithContext(ctx context.Context) *CheckServerLogsParams
- func NewCheckServerLogsParamsWithHTTPClient(client *http.Client) *CheckServerLogsParams
- func NewCheckServerLogsParamsWithTimeout(timeout time.Duration) *CheckServerLogsParams
- func (o *CheckServerLogsParams) SetContext(ctx context.Context)
- func (o *CheckServerLogsParams) SetHTTPClient(client *http.Client)
- func (o *CheckServerLogsParams) SetNamespace(namespace string)
- func (o *CheckServerLogsParams) SetPodName(podName string)
- func (o *CheckServerLogsParams) SetTimeout(timeout time.Duration)
- func (o *CheckServerLogsParams) WithContext(ctx context.Context) *CheckServerLogsParams
- func (o *CheckServerLogsParams) WithHTTPClient(client *http.Client) *CheckServerLogsParams
- func (o *CheckServerLogsParams) WithNamespace(namespace string) *CheckServerLogsParams
- func (o *CheckServerLogsParams) WithPodName(podName string) *CheckServerLogsParams
- func (o *CheckServerLogsParams) WithTimeout(timeout time.Duration) *CheckServerLogsParams
- func (o *CheckServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckServerLogsReader
- type Client
- func (a *Client) CheckServerLogs(params *CheckServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerLogsOK, *CheckServerLogsNotFound, ...)
- func (a *Client) CheckServerLogsShort(params *CheckServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerLogsOK, error)
- func (a *Client) DownloadServerLogs(params *DownloadServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerLogsOK, *DownloadServerLogsNotFound, ...)
- func (a *Client) DownloadServerLogsShort(params *DownloadServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerLogsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DownloadServerLogsInternalServerError
- type DownloadServerLogsNotFound
- type DownloadServerLogsOK
- type DownloadServerLogsParams
- func NewDownloadServerLogsParams() *DownloadServerLogsParams
- func NewDownloadServerLogsParamsWithContext(ctx context.Context) *DownloadServerLogsParams
- func NewDownloadServerLogsParamsWithHTTPClient(client *http.Client) *DownloadServerLogsParams
- func NewDownloadServerLogsParamsWithTimeout(timeout time.Duration) *DownloadServerLogsParams
- func (o *DownloadServerLogsParams) SetContext(ctx context.Context)
- func (o *DownloadServerLogsParams) SetHTTPClient(client *http.Client)
- func (o *DownloadServerLogsParams) SetNamespace(namespace string)
- func (o *DownloadServerLogsParams) SetPodName(podName string)
- func (o *DownloadServerLogsParams) SetTimeout(timeout time.Duration)
- func (o *DownloadServerLogsParams) WithContext(ctx context.Context) *DownloadServerLogsParams
- func (o *DownloadServerLogsParams) WithHTTPClient(client *http.Client) *DownloadServerLogsParams
- func (o *DownloadServerLogsParams) WithNamespace(namespace string) *DownloadServerLogsParams
- func (o *DownloadServerLogsParams) WithPodName(podName string) *DownloadServerLogsParams
- func (o *DownloadServerLogsParams) WithTimeout(timeout time.Duration) *DownloadServerLogsParams
- func (o *DownloadServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadServerLogsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckServerLogsInternalServerError ¶
type CheckServerLogsInternalServerError struct {
Payload *dslogmanagerclientmodels.ResponseError
}
CheckServerLogsInternalServerError handles this case with default header values.
Internal Server Error
func NewCheckServerLogsInternalServerError ¶
func NewCheckServerLogsInternalServerError() *CheckServerLogsInternalServerError
NewCheckServerLogsInternalServerError creates a CheckServerLogsInternalServerError with default headers values
func (*CheckServerLogsInternalServerError) Error ¶
func (o *CheckServerLogsInternalServerError) Error() string
func (*CheckServerLogsInternalServerError) GetPayload ¶
func (o *CheckServerLogsInternalServerError) GetPayload() *dslogmanagerclientmodels.ResponseError
type CheckServerLogsNotFound ¶
type CheckServerLogsNotFound struct {
Payload *dslogmanagerclientmodels.ResponseError
}
CheckServerLogsNotFound handles this case with default header values.
Not Found
func NewCheckServerLogsNotFound ¶
func NewCheckServerLogsNotFound() *CheckServerLogsNotFound
NewCheckServerLogsNotFound creates a CheckServerLogsNotFound with default headers values
func (*CheckServerLogsNotFound) Error ¶
func (o *CheckServerLogsNotFound) Error() string
func (*CheckServerLogsNotFound) GetPayload ¶
func (o *CheckServerLogsNotFound) GetPayload() *dslogmanagerclientmodels.ResponseError
type CheckServerLogsOK ¶
type CheckServerLogsOK struct {
Payload *dslogmanagerclientmodels.ModelsLogFileStatus
}
CheckServerLogsOK handles this case with default header values.
Log exists.
func NewCheckServerLogsOK ¶
func NewCheckServerLogsOK() *CheckServerLogsOK
NewCheckServerLogsOK creates a CheckServerLogsOK with default headers values
func (*CheckServerLogsOK) Error ¶
func (o *CheckServerLogsOK) Error() string
func (*CheckServerLogsOK) GetPayload ¶
func (o *CheckServerLogsOK) GetPayload() *dslogmanagerclientmodels.ModelsLogFileStatus
type CheckServerLogsParams ¶
type CheckServerLogsParams struct { /*Namespace namespace of the game */ Namespace string /*PodName name of the DS pod */ PodName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CheckServerLogsParams contains all the parameters to send to the API endpoint for the check server logs operation typically these are written to a http.Request
func NewCheckServerLogsParams ¶
func NewCheckServerLogsParams() *CheckServerLogsParams
NewCheckServerLogsParams creates a new CheckServerLogsParams object with the default values initialized.
func NewCheckServerLogsParamsWithContext ¶
func NewCheckServerLogsParamsWithContext(ctx context.Context) *CheckServerLogsParams
NewCheckServerLogsParamsWithContext creates a new CheckServerLogsParams object with the default values initialized, and the ability to set a context for a request
func NewCheckServerLogsParamsWithHTTPClient ¶
func NewCheckServerLogsParamsWithHTTPClient(client *http.Client) *CheckServerLogsParams
NewCheckServerLogsParamsWithHTTPClient creates a new CheckServerLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckServerLogsParamsWithTimeout ¶
func NewCheckServerLogsParamsWithTimeout(timeout time.Duration) *CheckServerLogsParams
NewCheckServerLogsParamsWithTimeout creates a new CheckServerLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckServerLogsParams) SetContext ¶
func (o *CheckServerLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the check server logs params
func (*CheckServerLogsParams) SetHTTPClient ¶
func (o *CheckServerLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check server logs params
func (*CheckServerLogsParams) SetNamespace ¶
func (o *CheckServerLogsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the check server logs params
func (*CheckServerLogsParams) SetPodName ¶
func (o *CheckServerLogsParams) SetPodName(podName string)
SetPodName adds the podName to the check server logs params
func (*CheckServerLogsParams) SetTimeout ¶
func (o *CheckServerLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check server logs params
func (*CheckServerLogsParams) WithContext ¶
func (o *CheckServerLogsParams) WithContext(ctx context.Context) *CheckServerLogsParams
WithContext adds the context to the check server logs params
func (*CheckServerLogsParams) WithHTTPClient ¶
func (o *CheckServerLogsParams) WithHTTPClient(client *http.Client) *CheckServerLogsParams
WithHTTPClient adds the HTTPClient to the check server logs params
func (*CheckServerLogsParams) WithNamespace ¶
func (o *CheckServerLogsParams) WithNamespace(namespace string) *CheckServerLogsParams
WithNamespace adds the namespace to the check server logs params
func (*CheckServerLogsParams) WithPodName ¶
func (o *CheckServerLogsParams) WithPodName(podName string) *CheckServerLogsParams
WithPodName adds the podName to the check server logs params
func (*CheckServerLogsParams) WithTimeout ¶
func (o *CheckServerLogsParams) WithTimeout(timeout time.Duration) *CheckServerLogsParams
WithTimeout adds the timeout to the check server logs params
func (*CheckServerLogsParams) WriteToRequest ¶
func (o *CheckServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckServerLogsReader ¶
type CheckServerLogsReader struct {
// contains filtered or unexported fields
}
CheckServerLogsReader is a Reader for the CheckServerLogs structure.
func (*CheckServerLogsReader) ReadResponse ¶
func (o *CheckServerLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for download server logs API
func (*Client) CheckServerLogs ¶
func (a *Client) CheckServerLogs(params *CheckServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerLogsOK, *CheckServerLogsNotFound, *CheckServerLogsInternalServerError, error)
CheckServerLogs checks dedicated server log files existence Required permission: ADMIN:NAMESPACE:{namespace}:DSLM:LOG [READ]
Required scope: social
This endpoint will check log file existence before download file.
func (*Client) CheckServerLogsShort ¶ added in v0.8.0
func (a *Client) CheckServerLogsShort(params *CheckServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerLogsOK, error)
func (*Client) DownloadServerLogs ¶
func (a *Client) DownloadServerLogs(params *DownloadServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerLogsOK, *DownloadServerLogsNotFound, *DownloadServerLogsInternalServerError, error)
DownloadServerLogs downloads dedicated server log files Required permission: ADMIN:NAMESPACE:{namespace}:DSLM:LOG [READ]
Required scope: social
This endpoint will download dedicated server's log file (.log).
func (*Client) DownloadServerLogsShort ¶ added in v0.8.0
func (a *Client) DownloadServerLogsShort(params *DownloadServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerLogsOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CheckServerLogs(params *CheckServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerLogsOK, *CheckServerLogsNotFound, *CheckServerLogsInternalServerError, error) CheckServerLogsShort(params *CheckServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerLogsOK, error) DownloadServerLogs(params *DownloadServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerLogsOK, *DownloadServerLogsNotFound, *DownloadServerLogsInternalServerError, error) DownloadServerLogsShort(params *DownloadServerLogsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerLogsOK, 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 download server logs API client.
type DownloadServerLogsInternalServerError ¶
type DownloadServerLogsInternalServerError struct {
Payload *dslogmanagerclientmodels.ResponseError
}
DownloadServerLogsInternalServerError handles this case with default header values.
Internal Server Error
func NewDownloadServerLogsInternalServerError ¶
func NewDownloadServerLogsInternalServerError() *DownloadServerLogsInternalServerError
NewDownloadServerLogsInternalServerError creates a DownloadServerLogsInternalServerError with default headers values
func (*DownloadServerLogsInternalServerError) Error ¶
func (o *DownloadServerLogsInternalServerError) Error() string
func (*DownloadServerLogsInternalServerError) GetPayload ¶
func (o *DownloadServerLogsInternalServerError) GetPayload() *dslogmanagerclientmodels.ResponseError
type DownloadServerLogsNotFound ¶
type DownloadServerLogsNotFound struct {
Payload *dslogmanagerclientmodels.ResponseError
}
DownloadServerLogsNotFound handles this case with default header values.
Not Found
func NewDownloadServerLogsNotFound ¶
func NewDownloadServerLogsNotFound() *DownloadServerLogsNotFound
NewDownloadServerLogsNotFound creates a DownloadServerLogsNotFound with default headers values
func (*DownloadServerLogsNotFound) Error ¶
func (o *DownloadServerLogsNotFound) Error() string
func (*DownloadServerLogsNotFound) GetPayload ¶
func (o *DownloadServerLogsNotFound) GetPayload() *dslogmanagerclientmodels.ResponseError
type DownloadServerLogsOK ¶
type DownloadServerLogsOK struct { }
DownloadServerLogsOK handles this case with default header values.
server logs downloaded.
func NewDownloadServerLogsOK ¶
func NewDownloadServerLogsOK() *DownloadServerLogsOK
NewDownloadServerLogsOK creates a DownloadServerLogsOK with default headers values
func (*DownloadServerLogsOK) Error ¶
func (o *DownloadServerLogsOK) Error() string
type DownloadServerLogsParams ¶
type DownloadServerLogsParams struct { /*Namespace namespace of the game */ Namespace string /*PodName name of the DS pod */ PodName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DownloadServerLogsParams contains all the parameters to send to the API endpoint for the download server logs operation typically these are written to a http.Request
func NewDownloadServerLogsParams ¶
func NewDownloadServerLogsParams() *DownloadServerLogsParams
NewDownloadServerLogsParams creates a new DownloadServerLogsParams object with the default values initialized.
func NewDownloadServerLogsParamsWithContext ¶
func NewDownloadServerLogsParamsWithContext(ctx context.Context) *DownloadServerLogsParams
NewDownloadServerLogsParamsWithContext creates a new DownloadServerLogsParams object with the default values initialized, and the ability to set a context for a request
func NewDownloadServerLogsParamsWithHTTPClient ¶
func NewDownloadServerLogsParamsWithHTTPClient(client *http.Client) *DownloadServerLogsParams
NewDownloadServerLogsParamsWithHTTPClient creates a new DownloadServerLogsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDownloadServerLogsParamsWithTimeout ¶
func NewDownloadServerLogsParamsWithTimeout(timeout time.Duration) *DownloadServerLogsParams
NewDownloadServerLogsParamsWithTimeout creates a new DownloadServerLogsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DownloadServerLogsParams) SetContext ¶
func (o *DownloadServerLogsParams) SetContext(ctx context.Context)
SetContext adds the context to the download server logs params
func (*DownloadServerLogsParams) SetHTTPClient ¶
func (o *DownloadServerLogsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download server logs params
func (*DownloadServerLogsParams) SetNamespace ¶
func (o *DownloadServerLogsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the download server logs params
func (*DownloadServerLogsParams) SetPodName ¶
func (o *DownloadServerLogsParams) SetPodName(podName string)
SetPodName adds the podName to the download server logs params
func (*DownloadServerLogsParams) SetTimeout ¶
func (o *DownloadServerLogsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download server logs params
func (*DownloadServerLogsParams) WithContext ¶
func (o *DownloadServerLogsParams) WithContext(ctx context.Context) *DownloadServerLogsParams
WithContext adds the context to the download server logs params
func (*DownloadServerLogsParams) WithHTTPClient ¶
func (o *DownloadServerLogsParams) WithHTTPClient(client *http.Client) *DownloadServerLogsParams
WithHTTPClient adds the HTTPClient to the download server logs params
func (*DownloadServerLogsParams) WithNamespace ¶
func (o *DownloadServerLogsParams) WithNamespace(namespace string) *DownloadServerLogsParams
WithNamespace adds the namespace to the download server logs params
func (*DownloadServerLogsParams) WithPodName ¶
func (o *DownloadServerLogsParams) WithPodName(podName string) *DownloadServerLogsParams
WithPodName adds the podName to the download server logs params
func (*DownloadServerLogsParams) WithTimeout ¶
func (o *DownloadServerLogsParams) WithTimeout(timeout time.Duration) *DownloadServerLogsParams
WithTimeout adds the timeout to the download server logs params
func (*DownloadServerLogsParams) WriteToRequest ¶
func (o *DownloadServerLogsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadServerLogsReader ¶
type DownloadServerLogsReader struct {
// contains filtered or unexported fields
}
DownloadServerLogsReader is a Reader for the DownloadServerLogs structure.
func (*DownloadServerLogsReader) ReadResponse ¶
func (o *DownloadServerLogsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.