config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for config API

func (*Client) CreateImage

func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter) (*CreateImageNoContent, error)
CreateImage creates image

```

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE] Required scope: social

This endpoint will create image.

Sample image:

{
	"namespace":"dewa",
	"version":"1.0.0",
	"image":"144436415367.dkr.ecr.us-west-2.amazonaws.com/dewa:1.0.0",
	"persistent":false
}

```

func (*Client) DeleteImage

func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteImageNoContent, error)
DeleteImage deletes an image

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE]

Required scope: social

This endpoint will delete an image that specified in the request parameter

func (*Client) ExportConfigV1

func (a *Client) ExportConfigV1(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, 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) ExportImages

func (a *Client) ExportImages(params *ExportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ExportImagesOK, error)
ExportImages exports d s m controller images for a namespace

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint export a dedicated servers images in a namespace.

func (*Client) GetConfig

func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, 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) GetImageDetail

func (a *Client) GetImageDetail(params *GetImageDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageDetailOK, error)
GetImageDetail ds s image detail

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint get specific version of dedicated servers images.

func (*Client) GetImageLimit

func (a *Client) GetImageLimit(params *GetImageLimitParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageLimitOK, error)
GetImageLimit ds s image limit

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint get ds image limit for specific namespace

func (*Client) ImportConfigV1

func (a *Client) ImportConfigV1(params *ImportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ImportConfigV1OK, 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.

The configurations would be replaced except Image Version Mapping. The existing Image Version Mapping will be kept.

func (*Client) ImportImages

func (a *Client) ImportImages(params *ImportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ImportImagesOK, error)
ImportImages imports images for a namespace

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [CREATE]

Required scope: social

This endpoint import a dedicated servers images in a namespace.

The image will be upsert. Existing version will be replaced with imported image, will create new one if not found.

Example data inside imported file [

  {
	"namespace": "dewa",
	"image": "123456789.dkr.ecr.us-west-2.amazonaws.com/ds-dewa:0.0.1-alpha",
	"version": "0.0.1",
	"persistent": true
  }

]

func (*Client) ListConfig

func (a *Client) ListConfig(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, 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) ListImages

func (a *Client) ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListImagesOK, error)
ListImages lists all d s images

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [READ]

Required scope: social

This endpoint lists all of dedicated servers images.

func (*Client) SaveConfig

func (a *Client) SaveConfig(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, 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",
	"artifact_path":"/srv/datads/artifacts/",
	"params": "",
	"min_count": 0,
	"max_count": 0,
	"buffer_count": 0,
	"configurations": {
		"1player": {
			"cpu_limit": "100",
			"mem_limit": "64",
			"params": "-gamemode 1p",
			"artifact_path":"/srv/datads/artifacts/",
		},
		"50players": {
			"cpu_limit": "200",
			"mem_limit": "512",
			"params": "-gamemode 50p",
			"artifact_path":"/srv/datads/artifacts/",
		}
	},
	"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) 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) (*UpdateConfigNoContent, 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,
	"image_version_mapping": {
		"1.4.0": "accelbyte/sample-ds-go:1.4.0"
	},
	"default_version": "1.4.0",
	"cpu_limit": "100",
	"mem_limit": "64",
	"artifact_path":"/srv/datads/artifacts/",
	"params": "",
	"min_count": 0,
	"max_count": 0,
	"buffer_count": 0,
	"configurations": {
		"1player": {
			"cpu_limit": "100",
			"mem_limit": "64",
			"params": "-gamemode 1p",
			"artifact_path":"/srv/datads/artifacts/",
		},
		"50players": {
			"cpu_limit": "200",
			"mem_limit": "512",
			"params": "-gamemode 50p",
			"artifact_path":"/srv/datads/artifacts/",
		}
	},
	"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) UpdateDeployment

func (a *Client) UpdateDeployment(params *UpdateDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeploymentNoContent, error)
UpdateDeployment updates deployment

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE]

Required scope: social

This endpoint update a dedicated servers deployment in a namespace.

func (*Client) UpdateImage

func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageNoContent, error)
UpdateImage updates image

```

Required permission: ADMIN:NAMESPACE:{namespace}:DSM:CONFIG [UPDATE] Required scope: social

This endpoint will update an image name and/or image persistent flag.

Sample image:

{
	"namespace":"dewa",
	"version":"1.0.0",
	"image":"144436415367.dkr.ecr.us-west-2.amazonaws.com/dewa:1.0.0",
	"persistent":false
}

```

type ClientService

