download_server_logs

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

WithTimeout adds the timeout to the download server logs params

func (*DownloadServerLogsParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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