Documentation ¶
Index ¶
- type CheckServerArtifactInternalServerError
- type CheckServerArtifactNotFound
- type CheckServerArtifactOK
- type CheckServerArtifactParams
- func NewCheckServerArtifactParams() *CheckServerArtifactParams
- func NewCheckServerArtifactParamsWithContext(ctx context.Context) *CheckServerArtifactParams
- func NewCheckServerArtifactParamsWithHTTPClient(client *http.Client) *CheckServerArtifactParams
- func NewCheckServerArtifactParamsWithTimeout(timeout time.Duration) *CheckServerArtifactParams
- func (o *CheckServerArtifactParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *CheckServerArtifactParams) SetContext(ctx context.Context)
- func (o *CheckServerArtifactParams) SetFlightId(flightId string)
- func (o *CheckServerArtifactParams) SetHTTPClient(client *http.Client)
- func (o *CheckServerArtifactParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *CheckServerArtifactParams) SetNamespace(namespace string)
- func (o *CheckServerArtifactParams) SetPodName(podName string)
- func (o *CheckServerArtifactParams) SetTimeout(timeout time.Duration)
- func (o *CheckServerArtifactParams) WithContext(ctx context.Context) *CheckServerArtifactParams
- func (o *CheckServerArtifactParams) WithHTTPClient(client *http.Client) *CheckServerArtifactParams
- func (o *CheckServerArtifactParams) WithNamespace(namespace string) *CheckServerArtifactParams
- func (o *CheckServerArtifactParams) WithPodName(podName string) *CheckServerArtifactParams
- func (o *CheckServerArtifactParams) WithTimeout(timeout time.Duration) *CheckServerArtifactParams
- func (o *CheckServerArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CheckServerArtifactReader
- type Client
- func (a *Client) CheckServerArtifact(params *CheckServerArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerArtifactOK, *CheckServerArtifactNotFound, ...)deprecated
- func (a *Client) CheckServerArtifactShort(params *CheckServerArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerArtifactOK, error)
- func (a *Client) DownloadServerArtifacts(params *DownloadServerArtifactsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerArtifactsOK, *DownloadServerArtifactsNotFound, ...)deprecated
- func (a *Client) DownloadServerArtifactsShort(params *DownloadServerArtifactsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerArtifactsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DownloadServerArtifactsInternalServerError
- type DownloadServerArtifactsNotFound
- type DownloadServerArtifactsOK
- type DownloadServerArtifactsParams
- func NewDownloadServerArtifactsParams() *DownloadServerArtifactsParams
- func NewDownloadServerArtifactsParamsWithContext(ctx context.Context) *DownloadServerArtifactsParams
- func NewDownloadServerArtifactsParamsWithHTTPClient(client *http.Client) *DownloadServerArtifactsParams
- func NewDownloadServerArtifactsParamsWithTimeout(timeout time.Duration) *DownloadServerArtifactsParams
- func (o *DownloadServerArtifactsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DownloadServerArtifactsParams) SetContext(ctx context.Context)
- func (o *DownloadServerArtifactsParams) SetFlightId(flightId string)
- func (o *DownloadServerArtifactsParams) SetHTTPClient(client *http.Client)
- func (o *DownloadServerArtifactsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DownloadServerArtifactsParams) SetNamespace(namespace string)
- func (o *DownloadServerArtifactsParams) SetPodName(podName string)
- func (o *DownloadServerArtifactsParams) SetTimeout(timeout time.Duration)
- func (o *DownloadServerArtifactsParams) WithContext(ctx context.Context) *DownloadServerArtifactsParams
- func (o *DownloadServerArtifactsParams) WithHTTPClient(client *http.Client) *DownloadServerArtifactsParams
- func (o *DownloadServerArtifactsParams) WithNamespace(namespace string) *DownloadServerArtifactsParams
- func (o *DownloadServerArtifactsParams) WithPodName(podName string) *DownloadServerArtifactsParams
- func (o *DownloadServerArtifactsParams) WithTimeout(timeout time.Duration) *DownloadServerArtifactsParams
- func (o *DownloadServerArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadServerArtifactsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckServerArtifactInternalServerError ¶
type CheckServerArtifactInternalServerError struct {
Payload *dsartifactclientmodels.ResponseError
}
CheckServerArtifactInternalServerError handles this case with default header values.
Internal Server Error
func NewCheckServerArtifactInternalServerError ¶
func NewCheckServerArtifactInternalServerError() *CheckServerArtifactInternalServerError
NewCheckServerArtifactInternalServerError creates a CheckServerArtifactInternalServerError with default headers values
func (*CheckServerArtifactInternalServerError) Error ¶
func (o *CheckServerArtifactInternalServerError) Error() string
func (*CheckServerArtifactInternalServerError) GetPayload ¶
func (o *CheckServerArtifactInternalServerError) GetPayload() *dsartifactclientmodels.ResponseError
func (*CheckServerArtifactInternalServerError) ToJSONString ¶
func (o *CheckServerArtifactInternalServerError) ToJSONString() string
type CheckServerArtifactNotFound ¶
type CheckServerArtifactNotFound struct {
Payload *dsartifactclientmodels.ResponseError
}
CheckServerArtifactNotFound handles this case with default header values.
Not Found
func NewCheckServerArtifactNotFound ¶
func NewCheckServerArtifactNotFound() *CheckServerArtifactNotFound
NewCheckServerArtifactNotFound creates a CheckServerArtifactNotFound with default headers values
func (*CheckServerArtifactNotFound) Error ¶
func (o *CheckServerArtifactNotFound) Error() string
func (*CheckServerArtifactNotFound) GetPayload ¶
func (o *CheckServerArtifactNotFound) GetPayload() *dsartifactclientmodels.ResponseError
func (*CheckServerArtifactNotFound) ToJSONString ¶
func (o *CheckServerArtifactNotFound) ToJSONString() string
type CheckServerArtifactOK ¶
type CheckServerArtifactOK struct {
Payload *dsartifactclientmodels.ModelsArtifactFileStatus
}
CheckServerArtifactOK handles this case with default header values.
artifact exists.
func NewCheckServerArtifactOK ¶
func NewCheckServerArtifactOK() *CheckServerArtifactOK
NewCheckServerArtifactOK creates a CheckServerArtifactOK with default headers values
func (*CheckServerArtifactOK) Error ¶
func (o *CheckServerArtifactOK) Error() string
func (*CheckServerArtifactOK) GetPayload ¶
func (o *CheckServerArtifactOK) GetPayload() *dsartifactclientmodels.ModelsArtifactFileStatus
func (*CheckServerArtifactOK) ToJSONString ¶
func (o *CheckServerArtifactOK) ToJSONString() string
type CheckServerArtifactParams ¶
type CheckServerArtifactParams 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 // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
CheckServerArtifactParams contains all the parameters to send to the API endpoint for the check server artifact operation typically these are written to a http.Request
func NewCheckServerArtifactParams ¶
func NewCheckServerArtifactParams() *CheckServerArtifactParams
NewCheckServerArtifactParams creates a new CheckServerArtifactParams object with the default values initialized.
func NewCheckServerArtifactParamsWithContext ¶
func NewCheckServerArtifactParamsWithContext(ctx context.Context) *CheckServerArtifactParams
NewCheckServerArtifactParamsWithContext creates a new CheckServerArtifactParams object with the default values initialized, and the ability to set a context for a request
func NewCheckServerArtifactParamsWithHTTPClient ¶
func NewCheckServerArtifactParamsWithHTTPClient(client *http.Client) *CheckServerArtifactParams
NewCheckServerArtifactParamsWithHTTPClient creates a new CheckServerArtifactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCheckServerArtifactParamsWithTimeout ¶
func NewCheckServerArtifactParamsWithTimeout(timeout time.Duration) *CheckServerArtifactParams
NewCheckServerArtifactParamsWithTimeout creates a new CheckServerArtifactParams object with the default values initialized, and the ability to set a timeout on a request
func (*CheckServerArtifactParams) SetAuthInfoWriter ¶
func (o *CheckServerArtifactParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the check server artifact params
func (*CheckServerArtifactParams) SetContext ¶
func (o *CheckServerArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the check server artifact params
func (*CheckServerArtifactParams) SetFlightId ¶
func (o *CheckServerArtifactParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*CheckServerArtifactParams) SetHTTPClient ¶
func (o *CheckServerArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the check server artifact params
func (*CheckServerArtifactParams) SetHTTPClientTransport ¶
func (o *CheckServerArtifactParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the check server artifact params
func (*CheckServerArtifactParams) SetNamespace ¶
func (o *CheckServerArtifactParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the check server artifact params
func (*CheckServerArtifactParams) SetPodName ¶
func (o *CheckServerArtifactParams) SetPodName(podName string)
SetPodName adds the podName to the check server artifact params
func (*CheckServerArtifactParams) SetTimeout ¶
func (o *CheckServerArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the check server artifact params
func (*CheckServerArtifactParams) WithContext ¶
func (o *CheckServerArtifactParams) WithContext(ctx context.Context) *CheckServerArtifactParams
WithContext adds the context to the check server artifact params
func (*CheckServerArtifactParams) WithHTTPClient ¶
func (o *CheckServerArtifactParams) WithHTTPClient(client *http.Client) *CheckServerArtifactParams
WithHTTPClient adds the HTTPClient to the check server artifact params
func (*CheckServerArtifactParams) WithNamespace ¶
func (o *CheckServerArtifactParams) WithNamespace(namespace string) *CheckServerArtifactParams
WithNamespace adds the namespace to the check server artifact params
func (*CheckServerArtifactParams) WithPodName ¶
func (o *CheckServerArtifactParams) WithPodName(podName string) *CheckServerArtifactParams
WithPodName adds the podName to the check server artifact params
func (*CheckServerArtifactParams) WithTimeout ¶
func (o *CheckServerArtifactParams) WithTimeout(timeout time.Duration) *CheckServerArtifactParams
WithTimeout adds the timeout to the check server artifact params
func (*CheckServerArtifactParams) WriteToRequest ¶
func (o *CheckServerArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CheckServerArtifactReader ¶
type CheckServerArtifactReader struct {
// contains filtered or unexported fields
}
CheckServerArtifactReader is a Reader for the CheckServerArtifact structure.
func (*CheckServerArtifactReader) ReadResponse ¶
func (o *CheckServerArtifactReader) 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 artifact API
func (*Client) CheckServerArtifact
deprecated
func (a *Client) CheckServerArtifact(params *CheckServerArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerArtifactOK, *CheckServerArtifactNotFound, *CheckServerArtifactInternalServerError, error)
Deprecated: 2022-08-10 - Use CheckServerArtifactShort instead.
CheckServerArtifact check dedicated server artifacts files existence Required permission: ADMIN:NAMESPACE:{namespace}:DSAM:ARTIFACT [READ]
Required scope: social
This endpoint will check artifact file existence before download file.
This endpoint will return the artifact status.
The possible status is : 'Empty', 'In Queue', 'Uploading', 'Ready', 'Failed'
func (*Client) CheckServerArtifactShort ¶
func (a *Client) CheckServerArtifactShort(params *CheckServerArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerArtifactOK, error)
CheckServerArtifactShort check dedicated server artifacts files existence Required permission: ADMIN:NAMESPACE:{namespace}:DSAM:ARTIFACT [READ]
Required scope: social
This endpoint will check artifact file existence before download file.
This endpoint will return the artifact status.
The possible status is : 'Empty', 'In Queue', 'Uploading', 'Ready', 'Failed'
func (*Client) DownloadServerArtifacts
deprecated
func (a *Client) DownloadServerArtifacts(params *DownloadServerArtifactsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerArtifactsOK, *DownloadServerArtifactsNotFound, *DownloadServerArtifactsInternalServerError, error)
Deprecated: 2022-08-10 - Use DownloadServerArtifactsShort instead.
DownloadServerArtifacts download dedicated server artifact files Required permission: ADMIN:NAMESPACE:{namespace}:DSAM:ARTIFACT [READ]
Required scope: social
This endpoint will download dedicated server's Artifact file (.zip).
func (*Client) DownloadServerArtifactsShort ¶
func (a *Client) DownloadServerArtifactsShort(params *DownloadServerArtifactsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerArtifactsOK, error)
DownloadServerArtifactsShort download dedicated server artifact files Required permission: ADMIN:NAMESPACE:{namespace}:DSAM:ARTIFACT [READ]
Required scope: social
This endpoint will download dedicated server's Artifact file (.zip).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DownloadServerArtifacts(params *DownloadServerArtifactsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerArtifactsOK, *DownloadServerArtifactsNotFound, *DownloadServerArtifactsInternalServerError, error) DownloadServerArtifactsShort(params *DownloadServerArtifactsParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadServerArtifactsOK, error) CheckServerArtifact(params *CheckServerArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerArtifactOK, *CheckServerArtifactNotFound, *CheckServerArtifactInternalServerError, error) CheckServerArtifactShort(params *CheckServerArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*CheckServerArtifactOK, 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 artifact API client.
type DownloadServerArtifactsInternalServerError ¶
type DownloadServerArtifactsInternalServerError struct {
Payload *dsartifactclientmodels.ResponseError
}
DownloadServerArtifactsInternalServerError handles this case with default header values.
Internal Server Error
func NewDownloadServerArtifactsInternalServerError ¶
func NewDownloadServerArtifactsInternalServerError() *DownloadServerArtifactsInternalServerError
NewDownloadServerArtifactsInternalServerError creates a DownloadServerArtifactsInternalServerError with default headers values
func (*DownloadServerArtifactsInternalServerError) Error ¶
func (o *DownloadServerArtifactsInternalServerError) Error() string
func (*DownloadServerArtifactsInternalServerError) GetPayload ¶
func (o *DownloadServerArtifactsInternalServerError) GetPayload() *dsartifactclientmodels.ResponseError
func (*DownloadServerArtifactsInternalServerError) ToJSONString ¶
func (o *DownloadServerArtifactsInternalServerError) ToJSONString() string
type DownloadServerArtifactsNotFound ¶
type DownloadServerArtifactsNotFound struct {
Payload *dsartifactclientmodels.ResponseError
}
DownloadServerArtifactsNotFound handles this case with default header values.
Not Found
func NewDownloadServerArtifactsNotFound ¶
func NewDownloadServerArtifactsNotFound() *DownloadServerArtifactsNotFound
NewDownloadServerArtifactsNotFound creates a DownloadServerArtifactsNotFound with default headers values
func (*DownloadServerArtifactsNotFound) Error ¶
func (o *DownloadServerArtifactsNotFound) Error() string
func (*DownloadServerArtifactsNotFound) GetPayload ¶
func (o *DownloadServerArtifactsNotFound) GetPayload() *dsartifactclientmodels.ResponseError
func (*DownloadServerArtifactsNotFound) ToJSONString ¶
func (o *DownloadServerArtifactsNotFound) ToJSONString() string
type DownloadServerArtifactsOK ¶
type DownloadServerArtifactsOK struct { }
DownloadServerArtifactsOK handles this case with default header values.
server artifact downloaded.
func NewDownloadServerArtifactsOK ¶
func NewDownloadServerArtifactsOK() *DownloadServerArtifactsOK
NewDownloadServerArtifactsOK creates a DownloadServerArtifactsOK with default headers values
func (*DownloadServerArtifactsOK) Error ¶
func (o *DownloadServerArtifactsOK) Error() string
type DownloadServerArtifactsParams ¶
type DownloadServerArtifactsParams 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 // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
DownloadServerArtifactsParams contains all the parameters to send to the API endpoint for the download server artifacts operation typically these are written to a http.Request
func NewDownloadServerArtifactsParams ¶
func NewDownloadServerArtifactsParams() *DownloadServerArtifactsParams
NewDownloadServerArtifactsParams creates a new DownloadServerArtifactsParams object with the default values initialized.
func NewDownloadServerArtifactsParamsWithContext ¶
func NewDownloadServerArtifactsParamsWithContext(ctx context.Context) *DownloadServerArtifactsParams
NewDownloadServerArtifactsParamsWithContext creates a new DownloadServerArtifactsParams object with the default values initialized, and the ability to set a context for a request
func NewDownloadServerArtifactsParamsWithHTTPClient ¶
func NewDownloadServerArtifactsParamsWithHTTPClient(client *http.Client) *DownloadServerArtifactsParams
NewDownloadServerArtifactsParamsWithHTTPClient creates a new DownloadServerArtifactsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDownloadServerArtifactsParamsWithTimeout ¶
func NewDownloadServerArtifactsParamsWithTimeout(timeout time.Duration) *DownloadServerArtifactsParams
NewDownloadServerArtifactsParamsWithTimeout creates a new DownloadServerArtifactsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DownloadServerArtifactsParams) SetAuthInfoWriter ¶
func (o *DownloadServerArtifactsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the download server artifacts params
func (*DownloadServerArtifactsParams) SetContext ¶
func (o *DownloadServerArtifactsParams) SetContext(ctx context.Context)
SetContext adds the context to the download server artifacts params
func (*DownloadServerArtifactsParams) SetFlightId ¶
func (o *DownloadServerArtifactsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*DownloadServerArtifactsParams) SetHTTPClient ¶
func (o *DownloadServerArtifactsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download server artifacts params
func (*DownloadServerArtifactsParams) SetHTTPClientTransport ¶
func (o *DownloadServerArtifactsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the download server artifacts params
func (*DownloadServerArtifactsParams) SetNamespace ¶
func (o *DownloadServerArtifactsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the download server artifacts params
func (*DownloadServerArtifactsParams) SetPodName ¶
func (o *DownloadServerArtifactsParams) SetPodName(podName string)
SetPodName adds the podName to the download server artifacts params
func (*DownloadServerArtifactsParams) SetTimeout ¶
func (o *DownloadServerArtifactsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download server artifacts params
func (*DownloadServerArtifactsParams) WithContext ¶
func (o *DownloadServerArtifactsParams) WithContext(ctx context.Context) *DownloadServerArtifactsParams
WithContext adds the context to the download server artifacts params
func (*DownloadServerArtifactsParams) WithHTTPClient ¶
func (o *DownloadServerArtifactsParams) WithHTTPClient(client *http.Client) *DownloadServerArtifactsParams
WithHTTPClient adds the HTTPClient to the download server artifacts params
func (*DownloadServerArtifactsParams) WithNamespace ¶
func (o *DownloadServerArtifactsParams) WithNamespace(namespace string) *DownloadServerArtifactsParams
WithNamespace adds the namespace to the download server artifacts params
func (*DownloadServerArtifactsParams) WithPodName ¶
func (o *DownloadServerArtifactsParams) WithPodName(podName string) *DownloadServerArtifactsParams
WithPodName adds the podName to the download server artifacts params
func (*DownloadServerArtifactsParams) WithTimeout ¶
func (o *DownloadServerArtifactsParams) WithTimeout(timeout time.Duration) *DownloadServerArtifactsParams
WithTimeout adds the timeout to the download server artifacts params
func (*DownloadServerArtifactsParams) WriteToRequest ¶
func (o *DownloadServerArtifactsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadServerArtifactsReader ¶
type DownloadServerArtifactsReader struct {
// contains filtered or unexported fields
}
DownloadServerArtifactsReader is a Reader for the DownloadServerArtifacts structure.
func (*DownloadServerArtifactsReader) ReadResponse ¶
func (o *DownloadServerArtifactsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.