type ClientService interface {
	CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter) (*CreateImageNoContent, error)

	DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteImageNoContent, error)

	ExportImages(params *ExportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ExportImagesOK, error)

	GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)

	GetImageDetail(params *GetImageDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageDetailOK, error)

	GetImageLimit(params *GetImageLimitParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageLimitOK, error)

	ImportImages(params *ImportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ImportImagesOK, error)

	ListConfig(params *ListConfigParams, authInfo runtime.ClientAuthInfoWriter) (*ListConfigOK, error)

	ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListImagesOK, error)

	SaveConfig(params *SaveConfigParams, authInfo runtime.ClientAuthInfoWriter) (*SaveConfigNoContent, error)

	UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigNoContent, error)

	UpdateDeployment(params *UpdateDeploymentParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeploymentNoContent, error)

	UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageNoContent, error)

	ExportConfigV1(params *ExportConfigV1Params, authInfo runtime.ClientAuthInfoWriter) (*ExportConfigV1OK, error)

	ImportConfigV1(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 CreateImageBadRequest

type CreateImageBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateImageBadRequest handles this case with default header values.

malformed request

func NewCreateImageBadRequest

func NewCreateImageBadRequest() *CreateImageBadRequest

NewCreateImageBadRequest creates a CreateImageBadRequest with default headers values

func (*CreateImageBadRequest) Error

func (o *CreateImageBadRequest) Error() string

func (*CreateImageBadRequest) GetPayload

type CreateImageConflict

type CreateImageConflict struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateImageConflict handles this case with default header values.

conflict. duplicate image version record

func NewCreateImageConflict

func NewCreateImageConflict() *CreateImageConflict

NewCreateImageConflict creates a CreateImageConflict with default headers values

func (*CreateImageConflict) Error

func (o *CreateImageConflict) Error() string

func (*CreateImageConflict) GetPayload

type CreateImageInternalServerError

type CreateImageInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateImageInternalServerError handles this case with default header values.

Internal Server Error

func NewCreateImageInternalServerError

func NewCreateImageInternalServerError() *CreateImageInternalServerError

NewCreateImageInternalServerError creates a CreateImageInternalServerError with default headers values

func (*CreateImageInternalServerError) Error

func (*CreateImageInternalServerError) GetPayload

type CreateImageNoContent

type CreateImageNoContent struct {
}

CreateImageNoContent handles this case with default header values.

image created

func NewCreateImageNoContent

func NewCreateImageNoContent() *CreateImageNoContent

NewCreateImageNoContent creates a CreateImageNoContent with default headers values

func (*CreateImageNoContent) Error

func (o *CreateImageNoContent) Error() string

type CreateImageParams

type CreateImageParams struct {

	/*Body*/
	Body *dsmcclientmodels.ModelsCreateImageRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateImageParams contains all the parameters to send to the API endpoint for the create image operation typically these are written to a http.Request

func NewCreateImageParams

func NewCreateImageParams() *CreateImageParams

NewCreateImageParams creates a new CreateImageParams object with the default values initialized.

func NewCreateImageParamsWithContext

func NewCreateImageParamsWithContext(ctx context.Context) *CreateImageParams

NewCreateImageParamsWithContext creates a new CreateImageParams object with the default values initialized, and the ability to set a context for a request

func NewCreateImageParamsWithHTTPClient

func NewCreateImageParamsWithHTTPClient(client *http.Client) *CreateImageParams

NewCreateImageParamsWithHTTPClient creates a new CreateImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewCreateImageParamsWithTimeout

func NewCreateImageParamsWithTimeout(timeout time.Duration) *CreateImageParams

NewCreateImageParamsWithTimeout creates a new CreateImageParams object with the default values initialized, and the ability to set a timeout on a request

func (*CreateImageParams) SetBody

SetBody adds the body to the create image params

func (*CreateImageParams) SetContext

func (o *CreateImageParams) SetContext(ctx context.Context)

SetContext adds the context to the create image params

func (*CreateImageParams) SetHTTPClient

func (o *CreateImageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create image params

func (*CreateImageParams) SetTimeout

func (o *CreateImageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create image params

func (*CreateImageParams) WithBody

WithBody adds the body to the create image params

func (*CreateImageParams) WithContext

func (o *CreateImageParams) WithContext(ctx context.Context) *CreateImageParams

WithContext adds the context to the create image params

func (*CreateImageParams) WithHTTPClient

func (o *CreateImageParams) WithHTTPClient(client *http.Client) *CreateImageParams

WithHTTPClient adds the HTTPClient to the create image params

func (*CreateImageParams) WithTimeout

func (o *CreateImageParams) WithTimeout(timeout time.Duration) *CreateImageParams

WithTimeout adds the timeout to the create image params

func (*CreateImageParams) WriteToRequest

func (o *CreateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateImageReader

type CreateImageReader struct {
	// contains filtered or unexported fields
}

CreateImageReader is a Reader for the CreateImage structure.

func (*CreateImageReader) ReadResponse

func (o *CreateImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateImageUnauthorized

type CreateImageUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

CreateImageUnauthorized handles this case with default header values.

Unauthorized

func NewCreateImageUnauthorized

func NewCreateImageUnauthorized() *CreateImageUnauthorized

NewCreateImageUnauthorized creates a CreateImageUnauthorized with default headers values

func (*CreateImageUnauthorized) Error

func (o *CreateImageUnauthorized) Error() string

func (*CreateImageUnauthorized) GetPayload

type DeleteImageBadRequest

type DeleteImageBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteImageBadRequest handles this case with default header values.

malformed request

func NewDeleteImageBadRequest

func NewDeleteImageBadRequest() *DeleteImageBadRequest

NewDeleteImageBadRequest creates a DeleteImageBadRequest with default headers values

func (*DeleteImageBadRequest) Error

func (o *DeleteImageBadRequest) Error() string

func (*DeleteImageBadRequest) GetPayload

type DeleteImageInternalServerError

type DeleteImageInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteImageInternalServerError handles this case with default header values.

Internal Server Error

func NewDeleteImageInternalServerError

func NewDeleteImageInternalServerError() *DeleteImageInternalServerError

NewDeleteImageInternalServerError creates a DeleteImageInternalServerError with default headers values

func (*DeleteImageInternalServerError) Error

func (*DeleteImageInternalServerError) GetPayload

type DeleteImageNoContent

type DeleteImageNoContent struct {
}

DeleteImageNoContent handles this case with default header values.

image deleted

func NewDeleteImageNoContent

func NewDeleteImageNoContent() *DeleteImageNoContent

NewDeleteImageNoContent creates a DeleteImageNoContent with default headers values

func (*DeleteImageNoContent) Error

func (o *DeleteImageNoContent) Error() string

type DeleteImageNotFound

type DeleteImageNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteImageNotFound handles this case with default header values.

malformed request

func NewDeleteImageNotFound

func NewDeleteImageNotFound() *DeleteImageNotFound

NewDeleteImageNotFound creates a DeleteImageNotFound with default headers values

func (*DeleteImageNotFound) Error

func (o *DeleteImageNotFound) Error() string

func (*DeleteImageNotFound) GetPayload

type DeleteImageParams

type DeleteImageParams struct {

	/*ImageURI
	  registry image URI that will be deleted

	*/
	ImageURI string
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Version
	  image version that will be deleted

	*/
	Version string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteImageParams contains all the parameters to send to the API endpoint for the delete image operation typically these are written to a http.Request

func NewDeleteImageParams

func NewDeleteImageParams() *DeleteImageParams

NewDeleteImageParams creates a new DeleteImageParams object with the default values initialized.

func NewDeleteImageParamsWithContext

func NewDeleteImageParamsWithContext(ctx context.Context) *DeleteImageParams

NewDeleteImageParamsWithContext creates a new DeleteImageParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteImageParamsWithHTTPClient

func NewDeleteImageParamsWithHTTPClient(client *http.Client) *DeleteImageParams

NewDeleteImageParamsWithHTTPClient creates a new DeleteImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteImageParamsWithTimeout

func NewDeleteImageParamsWithTimeout(timeout time.Duration) *DeleteImageParams

NewDeleteImageParamsWithTimeout creates a new DeleteImageParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteImageParams) SetContext

func (o *DeleteImageParams) SetContext(ctx context.Context)

SetContext adds the context to the delete image params

func (*DeleteImageParams) SetHTTPClient

func (o *DeleteImageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete image params

func (*DeleteImageParams) SetImageURI

func (o *DeleteImageParams) SetImageURI(imageURI string)

SetImageURI adds the imageUri to the delete image params

func (*DeleteImageParams) SetNamespace

func (o *DeleteImageParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete image params

func (*DeleteImageParams) SetTimeout

func (o *DeleteImageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete image params

func (*DeleteImageParams) SetVersion

func (o *DeleteImageParams) SetVersion(version string)

SetVersion adds the version to the delete image params

func (*DeleteImageParams) WithContext

func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams

WithContext adds the context to the delete image params

func (*DeleteImageParams) WithHTTPClient

func (o *DeleteImageParams) WithHTTPClient(client *http.Client) *DeleteImageParams

WithHTTPClient adds the HTTPClient to the delete image params

func (*DeleteImageParams) WithImageURI

func (o *DeleteImageParams) WithImageURI(imageURI string) *DeleteImageParams

WithImageURI adds the imageURI to the delete image params

func (*DeleteImageParams) WithNamespace

func (o *DeleteImageParams) WithNamespace(namespace string) *DeleteImageParams

WithNamespace adds the namespace to the delete image params

func (*DeleteImageParams) WithTimeout

func (o *DeleteImageParams) WithTimeout(timeout time.Duration) *DeleteImageParams

WithTimeout adds the timeout to the delete image params

func (*DeleteImageParams) WithVersion

func (o *DeleteImageParams) WithVersion(version string) *DeleteImageParams

WithVersion adds the version to the delete image params

func (*DeleteImageParams) WriteToRequest

func (o *DeleteImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteImageReader

type DeleteImageReader struct {
	// contains filtered or unexported fields
}

DeleteImageReader is a Reader for the DeleteImage structure.

func (*DeleteImageReader) ReadResponse

func (o *DeleteImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteImageUnauthorized

type DeleteImageUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteImageUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteImageUnauthorized

func NewDeleteImageUnauthorized() *DeleteImageUnauthorized

NewDeleteImageUnauthorized creates a DeleteImageUnauthorized with default headers values

func (*DeleteImageUnauthorized) Error

func (o *DeleteImageUnauthorized) Error() string

func (*DeleteImageUnauthorized) GetPayload

type DeleteImageUnprocessableEntity

type DeleteImageUnprocessableEntity struct {
	Payload *dsmcclientmodels.ResponseError
}

DeleteImageUnprocessableEntity handles this case with default header values.

unprocessable entity

func NewDeleteImageUnprocessableEntity

func NewDeleteImageUnprocessableEntity() *DeleteImageUnprocessableEntity

NewDeleteImageUnprocessableEntity creates a DeleteImageUnprocessableEntity with default headers values

func (*DeleteImageUnprocessableEntity) Error

func (*DeleteImageUnprocessableEntity) GetPayload

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

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

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

type ExportConfigV1OK

type ExportConfigV1OK struct {
	Payload *dsmcclientmodels.ModelsDSMConfig
}

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

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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

type ExportImagesForbidden

type ExportImagesForbidden struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportImagesForbidden handles this case with default header values.

forbidden access

func NewExportImagesForbidden

func NewExportImagesForbidden() *ExportImagesForbidden

NewExportImagesForbidden creates a ExportImagesForbidden with default headers values

func (*ExportImagesForbidden) Error

func (o *ExportImagesForbidden) Error() string

func (*ExportImagesForbidden) GetPayload

type ExportImagesInternalServerError

type ExportImagesInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportImagesInternalServerError handles this case with default header values.

Internal Server Error

func NewExportImagesInternalServerError

func NewExportImagesInternalServerError() *ExportImagesInternalServerError

NewExportImagesInternalServerError creates a ExportImagesInternalServerError with default headers values

func (*ExportImagesInternalServerError) Error

func (*ExportImagesInternalServerError) GetPayload

type ExportImagesNotFound

type ExportImagesNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportImagesNotFound handles this case with default header values.

images not found

func NewExportImagesNotFound

func NewExportImagesNotFound() *ExportImagesNotFound

NewExportImagesNotFound creates a ExportImagesNotFound with default headers values

func (*ExportImagesNotFound) Error

func (o *ExportImagesNotFound) Error() string

func (*ExportImagesNotFound) GetPayload

type ExportImagesOK

type ExportImagesOK struct {
	Payload []*dsmcclientmodels.ModelsImageRecord
}

ExportImagesOK handles this case with default header values.

images exported

func NewExportImagesOK

func NewExportImagesOK() *ExportImagesOK

NewExportImagesOK creates a ExportImagesOK with default headers values

func (*ExportImagesOK) Error

func (o *ExportImagesOK) Error() string

func (*ExportImagesOK) GetPayload

type ExportImagesParams

type ExportImagesParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ExportImagesParams contains all the parameters to send to the API endpoint for the export images operation typically these are written to a http.Request

func NewExportImagesParams

func NewExportImagesParams() *ExportImagesParams

NewExportImagesParams creates a new ExportImagesParams object with the default values initialized.

func NewExportImagesParamsWithContext

func NewExportImagesParamsWithContext(ctx context.Context) *ExportImagesParams

NewExportImagesParamsWithContext creates a new ExportImagesParams object with the default values initialized, and the ability to set a context for a request

func NewExportImagesParamsWithHTTPClient

func NewExportImagesParamsWithHTTPClient(client *http.Client) *ExportImagesParams

NewExportImagesParamsWithHTTPClient creates a new ExportImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewExportImagesParamsWithTimeout

func NewExportImagesParamsWithTimeout(timeout time.Duration) *ExportImagesParams

NewExportImagesParamsWithTimeout creates a new ExportImagesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ExportImagesParams) SetContext

func (o *ExportImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the export images params

func (*ExportImagesParams) SetHTTPClient

func (o *ExportImagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the export images params

func (*ExportImagesParams) SetNamespace

func (o *ExportImagesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export images params

func (*ExportImagesParams) SetTimeout

func (o *ExportImagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the export images params

func (*ExportImagesParams) WithContext

WithContext adds the context to the export images params

func (*ExportImagesParams) WithHTTPClient

func (o *ExportImagesParams) WithHTTPClient(client *http.Client) *ExportImagesParams

WithHTTPClient adds the HTTPClient to the export images params

func (*ExportImagesParams) WithNamespace

func (o *ExportImagesParams) WithNamespace(namespace string) *ExportImagesParams

WithNamespace adds the namespace to the export images params

func (*ExportImagesParams) WithTimeout

func (o *ExportImagesParams) WithTimeout(timeout time.Duration) *ExportImagesParams

WithTimeout adds the timeout to the export images params

func (*ExportImagesParams) WriteToRequest

func (o *ExportImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ExportImagesReader

type ExportImagesReader struct {
	// contains filtered or unexported fields
}

ExportImagesReader is a Reader for the ExportImages structure.

func (*ExportImagesReader) ReadResponse

func (o *ExportImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ExportImagesUnauthorized

type ExportImagesUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ExportImagesUnauthorized handles this case with default header values.

unauthorized access

func NewExportImagesUnauthorized

func NewExportImagesUnauthorized() *ExportImagesUnauthorized

NewExportImagesUnauthorized creates a ExportImagesUnauthorized with default headers values

func (*ExportImagesUnauthorized) Error

func (o *ExportImagesUnauthorized) Error() string

func (*ExportImagesUnauthorized) GetPayload

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

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

type GetConfigOK

type GetConfigOK struct {
	Payload *dsmcclientmodels.ModelsDSMConfig
}

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.ModelsDSMConfig

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 {
	Payload *dsmcclientmodels.ResponseError
}

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

type GetImageDetailInternalServerError

type GetImageDetailInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

GetImageDetailInternalServerError handles this case with default header values.

Internal Server Error

func NewGetImageDetailInternalServerError

func NewGetImageDetailInternalServerError() *GetImageDetailInternalServerError

NewGetImageDetailInternalServerError creates a GetImageDetailInternalServerError with default headers values

func (*GetImageDetailInternalServerError) Error

func (*GetImageDetailInternalServerError) GetPayload

type GetImageDetailNotFound

type GetImageDetailNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

GetImageDetailNotFound handles this case with default header values.

image version not found

func NewGetImageDetailNotFound

func NewGetImageDetailNotFound() *GetImageDetailNotFound

NewGetImageDetailNotFound creates a GetImageDetailNotFound with default headers values

func (*GetImageDetailNotFound) Error

func (o *GetImageDetailNotFound) Error() string

func (*GetImageDetailNotFound) GetPayload

type GetImageDetailOK

type GetImageDetailOK struct {
	Payload *dsmcclientmodels.ModelsGetImageDetailResponse
}

GetImageDetailOK handles this case with default header values.

ok

func NewGetImageDetailOK

func NewGetImageDetailOK() *GetImageDetailOK

NewGetImageDetailOK creates a GetImageDetailOK with default headers values

func (*GetImageDetailOK) Error

func (o *GetImageDetailOK) Error() string

func (*GetImageDetailOK) GetPayload

type GetImageDetailParams

type GetImageDetailParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Version
	  version of the image

	*/
	Version string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetImageDetailParams contains all the parameters to send to the API endpoint for the get image detail operation typically these are written to a http.Request

func NewGetImageDetailParams

func NewGetImageDetailParams() *GetImageDetailParams

NewGetImageDetailParams creates a new GetImageDetailParams object with the default values initialized.

func NewGetImageDetailParamsWithContext

func NewGetImageDetailParamsWithContext(ctx context.Context) *GetImageDetailParams

NewGetImageDetailParamsWithContext creates a new GetImageDetailParams object with the default values initialized, and the ability to set a context for a request

func NewGetImageDetailParamsWithHTTPClient

func NewGetImageDetailParamsWithHTTPClient(client *http.Client) *GetImageDetailParams

NewGetImageDetailParamsWithHTTPClient creates a new GetImageDetailParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetImageDetailParamsWithTimeout

func NewGetImageDetailParamsWithTimeout(timeout time.Duration) *GetImageDetailParams

NewGetImageDetailParamsWithTimeout creates a new GetImageDetailParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetImageDetailParams) SetContext

func (o *GetImageDetailParams) SetContext(ctx context.Context)

SetContext adds the context to the get image detail params

func (*GetImageDetailParams) SetHTTPClient

func (o *GetImageDetailParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get image detail params

func (*GetImageDetailParams) SetNamespace

func (o *GetImageDetailParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get image detail params

func (*GetImageDetailParams) SetTimeout

func (o *GetImageDetailParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get image detail params

func (*GetImageDetailParams) SetVersion

func (o *GetImageDetailParams) SetVersion(version string)

SetVersion adds the version to the get image detail params

func (*GetImageDetailParams) WithContext

WithContext adds the context to the get image detail params

func (*GetImageDetailParams) WithHTTPClient

func (o *GetImageDetailParams) WithHTTPClient(client *http.Client) *GetImageDetailParams

WithHTTPClient adds the HTTPClient to the get image detail params

func (*GetImageDetailParams) WithNamespace

func (o *GetImageDetailParams) WithNamespace(namespace string) *GetImageDetailParams

WithNamespace adds the namespace to the get image detail params

func (*GetImageDetailParams) WithTimeout

func (o *GetImageDetailParams) WithTimeout(timeout time.Duration) *GetImageDetailParams

WithTimeout adds the timeout to the get image detail params

func (*GetImageDetailParams) WithVersion

func (o *GetImageDetailParams) WithVersion(version string) *GetImageDetailParams

WithVersion adds the version to the get image detail params

func (*GetImageDetailParams) WriteToRequest

func (o *GetImageDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetImageDetailReader

type GetImageDetailReader struct {
	// contains filtered or unexported fields
}

GetImageDetailReader is a Reader for the GetImageDetail structure.

func (*GetImageDetailReader) ReadResponse

func (o *GetImageDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetImageDetailUnauthorized

type GetImageDetailUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

GetImageDetailUnauthorized handles this case with default header values.

Unauthorized

func NewGetImageDetailUnauthorized

func NewGetImageDetailUnauthorized() *GetImageDetailUnauthorized

NewGetImageDetailUnauthorized creates a GetImageDetailUnauthorized with default headers values

func (*GetImageDetailUnauthorized) Error

func (*GetImageDetailUnauthorized) GetPayload

type GetImageLimitBadRequest

type GetImageLimitBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

GetImageLimitBadRequest handles this case with default header values.

malformed request

func NewGetImageLimitBadRequest

func NewGetImageLimitBadRequest() *GetImageLimitBadRequest

NewGetImageLimitBadRequest creates a GetImageLimitBadRequest with default headers values

func (*GetImageLimitBadRequest) Error

func (o *GetImageLimitBadRequest) Error() string

func (*GetImageLimitBadRequest) GetPayload

type GetImageLimitInternalServerError

type GetImageLimitInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

GetImageLimitInternalServerError handles this case with default header values.

Internal Server Error

func NewGetImageLimitInternalServerError

func NewGetImageLimitInternalServerError() *GetImageLimitInternalServerError

NewGetImageLimitInternalServerError creates a GetImageLimitInternalServerError with default headers values

func (*GetImageLimitInternalServerError) Error

func (*GetImageLimitInternalServerError) GetPayload

type GetImageLimitOK

type GetImageLimitOK struct {
	Payload *dsmcclientmodels.ModelsGetImageLimitResponse
}

GetImageLimitOK handles this case with default header values.

ok

func NewGetImageLimitOK

func NewGetImageLimitOK() *GetImageLimitOK

NewGetImageLimitOK creates a GetImageLimitOK with default headers values

func (*GetImageLimitOK) Error

func (o *GetImageLimitOK) Error() string

func (*GetImageLimitOK) GetPayload

type GetImageLimitParams

type GetImageLimitParams struct {

	/*Namespace
	  namespace of the game

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetImageLimitParams contains all the parameters to send to the API endpoint for the get image limit operation typically these are written to a http.Request

func NewGetImageLimitParams

func NewGetImageLimitParams() *GetImageLimitParams

NewGetImageLimitParams creates a new GetImageLimitParams object with the default values initialized.

func NewGetImageLimitParamsWithContext

func NewGetImageLimitParamsWithContext(ctx context.Context) *GetImageLimitParams

NewGetImageLimitParamsWithContext creates a new GetImageLimitParams object with the default values initialized, and the ability to set a context for a request

func NewGetImageLimitParamsWithHTTPClient

func NewGetImageLimitParamsWithHTTPClient(client *http.Client) *GetImageLimitParams

NewGetImageLimitParamsWithHTTPClient creates a new GetImageLimitParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetImageLimitParamsWithTimeout

func NewGetImageLimitParamsWithTimeout(timeout time.Duration) *GetImageLimitParams

NewGetImageLimitParamsWithTimeout creates a new GetImageLimitParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetImageLimitParams) SetContext

func (o *GetImageLimitParams) SetContext(ctx context.Context)

SetContext adds the context to the get image limit params

func (*GetImageLimitParams) SetHTTPClient

func (o *GetImageLimitParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get image limit params

func (*GetImageLimitParams) SetNamespace

func (o *GetImageLimitParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get image limit params

func (*GetImageLimitParams) SetTimeout

func (o *GetImageLimitParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get image limit params

func (*GetImageLimitParams) WithContext

WithContext adds the context to the get image limit params

func (*GetImageLimitParams) WithHTTPClient

func (o *GetImageLimitParams) WithHTTPClient(client *http.Client) *GetImageLimitParams

WithHTTPClient adds the HTTPClient to the get image limit params

func (*GetImageLimitParams) WithNamespace

func (o *GetImageLimitParams) WithNamespace(namespace string) *GetImageLimitParams

WithNamespace adds the namespace to the get image limit params

func (*GetImageLimitParams) WithTimeout

func (o *GetImageLimitParams) WithTimeout(timeout time.Duration) *GetImageLimitParams

WithTimeout adds the timeout to the get image limit params

func (*GetImageLimitParams) WriteToRequest

func (o *GetImageLimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetImageLimitReader

type GetImageLimitReader struct {
	// contains filtered or unexported fields
}

GetImageLimitReader is a Reader for the GetImageLimit structure.

func (*GetImageLimitReader) ReadResponse

func (o *GetImageLimitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetImageLimitUnauthorized

type GetImageLimitUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

GetImageLimitUnauthorized handles this case with default header values.

Unauthorized

func NewGetImageLimitUnauthorized

func NewGetImageLimitUnauthorized() *GetImageLimitUnauthorized

NewGetImageLimitUnauthorized creates a GetImageLimitUnauthorized with default headers values

func (*GetImageLimitUnauthorized) Error

func (o *GetImageLimitUnauthorized) Error() string

func (*GetImageLimitUnauthorized) GetPayload

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

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

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

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

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

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

WithContext adds the context to the import config v1 params

func (*ImportConfigV1Params) WithFile

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 {
	Payload *dsmcclientmodels.ResponseError
}

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

type ImportImagesBadRequest

type ImportImagesBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportImagesBadRequest handles this case with default header values.

malformed request

func NewImportImagesBadRequest

func NewImportImagesBadRequest() *ImportImagesBadRequest

NewImportImagesBadRequest creates a ImportImagesBadRequest with default headers values

func (*ImportImagesBadRequest) Error

func (o *ImportImagesBadRequest) Error() string

func (*ImportImagesBadRequest) GetPayload

type ImportImagesForbidden

type ImportImagesForbidden struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportImagesForbidden handles this case with default header values.

forbidden access

func NewImportImagesForbidden

func NewImportImagesForbidden() *ImportImagesForbidden

NewImportImagesForbidden creates a ImportImagesForbidden with default headers values

func (*ImportImagesForbidden) Error

func (o *ImportImagesForbidden) Error() string

func (*ImportImagesForbidden) GetPayload

type ImportImagesInternalServerError

type ImportImagesInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportImagesInternalServerError handles this case with default header values.

Internal Server Error

func NewImportImagesInternalServerError

func NewImportImagesInternalServerError() *ImportImagesInternalServerError

NewImportImagesInternalServerError creates a ImportImagesInternalServerError with default headers values

func (*ImportImagesInternalServerError) Error

func (*ImportImagesInternalServerError) GetPayload

type ImportImagesOK

type ImportImagesOK struct {
	Payload *dsmcclientmodels.ModelsImportResponse
}

ImportImagesOK handles this case with default header values.

images imported

func NewImportImagesOK

func NewImportImagesOK() *ImportImagesOK

NewImportImagesOK creates a ImportImagesOK with default headers values

func (*ImportImagesOK) Error

func (o *ImportImagesOK) Error() string

func (*ImportImagesOK) GetPayload

type ImportImagesParams

type ImportImagesParams struct {

	/*File
	  imported file

	*/
	File runtime.NamedReadCloser

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ImportImagesParams contains all the parameters to send to the API endpoint for the import images operation typically these are written to a http.Request

func NewImportImagesParams

func NewImportImagesParams() *ImportImagesParams

NewImportImagesParams creates a new ImportImagesParams object with the default values initialized.

func NewImportImagesParamsWithContext

func NewImportImagesParamsWithContext(ctx context.Context) *ImportImagesParams

NewImportImagesParamsWithContext creates a new ImportImagesParams object with the default values initialized, and the ability to set a context for a request

func NewImportImagesParamsWithHTTPClient

func NewImportImagesParamsWithHTTPClient(client *http.Client) *ImportImagesParams

NewImportImagesParamsWithHTTPClient creates a new ImportImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewImportImagesParamsWithTimeout

func NewImportImagesParamsWithTimeout(timeout time.Duration) *ImportImagesParams

NewImportImagesParamsWithTimeout creates a new ImportImagesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ImportImagesParams) SetContext

func (o *ImportImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the import images params

func (*ImportImagesParams) SetFile

func (o *ImportImagesParams) SetFile(file runtime.NamedReadCloser)

SetFile adds the file to the import images params

func (*ImportImagesParams) SetHTTPClient

func (o *ImportImagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the import images params

func (*ImportImagesParams) SetTimeout

func (o *ImportImagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the import images params

func (*ImportImagesParams) WithContext

WithContext adds the context to the import images params

func (*ImportImagesParams) WithFile

WithFile adds the file to the import images params

func (*ImportImagesParams) WithHTTPClient

func (o *ImportImagesParams) WithHTTPClient(client *http.Client) *ImportImagesParams

WithHTTPClient adds the HTTPClient to the import images params

func (*ImportImagesParams) WithTimeout

func (o *ImportImagesParams) WithTimeout(timeout time.Duration) *ImportImagesParams

WithTimeout adds the timeout to the import images params

func (*ImportImagesParams) WriteToRequest

func (o *ImportImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ImportImagesReader

type ImportImagesReader struct {
	// contains filtered or unexported fields
}

ImportImagesReader is a Reader for the ImportImages structure.

func (*ImportImagesReader) ReadResponse

func (o *ImportImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ImportImagesUnauthorized

type ImportImagesUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ImportImagesUnauthorized handles this case with default header values.

unauthorized access

func NewImportImagesUnauthorized

func NewImportImagesUnauthorized() *ImportImagesUnauthorized

NewImportImagesUnauthorized creates a ImportImagesUnauthorized with default headers values

func (*ImportImagesUnauthorized) Error

func (o *ImportImagesUnauthorized) Error() string

func (*ImportImagesUnauthorized) GetPayload

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

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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

type ListImagesBadRequest

type ListImagesBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

ListImagesBadRequest handles this case with default header values.

Bad Request

func NewListImagesBadRequest

func NewListImagesBadRequest() *ListImagesBadRequest

NewListImagesBadRequest creates a ListImagesBadRequest with default headers values

func (*ListImagesBadRequest) Error

func (o *ListImagesBadRequest) Error() string

func (*ListImagesBadRequest) GetPayload

type ListImagesInternalServerError

type ListImagesInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

ListImagesInternalServerError handles this case with default header values.

Internal Server Error

func NewListImagesInternalServerError

func NewListImagesInternalServerError() *ListImagesInternalServerError

NewListImagesInternalServerError creates a ListImagesInternalServerError with default headers values

func (*ListImagesInternalServerError) Error

func (*ListImagesInternalServerError) GetPayload

type ListImagesOK

type ListImagesOK struct {
	Payload *dsmcclientmodels.ModelsListImageResponse
}

ListImagesOK handles this case with default header values.

configs listed

func NewListImagesOK

func NewListImagesOK() *ListImagesOK

NewListImagesOK creates a ListImagesOK with default headers values

func (*ListImagesOK) Error

func (o *ListImagesOK) Error() string

func (*ListImagesOK) GetPayload

type ListImagesParams

type ListImagesParams struct {

	/*Count
	  how many items to return

	*/
	Count *int64
	/*Namespace
	  namespace of the game

	*/
	Namespace string
	/*Offset
	  offset from list to query from

	*/
	Offset *int64
	/*Q
	  image name or image version. In UI this is from search text box

	*/
	Q *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListImagesParams contains all the parameters to send to the API endpoint for the list images operation typically these are written to a http.Request

func NewListImagesParams

func NewListImagesParams() *ListImagesParams

NewListImagesParams creates a new ListImagesParams object with the default values initialized.

func NewListImagesParamsWithContext

func NewListImagesParamsWithContext(ctx context.Context) *ListImagesParams

NewListImagesParamsWithContext creates a new ListImagesParams object with the default values initialized, and the ability to set a context for a request

func NewListImagesParamsWithHTTPClient

func NewListImagesParamsWithHTTPClient(client *http.Client) *ListImagesParams

NewListImagesParamsWithHTTPClient creates a new ListImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListImagesParamsWithTimeout

func NewListImagesParamsWithTimeout(timeout time.Duration) *ListImagesParams

NewListImagesParamsWithTimeout creates a new ListImagesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListImagesParams) SetContext

func (o *ListImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the list images params

func (*ListImagesParams) SetCount

func (o *ListImagesParams) SetCount(count *int64)

SetCount adds the count to the list images params

func (*ListImagesParams) SetHTTPClient

func (o *ListImagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list images params

func (*ListImagesParams) SetNamespace

func (o *ListImagesParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list images params

func (*ListImagesParams) SetOffset

func (o *ListImagesParams) SetOffset(offset *int64)

SetOffset adds the offset to the list images params

func (*ListImagesParams) SetQ

func (o *ListImagesParams) SetQ(q *string)

SetQ adds the q to the list images params

func (*ListImagesParams) SetTimeout

func (o *ListImagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list images params

func (*ListImagesParams) WithContext

func (o *ListImagesParams) WithContext(ctx context.Context) *ListImagesParams

WithContext adds the context to the list images params

func (*ListImagesParams) WithCount

func (o *ListImagesParams) WithCount(count *int64) *ListImagesParams

WithCount adds the count to the list images params

func (*ListImagesParams) WithHTTPClient

func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams

WithHTTPClient adds the HTTPClient to the list images params

func (*ListImagesParams) WithNamespace

func (o *ListImagesParams) WithNamespace(namespace string) *ListImagesParams

WithNamespace adds the namespace to the list images params

func (*ListImagesParams) WithOffset

func (o *ListImagesParams) WithOffset(offset *int64) *ListImagesParams

WithOffset adds the offset to the list images params

func (*ListImagesParams) WithQ

WithQ adds the q to the list images params

func (*ListImagesParams) WithTimeout

func (o *ListImagesParams) WithTimeout(timeout time.Duration) *ListImagesParams

WithTimeout adds the timeout to the list images params

func (*ListImagesParams) WriteToRequest

func (o *ListImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListImagesReader

type ListImagesReader struct {
	// contains filtered or unexported fields
}

ListImagesReader is a Reader for the ListImages structure.

func (*ListImagesReader) ReadResponse

func (o *ListImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListImagesUnauthorized

type ListImagesUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

ListImagesUnauthorized handles this case with default header values.

Unauthorized

func NewListImagesUnauthorized

func NewListImagesUnauthorized() *ListImagesUnauthorized

NewListImagesUnauthorized creates a ListImagesUnauthorized with default headers values

func (*ListImagesUnauthorized) Error

func (o *ListImagesUnauthorized) Error() string

func (*ListImagesUnauthorized) GetPayload

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

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

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.ModelsDSMConfig

	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

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

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 {
	Payload *dsmcclientmodels.ResponseError
}

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

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

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

type UpdateConfigNoContent

type UpdateConfigNoContent struct {
}

UpdateConfigNoContent handles this case with default header values.

config updated

func NewUpdateConfigNoContent

func NewUpdateConfigNoContent() *UpdateConfigNoContent

NewUpdateConfigNoContent creates a UpdateConfigNoContent with default headers values

func (*UpdateConfigNoContent) Error

func (o *UpdateConfigNoContent) Error() string

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

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

WithBody adds the body to the update config params

func (*UpdateConfigParams) WithContext

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 {
	Payload *dsmcclientmodels.ResponseError
}

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

type UpdateDeploymentBadRequest

type UpdateDeploymentBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateDeploymentBadRequest handles this case with default header values.

malformed request

func NewUpdateDeploymentBadRequest

func NewUpdateDeploymentBadRequest() *UpdateDeploymentBadRequest

NewUpdateDeploymentBadRequest creates a UpdateDeploymentBadRequest with default headers values

func (*UpdateDeploymentBadRequest) Error

func (*UpdateDeploymentBadRequest) GetPayload

type UpdateDeploymentInternalServerError

type UpdateDeploymentInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateDeploymentInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateDeploymentInternalServerError

func NewUpdateDeploymentInternalServerError() *UpdateDeploymentInternalServerError

NewUpdateDeploymentInternalServerError creates a UpdateDeploymentInternalServerError with default headers values

func (*UpdateDeploymentInternalServerError) Error

func (*UpdateDeploymentInternalServerError) GetPayload

type UpdateDeploymentNoContent

type UpdateDeploymentNoContent struct {
}

UpdateDeploymentNoContent handles this case with default header values.

deployment updated

func NewUpdateDeploymentNoContent

func NewUpdateDeploymentNoContent() *UpdateDeploymentNoContent

NewUpdateDeploymentNoContent creates a UpdateDeploymentNoContent with default headers values

func (*UpdateDeploymentNoContent) Error

func (o *UpdateDeploymentNoContent) Error() string

type UpdateDeploymentNotFound

type UpdateDeploymentNotFound struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateDeploymentNotFound handles this case with default header values.

config not found

func NewUpdateDeploymentNotFound

func NewUpdateDeploymentNotFound() *UpdateDeploymentNotFound

NewUpdateDeploymentNotFound creates a UpdateDeploymentNotFound with default headers values

func (*UpdateDeploymentNotFound) Error

func (o *UpdateDeploymentNotFound) Error() string

func (*UpdateDeploymentNotFound) GetPayload

type UpdateDeploymentParams

type UpdateDeploymentParams struct {

	/*Body*/
	Body *dsmcclientmodels.ModelsUpdateDeploymentRequest
	/*Deployment
	  deployment name

	*/
	Deployment string
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateDeploymentParams contains all the parameters to send to the API endpoint for the update deployment operation typically these are written to a http.Request

func NewUpdateDeploymentParams

func NewUpdateDeploymentParams() *UpdateDeploymentParams

NewUpdateDeploymentParams creates a new UpdateDeploymentParams object with the default values initialized.

func NewUpdateDeploymentParamsWithContext

func NewUpdateDeploymentParamsWithContext(ctx context.Context) *UpdateDeploymentParams

NewUpdateDeploymentParamsWithContext creates a new UpdateDeploymentParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateDeploymentParamsWithHTTPClient

func NewUpdateDeploymentParamsWithHTTPClient(client *http.Client) *UpdateDeploymentParams

NewUpdateDeploymentParamsWithHTTPClient creates a new UpdateDeploymentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateDeploymentParamsWithTimeout

func NewUpdateDeploymentParamsWithTimeout(timeout time.Duration) *UpdateDeploymentParams

NewUpdateDeploymentParamsWithTimeout creates a new UpdateDeploymentParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateDeploymentParams) SetBody

SetBody adds the body to the update deployment params

func (*UpdateDeploymentParams) SetContext

func (o *UpdateDeploymentParams) SetContext(ctx context.Context)

SetContext adds the context to the update deployment params

func (*UpdateDeploymentParams) SetDeployment

func (o *UpdateDeploymentParams) SetDeployment(deployment string)

SetDeployment adds the deployment to the update deployment params

func (*UpdateDeploymentParams) SetHTTPClient

func (o *UpdateDeploymentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update deployment params

func (*UpdateDeploymentParams) SetNamespace

func (o *UpdateDeploymentParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update deployment params

func (*UpdateDeploymentParams) SetTimeout

func (o *UpdateDeploymentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update deployment params

func (*UpdateDeploymentParams) WithBody

WithBody adds the body to the update deployment params

func (*UpdateDeploymentParams) WithContext

WithContext adds the context to the update deployment params

func (*UpdateDeploymentParams) WithDeployment

func (o *UpdateDeploymentParams) WithDeployment(deployment string) *UpdateDeploymentParams

WithDeployment adds the deployment to the update deployment params

func (*UpdateDeploymentParams) WithHTTPClient

func (o *UpdateDeploymentParams) WithHTTPClient(client *http.Client) *UpdateDeploymentParams

WithHTTPClient adds the HTTPClient to the update deployment params

func (*UpdateDeploymentParams) WithNamespace

func (o *UpdateDeploymentParams) WithNamespace(namespace string) *UpdateDeploymentParams

WithNamespace adds the namespace to the update deployment params

func (*UpdateDeploymentParams) WithTimeout

WithTimeout adds the timeout to the update deployment params

func (*UpdateDeploymentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDeploymentReader

type UpdateDeploymentReader struct {
	// contains filtered or unexported fields
}

UpdateDeploymentReader is a Reader for the UpdateDeployment structure.

func (*UpdateDeploymentReader) ReadResponse

func (o *UpdateDeploymentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateDeploymentUnauthorized

type UpdateDeploymentUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateDeploymentUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateDeploymentUnauthorized

func NewUpdateDeploymentUnauthorized() *UpdateDeploymentUnauthorized

NewUpdateDeploymentUnauthorized creates a UpdateDeploymentUnauthorized with default headers values

func (*UpdateDeploymentUnauthorized) Error

func (*UpdateDeploymentUnauthorized) GetPayload

type UpdateImageBadRequest

type UpdateImageBadRequest struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateImageBadRequest handles this case with default header values.

malformed request

func NewUpdateImageBadRequest

func NewUpdateImageBadRequest() *UpdateImageBadRequest

NewUpdateImageBadRequest creates a UpdateImageBadRequest with default headers values

func (*UpdateImageBadRequest) Error

func (o *UpdateImageBadRequest) Error() string

func (*UpdateImageBadRequest) GetPayload

type UpdateImageInternalServerError

type UpdateImageInternalServerError struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateImageInternalServerError handles this case with default header values.

Internal Server Error

func NewUpdateImageInternalServerError

func NewUpdateImageInternalServerError() *UpdateImageInternalServerError

NewUpdateImageInternalServerError creates a UpdateImageInternalServerError with default headers values

func (*UpdateImageInternalServerError) Error

func (*UpdateImageInternalServerError) GetPayload

type UpdateImageNoContent

type UpdateImageNoContent struct {
}

UpdateImageNoContent handles this case with default header values.

image updated

func NewUpdateImageNoContent

func NewUpdateImageNoContent() *UpdateImageNoContent

NewUpdateImageNoContent creates a UpdateImageNoContent with default headers values

func (*UpdateImageNoContent) Error

func (o *UpdateImageNoContent) Error() string

type UpdateImageParams

type UpdateImageParams struct {

	/*Body*/
	Body *dsmcclientmodels.ModelsImageRecordUpdate

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateImageParams contains all the parameters to send to the API endpoint for the update image operation typically these are written to a http.Request

func NewUpdateImageParams

func NewUpdateImageParams() *UpdateImageParams

NewUpdateImageParams creates a new UpdateImageParams object with the default values initialized.

func NewUpdateImageParamsWithContext

func NewUpdateImageParamsWithContext(ctx context.Context) *UpdateImageParams

NewUpdateImageParamsWithContext creates a new UpdateImageParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateImageParamsWithHTTPClient

func NewUpdateImageParamsWithHTTPClient(client *http.Client) *UpdateImageParams

NewUpdateImageParamsWithHTTPClient creates a new UpdateImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateImageParamsWithTimeout

func NewUpdateImageParamsWithTimeout(timeout time.Duration) *UpdateImageParams

NewUpdateImageParamsWithTimeout creates a new UpdateImageParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateImageParams) SetBody

SetBody adds the body to the update image params

func (*UpdateImageParams) SetContext

func (o *UpdateImageParams) SetContext(ctx context.Context)

SetContext adds the context to the update image params

func (*UpdateImageParams) SetHTTPClient

func (o *UpdateImageParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update image params

func (*UpdateImageParams) SetTimeout

func (o *UpdateImageParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update image params

func (*UpdateImageParams) WithBody

WithBody adds the body to the update image params

func (*UpdateImageParams) WithContext

func (o *UpdateImageParams) WithContext(ctx context.Context) *UpdateImageParams

WithContext adds the context to the update image params

func (*UpdateImageParams) WithHTTPClient

func (o *UpdateImageParams) WithHTTPClient(client *http.Client) *UpdateImageParams

WithHTTPClient adds the HTTPClient to the update image params

func (*UpdateImageParams) WithTimeout

func (o *UpdateImageParams) WithTimeout(timeout time.Duration) *UpdateImageParams

WithTimeout adds the timeout to the update image params

func (*UpdateImageParams) WriteToRequest

func (o *UpdateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateImageReader

type UpdateImageReader struct {
	// contains filtered or unexported fields
}

UpdateImageReader is a Reader for the UpdateImage structure.

func (*UpdateImageReader) ReadResponse

func (o *UpdateImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateImageUnauthorized

type UpdateImageUnauthorized struct {
	Payload *dsmcclientmodels.ResponseError
}

UpdateImageUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateImageUnauthorized

func NewUpdateImageUnauthorized() *UpdateImageUnauthorized

NewUpdateImageUnauthorized creates a UpdateImageUnauthorized with default headers values

func (*UpdateImageUnauthorized) Error

func (o *UpdateImageUnauthorized) Error() string

func (*UpdateImageUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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