image_config

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 13 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 image config API

func (*Client) CreateImage

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

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) ExportImages

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) GetImageDetail

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

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) ImportImages

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) ListImages

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) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateImage

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, *CreateImageBadRequest, *CreateImageUnauthorized, *CreateImageConflict, *CreateImageInternalServerError, error)

	DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteImageNoContent, *DeleteImageBadRequest, *DeleteImageUnauthorized, *DeleteImageNotFound, *DeleteImageUnprocessableEntity, *DeleteImageInternalServerError, error)

	ExportImages(params *ExportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ExportImagesOK, *ExportImagesUnauthorized, *ExportImagesForbidden, *ExportImagesNotFound, *ExportImagesInternalServerError, error)

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

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

	ImportImages(params *ImportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ImportImagesOK, *ImportImagesBadRequest, *ImportImagesUnauthorized, *ImportImagesForbidden, *ImportImagesInternalServerError, error)

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

	UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageNoContent, *UpdateImageBadRequest, *UpdateImageUnauthorized, *UpdateImageInternalServerError, 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 image 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 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 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 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 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
	/*SortBy
	  sort by a specific field

	*/
	SortBy *string
	/*SortDirection
	  sort direction

	*/
	SortDirection *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) SetSortBy added in v0.7.0

func (o *ListImagesParams) SetSortBy(sortBy *string)

SetSortBy adds the sortBy to the list images params

func (*ListImagesParams) SetSortDirection added in v0.7.0

func (o *ListImagesParams) SetSortDirection(sortDirection *string)

SetSortDirection adds the sortDirection 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) WithSortBy added in v0.7.0

func (o *ListImagesParams) WithSortBy(sortBy *string) *ListImagesParams

WithSortBy adds the sortBy to the list images params

func (*ListImagesParams) WithSortDirection added in v0.7.0

func (o *ListImagesParams) WithSortDirection(sortDirection *string) *ListImagesParams

WithSortDirection adds the sortDirection 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 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