Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter) (*CreateImageNoContent, *CreateImageBadRequest, *CreateImageUnauthorized, ...)
- func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteImageNoContent, *DeleteImageBadRequest, *DeleteImageUnauthorized, ...)
- func (a *Client) ExportImages(params *ExportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ExportImagesOK, *ExportImagesUnauthorized, *ExportImagesForbidden, ...)
- func (a *Client) GetImageDetail(params *GetImageDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageDetailOK, *GetImageDetailUnauthorized, *GetImageDetailNotFound, ...)
- func (a *Client) GetImageLimit(params *GetImageLimitParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageLimitOK, *GetImageLimitBadRequest, *GetImageLimitUnauthorized, ...)
- func (a *Client) ImportImages(params *ImportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ImportImagesOK, *ImportImagesBadRequest, *ImportImagesUnauthorized, ...)
- func (a *Client) ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListImagesOK, *ListImagesBadRequest, *ListImagesUnauthorized, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageNoContent, *UpdateImageBadRequest, *UpdateImageUnauthorized, ...)
- type ClientService
- type CreateImageBadRequest
- type CreateImageConflict
- type CreateImageInternalServerError
- type CreateImageNoContent
- type CreateImageParams
- func (o *CreateImageParams) SetBody(body *dsmcclientmodels.ModelsCreateImageRequest)
- func (o *CreateImageParams) SetContext(ctx context.Context)
- func (o *CreateImageParams) SetHTTPClient(client *http.Client)
- func (o *CreateImageParams) SetTimeout(timeout time.Duration)
- func (o *CreateImageParams) WithBody(body *dsmcclientmodels.ModelsCreateImageRequest) *CreateImageParams
- func (o *CreateImageParams) WithContext(ctx context.Context) *CreateImageParams
- func (o *CreateImageParams) WithHTTPClient(client *http.Client) *CreateImageParams
- func (o *CreateImageParams) WithTimeout(timeout time.Duration) *CreateImageParams
- func (o *CreateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateImageReader
- type CreateImageUnauthorized
- type DeleteImageBadRequest
- type DeleteImageInternalServerError
- type DeleteImageNoContent
- type DeleteImageNotFound
- type DeleteImageParams
- func (o *DeleteImageParams) SetContext(ctx context.Context)
- func (o *DeleteImageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteImageParams) SetImageURI(imageURI string)
- func (o *DeleteImageParams) SetNamespace(namespace string)
- func (o *DeleteImageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteImageParams) SetVersion(version string)
- func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams
- func (o *DeleteImageParams) WithHTTPClient(client *http.Client) *DeleteImageParams
- func (o *DeleteImageParams) WithImageURI(imageURI string) *DeleteImageParams
- func (o *DeleteImageParams) WithNamespace(namespace string) *DeleteImageParams
- func (o *DeleteImageParams) WithTimeout(timeout time.Duration) *DeleteImageParams
- func (o *DeleteImageParams) WithVersion(version string) *DeleteImageParams
- func (o *DeleteImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteImageReader
- type DeleteImageUnauthorized
- type DeleteImageUnprocessableEntity
- type ExportImagesForbidden
- type ExportImagesInternalServerError
- type ExportImagesNotFound
- type ExportImagesOK
- type ExportImagesParams
- func (o *ExportImagesParams) SetContext(ctx context.Context)
- func (o *ExportImagesParams) SetHTTPClient(client *http.Client)
- func (o *ExportImagesParams) SetNamespace(namespace string)
- func (o *ExportImagesParams) SetTimeout(timeout time.Duration)
- func (o *ExportImagesParams) WithContext(ctx context.Context) *ExportImagesParams
- func (o *ExportImagesParams) WithHTTPClient(client *http.Client) *ExportImagesParams
- func (o *ExportImagesParams) WithNamespace(namespace string) *ExportImagesParams
- func (o *ExportImagesParams) WithTimeout(timeout time.Duration) *ExportImagesParams
- func (o *ExportImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportImagesReader
- type ExportImagesUnauthorized
- type GetImageDetailInternalServerError
- type GetImageDetailNotFound
- type GetImageDetailOK
- type GetImageDetailParams
- func NewGetImageDetailParams() *GetImageDetailParams
- func NewGetImageDetailParamsWithContext(ctx context.Context) *GetImageDetailParams
- func NewGetImageDetailParamsWithHTTPClient(client *http.Client) *GetImageDetailParams
- func NewGetImageDetailParamsWithTimeout(timeout time.Duration) *GetImageDetailParams
- func (o *GetImageDetailParams) SetContext(ctx context.Context)
- func (o *GetImageDetailParams) SetHTTPClient(client *http.Client)
- func (o *GetImageDetailParams) SetNamespace(namespace string)
- func (o *GetImageDetailParams) SetTimeout(timeout time.Duration)
- func (o *GetImageDetailParams) SetVersion(version string)
- func (o *GetImageDetailParams) WithContext(ctx context.Context) *GetImageDetailParams
- func (o *GetImageDetailParams) WithHTTPClient(client *http.Client) *GetImageDetailParams
- func (o *GetImageDetailParams) WithNamespace(namespace string) *GetImageDetailParams
- func (o *GetImageDetailParams) WithTimeout(timeout time.Duration) *GetImageDetailParams
- func (o *GetImageDetailParams) WithVersion(version string) *GetImageDetailParams
- func (o *GetImageDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImageDetailReader
- type GetImageDetailUnauthorized
- type GetImageLimitBadRequest
- type GetImageLimitInternalServerError
- type GetImageLimitOK
- type GetImageLimitParams
- func (o *GetImageLimitParams) SetContext(ctx context.Context)
- func (o *GetImageLimitParams) SetHTTPClient(client *http.Client)
- func (o *GetImageLimitParams) SetNamespace(namespace string)
- func (o *GetImageLimitParams) SetTimeout(timeout time.Duration)
- func (o *GetImageLimitParams) WithContext(ctx context.Context) *GetImageLimitParams
- func (o *GetImageLimitParams) WithHTTPClient(client *http.Client) *GetImageLimitParams
- func (o *GetImageLimitParams) WithNamespace(namespace string) *GetImageLimitParams
- func (o *GetImageLimitParams) WithTimeout(timeout time.Duration) *GetImageLimitParams
- func (o *GetImageLimitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImageLimitReader
- type GetImageLimitUnauthorized
- type ImportImagesBadRequest
- type ImportImagesForbidden
- type ImportImagesInternalServerError
- type ImportImagesOK
- type ImportImagesParams
- func (o *ImportImagesParams) SetContext(ctx context.Context)
- func (o *ImportImagesParams) SetFile(file runtime.NamedReadCloser)
- func (o *ImportImagesParams) SetHTTPClient(client *http.Client)
- func (o *ImportImagesParams) SetTimeout(timeout time.Duration)
- func (o *ImportImagesParams) WithContext(ctx context.Context) *ImportImagesParams
- func (o *ImportImagesParams) WithFile(file runtime.NamedReadCloser) *ImportImagesParams
- func (o *ImportImagesParams) WithHTTPClient(client *http.Client) *ImportImagesParams
- func (o *ImportImagesParams) WithTimeout(timeout time.Duration) *ImportImagesParams
- func (o *ImportImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportImagesReader
- type ImportImagesUnauthorized
- type ListImagesBadRequest
- type ListImagesInternalServerError
- type ListImagesOK
- type ListImagesParams
- func (o *ListImagesParams) SetContext(ctx context.Context)
- func (o *ListImagesParams) SetCount(count *int64)
- func (o *ListImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListImagesParams) SetNamespace(namespace string)
- func (o *ListImagesParams) SetOffset(offset *int64)
- func (o *ListImagesParams) SetQ(q *string)
- func (o *ListImagesParams) SetSortBy(sortBy *string)
- func (o *ListImagesParams) SetSortDirection(sortDirection *string)
- func (o *ListImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListImagesParams) WithContext(ctx context.Context) *ListImagesParams
- func (o *ListImagesParams) WithCount(count *int64) *ListImagesParams
- func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams
- func (o *ListImagesParams) WithNamespace(namespace string) *ListImagesParams
- func (o *ListImagesParams) WithOffset(offset *int64) *ListImagesParams
- func (o *ListImagesParams) WithQ(q *string) *ListImagesParams
- func (o *ListImagesParams) WithSortBy(sortBy *string) *ListImagesParams
- func (o *ListImagesParams) WithSortDirection(sortDirection *string) *ListImagesParams
- func (o *ListImagesParams) WithTimeout(timeout time.Duration) *ListImagesParams
- func (o *ListImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListImagesReader
- type ListImagesUnauthorized
- type UpdateImageBadRequest
- type UpdateImageInternalServerError
- type UpdateImageNoContent
- type UpdateImageParams
- func (o *UpdateImageParams) SetBody(body *dsmcclientmodels.ModelsImageRecordUpdate)
- func (o *UpdateImageParams) SetContext(ctx context.Context)
- func (o *UpdateImageParams) SetHTTPClient(client *http.Client)
- func (o *UpdateImageParams) SetTimeout(timeout time.Duration)
- func (o *UpdateImageParams) WithBody(body *dsmcclientmodels.ModelsImageRecordUpdate) *UpdateImageParams
- func (o *UpdateImageParams) WithContext(ctx context.Context) *UpdateImageParams
- func (o *UpdateImageParams) WithHTTPClient(client *http.Client) *UpdateImageParams
- func (o *UpdateImageParams) WithTimeout(timeout time.Duration) *UpdateImageParams
- func (o *UpdateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateImageReader
- type UpdateImageUnauthorized
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 ¶
func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter) (*CreateImageNoContent, *CreateImageBadRequest, *CreateImageUnauthorized, *CreateImageConflict, *CreateImageInternalServerError, 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, *DeleteImageBadRequest, *DeleteImageUnauthorized, *DeleteImageNotFound, *DeleteImageUnprocessableEntity, *DeleteImageInternalServerError, 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) ExportImages ¶
func (a *Client) ExportImages(params *ExportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ExportImagesOK, *ExportImagesUnauthorized, *ExportImagesForbidden, *ExportImagesNotFound, *ExportImagesInternalServerError, 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) GetImageDetail ¶
func (a *Client) GetImageDetail(params *GetImageDetailParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageDetailOK, *GetImageDetailUnauthorized, *GetImageDetailNotFound, *GetImageDetailInternalServerError, 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, *GetImageLimitBadRequest, *GetImageLimitUnauthorized, *GetImageLimitInternalServerError, 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) ImportImages ¶
func (a *Client) ImportImages(params *ImportImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ImportImagesOK, *ImportImagesBadRequest, *ImportImagesUnauthorized, *ImportImagesForbidden, *ImportImagesInternalServerError, 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) ListImages ¶
func (a *Client) ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListImagesOK, *ListImagesBadRequest, *ListImagesUnauthorized, *ListImagesInternalServerError, 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) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateImage ¶
func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageNoContent, *UpdateImageBadRequest, *UpdateImageUnauthorized, *UpdateImageInternalServerError, 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, *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 ¶
func (o *CreateImageBadRequest) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *CreateImageConflict) GetPayload() *dsmcclientmodels.ResponseError
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 (o *CreateImageInternalServerError) Error() string
func (*CreateImageInternalServerError) GetPayload ¶
func (o *CreateImageInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *CreateImageParams) SetBody(body *dsmcclientmodels.ModelsCreateImageRequest)
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 ¶
func (o *CreateImageParams) WithBody(body *dsmcclientmodels.ModelsCreateImageRequest) *CreateImageParams
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 {
}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 ¶
func (o *CreateImageUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *DeleteImageBadRequest) GetPayload() *dsmcclientmodels.ResponseError
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 (o *DeleteImageInternalServerError) Error() string
func (*DeleteImageInternalServerError) GetPayload ¶
func (o *DeleteImageInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *DeleteImageNotFound) GetPayload() *dsmcclientmodels.ResponseError
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 {
}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 ¶
func (o *DeleteImageUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
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 (o *DeleteImageUnprocessableEntity) Error() string
func (*DeleteImageUnprocessableEntity) GetPayload ¶
func (o *DeleteImageUnprocessableEntity) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ExportImagesForbidden) GetPayload() *dsmcclientmodels.ResponseError
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 (o *ExportImagesInternalServerError) Error() string
func (*ExportImagesInternalServerError) GetPayload ¶
func (o *ExportImagesInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ExportImagesNotFound) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ExportImagesOK) GetPayload() []*dsmcclientmodels.ModelsImageRecord
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 ¶
func (o *ExportImagesParams) WithContext(ctx context.Context) *ExportImagesParams
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 {
}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 ¶
func (o *ExportImagesUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
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 (o *GetImageDetailInternalServerError) Error() string
func (*GetImageDetailInternalServerError) GetPayload ¶
func (o *GetImageDetailInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *GetImageDetailNotFound) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *GetImageDetailOK) GetPayload() *dsmcclientmodels.ModelsGetImageDetailResponse
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 ¶
func (o *GetImageDetailParams) WithContext(ctx context.Context) *GetImageDetailParams
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 {
}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 (o *GetImageDetailUnauthorized) Error() string
func (*GetImageDetailUnauthorized) GetPayload ¶
func (o *GetImageDetailUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *GetImageLimitBadRequest) GetPayload() *dsmcclientmodels.ResponseError
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 (o *GetImageLimitInternalServerError) Error() string
func (*GetImageLimitInternalServerError) GetPayload ¶
func (o *GetImageLimitInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *GetImageLimitOK) GetPayload() *dsmcclientmodels.ModelsGetImageLimitResponse
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 ¶
func (o *GetImageLimitParams) WithContext(ctx context.Context) *GetImageLimitParams
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 {
}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 ¶
func (o *GetImageLimitUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ImportImagesBadRequest) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ImportImagesForbidden) GetPayload() *dsmcclientmodels.ResponseError
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 (o *ImportImagesInternalServerError) Error() string
func (*ImportImagesInternalServerError) GetPayload ¶
func (o *ImportImagesInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ImportImagesOK) GetPayload() *dsmcclientmodels.ModelsImportResponse
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 ¶
func (o *ImportImagesParams) WithContext(ctx context.Context) *ImportImagesParams
WithContext adds the context to the import images params
func (*ImportImagesParams) WithFile ¶
func (o *ImportImagesParams) WithFile(file runtime.NamedReadCloser) *ImportImagesParams
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 {
}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 ¶
func (o *ImportImagesUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ListImagesBadRequest) GetPayload() *dsmcclientmodels.ResponseError
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 (o *ListImagesInternalServerError) Error() string
func (*ListImagesInternalServerError) GetPayload ¶
func (o *ListImagesInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *ListImagesOK) GetPayload() *dsmcclientmodels.ModelsListImageResponse
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 ¶
func (o *ListImagesParams) WithQ(q *string) *ListImagesParams
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 {
}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 ¶
func (o *ListImagesUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *UpdateImageBadRequest) GetPayload() *dsmcclientmodels.ResponseError
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 (o *UpdateImageInternalServerError) Error() string
func (*UpdateImageInternalServerError) GetPayload ¶
func (o *UpdateImageInternalServerError) GetPayload() *dsmcclientmodels.ResponseError
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 ¶
func (o *UpdateImageParams) SetBody(body *dsmcclientmodels.ModelsImageRecordUpdate)
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 ¶
func (o *UpdateImageParams) WithBody(body *dsmcclientmodels.ModelsImageRecordUpdate) *UpdateImageParams
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 {
}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 ¶
func (o *UpdateImageUnauthorized) GetPayload() *dsmcclientmodels.ResponseError
Source Files ¶
- create_image_parameters.go
- create_image_responses.go
- delete_image_parameters.go
- delete_image_responses.go
- export_images_parameters.go
- export_images_responses.go
- get_image_detail_parameters.go
- get_image_detail_responses.go
- get_image_limit_parameters.go
- get_image_limit_responses.go
- image_config_client.go
- import_images_parameters.go
- import_images_responses.go
- list_images_parameters.go
- list_images_responses.go
- update_image_parameters.go
- update_image_responses.go