Documentation
¶
Index ¶
- type Client
- func (a *Client) GetGameServerConfig(params *GetGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameServerConfigOK, *GetGameServerConfigNotFound, error)
- func (a *Client) GetGameServerConfigShort(params *GetGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameServerConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGameServerConfig(params *UpdateGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameServerConfigOK, error)
- func (a *Client) UpdateGameServerConfigShort(params *UpdateGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameServerConfigOK, error)
- type ClientService
- type GetGameServerConfigNotFound
- type GetGameServerConfigOK
- type GetGameServerConfigParams
- func NewGetGameServerConfigParams() *GetGameServerConfigParams
- func NewGetGameServerConfigParamsWithContext(ctx context.Context) *GetGameServerConfigParams
- func NewGetGameServerConfigParamsWithHTTPClient(client *http.Client) *GetGameServerConfigParams
- func NewGetGameServerConfigParamsWithTimeout(timeout time.Duration) *GetGameServerConfigParams
- func (o *GetGameServerConfigParams) SetContext(ctx context.Context)
- func (o *GetGameServerConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetGameServerConfigParams) SetNamespace(namespace string)
- func (o *GetGameServerConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetGameServerConfigParams) WithContext(ctx context.Context) *GetGameServerConfigParams
- func (o *GetGameServerConfigParams) WithHTTPClient(client *http.Client) *GetGameServerConfigParams
- func (o *GetGameServerConfigParams) WithNamespace(namespace string) *GetGameServerConfigParams
- func (o *GetGameServerConfigParams) WithTimeout(timeout time.Duration) *GetGameServerConfigParams
- func (o *GetGameServerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGameServerConfigReader
- type UpdateGameServerConfigOK
- type UpdateGameServerConfigParams
- func NewUpdateGameServerConfigParams() *UpdateGameServerConfigParams
- func NewUpdateGameServerConfigParamsWithContext(ctx context.Context) *UpdateGameServerConfigParams
- func NewUpdateGameServerConfigParamsWithHTTPClient(client *http.Client) *UpdateGameServerConfigParams
- func NewUpdateGameServerConfigParamsWithTimeout(timeout time.Duration) *UpdateGameServerConfigParams
- func (o *UpdateGameServerConfigParams) SetBody(body *platformclientmodels.GameServerConfig)
- func (o *UpdateGameServerConfigParams) SetContext(ctx context.Context)
- func (o *UpdateGameServerConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGameServerConfigParams) SetNamespace(namespace string)
- func (o *UpdateGameServerConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGameServerConfigParams) WithBody(body *platformclientmodels.GameServerConfig) *UpdateGameServerConfigParams
- func (o *UpdateGameServerConfigParams) WithContext(ctx context.Context) *UpdateGameServerConfigParams
- func (o *UpdateGameServerConfigParams) WithHTTPClient(client *http.Client) *UpdateGameServerConfigParams
- func (o *UpdateGameServerConfigParams) WithNamespace(namespace string) *UpdateGameServerConfigParams
- func (o *UpdateGameServerConfigParams) WithTimeout(timeout time.Duration) *UpdateGameServerConfigParams
- func (o *UpdateGameServerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGameServerConfigReader
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 integration API
func (*Client) GetGameServerConfig ¶
func (a *Client) GetGameServerConfig(params *GetGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameServerConfigOK, *GetGameServerConfigNotFound, error)
GetGameServerConfig gets game server configuration
Get game server configuration.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:INTEGRATION", action=2 (READ)</li><li><i>Returns</i>: Game server config</li></ul>
func (*Client) GetGameServerConfigShort ¶ added in v0.8.0
func (a *Client) GetGameServerConfigShort(params *GetGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameServerConfigOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateGameServerConfig ¶
func (a *Client) UpdateGameServerConfig(params *UpdateGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameServerConfigOK, error)
UpdateGameServerConfig updates game server configuration
Update game server configuration.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:INTEGRATION", action=4 (UPDATE)</li><li><i>Returns</i>: Game server config</li></ul>
func (*Client) UpdateGameServerConfigShort ¶ added in v0.8.0
func (a *Client) UpdateGameServerConfigShort(params *UpdateGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameServerConfigOK, error)
type ClientService ¶
type ClientService interface { GetGameServerConfig(params *GetGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameServerConfigOK, *GetGameServerConfigNotFound, error) GetGameServerConfigShort(params *GetGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetGameServerConfigOK, error) UpdateGameServerConfig(params *UpdateGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameServerConfigOK, error) UpdateGameServerConfigShort(params *UpdateGameServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateGameServerConfigOK, 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 integration API client.
type GetGameServerConfigNotFound ¶
type GetGameServerConfigNotFound struct {
Payload *platformclientmodels.ErrorEntity
}
GetGameServerConfigNotFound handles this case with default header values.
<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>39241</td><td>Game server config for [{namespace}] does not exist</td></tr></table>
func NewGetGameServerConfigNotFound ¶
func NewGetGameServerConfigNotFound() *GetGameServerConfigNotFound
NewGetGameServerConfigNotFound creates a GetGameServerConfigNotFound with default headers values
func (*GetGameServerConfigNotFound) Error ¶
func (o *GetGameServerConfigNotFound) Error() string
func (*GetGameServerConfigNotFound) GetPayload ¶
func (o *GetGameServerConfigNotFound) GetPayload() *platformclientmodels.ErrorEntity
type GetGameServerConfigOK ¶
type GetGameServerConfigOK struct {
Payload *platformclientmodels.GameServerConfig
}
GetGameServerConfigOK handles this case with default header values.
successful operation
func NewGetGameServerConfigOK ¶
func NewGetGameServerConfigOK() *GetGameServerConfigOK
NewGetGameServerConfigOK creates a GetGameServerConfigOK with default headers values
func (*GetGameServerConfigOK) Error ¶
func (o *GetGameServerConfigOK) Error() string
func (*GetGameServerConfigOK) GetPayload ¶
func (o *GetGameServerConfigOK) GetPayload() *platformclientmodels.GameServerConfig
type GetGameServerConfigParams ¶
type GetGameServerConfigParams struct { /*Namespace*/ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGameServerConfigParams contains all the parameters to send to the API endpoint for the get game server config operation typically these are written to a http.Request
func NewGetGameServerConfigParams ¶
func NewGetGameServerConfigParams() *GetGameServerConfigParams
NewGetGameServerConfigParams creates a new GetGameServerConfigParams object with the default values initialized.
func NewGetGameServerConfigParamsWithContext ¶
func NewGetGameServerConfigParamsWithContext(ctx context.Context) *GetGameServerConfigParams
NewGetGameServerConfigParamsWithContext creates a new GetGameServerConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetGameServerConfigParamsWithHTTPClient ¶
func NewGetGameServerConfigParamsWithHTTPClient(client *http.Client) *GetGameServerConfigParams
NewGetGameServerConfigParamsWithHTTPClient creates a new GetGameServerConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetGameServerConfigParamsWithTimeout ¶
func NewGetGameServerConfigParamsWithTimeout(timeout time.Duration) *GetGameServerConfigParams
NewGetGameServerConfigParamsWithTimeout creates a new GetGameServerConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetGameServerConfigParams) SetContext ¶
func (o *GetGameServerConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get game server config params
func (*GetGameServerConfigParams) SetHTTPClient ¶
func (o *GetGameServerConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get game server config params
func (*GetGameServerConfigParams) SetNamespace ¶
func (o *GetGameServerConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get game server config params
func (*GetGameServerConfigParams) SetTimeout ¶
func (o *GetGameServerConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get game server config params
func (*GetGameServerConfigParams) WithContext ¶
func (o *GetGameServerConfigParams) WithContext(ctx context.Context) *GetGameServerConfigParams
WithContext adds the context to the get game server config params
func (*GetGameServerConfigParams) WithHTTPClient ¶
func (o *GetGameServerConfigParams) WithHTTPClient(client *http.Client) *GetGameServerConfigParams
WithHTTPClient adds the HTTPClient to the get game server config params
func (*GetGameServerConfigParams) WithNamespace ¶
func (o *GetGameServerConfigParams) WithNamespace(namespace string) *GetGameServerConfigParams
WithNamespace adds the namespace to the get game server config params
func (*GetGameServerConfigParams) WithTimeout ¶
func (o *GetGameServerConfigParams) WithTimeout(timeout time.Duration) *GetGameServerConfigParams
WithTimeout adds the timeout to the get game server config params
func (*GetGameServerConfigParams) WriteToRequest ¶
func (o *GetGameServerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGameServerConfigReader ¶
type GetGameServerConfigReader struct {
// contains filtered or unexported fields
}
GetGameServerConfigReader is a Reader for the GetGameServerConfig structure.
func (*GetGameServerConfigReader) ReadResponse ¶
func (o *GetGameServerConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGameServerConfigOK ¶
type UpdateGameServerConfigOK struct {
Payload *platformclientmodels.GameServerConfig
}
UpdateGameServerConfigOK handles this case with default header values.
successful operation
func NewUpdateGameServerConfigOK ¶
func NewUpdateGameServerConfigOK() *UpdateGameServerConfigOK
NewUpdateGameServerConfigOK creates a UpdateGameServerConfigOK with default headers values
func (*UpdateGameServerConfigOK) Error ¶
func (o *UpdateGameServerConfigOK) Error() string
func (*UpdateGameServerConfigOK) GetPayload ¶
func (o *UpdateGameServerConfigOK) GetPayload() *platformclientmodels.GameServerConfig
type UpdateGameServerConfigParams ¶
type UpdateGameServerConfigParams struct { /*Body*/ Body *platformclientmodels.GameServerConfig /*Namespace*/ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGameServerConfigParams contains all the parameters to send to the API endpoint for the update game server config operation typically these are written to a http.Request
func NewUpdateGameServerConfigParams ¶
func NewUpdateGameServerConfigParams() *UpdateGameServerConfigParams
NewUpdateGameServerConfigParams creates a new UpdateGameServerConfigParams object with the default values initialized.
func NewUpdateGameServerConfigParamsWithContext ¶
func NewUpdateGameServerConfigParamsWithContext(ctx context.Context) *UpdateGameServerConfigParams
NewUpdateGameServerConfigParamsWithContext creates a new UpdateGameServerConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateGameServerConfigParamsWithHTTPClient ¶
func NewUpdateGameServerConfigParamsWithHTTPClient(client *http.Client) *UpdateGameServerConfigParams
NewUpdateGameServerConfigParamsWithHTTPClient creates a new UpdateGameServerConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateGameServerConfigParamsWithTimeout ¶
func NewUpdateGameServerConfigParamsWithTimeout(timeout time.Duration) *UpdateGameServerConfigParams
NewUpdateGameServerConfigParamsWithTimeout creates a new UpdateGameServerConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateGameServerConfigParams) SetBody ¶
func (o *UpdateGameServerConfigParams) SetBody(body *platformclientmodels.GameServerConfig)
SetBody adds the body to the update game server config params
func (*UpdateGameServerConfigParams) SetContext ¶
func (o *UpdateGameServerConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update game server config params
func (*UpdateGameServerConfigParams) SetHTTPClient ¶
func (o *UpdateGameServerConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update game server config params
func (*UpdateGameServerConfigParams) SetNamespace ¶
func (o *UpdateGameServerConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update game server config params
func (*UpdateGameServerConfigParams) SetTimeout ¶
func (o *UpdateGameServerConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update game server config params
func (*UpdateGameServerConfigParams) WithBody ¶
func (o *UpdateGameServerConfigParams) WithBody(body *platformclientmodels.GameServerConfig) *UpdateGameServerConfigParams
WithBody adds the body to the update game server config params
func (*UpdateGameServerConfigParams) WithContext ¶
func (o *UpdateGameServerConfigParams) WithContext(ctx context.Context) *UpdateGameServerConfigParams
WithContext adds the context to the update game server config params
func (*UpdateGameServerConfigParams) WithHTTPClient ¶
func (o *UpdateGameServerConfigParams) WithHTTPClient(client *http.Client) *UpdateGameServerConfigParams
WithHTTPClient adds the HTTPClient to the update game server config params
func (*UpdateGameServerConfigParams) WithNamespace ¶
func (o *UpdateGameServerConfigParams) WithNamespace(namespace string) *UpdateGameServerConfigParams
WithNamespace adds the namespace to the update game server config params
func (*UpdateGameServerConfigParams) WithTimeout ¶
func (o *UpdateGameServerConfigParams) WithTimeout(timeout time.Duration) *UpdateGameServerConfigParams
WithTimeout adds the timeout to the update game server config params
func (*UpdateGameServerConfigParams) WriteToRequest ¶
func (o *UpdateGameServerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGameServerConfigReader ¶
type UpdateGameServerConfigReader struct {
// contains filtered or unexported fields
}
UpdateGameServerConfigReader is a Reader for the UpdateGameServerConfig structure.
func (*UpdateGameServerConfigReader) ReadResponse ¶
func (o *UpdateGameServerConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.