Documentation
¶
Index ¶
- type AddPortBadRequest
- type AddPortConflict
- type AddPortCreated
- type AddPortInternalServerError
- type AddPortNotFound
- type AddPortParams
- func (o *AddPortParams) SetBody(body *dsmcclientmodels.ModelsCreatePortRequest)
- func (o *AddPortParams) SetContext(ctx context.Context)
- func (o *AddPortParams) SetHTTPClient(client *http.Client)
- func (o *AddPortParams) SetName(name string)
- func (o *AddPortParams) SetNamespace(namespace string)
- func (o *AddPortParams) SetTimeout(timeout time.Duration)
- func (o *AddPortParams) WithBody(body *dsmcclientmodels.ModelsCreatePortRequest) *AddPortParams
- func (o *AddPortParams) WithContext(ctx context.Context) *AddPortParams
- func (o *AddPortParams) WithHTTPClient(client *http.Client) *AddPortParams
- func (o *AddPortParams) WithName(name string) *AddPortParams
- func (o *AddPortParams) WithNamespace(namespace string) *AddPortParams
- func (o *AddPortParams) WithTimeout(timeout time.Duration) *AddPortParams
- func (o *AddPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddPortReader
- type AddPortUnauthorized
- type ClearCacheInternalServerError
- type ClearCacheNoContent
- type ClearCacheParams
- func (o *ClearCacheParams) SetContext(ctx context.Context)
- func (o *ClearCacheParams) SetHTTPClient(client *http.Client)
- func (o *ClearCacheParams) SetNamespace(namespace string)
- func (o *ClearCacheParams) SetTimeout(timeout time.Duration)
- func (o *ClearCacheParams) WithContext(ctx context.Context) *ClearCacheParams
- func (o *ClearCacheParams) WithHTTPClient(client *http.Client) *ClearCacheParams
- func (o *ClearCacheParams) WithNamespace(namespace string) *ClearCacheParams
- func (o *ClearCacheParams) WithTimeout(timeout time.Duration) *ClearCacheParams
- func (o *ClearCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ClearCacheReader
- type ClearCacheUnauthorized
- type Client
- func (a *Client) AddPort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, *AddPortBadRequest, *AddPortUnauthorized, *AddPortNotFound, ...)
- func (a *Client) AddPortShort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, error)
- func (a *Client) ClearCache(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, *ClearCacheUnauthorized, *ClearCacheInternalServerError, ...)
- func (a *Client) ClearCacheShort(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, error)
- func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, *CreateConfigBadRequest, *CreateConfigUnauthorized, ...)
- func (a *Client) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error)
- func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, *DeleteConfigBadRequest, *DeleteConfigUnauthorized, ...)
- func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
- func (a *Client) DeletePort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, *DeletePortBadRequest, *DeletePortUnauthorized, ...)
- func (a *Client) DeletePortShort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, error)
- func (a *Client) ExportConfigV1(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, *ExportConfigV1Unauthorized, *ExportConfigV1Forbidden, ...)
- func (a *Client) ExportConfigV1Short(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, error)
- func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigUnauthorized, *GetConfigNotFound, ...)
- func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
- func (a *Client) ImportConfigV1(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, *ImportConfigV1BadRequest, *ImportConfigV1Unauthorized, ...)
- func (a *Client) ImportConfigV1Short(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, error)
- func (a *Client) ListConfig(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, *ListConfigUnauthorized, *ListConfigInternalServerError, error)
- func (a *Client) ListConfigShort(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, error)
- func (a *Client) SaveConfig(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, *SaveConfigBadRequest, *SaveConfigUnauthorized, ...)
- func (a *Client) SaveConfigShort(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigUnauthorized, ...)
- func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)
- func (a *Client) UpdatePort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, *UpdatePortBadRequest, *UpdatePortUnauthorized, ...)
- func (a *Client) UpdatePortShort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, error)
- type ClientService
- type CreateConfigBadRequest
- type CreateConfigConflict
- type CreateConfigCreated
- type CreateConfigInternalServerError
- type CreateConfigParams
- func (o *CreateConfigParams) SetBody(body *dsmcclientmodels.ModelsCreateDSMConfigRequest)
- func (o *CreateConfigParams) SetContext(ctx context.Context)
- func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
- func (o *CreateConfigParams) SetNamespace(namespace string)
- func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
- func (o *CreateConfigParams) WithBody(body *dsmcclientmodels.ModelsCreateDSMConfigRequest) *CreateConfigParams
- func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
- func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
- func (o *CreateConfigParams) WithNamespace(namespace string) *CreateConfigParams
- func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
- func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConfigReader
- type CreateConfigUnauthorized
- type DeleteConfigBadRequest
- type DeleteConfigInternalServerError
- type DeleteConfigNoContent
- type DeleteConfigNotFound
- type DeleteConfigParams
- func (o *DeleteConfigParams) SetContext(ctx context.Context)
- func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigParams) SetNamespace(namespace string)
- func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
- func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
- func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams
- func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
- func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigReader
- type DeleteConfigUnauthorized
- type DeletePortBadRequest
- type DeletePortInternalServerError
- type DeletePortNotFound
- type DeletePortOK
- type DeletePortParams
- func (o *DeletePortParams) SetContext(ctx context.Context)
- func (o *DeletePortParams) SetHTTPClient(client *http.Client)
- func (o *DeletePortParams) SetName(name string)
- func (o *DeletePortParams) SetNamespace(namespace string)
- func (o *DeletePortParams) SetTimeout(timeout time.Duration)
- func (o *DeletePortParams) WithContext(ctx context.Context) *DeletePortParams
- func (o *DeletePortParams) WithHTTPClient(client *http.Client) *DeletePortParams
- func (o *DeletePortParams) WithName(name string) *DeletePortParams
- func (o *DeletePortParams) WithNamespace(namespace string) *DeletePortParams
- func (o *DeletePortParams) WithTimeout(timeout time.Duration) *DeletePortParams
- func (o *DeletePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePortReader
- type DeletePortUnauthorized
- type ExportConfigV1Forbidden
- type ExportConfigV1InternalServerError
- type ExportConfigV1NotFound
- type ExportConfigV1OK
- type ExportConfigV1Params
- func NewExportConfigV1Params() *ExportConfigV1Params
- func NewExportConfigV1ParamsWithContext(ctx context.Context) *ExportConfigV1Params
- func NewExportConfigV1ParamsWithHTTPClient(client *http.Client) *ExportConfigV1Params
- func NewExportConfigV1ParamsWithTimeout(timeout time.Duration) *ExportConfigV1Params
- func (o *ExportConfigV1Params) SetContext(ctx context.Context)
- func (o *ExportConfigV1Params) SetHTTPClient(client *http.Client)
- func (o *ExportConfigV1Params) SetNamespace(namespace string)
- func (o *ExportConfigV1Params) SetTimeout(timeout time.Duration)
- func (o *ExportConfigV1Params) WithContext(ctx context.Context) *ExportConfigV1Params
- func (o *ExportConfigV1Params) WithHTTPClient(client *http.Client) *ExportConfigV1Params
- func (o *ExportConfigV1Params) WithNamespace(namespace string) *ExportConfigV1Params
- func (o *ExportConfigV1Params) WithTimeout(timeout time.Duration) *ExportConfigV1Params
- func (o *ExportConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportConfigV1Reader
- type ExportConfigV1Unauthorized
- type GetConfigInternalServerError
- type GetConfigNotFound
- type GetConfigOK
- type GetConfigParams
- func (o *GetConfigParams) SetContext(ctx context.Context)
- func (o *GetConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigParams) SetNamespace(namespace string)
- func (o *GetConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
- func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
- func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams
- func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
- func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigReader
- type GetConfigUnauthorized
- type ImportConfigV1BadRequest
- type ImportConfigV1Forbidden
- type ImportConfigV1InternalServerError
- type ImportConfigV1NotFound
- type ImportConfigV1OK
- type ImportConfigV1Params
- func NewImportConfigV1Params() *ImportConfigV1Params
- func NewImportConfigV1ParamsWithContext(ctx context.Context) *ImportConfigV1Params
- func NewImportConfigV1ParamsWithHTTPClient(client *http.Client) *ImportConfigV1Params
- func NewImportConfigV1ParamsWithTimeout(timeout time.Duration) *ImportConfigV1Params
- func (o *ImportConfigV1Params) SetContext(ctx context.Context)
- func (o *ImportConfigV1Params) SetFile(file runtime.NamedReadCloser)
- func (o *ImportConfigV1Params) SetHTTPClient(client *http.Client)
- func (o *ImportConfigV1Params) SetNamespace(namespace string)
- func (o *ImportConfigV1Params) SetTimeout(timeout time.Duration)
- func (o *ImportConfigV1Params) WithContext(ctx context.Context) *ImportConfigV1Params
- func (o *ImportConfigV1Params) WithFile(file runtime.NamedReadCloser) *ImportConfigV1Params
- func (o *ImportConfigV1Params) WithHTTPClient(client *http.Client) *ImportConfigV1Params
- func (o *ImportConfigV1Params) WithNamespace(namespace string) *ImportConfigV1Params
- func (o *ImportConfigV1Params) WithTimeout(timeout time.Duration) *ImportConfigV1Params
- func (o *ImportConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportConfigV1Reader
- type ImportConfigV1Unauthorized
- type ListConfigInternalServerError
- type ListConfigOK
- type ListConfigParams
- func (o *ListConfigParams) SetContext(ctx context.Context)
- func (o *ListConfigParams) SetHTTPClient(client *http.Client)
- func (o *ListConfigParams) SetTimeout(timeout time.Duration)
- func (o *ListConfigParams) WithContext(ctx context.Context) *ListConfigParams
- func (o *ListConfigParams) WithHTTPClient(client *http.Client) *ListConfigParams
- func (o *ListConfigParams) WithTimeout(timeout time.Duration) *ListConfigParams
- func (o *ListConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListConfigReader
- type ListConfigUnauthorized
- type SaveConfigBadRequest
- type SaveConfigInternalServerError
- type SaveConfigNoContent
- type SaveConfigParams
- func (o *SaveConfigParams) SetBody(body *dsmcclientmodels.ModelsDSMConfigRecord)
- func (o *SaveConfigParams) SetContext(ctx context.Context)
- func (o *SaveConfigParams) SetHTTPClient(client *http.Client)
- func (o *SaveConfigParams) SetTimeout(timeout time.Duration)
- func (o *SaveConfigParams) WithBody(body *dsmcclientmodels.ModelsDSMConfigRecord) *SaveConfigParams
- func (o *SaveConfigParams) WithContext(ctx context.Context) *SaveConfigParams
- func (o *SaveConfigParams) WithHTTPClient(client *http.Client) *SaveConfigParams
- func (o *SaveConfigParams) WithTimeout(timeout time.Duration) *SaveConfigParams
- func (o *SaveConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveConfigReader
- type SaveConfigUnauthorized
- type UpdateConfigBadRequest
- type UpdateConfigInternalServerError
- type UpdateConfigNotFound
- type UpdateConfigOK
- type UpdateConfigParams
- func (o *UpdateConfigParams) SetBody(body *dsmcclientmodels.ModelsUpdateDSMConfigRequest)
- func (o *UpdateConfigParams) SetContext(ctx context.Context)
- func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConfigParams) SetNamespace(namespace string)
- func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConfigParams) WithBody(body *dsmcclientmodels.ModelsUpdateDSMConfigRequest) *UpdateConfigParams
- func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
- func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
- func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams
- func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
- func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfigReader
- type UpdateConfigUnauthorized
- type UpdatePortBadRequest
- type UpdatePortInternalServerError
- type UpdatePortNotFound
- type UpdatePortOK
- type UpdatePortParams
- func (o *UpdatePortParams) SetBody(body *dsmcclientmodels.ModelsUpdatePortRequest)
- func (o *UpdatePortParams) SetContext(ctx context.Context)
- func (o *UpdatePortParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePortParams) SetName(name string)
- func (o *UpdatePortParams) SetNamespace(namespace string)
- func (o *UpdatePortParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePortParams) WithBody(body *dsmcclientmodels.ModelsUpdatePortRequest) *UpdatePortParams
- func (o *UpdatePortParams) WithContext(ctx context.Context) *UpdatePortParams
- func (o *UpdatePortParams) WithHTTPClient(client *http.Client) *UpdatePortParams
- func (o *UpdatePortParams) WithName(name string) *UpdatePortParams
- func (o *UpdatePortParams) WithNamespace(namespace string) *UpdatePortParams
- func (o *UpdatePortParams) WithTimeout(timeout time.Duration) *UpdatePortParams
- func (o *UpdatePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePortReader
- type UpdatePortUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPortBadRequest ¶ added in v0.4.0
type AddPortBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
AddPortBadRequest handles this case with default header values.
malformed request
func NewAddPortBadRequest ¶ added in v0.4.0
func NewAddPortBadRequest() *AddPortBadRequest
NewAddPortBadRequest creates a AddPortBadRequest with default headers values
func (*AddPortBadRequest) Error ¶ added in v0.4.0
func (o *AddPortBadRequest) Error() string
func (*AddPortBadRequest) GetPayload ¶ added in v0.4.0
func (o *AddPortBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type AddPortConflict ¶ added in v0.4.0
type AddPortConflict struct {
Payload *dsmcclientmodels.ResponseError
}
AddPortConflict handles this case with default header values.
port config already exists
func NewAddPortConflict ¶ added in v0.4.0
func NewAddPortConflict() *AddPortConflict
NewAddPortConflict creates a AddPortConflict with default headers values
func (*AddPortConflict) Error ¶ added in v0.4.0
func (o *AddPortConflict) Error() string
func (*AddPortConflict) GetPayload ¶ added in v0.4.0
func (o *AddPortConflict) GetPayload() *dsmcclientmodels.ResponseError
type AddPortCreated ¶ added in v0.4.0
type AddPortCreated struct {
Payload *dsmcclientmodels.ModelsDSMConfigRecord
}
AddPortCreated handles this case with default header values.
pod config created
func NewAddPortCreated ¶ added in v0.4.0
func NewAddPortCreated() *AddPortCreated
NewAddPortCreated creates a AddPortCreated with default headers values
func (*AddPortCreated) Error ¶ added in v0.4.0
func (o *AddPortCreated) Error() string
func (*AddPortCreated) GetPayload ¶ added in v0.4.0
func (o *AddPortCreated) GetPayload() *dsmcclientmodels.ModelsDSMConfigRecord
type AddPortInternalServerError ¶ added in v0.4.0
type AddPortInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
AddPortInternalServerError handles this case with default header values.
Internal Server Error
func NewAddPortInternalServerError ¶ added in v0.4.0
func NewAddPortInternalServerError() *AddPortInternalServerError
NewAddPortInternalServerError creates a AddPortInternalServerError with default headers values
func (*AddPortInternalServerError) Error ¶ added in v0.4.0
func (o *AddPortInternalServerError) Error() string
func (*AddPortInternalServerError) GetPayload ¶ added in v0.4.0
func (o *AddPortInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type AddPortNotFound ¶ added in v0.4.0
type AddPortNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
AddPortNotFound handles this case with default header values.
port config not found
func NewAddPortNotFound ¶ added in v0.4.0
func NewAddPortNotFound() *AddPortNotFound
NewAddPortNotFound creates a AddPortNotFound with default headers values
func (*AddPortNotFound) Error ¶ added in v0.4.0
func (o *AddPortNotFound) Error() string
func (*AddPortNotFound) GetPayload ¶ added in v0.4.0
func (o *AddPortNotFound) GetPayload() *dsmcclientmodels.ResponseError
type AddPortParams ¶ added in v0.4.0
type AddPortParams struct { /*Body*/ Body *dsmcclientmodels.ModelsCreatePortRequest /*Name port name */ Name string /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddPortParams contains all the parameters to send to the API endpoint for the add port operation typically these are written to a http.Request
func NewAddPortParams ¶ added in v0.4.0
func NewAddPortParams() *AddPortParams
NewAddPortParams creates a new AddPortParams object with the default values initialized.
func NewAddPortParamsWithContext ¶ added in v0.4.0
func NewAddPortParamsWithContext(ctx context.Context) *AddPortParams
NewAddPortParamsWithContext creates a new AddPortParams object with the default values initialized, and the ability to set a context for a request
func NewAddPortParamsWithHTTPClient ¶ added in v0.4.0
func NewAddPortParamsWithHTTPClient(client *http.Client) *AddPortParams
NewAddPortParamsWithHTTPClient creates a new AddPortParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddPortParamsWithTimeout ¶ added in v0.4.0
func NewAddPortParamsWithTimeout(timeout time.Duration) *AddPortParams
NewAddPortParamsWithTimeout creates a new AddPortParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddPortParams) SetBody ¶ added in v0.4.0
func (o *AddPortParams) SetBody(body *dsmcclientmodels.ModelsCreatePortRequest)
SetBody adds the body to the add port params
func (*AddPortParams) SetContext ¶ added in v0.4.0
func (o *AddPortParams) SetContext(ctx context.Context)
SetContext adds the context to the add port params
func (*AddPortParams) SetHTTPClient ¶ added in v0.4.0
func (o *AddPortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add port params
func (*AddPortParams) SetName ¶ added in v0.4.0
func (o *AddPortParams) SetName(name string)
SetName adds the name to the add port params
func (*AddPortParams) SetNamespace ¶ added in v0.4.0
func (o *AddPortParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the add port params
func (*AddPortParams) SetTimeout ¶ added in v0.4.0
func (o *AddPortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add port params
func (*AddPortParams) WithBody ¶ added in v0.4.0
func (o *AddPortParams) WithBody(body *dsmcclientmodels.ModelsCreatePortRequest) *AddPortParams
WithBody adds the body to the add port params
func (*AddPortParams) WithContext ¶ added in v0.4.0
func (o *AddPortParams) WithContext(ctx context.Context) *AddPortParams
WithContext adds the context to the add port params
func (*AddPortParams) WithHTTPClient ¶ added in v0.4.0
func (o *AddPortParams) WithHTTPClient(client *http.Client) *AddPortParams
WithHTTPClient adds the HTTPClient to the add port params
func (*AddPortParams) WithName ¶ added in v0.4.0
func (o *AddPortParams) WithName(name string) *AddPortParams
WithName adds the name to the add port params
func (*AddPortParams) WithNamespace ¶ added in v0.4.0
func (o *AddPortParams) WithNamespace(namespace string) *AddPortParams
WithNamespace adds the namespace to the add port params
func (*AddPortParams) WithTimeout ¶ added in v0.4.0
func (o *AddPortParams) WithTimeout(timeout time.Duration) *AddPortParams
WithTimeout adds the timeout to the add port params
func (*AddPortParams) WriteToRequest ¶ added in v0.4.0
func (o *AddPortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddPortReader ¶ added in v0.4.0
type AddPortReader struct {
// contains filtered or unexported fields
}
AddPortReader is a Reader for the AddPort structure.
func (*AddPortReader) ReadResponse ¶ added in v0.4.0
func (o *AddPortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddPortUnauthorized ¶ added in v0.4.0
type AddPortUnauthorized struct {
}AddPortUnauthorized handles this case with default header values.
Unauthorized
func NewAddPortUnauthorized ¶ added in v0.4.0
func NewAddPortUnauthorized() *AddPortUnauthorized
NewAddPortUnauthorized creates a AddPortUnauthorized with default headers values
func (*AddPortUnauthorized) Error ¶ added in v0.4.0
func (o *AddPortUnauthorized) Error() string
func (*AddPortUnauthorized) GetPayload ¶ added in v0.4.0
func (o *AddPortUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type ClearCacheInternalServerError ¶ added in v0.4.0
type ClearCacheInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ClearCacheInternalServerError handles this case with default header values.
Internal Server Error
func NewClearCacheInternalServerError ¶ added in v0.4.0
func NewClearCacheInternalServerError() *ClearCacheInternalServerError
NewClearCacheInternalServerError creates a ClearCacheInternalServerError with default headers values
func (*ClearCacheInternalServerError) Error ¶ added in v0.4.0
func (o *ClearCacheInternalServerError) Error() string
func (*ClearCacheInternalServerError) GetPayload ¶ added in v0.4.0
func (o *ClearCacheInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type ClearCacheNoContent ¶ added in v0.4.0
type ClearCacheNoContent struct { }
ClearCacheNoContent handles this case with default header values.
ok
func NewClearCacheNoContent ¶ added in v0.4.0
func NewClearCacheNoContent() *ClearCacheNoContent
NewClearCacheNoContent creates a ClearCacheNoContent with default headers values
func (*ClearCacheNoContent) Error ¶ added in v0.4.0
func (o *ClearCacheNoContent) Error() string
type ClearCacheParams ¶ added in v0.4.0
type ClearCacheParams struct { /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ClearCacheParams contains all the parameters to send to the API endpoint for the clear cache operation typically these are written to a http.Request
func NewClearCacheParams ¶ added in v0.4.0
func NewClearCacheParams() *ClearCacheParams
NewClearCacheParams creates a new ClearCacheParams object with the default values initialized.
func NewClearCacheParamsWithContext ¶ added in v0.4.0
func NewClearCacheParamsWithContext(ctx context.Context) *ClearCacheParams
NewClearCacheParamsWithContext creates a new ClearCacheParams object with the default values initialized, and the ability to set a context for a request
func NewClearCacheParamsWithHTTPClient ¶ added in v0.4.0
func NewClearCacheParamsWithHTTPClient(client *http.Client) *ClearCacheParams
NewClearCacheParamsWithHTTPClient creates a new ClearCacheParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewClearCacheParamsWithTimeout ¶ added in v0.4.0
func NewClearCacheParamsWithTimeout(timeout time.Duration) *ClearCacheParams
NewClearCacheParamsWithTimeout creates a new ClearCacheParams object with the default values initialized, and the ability to set a timeout on a request
func (*ClearCacheParams) SetContext ¶ added in v0.4.0
func (o *ClearCacheParams) SetContext(ctx context.Context)
SetContext adds the context to the clear cache params
func (*ClearCacheParams) SetHTTPClient ¶ added in v0.4.0
func (o *ClearCacheParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the clear cache params
func (*ClearCacheParams) SetNamespace ¶ added in v0.4.0
func (o *ClearCacheParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the clear cache params
func (*ClearCacheParams) SetTimeout ¶ added in v0.4.0
func (o *ClearCacheParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the clear cache params
func (*ClearCacheParams) WithContext ¶ added in v0.4.0
func (o *ClearCacheParams) WithContext(ctx context.Context) *ClearCacheParams
WithContext adds the context to the clear cache params
func (*ClearCacheParams) WithHTTPClient ¶ added in v0.4.0
func (o *ClearCacheParams) WithHTTPClient(client *http.Client) *ClearCacheParams
WithHTTPClient adds the HTTPClient to the clear cache params
func (*ClearCacheParams) WithNamespace ¶ added in v0.4.0
func (o *ClearCacheParams) WithNamespace(namespace string) *ClearCacheParams
WithNamespace adds the namespace to the clear cache params
func (*ClearCacheParams) WithTimeout ¶ added in v0.4.0
func (o *ClearCacheParams) WithTimeout(timeout time.Duration) *ClearCacheParams
WithTimeout adds the timeout to the clear cache params
func (*ClearCacheParams) WriteToRequest ¶ added in v0.4.0
func (o *ClearCacheParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ClearCacheReader ¶ added in v0.4.0
type ClearCacheReader struct {
// contains filtered or unexported fields
}
ClearCacheReader is a Reader for the ClearCache structure.
func (*ClearCacheReader) ReadResponse ¶ added in v0.4.0
func (o *ClearCacheReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ClearCacheUnauthorized ¶ added in v0.4.0
type ClearCacheUnauthorized struct {
}ClearCacheUnauthorized handles this case with default header values.
Unauthorized
func NewClearCacheUnauthorized ¶ added in v0.4.0
func NewClearCacheUnauthorized() *ClearCacheUnauthorized
NewClearCacheUnauthorized creates a ClearCacheUnauthorized with default headers values
func (*ClearCacheUnauthorized) Error ¶ added in v0.4.0
func (o *ClearCacheUnauthorized) Error() string
func (*ClearCacheUnauthorized) GetPayload ¶ added in v0.4.0
func (o *ClearCacheUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for config API
func (*Client) AddPort ¶ added in v0.4.0
func (a *Client) AddPort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, *AddPortBadRequest, *AddPortUnauthorized, *AddPortNotFound, *AddPortConflict, *AddPortInternalServerError, error)
AddPort creates port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]
Required scope: social
This endpoint create a dedicated servers port config in a namespace.
func (*Client) AddPortShort ¶ added in v0.8.0
func (a *Client) AddPortShort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, error)
func (*Client) ClearCache ¶ added in v0.4.0
func (a *Client) ClearCache(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, *ClearCacheUnauthorized, *ClearCacheInternalServerError, error)
ClearCache clears config cache Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE]
Required scope: social
This endpoint clears config cache in a namespace
func (*Client) ClearCacheShort ¶ added in v0.8.0
func (a *Client) ClearCacheShort(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, error)
func (*Client) CreateConfig ¶ added in v0.4.0
func (a *Client) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, *CreateConfigBadRequest, *CreateConfigUnauthorized, *CreateConfigConflict, *CreateConfigInternalServerError, error)
CreateConfig creates config ```
Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE] Required scope: social
This endpoint creates config.
Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000
CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.
The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.
Sample config:
{ "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, }
```
func (*Client) CreateConfigShort ¶ added in v0.8.0
func (a *Client) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error)
func (*Client) DeleteConfig ¶ added in v0.4.0
func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, *DeleteConfigBadRequest, *DeleteConfigUnauthorized, *DeleteConfigNotFound, *DeleteConfigInternalServerError, error)
DeleteConfig deletes config ```
Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE] Required scope: social
This endpoint removes config. When there are ready servers, those servers will be removed. ```
func (*Client) DeleteConfigShort ¶ added in v0.8.0
func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
func (*Client) DeletePort ¶ added in v0.4.0
func (a *Client) DeletePort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, *DeletePortBadRequest, *DeletePortUnauthorized, *DeletePortNotFound, *DeletePortInternalServerError, error)
DeletePort deletes port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [DELETE]
Required scope: social
This endpoint delete a dedicated server port config in a namespace
func (*Client) DeletePortShort ¶ added in v0.8.0
func (a *Client) DeletePortShort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, error)
func (*Client) ExportConfigV1 ¶
func (a *Client) ExportConfigV1(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, *ExportConfigV1Unauthorized, *ExportConfigV1Forbidden, *ExportConfigV1NotFound, *ExportConfigV1InternalServerError, error)
ExportConfigV1 exports d s m controller configuration for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]
Required scope: social
This endpoint export a dedicated servers config in a namespace.
func (*Client) ExportConfigV1Short ¶ added in v0.8.0
func (a *Client) ExportConfigV1Short(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, error)
func (*Client) GetConfig ¶
func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigUnauthorized, *GetConfigNotFound, *GetConfigInternalServerError, error)
GetConfig gets config for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]
Required scope: social
This endpoint get a dedicated servers config in a namespace.
func (*Client) GetConfigShort ¶ added in v0.8.0
func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
func (*Client) ImportConfigV1 ¶
func (a *Client) ImportConfigV1(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, *ImportConfigV1BadRequest, *ImportConfigV1Unauthorized, *ImportConfigV1Forbidden, *ImportConfigV1NotFound, *ImportConfigV1InternalServerError, error)
ImportConfigV1 imports config for a namespace Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]
Required scope: social
This endpoint import a dedicated servers config in a namespace.
If there is an existing configuration, the configuration would be replaced.
func (*Client) ImportConfigV1Short ¶ added in v0.8.0
func (a *Client) ImportConfigV1Short(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, error)
func (*Client) ListConfig ¶
func (a *Client) ListConfig(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, *ListConfigUnauthorized, *ListConfigInternalServerError, error)
ListConfig lists all configs Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]
Required scope: social
This endpoint lists all of dedicated servers configs.
func (*Client) ListConfigShort ¶ added in v0.8.0
func (a *Client) ListConfigShort(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, error)
func (*Client) SaveConfig ¶
func (a *Client) SaveConfig(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, *SaveConfigBadRequest, *SaveConfigUnauthorized, *SaveConfigInternalServerError, error)
SaveConfig saves config ```
Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE] Required scope: social
This endpoint adds/modifies config. When there are ready servers and the server version is updated, those servers will be replaced with newer version.
Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000
CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.
The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.
Sample config:
{ "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, "image_version_mapping": { "1.4.0": "accelbyte/sample-ds-go:1.4.0" }, "default_version": "1.4.0", "cpu_limit": "100", "mem_limit": "64", "params": "", "min_count": 0, "max_count": 0, "buffer_count": 0, "configurations": { "1player": { "cpu_limit": "100", "mem_limit": "64", "params": "-gamemode 1p", }, "50players": { "cpu_limit": "200", "mem_limit": "512", "params": "-gamemode 50p", } }, "deployments": { "global-1p": { "game_version": "1.4.0"", "regions": ["us-west", "ap-southeast"], "configuration": "1player", "min_count": 0, "max_count": 0, "buffer_count": 2 }, "us-50p": { "game_version": "1.4.0"", "regions": ["us-west"], "configuration": "50players", "min_count": 0, "max_count": 0, "buffer_count": 5 }, }, }
```
func (*Client) SaveConfigShort ¶ added in v0.8.0
func (a *Client) SaveConfigShort(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConfig ¶
func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigUnauthorized, *UpdateConfigNotFound, *UpdateConfigInternalServerError, error)
UpdateConfig updates config ```
Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE] Required scope: social
This endpoint modifies config. When there are ready servers and the server version is updated, those servers will be replaced with newer version.
Port is where your game listens for incoming UDP connection, if empty it'll be set to 15000
CPU and Memory limit / request are formatted with Kubernetes format, e.g. CPU of 1000m is 1 core, and Memory of 512Mi is 512 MB.
The creation/claim/session/unreachable/heartbeat timeouts are all in seconds. Creation timeout is time limit for DS to startup until registers itself. Claim timeout is time limit for game session manager to claim its ready DS. Session timeout is time limit for match session before deleted. Unreachable timeout is time limit for DS in UNREACHABLE state before deleted. Heartbeat timeout is time limit for DS to give heartbeat before marked as UNREACHABLE.
Sample config:
{ "namespace": "accelbyte", "providers": [ "aws" ], "port": 7777, "protocol": "udp", "creation_timeout": 120, "claim_timeout": 60, "session_timeout": 1800, "heartbeat_timeout": 30, "unreachable_timeout": 30, }
```
func (*Client) UpdateConfigShort ¶ added in v0.8.0
func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)
func (*Client) UpdatePort ¶ added in v0.4.0
func (a *Client) UpdatePort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, *UpdatePortBadRequest, *UpdatePortUnauthorized, *UpdatePortNotFound, *UpdatePortInternalServerError, error)
UpdatePort updates port config Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE]
Required scope: social
This endpoint update a dedicated servers port config in a namespace.
func (*Client) UpdatePortShort ¶ added in v0.8.0
func (a *Client) UpdatePortShort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, error)
type ClientService ¶
type ClientService interface { AddPort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, *AddPortBadRequest, *AddPortUnauthorized, *AddPortNotFound, *AddPortConflict, *AddPortInternalServerError, error) AddPortShort(params *AddPortParams, authInfo runtime.ClientAuthInfoWriter) (*AddPortCreated, error) ClearCache(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, *ClearCacheUnauthorized, *ClearCacheInternalServerError, error) ClearCacheShort(params *ClearCacheParams, authInfo runtime.ClientAuthInfoWriter) (*ClearCacheNoContent, error) CreateConfig(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, *CreateConfigBadRequest, *CreateConfigUnauthorized, *CreateConfigConflict, *CreateConfigInternalServerError, error) CreateConfigShort(params *CreateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*CreateConfigCreated, error) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, *DeleteConfigBadRequest, *DeleteConfigUnauthorized, *DeleteConfigNotFound, *DeleteConfigInternalServerError, error) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error) DeletePort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, *DeletePortBadRequest, *DeletePortUnauthorized, *DeletePortNotFound, *DeletePortInternalServerError, error) DeletePortShort(params *DeletePortParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePortOK, error) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigUnauthorized, *GetConfigNotFound, *GetConfigInternalServerError, error) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error) ListConfig(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, *ListConfigUnauthorized, *ListConfigInternalServerError, error) ListConfigShort(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, error) SaveConfig(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, *SaveConfigBadRequest, *SaveConfigUnauthorized, *SaveConfigInternalServerError, error) SaveConfigShort(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, error) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigUnauthorized, *UpdateConfigNotFound, *UpdateConfigInternalServerError, error) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error) UpdatePort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, *UpdatePortBadRequest, *UpdatePortUnauthorized, *UpdatePortNotFound, *UpdatePortInternalServerError, error) UpdatePortShort(params *UpdatePortParams, authInfo runtime.ClientAuthInfoWriter) (*UpdatePortOK, error) ExportConfigV1(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, *ExportConfigV1Unauthorized, *ExportConfigV1Forbidden, *ExportConfigV1NotFound, *ExportConfigV1InternalServerError, error) ExportConfigV1Short(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, error) ImportConfigV1(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, *ImportConfigV1BadRequest, *ImportConfigV1Unauthorized, *ImportConfigV1Forbidden, *ImportConfigV1NotFound, *ImportConfigV1InternalServerError, error) ImportConfigV1Short(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, 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 config API client.
type CreateConfigBadRequest ¶ added in v0.4.0
type CreateConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
CreateConfigBadRequest handles this case with default header values.
malformed request
func NewCreateConfigBadRequest ¶ added in v0.4.0
func NewCreateConfigBadRequest() *CreateConfigBadRequest
NewCreateConfigBadRequest creates a CreateConfigBadRequest with default headers values
func (*CreateConfigBadRequest) Error ¶ added in v0.4.0
func (o *CreateConfigBadRequest) Error() string
func (*CreateConfigBadRequest) GetPayload ¶ added in v0.4.0
func (o *CreateConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type CreateConfigConflict ¶ added in v0.8.0
type CreateConfigConflict struct {
Payload *dsmcclientmodels.ResponseError
}
CreateConfigConflict handles this case with default header values.
Conflict
func NewCreateConfigConflict ¶ added in v0.8.0
func NewCreateConfigConflict() *CreateConfigConflict
NewCreateConfigConflict creates a CreateConfigConflict with default headers values
func (*CreateConfigConflict) Error ¶ added in v0.8.0
func (o *CreateConfigConflict) Error() string
func (*CreateConfigConflict) GetPayload ¶ added in v0.8.0
func (o *CreateConfigConflict) GetPayload() *dsmcclientmodels.ResponseError
type CreateConfigCreated ¶ added in v0.4.0
type CreateConfigCreated struct {
Payload *dsmcclientmodels.ModelsDSMConfigRecord
}
CreateConfigCreated handles this case with default header values.
config created
func NewCreateConfigCreated ¶ added in v0.4.0
func NewCreateConfigCreated() *CreateConfigCreated
NewCreateConfigCreated creates a CreateConfigCreated with default headers values
func (*CreateConfigCreated) Error ¶ added in v0.4.0
func (o *CreateConfigCreated) Error() string
func (*CreateConfigCreated) GetPayload ¶ added in v0.4.0
func (o *CreateConfigCreated) GetPayload() *dsmcclientmodels.ModelsDSMConfigRecord
type CreateConfigInternalServerError ¶ added in v0.4.0
type CreateConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
CreateConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewCreateConfigInternalServerError ¶ added in v0.4.0
func NewCreateConfigInternalServerError() *CreateConfigInternalServerError
NewCreateConfigInternalServerError creates a CreateConfigInternalServerError with default headers values
func (*CreateConfigInternalServerError) Error ¶ added in v0.4.0
func (o *CreateConfigInternalServerError) Error() string
func (*CreateConfigInternalServerError) GetPayload ¶ added in v0.4.0
func (o *CreateConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type CreateConfigParams ¶ added in v0.4.0
type CreateConfigParams struct { /*Body*/ Body *dsmcclientmodels.ModelsCreateDSMConfigRequest /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateConfigParams contains all the parameters to send to the API endpoint for the create config operation typically these are written to a http.Request
func NewCreateConfigParams ¶ added in v0.4.0
func NewCreateConfigParams() *CreateConfigParams
NewCreateConfigParams creates a new CreateConfigParams object with the default values initialized.
func NewCreateConfigParamsWithContext ¶ added in v0.4.0
func NewCreateConfigParamsWithContext(ctx context.Context) *CreateConfigParams
NewCreateConfigParamsWithContext creates a new CreateConfigParams object with the default values initialized, and the ability to set a context for a request
func NewCreateConfigParamsWithHTTPClient ¶ added in v0.4.0
func NewCreateConfigParamsWithHTTPClient(client *http.Client) *CreateConfigParams
NewCreateConfigParamsWithHTTPClient creates a new CreateConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateConfigParamsWithTimeout ¶ added in v0.4.0
func NewCreateConfigParamsWithTimeout(timeout time.Duration) *CreateConfigParams
NewCreateConfigParamsWithTimeout creates a new CreateConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateConfigParams) SetBody ¶ added in v0.4.0
func (o *CreateConfigParams) SetBody(body *dsmcclientmodels.ModelsCreateDSMConfigRequest)
SetBody adds the body to the create config params
func (*CreateConfigParams) SetContext ¶ added in v0.4.0
func (o *CreateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the create config params
func (*CreateConfigParams) SetHTTPClient ¶ added in v0.4.0
func (o *CreateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) SetNamespace ¶ added in v0.4.0
func (o *CreateConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the create config params
func (*CreateConfigParams) SetTimeout ¶ added in v0.4.0
func (o *CreateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create config params
func (*CreateConfigParams) WithBody ¶ added in v0.4.0
func (o *CreateConfigParams) WithBody(body *dsmcclientmodels.ModelsCreateDSMConfigRequest) *CreateConfigParams
WithBody adds the body to the create config params
func (*CreateConfigParams) WithContext ¶ added in v0.4.0
func (o *CreateConfigParams) WithContext(ctx context.Context) *CreateConfigParams
WithContext adds the context to the create config params
func (*CreateConfigParams) WithHTTPClient ¶ added in v0.4.0
func (o *CreateConfigParams) WithHTTPClient(client *http.Client) *CreateConfigParams
WithHTTPClient adds the HTTPClient to the create config params
func (*CreateConfigParams) WithNamespace ¶ added in v0.4.0
func (o *CreateConfigParams) WithNamespace(namespace string) *CreateConfigParams
WithNamespace adds the namespace to the create config params
func (*CreateConfigParams) WithTimeout ¶ added in v0.4.0
func (o *CreateConfigParams) WithTimeout(timeout time.Duration) *CreateConfigParams
WithTimeout adds the timeout to the create config params
func (*CreateConfigParams) WriteToRequest ¶ added in v0.4.0
func (o *CreateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateConfigReader ¶ added in v0.4.0
type CreateConfigReader struct {
// contains filtered or unexported fields
}
CreateConfigReader is a Reader for the CreateConfig structure.
func (*CreateConfigReader) ReadResponse ¶ added in v0.4.0
func (o *CreateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateConfigUnauthorized ¶ added in v0.4.0
type CreateConfigUnauthorized struct {
}CreateConfigUnauthorized handles this case with default header values.
Unauthorized
func NewCreateConfigUnauthorized ¶ added in v0.4.0
func NewCreateConfigUnauthorized() *CreateConfigUnauthorized
NewCreateConfigUnauthorized creates a CreateConfigUnauthorized with default headers values
func (*CreateConfigUnauthorized) Error ¶ added in v0.4.0
func (o *CreateConfigUnauthorized) Error() string
func (*CreateConfigUnauthorized) GetPayload ¶ added in v0.4.0
func (o *CreateConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type DeleteConfigBadRequest ¶ added in v0.4.0
type DeleteConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
DeleteConfigBadRequest handles this case with default header values.
malformed request
func NewDeleteConfigBadRequest ¶ added in v0.4.0
func NewDeleteConfigBadRequest() *DeleteConfigBadRequest
NewDeleteConfigBadRequest creates a DeleteConfigBadRequest with default headers values
func (*DeleteConfigBadRequest) Error ¶ added in v0.4.0
func (o *DeleteConfigBadRequest) Error() string
func (*DeleteConfigBadRequest) GetPayload ¶ added in v0.4.0
func (o *DeleteConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type DeleteConfigInternalServerError ¶ added in v0.4.0
type DeleteConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
DeleteConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteConfigInternalServerError ¶ added in v0.4.0
func NewDeleteConfigInternalServerError() *DeleteConfigInternalServerError
NewDeleteConfigInternalServerError creates a DeleteConfigInternalServerError with default headers values
func (*DeleteConfigInternalServerError) Error ¶ added in v0.4.0
func (o *DeleteConfigInternalServerError) Error() string
func (*DeleteConfigInternalServerError) GetPayload ¶ added in v0.4.0
func (o *DeleteConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type DeleteConfigNoContent ¶ added in v0.4.0
type DeleteConfigNoContent struct { }
DeleteConfigNoContent handles this case with default header values.
config deleted
func NewDeleteConfigNoContent ¶ added in v0.4.0
func NewDeleteConfigNoContent() *DeleteConfigNoContent
NewDeleteConfigNoContent creates a DeleteConfigNoContent with default headers values
func (*DeleteConfigNoContent) Error ¶ added in v0.4.0
func (o *DeleteConfigNoContent) Error() string
type DeleteConfigNotFound ¶ added in v0.4.0
type DeleteConfigNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
DeleteConfigNotFound handles this case with default header values.
config not found
func NewDeleteConfigNotFound ¶ added in v0.4.0
func NewDeleteConfigNotFound() *DeleteConfigNotFound
NewDeleteConfigNotFound creates a DeleteConfigNotFound with default headers values
func (*DeleteConfigNotFound) Error ¶ added in v0.4.0
func (o *DeleteConfigNotFound) Error() string
func (*DeleteConfigNotFound) GetPayload ¶ added in v0.4.0
func (o *DeleteConfigNotFound) GetPayload() *dsmcclientmodels.ResponseError
type DeleteConfigParams ¶ added in v0.4.0
type DeleteConfigParams struct { /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConfigParams contains all the parameters to send to the API endpoint for the delete config operation typically these are written to a http.Request
func NewDeleteConfigParams ¶ added in v0.4.0
func NewDeleteConfigParams() *DeleteConfigParams
NewDeleteConfigParams creates a new DeleteConfigParams object with the default values initialized.
func NewDeleteConfigParamsWithContext ¶ added in v0.4.0
func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams
NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteConfigParamsWithHTTPClient ¶ added in v0.4.0
func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams
NewDeleteConfigParamsWithHTTPClient creates a new DeleteConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConfigParamsWithTimeout ¶ added in v0.4.0
func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams
NewDeleteConfigParamsWithTimeout creates a new DeleteConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConfigParams) SetContext ¶ added in v0.4.0
func (o *DeleteConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config params
func (*DeleteConfigParams) SetHTTPClient ¶ added in v0.4.0
func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) SetNamespace ¶ added in v0.4.0
func (o *DeleteConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) SetTimeout ¶ added in v0.4.0
func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WithContext ¶ added in v0.4.0
func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
WithContext adds the context to the delete config params
func (*DeleteConfigParams) WithHTTPClient ¶ added in v0.4.0
func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
WithHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) WithNamespace ¶ added in v0.4.0
func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams
WithNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) WithTimeout ¶ added in v0.4.0
func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
WithTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WriteToRequest ¶ added in v0.4.0
func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigReader ¶ added in v0.4.0
type DeleteConfigReader struct {
// contains filtered or unexported fields
}
DeleteConfigReader is a Reader for the DeleteConfig structure.
func (*DeleteConfigReader) ReadResponse ¶ added in v0.4.0
func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteConfigUnauthorized ¶ added in v0.4.0
type DeleteConfigUnauthorized struct {
}DeleteConfigUnauthorized handles this case with default header values.
Unauthorized
func NewDeleteConfigUnauthorized ¶ added in v0.4.0
func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized
NewDeleteConfigUnauthorized creates a DeleteConfigUnauthorized with default headers values
func (*DeleteConfigUnauthorized) Error ¶ added in v0.4.0
func (o *DeleteConfigUnauthorized) Error() string
func (*DeleteConfigUnauthorized) GetPayload ¶ added in v0.4.0
func (o *DeleteConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type DeletePortBadRequest ¶ added in v0.4.0
type DeletePortBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
DeletePortBadRequest handles this case with default header values.
malformed request
func NewDeletePortBadRequest ¶ added in v0.4.0
func NewDeletePortBadRequest() *DeletePortBadRequest
NewDeletePortBadRequest creates a DeletePortBadRequest with default headers values
func (*DeletePortBadRequest) Error ¶ added in v0.4.0
func (o *DeletePortBadRequest) Error() string
func (*DeletePortBadRequest) GetPayload ¶ added in v0.4.0
func (o *DeletePortBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type DeletePortInternalServerError ¶ added in v0.4.0
type DeletePortInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
DeletePortInternalServerError handles this case with default header values.
Internal Server Error
func NewDeletePortInternalServerError ¶ added in v0.4.0
func NewDeletePortInternalServerError() *DeletePortInternalServerError
NewDeletePortInternalServerError creates a DeletePortInternalServerError with default headers values
func (*DeletePortInternalServerError) Error ¶ added in v0.4.0
func (o *DeletePortInternalServerError) Error() string
func (*DeletePortInternalServerError) GetPayload ¶ added in v0.4.0
func (o *DeletePortInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type DeletePortNotFound ¶ added in v0.4.0
type DeletePortNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
DeletePortNotFound handles this case with default header values.
port config not found
func NewDeletePortNotFound ¶ added in v0.4.0
func NewDeletePortNotFound() *DeletePortNotFound
NewDeletePortNotFound creates a DeletePortNotFound with default headers values
func (*DeletePortNotFound) Error ¶ added in v0.4.0
func (o *DeletePortNotFound) Error() string
func (*DeletePortNotFound) GetPayload ¶ added in v0.4.0
func (o *DeletePortNotFound) GetPayload() *dsmcclientmodels.ResponseError
type DeletePortOK ¶ added in v0.4.0
type DeletePortOK struct {
Payload *dsmcclientmodels.ModelsDSMConfigRecord
}
DeletePortOK handles this case with default header values.
ok
func NewDeletePortOK ¶ added in v0.4.0
func NewDeletePortOK() *DeletePortOK
NewDeletePortOK creates a DeletePortOK with default headers values
func (*DeletePortOK) Error ¶ added in v0.4.0
func (o *DeletePortOK) Error() string
func (*DeletePortOK) GetPayload ¶ added in v0.4.0
func (o *DeletePortOK) GetPayload() *dsmcclientmodels.ModelsDSMConfigRecord
type DeletePortParams ¶ added in v0.4.0
type DeletePortParams struct { /*Name port name */ Name string /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePortParams contains all the parameters to send to the API endpoint for the delete port operation typically these are written to a http.Request
func NewDeletePortParams ¶ added in v0.4.0
func NewDeletePortParams() *DeletePortParams
NewDeletePortParams creates a new DeletePortParams object with the default values initialized.
func NewDeletePortParamsWithContext ¶ added in v0.4.0
func NewDeletePortParamsWithContext(ctx context.Context) *DeletePortParams
NewDeletePortParamsWithContext creates a new DeletePortParams object with the default values initialized, and the ability to set a context for a request
func NewDeletePortParamsWithHTTPClient ¶ added in v0.4.0
func NewDeletePortParamsWithHTTPClient(client *http.Client) *DeletePortParams
NewDeletePortParamsWithHTTPClient creates a new DeletePortParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeletePortParamsWithTimeout ¶ added in v0.4.0
func NewDeletePortParamsWithTimeout(timeout time.Duration) *DeletePortParams
NewDeletePortParamsWithTimeout creates a new DeletePortParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeletePortParams) SetContext ¶ added in v0.4.0
func (o *DeletePortParams) SetContext(ctx context.Context)
SetContext adds the context to the delete port params
func (*DeletePortParams) SetHTTPClient ¶ added in v0.4.0
func (o *DeletePortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete port params
func (*DeletePortParams) SetName ¶ added in v0.4.0
func (o *DeletePortParams) SetName(name string)
SetName adds the name to the delete port params
func (*DeletePortParams) SetNamespace ¶ added in v0.4.0
func (o *DeletePortParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete port params
func (*DeletePortParams) SetTimeout ¶ added in v0.4.0
func (o *DeletePortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete port params
func (*DeletePortParams) WithContext ¶ added in v0.4.0
func (o *DeletePortParams) WithContext(ctx context.Context) *DeletePortParams
WithContext adds the context to the delete port params
func (*DeletePortParams) WithHTTPClient ¶ added in v0.4.0
func (o *DeletePortParams) WithHTTPClient(client *http.Client) *DeletePortParams
WithHTTPClient adds the HTTPClient to the delete port params
func (*DeletePortParams) WithName ¶ added in v0.4.0
func (o *DeletePortParams) WithName(name string) *DeletePortParams
WithName adds the name to the delete port params
func (*DeletePortParams) WithNamespace ¶ added in v0.4.0
func (o *DeletePortParams) WithNamespace(namespace string) *DeletePortParams
WithNamespace adds the namespace to the delete port params
func (*DeletePortParams) WithTimeout ¶ added in v0.4.0
func (o *DeletePortParams) WithTimeout(timeout time.Duration) *DeletePortParams
WithTimeout adds the timeout to the delete port params
func (*DeletePortParams) WriteToRequest ¶ added in v0.4.0
func (o *DeletePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePortReader ¶ added in v0.4.0
type DeletePortReader struct {
// contains filtered or unexported fields
}
DeletePortReader is a Reader for the DeletePort structure.
func (*DeletePortReader) ReadResponse ¶ added in v0.4.0
func (o *DeletePortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePortUnauthorized ¶ added in v0.4.0
type DeletePortUnauthorized struct {
}DeletePortUnauthorized handles this case with default header values.
Unauthorized
func NewDeletePortUnauthorized ¶ added in v0.4.0
func NewDeletePortUnauthorized() *DeletePortUnauthorized
NewDeletePortUnauthorized creates a DeletePortUnauthorized with default headers values
func (*DeletePortUnauthorized) Error ¶ added in v0.4.0
func (o *DeletePortUnauthorized) Error() string
func (*DeletePortUnauthorized) GetPayload ¶ added in v0.4.0
func (o *DeletePortUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type ExportConfigV1Forbidden ¶
type ExportConfigV1Forbidden struct {
Payload *dsmcclientmodels.ResponseError
}
ExportConfigV1Forbidden handles this case with default header values.
forbidden access
func NewExportConfigV1Forbidden ¶
func NewExportConfigV1Forbidden() *ExportConfigV1Forbidden
NewExportConfigV1Forbidden creates a ExportConfigV1Forbidden with default headers values
func (*ExportConfigV1Forbidden) Error ¶
func (o *ExportConfigV1Forbidden) Error() string
func (*ExportConfigV1Forbidden) GetPayload ¶
func (o *ExportConfigV1Forbidden) GetPayload() *dsmcclientmodels.ResponseError
type ExportConfigV1InternalServerError ¶
type ExportConfigV1InternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ExportConfigV1InternalServerError handles this case with default header values.
Internal Server Error
func NewExportConfigV1InternalServerError ¶
func NewExportConfigV1InternalServerError() *ExportConfigV1InternalServerError
NewExportConfigV1InternalServerError creates a ExportConfigV1InternalServerError with default headers values
func (*ExportConfigV1InternalServerError) Error ¶
func (o *ExportConfigV1InternalServerError) Error() string
func (*ExportConfigV1InternalServerError) GetPayload ¶
func (o *ExportConfigV1InternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type ExportConfigV1NotFound ¶
type ExportConfigV1NotFound struct {
Payload *dsmcclientmodels.ResponseError
}
ExportConfigV1NotFound handles this case with default header values.
config not found
func NewExportConfigV1NotFound ¶
func NewExportConfigV1NotFound() *ExportConfigV1NotFound
NewExportConfigV1NotFound creates a ExportConfigV1NotFound with default headers values
func (*ExportConfigV1NotFound) Error ¶
func (o *ExportConfigV1NotFound) Error() string
func (*ExportConfigV1NotFound) GetPayload ¶
func (o *ExportConfigV1NotFound) GetPayload() *dsmcclientmodels.ResponseError
type ExportConfigV1OK ¶
type ExportConfigV1OK struct {
Payload *dsmcclientmodels.ModelsDSMConfigExport
}
ExportConfigV1OK handles this case with default header values.
config exported
func NewExportConfigV1OK ¶
func NewExportConfigV1OK() *ExportConfigV1OK
NewExportConfigV1OK creates a ExportConfigV1OK with default headers values
func (*ExportConfigV1OK) Error ¶
func (o *ExportConfigV1OK) Error() string
func (*ExportConfigV1OK) GetPayload ¶
func (o *ExportConfigV1OK) GetPayload() *dsmcclientmodels.ModelsDSMConfigExport
type ExportConfigV1Params ¶
type ExportConfigV1Params struct { /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportConfigV1Params contains all the parameters to send to the API endpoint for the export config v1 operation typically these are written to a http.Request
func NewExportConfigV1Params ¶
func NewExportConfigV1Params() *ExportConfigV1Params
NewExportConfigV1Params creates a new ExportConfigV1Params object with the default values initialized.
func NewExportConfigV1ParamsWithContext ¶
func NewExportConfigV1ParamsWithContext(ctx context.Context) *ExportConfigV1Params
NewExportConfigV1ParamsWithContext creates a new ExportConfigV1Params object with the default values initialized, and the ability to set a context for a request
func NewExportConfigV1ParamsWithHTTPClient ¶
func NewExportConfigV1ParamsWithHTTPClient(client *http.Client) *ExportConfigV1Params
NewExportConfigV1ParamsWithHTTPClient creates a new ExportConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExportConfigV1ParamsWithTimeout ¶
func NewExportConfigV1ParamsWithTimeout(timeout time.Duration) *ExportConfigV1Params
NewExportConfigV1ParamsWithTimeout creates a new ExportConfigV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*ExportConfigV1Params) SetContext ¶
func (o *ExportConfigV1Params) SetContext(ctx context.Context)
SetContext adds the context to the export config v1 params
func (*ExportConfigV1Params) SetHTTPClient ¶
func (o *ExportConfigV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export config v1 params
func (*ExportConfigV1Params) SetNamespace ¶
func (o *ExportConfigV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the export config v1 params
func (*ExportConfigV1Params) SetTimeout ¶
func (o *ExportConfigV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export config v1 params
func (*ExportConfigV1Params) WithContext ¶
func (o *ExportConfigV1Params) WithContext(ctx context.Context) *ExportConfigV1Params
WithContext adds the context to the export config v1 params
func (*ExportConfigV1Params) WithHTTPClient ¶
func (o *ExportConfigV1Params) WithHTTPClient(client *http.Client) *ExportConfigV1Params
WithHTTPClient adds the HTTPClient to the export config v1 params
func (*ExportConfigV1Params) WithNamespace ¶
func (o *ExportConfigV1Params) WithNamespace(namespace string) *ExportConfigV1Params
WithNamespace adds the namespace to the export config v1 params
func (*ExportConfigV1Params) WithTimeout ¶
func (o *ExportConfigV1Params) WithTimeout(timeout time.Duration) *ExportConfigV1Params
WithTimeout adds the timeout to the export config v1 params
func (*ExportConfigV1Params) WriteToRequest ¶
func (o *ExportConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportConfigV1Reader ¶
type ExportConfigV1Reader struct {
// contains filtered or unexported fields
}
ExportConfigV1Reader is a Reader for the ExportConfigV1 structure.
func (*ExportConfigV1Reader) ReadResponse ¶
func (o *ExportConfigV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportConfigV1Unauthorized ¶
type ExportConfigV1Unauthorized struct {
}ExportConfigV1Unauthorized handles this case with default header values.
unauthorized access
func NewExportConfigV1Unauthorized ¶
func NewExportConfigV1Unauthorized() *ExportConfigV1Unauthorized
NewExportConfigV1Unauthorized creates a ExportConfigV1Unauthorized with default headers values
func (*ExportConfigV1Unauthorized) Error ¶
func (o *ExportConfigV1Unauthorized) Error() string
func (*ExportConfigV1Unauthorized) GetPayload ¶
func (o *ExportConfigV1Unauthorized) GetPayload() *dsmcclientmodels.ResponseError
type GetConfigInternalServerError ¶
type GetConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
GetConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewGetConfigInternalServerError ¶
func NewGetConfigInternalServerError() *GetConfigInternalServerError
NewGetConfigInternalServerError creates a GetConfigInternalServerError with default headers values
func (*GetConfigInternalServerError) Error ¶
func (o *GetConfigInternalServerError) Error() string
func (*GetConfigInternalServerError) GetPayload ¶
func (o *GetConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type GetConfigNotFound ¶
type GetConfigNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
GetConfigNotFound handles this case with default header values.
config not found
func NewGetConfigNotFound ¶
func NewGetConfigNotFound() *GetConfigNotFound
NewGetConfigNotFound creates a GetConfigNotFound with default headers values
func (*GetConfigNotFound) Error ¶
func (o *GetConfigNotFound) Error() string
func (*GetConfigNotFound) GetPayload ¶
func (o *GetConfigNotFound) GetPayload() *dsmcclientmodels.ResponseError
type GetConfigOK ¶
type GetConfigOK struct {
Payload *dsmcclientmodels.ModelsDSMConfigRecord
}
GetConfigOK handles this case with default header values.
config retrieved
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
func (*GetConfigOK) GetPayload ¶
func (o *GetConfigOK) GetPayload() *dsmcclientmodels.ModelsDSMConfigRecord
type GetConfigParams ¶
type GetConfigParams struct { /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigParams contains all the parameters to send to the API endpoint for the get config operation typically these are written to a http.Request
func NewGetConfigParams ¶
func NewGetConfigParams() *GetConfigParams
NewGetConfigParams creates a new GetConfigParams object with the default values initialized.
func NewGetConfigParamsWithContext ¶
func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams
NewGetConfigParamsWithContext creates a new GetConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetConfigParamsWithHTTPClient ¶
func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams
NewGetConfigParamsWithHTTPClient creates a new GetConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConfigParamsWithTimeout ¶
func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams
NewGetConfigParamsWithTimeout creates a new GetConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConfigParams) SetContext ¶
func (o *GetConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get config params
func (*GetConfigParams) SetHTTPClient ¶
func (o *GetConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) SetNamespace ¶
func (o *GetConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get config params
func (*GetConfigParams) SetTimeout ¶
func (o *GetConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config params
func (*GetConfigParams) WithContext ¶
func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
WithContext adds the context to the get config params
func (*GetConfigParams) WithHTTPClient ¶
func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
WithHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) WithNamespace ¶
func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams
WithNamespace adds the namespace to the get config params
func (*GetConfigParams) WithTimeout ¶
func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
WithTimeout adds the timeout to the get config params
func (*GetConfigParams) WriteToRequest ¶
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigUnauthorized ¶
type GetConfigUnauthorized struct {
}GetConfigUnauthorized handles this case with default header values.
Unauthorized
func NewGetConfigUnauthorized ¶
func NewGetConfigUnauthorized() *GetConfigUnauthorized
NewGetConfigUnauthorized creates a GetConfigUnauthorized with default headers values
func (*GetConfigUnauthorized) Error ¶
func (o *GetConfigUnauthorized) Error() string
func (*GetConfigUnauthorized) GetPayload ¶
func (o *GetConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type ImportConfigV1BadRequest ¶
type ImportConfigV1BadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
ImportConfigV1BadRequest handles this case with default header values.
malformed request
func NewImportConfigV1BadRequest ¶
func NewImportConfigV1BadRequest() *ImportConfigV1BadRequest
NewImportConfigV1BadRequest creates a ImportConfigV1BadRequest with default headers values
func (*ImportConfigV1BadRequest) Error ¶
func (o *ImportConfigV1BadRequest) Error() string
func (*ImportConfigV1BadRequest) GetPayload ¶
func (o *ImportConfigV1BadRequest) GetPayload() *dsmcclientmodels.ResponseError
type ImportConfigV1Forbidden ¶
type ImportConfigV1Forbidden struct {
Payload *dsmcclientmodels.ResponseError
}
ImportConfigV1Forbidden handles this case with default header values.
forbidden access
func NewImportConfigV1Forbidden ¶
func NewImportConfigV1Forbidden() *ImportConfigV1Forbidden
NewImportConfigV1Forbidden creates a ImportConfigV1Forbidden with default headers values
func (*ImportConfigV1Forbidden) Error ¶
func (o *ImportConfigV1Forbidden) Error() string
func (*ImportConfigV1Forbidden) GetPayload ¶
func (o *ImportConfigV1Forbidden) GetPayload() *dsmcclientmodels.ResponseError
type ImportConfigV1InternalServerError ¶
type ImportConfigV1InternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ImportConfigV1InternalServerError handles this case with default header values.
Internal Server Error
func NewImportConfigV1InternalServerError ¶
func NewImportConfigV1InternalServerError() *ImportConfigV1InternalServerError
NewImportConfigV1InternalServerError creates a ImportConfigV1InternalServerError with default headers values
func (*ImportConfigV1InternalServerError) Error ¶
func (o *ImportConfigV1InternalServerError) Error() string
func (*ImportConfigV1InternalServerError) GetPayload ¶
func (o *ImportConfigV1InternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type ImportConfigV1NotFound ¶
type ImportConfigV1NotFound struct {
Payload *dsmcclientmodels.ResponseError
}
ImportConfigV1NotFound handles this case with default header values.
config not found
func NewImportConfigV1NotFound ¶
func NewImportConfigV1NotFound() *ImportConfigV1NotFound
NewImportConfigV1NotFound creates a ImportConfigV1NotFound with default headers values
func (*ImportConfigV1NotFound) Error ¶
func (o *ImportConfigV1NotFound) Error() string
func (*ImportConfigV1NotFound) GetPayload ¶
func (o *ImportConfigV1NotFound) GetPayload() *dsmcclientmodels.ResponseError
type ImportConfigV1OK ¶
type ImportConfigV1OK struct {
Payload *dsmcclientmodels.ModelsImportResponse
}
ImportConfigV1OK handles this case with default header values.
config imported
func NewImportConfigV1OK ¶
func NewImportConfigV1OK() *ImportConfigV1OK
NewImportConfigV1OK creates a ImportConfigV1OK with default headers values
func (*ImportConfigV1OK) Error ¶
func (o *ImportConfigV1OK) Error() string
func (*ImportConfigV1OK) GetPayload ¶
func (o *ImportConfigV1OK) GetPayload() *dsmcclientmodels.ModelsImportResponse
type ImportConfigV1Params ¶
type ImportConfigV1Params struct { /*File imported file */ File runtime.NamedReadCloser /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ImportConfigV1Params contains all the parameters to send to the API endpoint for the import config v1 operation typically these are written to a http.Request
func NewImportConfigV1Params ¶
func NewImportConfigV1Params() *ImportConfigV1Params
NewImportConfigV1Params creates a new ImportConfigV1Params object with the default values initialized.
func NewImportConfigV1ParamsWithContext ¶
func NewImportConfigV1ParamsWithContext(ctx context.Context) *ImportConfigV1Params
NewImportConfigV1ParamsWithContext creates a new ImportConfigV1Params object with the default values initialized, and the ability to set a context for a request
func NewImportConfigV1ParamsWithHTTPClient ¶
func NewImportConfigV1ParamsWithHTTPClient(client *http.Client) *ImportConfigV1Params
NewImportConfigV1ParamsWithHTTPClient creates a new ImportConfigV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewImportConfigV1ParamsWithTimeout ¶
func NewImportConfigV1ParamsWithTimeout(timeout time.Duration) *ImportConfigV1Params
NewImportConfigV1ParamsWithTimeout creates a new ImportConfigV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*ImportConfigV1Params) SetContext ¶
func (o *ImportConfigV1Params) SetContext(ctx context.Context)
SetContext adds the context to the import config v1 params
func (*ImportConfigV1Params) SetFile ¶
func (o *ImportConfigV1Params) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the import config v1 params
func (*ImportConfigV1Params) SetHTTPClient ¶
func (o *ImportConfigV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the import config v1 params
func (*ImportConfigV1Params) SetNamespace ¶
func (o *ImportConfigV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the import config v1 params
func (*ImportConfigV1Params) SetTimeout ¶
func (o *ImportConfigV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the import config v1 params
func (*ImportConfigV1Params) WithContext ¶
func (o *ImportConfigV1Params) WithContext(ctx context.Context) *ImportConfigV1Params
WithContext adds the context to the import config v1 params
func (*ImportConfigV1Params) WithFile ¶
func (o *ImportConfigV1Params) WithFile(file runtime.NamedReadCloser) *ImportConfigV1Params
WithFile adds the file to the import config v1 params
func (*ImportConfigV1Params) WithHTTPClient ¶
func (o *ImportConfigV1Params) WithHTTPClient(client *http.Client) *ImportConfigV1Params
WithHTTPClient adds the HTTPClient to the import config v1 params
func (*ImportConfigV1Params) WithNamespace ¶
func (o *ImportConfigV1Params) WithNamespace(namespace string) *ImportConfigV1Params
WithNamespace adds the namespace to the import config v1 params
func (*ImportConfigV1Params) WithTimeout ¶
func (o *ImportConfigV1Params) WithTimeout(timeout time.Duration) *ImportConfigV1Params
WithTimeout adds the timeout to the import config v1 params
func (*ImportConfigV1Params) WriteToRequest ¶
func (o *ImportConfigV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ImportConfigV1Reader ¶
type ImportConfigV1Reader struct {
// contains filtered or unexported fields
}
ImportConfigV1Reader is a Reader for the ImportConfigV1 structure.
func (*ImportConfigV1Reader) ReadResponse ¶
func (o *ImportConfigV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ImportConfigV1Unauthorized ¶
type ImportConfigV1Unauthorized struct {
}ImportConfigV1Unauthorized handles this case with default header values.
unauthorized access
func NewImportConfigV1Unauthorized ¶
func NewImportConfigV1Unauthorized() *ImportConfigV1Unauthorized
NewImportConfigV1Unauthorized creates a ImportConfigV1Unauthorized with default headers values
func (*ImportConfigV1Unauthorized) Error ¶
func (o *ImportConfigV1Unauthorized) Error() string
func (*ImportConfigV1Unauthorized) GetPayload ¶
func (o *ImportConfigV1Unauthorized) GetPayload() *dsmcclientmodels.ResponseError
type ListConfigInternalServerError ¶
type ListConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
ListConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewListConfigInternalServerError ¶
func NewListConfigInternalServerError() *ListConfigInternalServerError
NewListConfigInternalServerError creates a ListConfigInternalServerError with default headers values
func (*ListConfigInternalServerError) Error ¶
func (o *ListConfigInternalServerError) Error() string
func (*ListConfigInternalServerError) GetPayload ¶
func (o *ListConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type ListConfigOK ¶
type ListConfigOK struct {
Payload *dsmcclientmodels.ModelsListConfigResponse
}
ListConfigOK handles this case with default header values.
configs listed
func NewListConfigOK ¶
func NewListConfigOK() *ListConfigOK
NewListConfigOK creates a ListConfigOK with default headers values
func (*ListConfigOK) Error ¶
func (o *ListConfigOK) Error() string
func (*ListConfigOK) GetPayload ¶
func (o *ListConfigOK) GetPayload() *dsmcclientmodels.ModelsListConfigResponse
type ListConfigParams ¶
type ListConfigParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListConfigParams contains all the parameters to send to the API endpoint for the list config operation typically these are written to a http.Request
func NewListConfigParams ¶
func NewListConfigParams() *ListConfigParams
NewListConfigParams creates a new ListConfigParams object with the default values initialized.
func NewListConfigParamsWithContext ¶
func NewListConfigParamsWithContext(ctx context.Context) *ListConfigParams
NewListConfigParamsWithContext creates a new ListConfigParams object with the default values initialized, and the ability to set a context for a request
func NewListConfigParamsWithHTTPClient ¶
func NewListConfigParamsWithHTTPClient(client *http.Client) *ListConfigParams
NewListConfigParamsWithHTTPClient creates a new ListConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListConfigParamsWithTimeout ¶
func NewListConfigParamsWithTimeout(timeout time.Duration) *ListConfigParams
NewListConfigParamsWithTimeout creates a new ListConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListConfigParams) SetContext ¶
func (o *ListConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the list config params
func (*ListConfigParams) SetHTTPClient ¶
func (o *ListConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list config params
func (*ListConfigParams) SetTimeout ¶
func (o *ListConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list config params
func (*ListConfigParams) WithContext ¶
func (o *ListConfigParams) WithContext(ctx context.Context) *ListConfigParams
WithContext adds the context to the list config params
func (*ListConfigParams) WithHTTPClient ¶
func (o *ListConfigParams) WithHTTPClient(client *http.Client) *ListConfigParams
WithHTTPClient adds the HTTPClient to the list config params
func (*ListConfigParams) WithTimeout ¶
func (o *ListConfigParams) WithTimeout(timeout time.Duration) *ListConfigParams
WithTimeout adds the timeout to the list config params
func (*ListConfigParams) WriteToRequest ¶
func (o *ListConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListConfigReader ¶
type ListConfigReader struct {
// contains filtered or unexported fields
}
ListConfigReader is a Reader for the ListConfig structure.
func (*ListConfigReader) ReadResponse ¶
func (o *ListConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListConfigUnauthorized ¶
type ListConfigUnauthorized struct {
}ListConfigUnauthorized handles this case with default header values.
Unauthorized
func NewListConfigUnauthorized ¶
func NewListConfigUnauthorized() *ListConfigUnauthorized
NewListConfigUnauthorized creates a ListConfigUnauthorized with default headers values
func (*ListConfigUnauthorized) Error ¶
func (o *ListConfigUnauthorized) Error() string
func (*ListConfigUnauthorized) GetPayload ¶
func (o *ListConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type SaveConfigBadRequest ¶
type SaveConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
SaveConfigBadRequest handles this case with default header values.
malformed request
func NewSaveConfigBadRequest ¶
func NewSaveConfigBadRequest() *SaveConfigBadRequest
NewSaveConfigBadRequest creates a SaveConfigBadRequest with default headers values
func (*SaveConfigBadRequest) Error ¶
func (o *SaveConfigBadRequest) Error() string
func (*SaveConfigBadRequest) GetPayload ¶
func (o *SaveConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type SaveConfigInternalServerError ¶
type SaveConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
SaveConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewSaveConfigInternalServerError ¶
func NewSaveConfigInternalServerError() *SaveConfigInternalServerError
NewSaveConfigInternalServerError creates a SaveConfigInternalServerError with default headers values
func (*SaveConfigInternalServerError) Error ¶
func (o *SaveConfigInternalServerError) Error() string
func (*SaveConfigInternalServerError) GetPayload ¶
func (o *SaveConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type SaveConfigNoContent ¶
type SaveConfigNoContent struct { }
SaveConfigNoContent handles this case with default header values.
config added/updated
func NewSaveConfigNoContent ¶
func NewSaveConfigNoContent() *SaveConfigNoContent
NewSaveConfigNoContent creates a SaveConfigNoContent with default headers values
func (*SaveConfigNoContent) Error ¶
func (o *SaveConfigNoContent) Error() string
type SaveConfigParams ¶
type SaveConfigParams struct { /*Body*/ Body *dsmcclientmodels.ModelsDSMConfigRecord Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SaveConfigParams contains all the parameters to send to the API endpoint for the save config operation typically these are written to a http.Request
func NewSaveConfigParams ¶
func NewSaveConfigParams() *SaveConfigParams
NewSaveConfigParams creates a new SaveConfigParams object with the default values initialized.
func NewSaveConfigParamsWithContext ¶
func NewSaveConfigParamsWithContext(ctx context.Context) *SaveConfigParams
NewSaveConfigParamsWithContext creates a new SaveConfigParams object with the default values initialized, and the ability to set a context for a request
func NewSaveConfigParamsWithHTTPClient ¶
func NewSaveConfigParamsWithHTTPClient(client *http.Client) *SaveConfigParams
NewSaveConfigParamsWithHTTPClient creates a new SaveConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSaveConfigParamsWithTimeout ¶
func NewSaveConfigParamsWithTimeout(timeout time.Duration) *SaveConfigParams
NewSaveConfigParamsWithTimeout creates a new SaveConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*SaveConfigParams) SetBody ¶
func (o *SaveConfigParams) SetBody(body *dsmcclientmodels.ModelsDSMConfigRecord)
SetBody adds the body to the save config params
func (*SaveConfigParams) SetContext ¶
func (o *SaveConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the save config params
func (*SaveConfigParams) SetHTTPClient ¶
func (o *SaveConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the save config params
func (*SaveConfigParams) SetTimeout ¶
func (o *SaveConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the save config params
func (*SaveConfigParams) WithBody ¶
func (o *SaveConfigParams) WithBody(body *dsmcclientmodels.ModelsDSMConfigRecord) *SaveConfigParams
WithBody adds the body to the save config params
func (*SaveConfigParams) WithContext ¶
func (o *SaveConfigParams) WithContext(ctx context.Context) *SaveConfigParams
WithContext adds the context to the save config params
func (*SaveConfigParams) WithHTTPClient ¶
func (o *SaveConfigParams) WithHTTPClient(client *http.Client) *SaveConfigParams
WithHTTPClient adds the HTTPClient to the save config params
func (*SaveConfigParams) WithTimeout ¶
func (o *SaveConfigParams) WithTimeout(timeout time.Duration) *SaveConfigParams
WithTimeout adds the timeout to the save config params
func (*SaveConfigParams) WriteToRequest ¶
func (o *SaveConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SaveConfigReader ¶
type SaveConfigReader struct {
// contains filtered or unexported fields
}
SaveConfigReader is a Reader for the SaveConfig structure.
func (*SaveConfigReader) ReadResponse ¶
func (o *SaveConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SaveConfigUnauthorized ¶
type SaveConfigUnauthorized struct {
}SaveConfigUnauthorized handles this case with default header values.
Unauthorized
func NewSaveConfigUnauthorized ¶
func NewSaveConfigUnauthorized() *SaveConfigUnauthorized
NewSaveConfigUnauthorized creates a SaveConfigUnauthorized with default headers values
func (*SaveConfigUnauthorized) Error ¶
func (o *SaveConfigUnauthorized) Error() string
func (*SaveConfigUnauthorized) GetPayload ¶
func (o *SaveConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type UpdateConfigBadRequest ¶
type UpdateConfigBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
UpdateConfigBadRequest handles this case with default header values.
malformed request
func NewUpdateConfigBadRequest ¶
func NewUpdateConfigBadRequest() *UpdateConfigBadRequest
NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values
func (*UpdateConfigBadRequest) Error ¶
func (o *UpdateConfigBadRequest) Error() string
func (*UpdateConfigBadRequest) GetPayload ¶
func (o *UpdateConfigBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type UpdateConfigInternalServerError ¶
type UpdateConfigInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
UpdateConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateConfigInternalServerError ¶
func NewUpdateConfigInternalServerError() *UpdateConfigInternalServerError
NewUpdateConfigInternalServerError creates a UpdateConfigInternalServerError with default headers values
func (*UpdateConfigInternalServerError) Error ¶
func (o *UpdateConfigInternalServerError) Error() string
func (*UpdateConfigInternalServerError) GetPayload ¶
func (o *UpdateConfigInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type UpdateConfigNotFound ¶ added in v0.4.0
type UpdateConfigNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
UpdateConfigNotFound handles this case with default header values.
config not found
func NewUpdateConfigNotFound ¶ added in v0.4.0
func NewUpdateConfigNotFound() *UpdateConfigNotFound
NewUpdateConfigNotFound creates a UpdateConfigNotFound with default headers values
func (*UpdateConfigNotFound) Error ¶ added in v0.4.0
func (o *UpdateConfigNotFound) Error() string
func (*UpdateConfigNotFound) GetPayload ¶ added in v0.4.0
func (o *UpdateConfigNotFound) GetPayload() *dsmcclientmodels.ResponseError
type UpdateConfigOK ¶ added in v0.4.0
type UpdateConfigOK struct {
Payload *dsmcclientmodels.ModelsDSMConfigRecord
}
UpdateConfigOK handles this case with default header values.
config updated
func NewUpdateConfigOK ¶ added in v0.4.0
func NewUpdateConfigOK() *UpdateConfigOK
NewUpdateConfigOK creates a UpdateConfigOK with default headers values
func (*UpdateConfigOK) Error ¶ added in v0.4.0
func (o *UpdateConfigOK) Error() string
func (*UpdateConfigOK) GetPayload ¶ added in v0.4.0
func (o *UpdateConfigOK) GetPayload() *dsmcclientmodels.ModelsDSMConfigRecord
type UpdateConfigParams ¶
type UpdateConfigParams struct { /*Body*/ Body *dsmcclientmodels.ModelsUpdateDSMConfigRequest /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateConfigParams contains all the parameters to send to the API endpoint for the update config operation typically these are written to a http.Request
func NewUpdateConfigParams ¶
func NewUpdateConfigParams() *UpdateConfigParams
NewUpdateConfigParams creates a new UpdateConfigParams object with the default values initialized.
func NewUpdateConfigParamsWithContext ¶
func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams
NewUpdateConfigParamsWithContext creates a new UpdateConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateConfigParamsWithHTTPClient ¶
func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams
NewUpdateConfigParamsWithHTTPClient creates a new UpdateConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateConfigParamsWithTimeout ¶
func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams
NewUpdateConfigParamsWithTimeout creates a new UpdateConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateConfigParams) SetBody ¶
func (o *UpdateConfigParams) SetBody(body *dsmcclientmodels.ModelsUpdateDSMConfigRequest)
SetBody adds the body to the update config params
func (*UpdateConfigParams) SetContext ¶
func (o *UpdateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update config params
func (*UpdateConfigParams) SetHTTPClient ¶
func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) SetNamespace ¶
func (o *UpdateConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update config params
func (*UpdateConfigParams) SetTimeout ¶
func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WithBody ¶
func (o *UpdateConfigParams) WithBody(body *dsmcclientmodels.ModelsUpdateDSMConfigRequest) *UpdateConfigParams
WithBody adds the body to the update config params
func (*UpdateConfigParams) WithContext ¶
func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
WithContext adds the context to the update config params
func (*UpdateConfigParams) WithHTTPClient ¶
func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
WithHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) WithNamespace ¶
func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams
WithNamespace adds the namespace to the update config params
func (*UpdateConfigParams) WithTimeout ¶
func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
WithTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WriteToRequest ¶
func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigReader ¶
type UpdateConfigReader struct {
// contains filtered or unexported fields
}
UpdateConfigReader is a Reader for the UpdateConfig structure.
func (*UpdateConfigReader) ReadResponse ¶
func (o *UpdateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfigUnauthorized ¶
type UpdateConfigUnauthorized struct {
}UpdateConfigUnauthorized handles this case with default header values.
Unauthorized
func NewUpdateConfigUnauthorized ¶
func NewUpdateConfigUnauthorized() *UpdateConfigUnauthorized
NewUpdateConfigUnauthorized creates a UpdateConfigUnauthorized with default headers values
func (*UpdateConfigUnauthorized) Error ¶
func (o *UpdateConfigUnauthorized) Error() string
func (*UpdateConfigUnauthorized) GetPayload ¶
func (o *UpdateConfigUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePortBadRequest ¶ added in v0.4.0
type UpdatePortBadRequest struct {
Payload *dsmcclientmodels.ResponseError
}
UpdatePortBadRequest handles this case with default header values.
malformed request
func NewUpdatePortBadRequest ¶ added in v0.4.0
func NewUpdatePortBadRequest() *UpdatePortBadRequest
NewUpdatePortBadRequest creates a UpdatePortBadRequest with default headers values
func (*UpdatePortBadRequest) Error ¶ added in v0.4.0
func (o *UpdatePortBadRequest) Error() string
func (*UpdatePortBadRequest) GetPayload ¶ added in v0.4.0
func (o *UpdatePortBadRequest) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePortInternalServerError ¶ added in v0.4.0
type UpdatePortInternalServerError struct {
Payload *dsmcclientmodels.ResponseError
}
UpdatePortInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdatePortInternalServerError ¶ added in v0.4.0
func NewUpdatePortInternalServerError() *UpdatePortInternalServerError
NewUpdatePortInternalServerError creates a UpdatePortInternalServerError with default headers values
func (*UpdatePortInternalServerError) Error ¶ added in v0.4.0
func (o *UpdatePortInternalServerError) Error() string
func (*UpdatePortInternalServerError) GetPayload ¶ added in v0.4.0
func (o *UpdatePortInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePortNotFound ¶ added in v0.4.0
type UpdatePortNotFound struct {
Payload *dsmcclientmodels.ResponseError
}
UpdatePortNotFound handles this case with default header values.
port config not found
func NewUpdatePortNotFound ¶ added in v0.4.0
func NewUpdatePortNotFound() *UpdatePortNotFound
NewUpdatePortNotFound creates a UpdatePortNotFound with default headers values
func (*UpdatePortNotFound) Error ¶ added in v0.4.0
func (o *UpdatePortNotFound) Error() string
func (*UpdatePortNotFound) GetPayload ¶ added in v0.4.0
func (o *UpdatePortNotFound) GetPayload() *dsmcclientmodels.ResponseError
type UpdatePortOK ¶ added in v0.4.0
type UpdatePortOK struct {
Payload *dsmcclientmodels.ModelsDSMConfigRecord
}
UpdatePortOK handles this case with default header values.
pod config updated
func NewUpdatePortOK ¶ added in v0.4.0
func NewUpdatePortOK() *UpdatePortOK
NewUpdatePortOK creates a UpdatePortOK with default headers values
func (*UpdatePortOK) Error ¶ added in v0.4.0
func (o *UpdatePortOK) Error() string
func (*UpdatePortOK) GetPayload ¶ added in v0.4.0
func (o *UpdatePortOK) GetPayload() *dsmcclientmodels.ModelsDSMConfigRecord
type UpdatePortParams ¶ added in v0.4.0
type UpdatePortParams struct { /*Body*/ Body *dsmcclientmodels.ModelsUpdatePortRequest /*Name port name */ Name string /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePortParams contains all the parameters to send to the API endpoint for the update port operation typically these are written to a http.Request
func NewUpdatePortParams ¶ added in v0.4.0
func NewUpdatePortParams() *UpdatePortParams
NewUpdatePortParams creates a new UpdatePortParams object with the default values initialized.
func NewUpdatePortParamsWithContext ¶ added in v0.4.0
func NewUpdatePortParamsWithContext(ctx context.Context) *UpdatePortParams
NewUpdatePortParamsWithContext creates a new UpdatePortParams object with the default values initialized, and the ability to set a context for a request
func NewUpdatePortParamsWithHTTPClient ¶ added in v0.4.0
func NewUpdatePortParamsWithHTTPClient(client *http.Client) *UpdatePortParams
NewUpdatePortParamsWithHTTPClient creates a new UpdatePortParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdatePortParamsWithTimeout ¶ added in v0.4.0
func NewUpdatePortParamsWithTimeout(timeout time.Duration) *UpdatePortParams
NewUpdatePortParamsWithTimeout creates a new UpdatePortParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdatePortParams) SetBody ¶ added in v0.4.0
func (o *UpdatePortParams) SetBody(body *dsmcclientmodels.ModelsUpdatePortRequest)
SetBody adds the body to the update port params
func (*UpdatePortParams) SetContext ¶ added in v0.4.0
func (o *UpdatePortParams) SetContext(ctx context.Context)
SetContext adds the context to the update port params
func (*UpdatePortParams) SetHTTPClient ¶ added in v0.4.0
func (o *UpdatePortParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update port params
func (*UpdatePortParams) SetName ¶ added in v0.4.0
func (o *UpdatePortParams) SetName(name string)
SetName adds the name to the update port params
func (*UpdatePortParams) SetNamespace ¶ added in v0.4.0
func (o *UpdatePortParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update port params
func (*UpdatePortParams) SetTimeout ¶ added in v0.4.0
func (o *UpdatePortParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update port params
func (*UpdatePortParams) WithBody ¶ added in v0.4.0
func (o *UpdatePortParams) WithBody(body *dsmcclientmodels.ModelsUpdatePortRequest) *UpdatePortParams
WithBody adds the body to the update port params
func (*UpdatePortParams) WithContext ¶ added in v0.4.0
func (o *UpdatePortParams) WithContext(ctx context.Context) *UpdatePortParams
WithContext adds the context to the update port params
func (*UpdatePortParams) WithHTTPClient ¶ added in v0.4.0
func (o *UpdatePortParams) WithHTTPClient(client *http.Client) *UpdatePortParams
WithHTTPClient adds the HTTPClient to the update port params
func (*UpdatePortParams) WithName ¶ added in v0.4.0
func (o *UpdatePortParams) WithName(name string) *UpdatePortParams
WithName adds the name to the update port params
func (*UpdatePortParams) WithNamespace ¶ added in v0.4.0
func (o *UpdatePortParams) WithNamespace(namespace string) *UpdatePortParams
WithNamespace adds the namespace to the update port params
func (*UpdatePortParams) WithTimeout ¶ added in v0.4.0
func (o *UpdatePortParams) WithTimeout(timeout time.Duration) *UpdatePortParams
WithTimeout adds the timeout to the update port params
func (*UpdatePortParams) WriteToRequest ¶ added in v0.4.0
func (o *UpdatePortParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePortReader ¶ added in v0.4.0
type UpdatePortReader struct {
// contains filtered or unexported fields
}
UpdatePortReader is a Reader for the UpdatePort structure.
func (*UpdatePortReader) ReadResponse ¶ added in v0.4.0
func (o *UpdatePortReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePortUnauthorized ¶ added in v0.4.0
type UpdatePortUnauthorized struct {
}UpdatePortUnauthorized handles this case with default header values.
Unauthorized
func NewUpdatePortUnauthorized ¶ added in v0.4.0
func NewUpdatePortUnauthorized() *UpdatePortUnauthorized
NewUpdatePortUnauthorized creates a UpdatePortUnauthorized with default headers values
func (*UpdatePortUnauthorized) Error ¶ added in v0.4.0
func (o *UpdatePortUnauthorized) Error() string
func (*UpdatePortUnauthorized) GetPayload ¶ added in v0.4.0
func (o *UpdatePortUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
Source Files
¶
- add_port_parameters.go
- add_port_responses.go
- clear_cache_parameters.go
- clear_cache_responses.go
- config_client.go
- create_config_parameters.go
- create_config_responses.go
- delete_config_parameters.go
- delete_config_responses.go
- delete_port_parameters.go
- delete_port_responses.go
- export_config_v1_parameters.go
- export_config_v1_responses.go
- get_config_parameters.go
- get_config_responses.go
- import_config_v1_parameters.go
- import_config_v1_responses.go
- list_config_parameters.go
- list_config_responses.go
- save_config_parameters.go
- save_config_responses.go
- update_config_parameters.go
- update_config_responses.go
- update_port_parameters.go
- update_port_responses.go