store

package
v0.0.0-...-f573b6e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 12 Imported by: 1

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 store API

func (*Client) CloneStore

CloneStore clones a store

This API is used to clone a store. Usually clone a draft store to published store because published store can't directly edit content.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: clone store info</li></ul>

func (*Client) CreateStore

CreateStore creates a store

This API is used to create a non published store in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=1 (CREATE)</li><li><i>Returns</i>: created store data</li></ul>

func (*Client) DeletePublishedStore

DeletePublishedStore deletes published store

This API is used to delete published store including category and items before release to public.<p><b>Warning: Please do not use this API once published to public user.</b><p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)</li></ul>

func (*Client) DeleteStore

DeleteStore deletes a store

This API is used to delete a store. Only non published store can be deleted.<br>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=8 (DELETE)</li><li><i>Returns</i>: store</li></ul>

func (*Client) ExportStore

func (a *Client) ExportStore(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ExportStoreNotFound, error)

ExportStore exports a store

This API is used to export a store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li></ul>

func (*Client) GetPublishedStore

GetPublishedStore gets published store

This API is used to get a published store basic info, exclude category and item information.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: store data</li></ul>

func (*Client) GetPublishedStoreBackup

GetPublishedStoreBackup gets a published store s backup

This API is used to get a store's backup. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: store backup info</li></ul>

func (*Client) GetStore

func (a *Client) GetStore(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreOK, *GetStoreNotFound, error)

GetStore gets a store

This API is used to get a store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: store data</li></ul>

func (*Client) ImportStore

ImportStore imports a store

This API is used to import a store.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li></ul>

func (*Client) ListStores

func (a *Client) ListStores(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresOK, error)

ListStores lists stores

This API is used to list stores in a namespace.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=2 (READ)</li><li><i>Returns</i>: the list of stores</li></ul>

func (*Client) PublicListStores

func (a *Client) PublicListStores(params *PublicListStoresParams) (*PublicListStoresOK, error)

PublicListStores lists all stores

This API is used to list all stores in a namespace.<p>Other detail info: <ul><li><i>Optional permission</i>: resource="SANDBOX", action=1(CREATE) (user with this permission can view draft store)</li><li><i>Returns</i>: the list of stores</li></ul>

func (*Client) RollbackPublishedStore

RollbackPublishedStore rollbacks a published store

This API is used to rollback a published store. <p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li><li><i>Returns</i>: updated store info</li></ul>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateStore

UpdateStore updates a store

This API is used to Update a store basic info.<p>Other detail info: <ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:STORE", action=4 (UPDATE)</li><li><i>Returns</i>: updated store data</li></ul>

type ClientService

type ClientService interface {
	CloneStore(params *CloneStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CloneStoreOK, *CloneStoreBadRequest, *CloneStoreNotFound, error)

	CreateStore(params *CreateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStoreCreated, *CreateStoreUnprocessableEntity, error)

	DeletePublishedStore(params *DeletePublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePublishedStoreOK, *DeletePublishedStoreNotFound, error)

	DeleteStore(params *DeleteStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStoreOK, *DeleteStoreNotFound, *DeleteStoreConflict, error)

	ExportStore(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ExportStoreNotFound, error)

	GetPublishedStore(params *GetPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreOK, *GetPublishedStoreNotFound, error)

	GetPublishedStoreBackup(params *GetPublishedStoreBackupParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreBackupOK, *GetPublishedStoreBackupNotFound, error)

	GetStore(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreOK, *GetStoreNotFound, error)

	ImportStore(params *ImportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreOK, *ImportStoreBadRequest, *ImportStoreNotFound, error)

	ListStores(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresOK, error)

	PublicListStores(params *PublicListStoresParams) (*PublicListStoresOK, error)

	RollbackPublishedStore(params *RollbackPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackPublishedStoreOK, *RollbackPublishedStoreNotFound, error)

	UpdateStore(params *UpdateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStoreOK, *UpdateStoreNotFound, *UpdateStoreConflict, *UpdateStoreUnprocessableEntity, 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 store API client.

type CloneStoreBadRequest

type CloneStoreBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

CloneStoreBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30122</td><td>Store's meta mismatch</td></tr></table>

func NewCloneStoreBadRequest

func NewCloneStoreBadRequest() *CloneStoreBadRequest

NewCloneStoreBadRequest creates a CloneStoreBadRequest with default headers values

func (*CloneStoreBadRequest) Error

func (o *CloneStoreBadRequest) Error() string

func (*CloneStoreBadRequest) GetPayload

type CloneStoreNotFound

type CloneStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

CloneStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewCloneStoreNotFound

func NewCloneStoreNotFound() *CloneStoreNotFound

NewCloneStoreNotFound creates a CloneStoreNotFound with default headers values

func (*CloneStoreNotFound) Error

func (o *CloneStoreNotFound) Error() string

func (*CloneStoreNotFound) GetPayload

type CloneStoreOK

type CloneStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

CloneStoreOK handles this case with default header values.

successful operation

func NewCloneStoreOK

func NewCloneStoreOK() *CloneStoreOK

NewCloneStoreOK creates a CloneStoreOK with default headers values

func (*CloneStoreOK) Error

func (o *CloneStoreOK) Error() string

func (*CloneStoreOK) GetPayload

func (o *CloneStoreOK) GetPayload() *platformclientmodels.StoreInfo

type CloneStoreParams

type CloneStoreParams struct {

	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string
	/*TargetStoreID
	  default is published store

	*/
	TargetStoreID *string

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

CloneStoreParams contains all the parameters to send to the API endpoint for the clone store operation typically these are written to a http.Request

func NewCloneStoreParams

func NewCloneStoreParams() *CloneStoreParams

NewCloneStoreParams creates a new CloneStoreParams object with the default values initialized.

func NewCloneStoreParamsWithContext

func NewCloneStoreParamsWithContext(ctx context.Context) *CloneStoreParams

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

func NewCloneStoreParamsWithHTTPClient

func NewCloneStoreParamsWithHTTPClient(client *http.Client) *CloneStoreParams

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

func NewCloneStoreParamsWithTimeout

func NewCloneStoreParamsWithTimeout(timeout time.Duration) *CloneStoreParams

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

func (*CloneStoreParams) SetContext

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

SetContext adds the context to the clone store params

func (*CloneStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the clone store params

func (*CloneStoreParams) SetNamespace

func (o *CloneStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the clone store params

func (*CloneStoreParams) SetStoreID

func (o *CloneStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the clone store params

func (*CloneStoreParams) SetTargetStoreID

func (o *CloneStoreParams) SetTargetStoreID(targetStoreID *string)

SetTargetStoreID adds the targetStoreId to the clone store params

func (*CloneStoreParams) SetTimeout

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

SetTimeout adds the timeout to the clone store params

func (*CloneStoreParams) WithContext

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

WithContext adds the context to the clone store params

func (*CloneStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the clone store params

func (*CloneStoreParams) WithNamespace

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

WithNamespace adds the namespace to the clone store params

func (*CloneStoreParams) WithStoreID

func (o *CloneStoreParams) WithStoreID(storeID string) *CloneStoreParams

WithStoreID adds the storeID to the clone store params

func (*CloneStoreParams) WithTargetStoreID

func (o *CloneStoreParams) WithTargetStoreID(targetStoreID *string) *CloneStoreParams

WithTargetStoreID adds the targetStoreID to the clone store params

func (*CloneStoreParams) WithTimeout

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

WithTimeout adds the timeout to the clone store params

func (*CloneStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CloneStoreReader

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

CloneStoreReader is a Reader for the CloneStore structure.

func (*CloneStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateStoreCreated

type CreateStoreCreated struct {
	Payload *platformclientmodels.StoreInfo
}

CreateStoreCreated handles this case with default header values.

successful operation

func NewCreateStoreCreated

func NewCreateStoreCreated() *CreateStoreCreated

NewCreateStoreCreated creates a CreateStoreCreated with default headers values

func (*CreateStoreCreated) Error

func (o *CreateStoreCreated) Error() string

func (*CreateStoreCreated) GetPayload

type CreateStoreParams

type CreateStoreParams struct {

	/*Body*/
	Body *platformclientmodels.StoreCreate
	/*Namespace
	  Namespace

	*/
	Namespace string

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

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

func NewCreateStoreParams

func NewCreateStoreParams() *CreateStoreParams

NewCreateStoreParams creates a new CreateStoreParams object with the default values initialized.

func NewCreateStoreParamsWithContext

func NewCreateStoreParamsWithContext(ctx context.Context) *CreateStoreParams

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

func NewCreateStoreParamsWithHTTPClient

func NewCreateStoreParamsWithHTTPClient(client *http.Client) *CreateStoreParams

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

func NewCreateStoreParamsWithTimeout

func NewCreateStoreParamsWithTimeout(timeout time.Duration) *CreateStoreParams

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

func (*CreateStoreParams) SetBody

SetBody adds the body to the create store params

func (*CreateStoreParams) SetContext

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

SetContext adds the context to the create store params

func (*CreateStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create store params

func (*CreateStoreParams) SetNamespace

func (o *CreateStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the create store params

func (*CreateStoreParams) SetTimeout

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

SetTimeout adds the timeout to the create store params

func (*CreateStoreParams) WithBody

WithBody adds the body to the create store params

func (*CreateStoreParams) WithContext

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

WithContext adds the context to the create store params

func (*CreateStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create store params

func (*CreateStoreParams) WithNamespace

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

WithNamespace adds the namespace to the create store params

func (*CreateStoreParams) WithTimeout

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

WithTimeout adds the timeout to the create store params

func (*CreateStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateStoreReader

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

CreateStoreReader is a Reader for the CreateStore structure.

func (*CreateStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateStoreUnprocessableEntity

type CreateStoreUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

CreateStoreUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewCreateStoreUnprocessableEntity

func NewCreateStoreUnprocessableEntity() *CreateStoreUnprocessableEntity

NewCreateStoreUnprocessableEntity creates a CreateStoreUnprocessableEntity with default headers values

func (*CreateStoreUnprocessableEntity) Error

func (*CreateStoreUnprocessableEntity) GetPayload

type DeletePublishedStoreNotFound

type DeletePublishedStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeletePublishedStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr></table>

func NewDeletePublishedStoreNotFound

func NewDeletePublishedStoreNotFound() *DeletePublishedStoreNotFound

NewDeletePublishedStoreNotFound creates a DeletePublishedStoreNotFound with default headers values

func (*DeletePublishedStoreNotFound) Error

func (*DeletePublishedStoreNotFound) GetPayload

type DeletePublishedStoreOK

type DeletePublishedStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

DeletePublishedStoreOK handles this case with default header values.

successful operation

func NewDeletePublishedStoreOK

func NewDeletePublishedStoreOK() *DeletePublishedStoreOK

NewDeletePublishedStoreOK creates a DeletePublishedStoreOK with default headers values

func (*DeletePublishedStoreOK) Error

func (o *DeletePublishedStoreOK) Error() string

func (*DeletePublishedStoreOK) GetPayload

type DeletePublishedStoreParams

type DeletePublishedStoreParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string

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

DeletePublishedStoreParams contains all the parameters to send to the API endpoint for the delete published store operation typically these are written to a http.Request

func NewDeletePublishedStoreParams

func NewDeletePublishedStoreParams() *DeletePublishedStoreParams

NewDeletePublishedStoreParams creates a new DeletePublishedStoreParams object with the default values initialized.

func NewDeletePublishedStoreParamsWithContext

func NewDeletePublishedStoreParamsWithContext(ctx context.Context) *DeletePublishedStoreParams

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

func NewDeletePublishedStoreParamsWithHTTPClient

func NewDeletePublishedStoreParamsWithHTTPClient(client *http.Client) *DeletePublishedStoreParams

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

func NewDeletePublishedStoreParamsWithTimeout

func NewDeletePublishedStoreParamsWithTimeout(timeout time.Duration) *DeletePublishedStoreParams

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

func (*DeletePublishedStoreParams) SetContext

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

SetContext adds the context to the delete published store params

func (*DeletePublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete published store params

func (*DeletePublishedStoreParams) SetNamespace

func (o *DeletePublishedStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete published store params

func (*DeletePublishedStoreParams) SetTimeout

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

SetTimeout adds the timeout to the delete published store params

func (*DeletePublishedStoreParams) WithContext

WithContext adds the context to the delete published store params

func (*DeletePublishedStoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete published store params

func (*DeletePublishedStoreParams) WithNamespace

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

WithNamespace adds the namespace to the delete published store params

func (*DeletePublishedStoreParams) WithTimeout

WithTimeout adds the timeout to the delete published store params

func (*DeletePublishedStoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublishedStoreReader

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

DeletePublishedStoreReader is a Reader for the DeletePublishedStore structure.

func (*DeletePublishedStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteStoreConflict

type DeleteStoreConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteStoreConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30173</td><td>Published store can't modify content</td></tr></table>

func NewDeleteStoreConflict

func NewDeleteStoreConflict() *DeleteStoreConflict

NewDeleteStoreConflict creates a DeleteStoreConflict with default headers values

func (*DeleteStoreConflict) Error

func (o *DeleteStoreConflict) Error() string

func (*DeleteStoreConflict) GetPayload

type DeleteStoreNotFound

type DeleteStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

DeleteStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewDeleteStoreNotFound

func NewDeleteStoreNotFound() *DeleteStoreNotFound

NewDeleteStoreNotFound creates a DeleteStoreNotFound with default headers values

func (*DeleteStoreNotFound) Error

func (o *DeleteStoreNotFound) Error() string

func (*DeleteStoreNotFound) GetPayload

type DeleteStoreOK

type DeleteStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

DeleteStoreOK handles this case with default header values.

successful operation

func NewDeleteStoreOK

func NewDeleteStoreOK() *DeleteStoreOK

NewDeleteStoreOK creates a DeleteStoreOK with default headers values

func (*DeleteStoreOK) Error

func (o *DeleteStoreOK) Error() string

func (*DeleteStoreOK) GetPayload

func (o *DeleteStoreOK) GetPayload() *platformclientmodels.StoreInfo

type DeleteStoreParams

type DeleteStoreParams struct {

	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

func NewDeleteStoreParams

func NewDeleteStoreParams() *DeleteStoreParams

NewDeleteStoreParams creates a new DeleteStoreParams object with the default values initialized.

func NewDeleteStoreParamsWithContext

func NewDeleteStoreParamsWithContext(ctx context.Context) *DeleteStoreParams

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

func NewDeleteStoreParamsWithHTTPClient

func NewDeleteStoreParamsWithHTTPClient(client *http.Client) *DeleteStoreParams

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

func NewDeleteStoreParamsWithTimeout

func NewDeleteStoreParamsWithTimeout(timeout time.Duration) *DeleteStoreParams

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

func (*DeleteStoreParams) SetContext

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

SetContext adds the context to the delete store params

func (*DeleteStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete store params

func (*DeleteStoreParams) SetNamespace

func (o *DeleteStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the delete store params

func (*DeleteStoreParams) SetStoreID

func (o *DeleteStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the delete store params

func (*DeleteStoreParams) SetTimeout

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

SetTimeout adds the timeout to the delete store params

func (*DeleteStoreParams) WithContext

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

WithContext adds the context to the delete store params

func (*DeleteStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete store params

func (*DeleteStoreParams) WithNamespace

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

WithNamespace adds the namespace to the delete store params

func (*DeleteStoreParams) WithStoreID

func (o *DeleteStoreParams) WithStoreID(storeID string) *DeleteStoreParams

WithStoreID adds the storeID to the delete store params

func (*DeleteStoreParams) WithTimeout

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

WithTimeout adds the timeout to the delete store params

func (*DeleteStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteStoreReader

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

DeleteStoreReader is a Reader for the DeleteStore structure.

func (*DeleteStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportStoreNotFound

type ExportStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ExportStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewExportStoreNotFound

func NewExportStoreNotFound() *ExportStoreNotFound

NewExportStoreNotFound creates a ExportStoreNotFound with default headers values

func (*ExportStoreNotFound) Error

func (o *ExportStoreNotFound) Error() string

func (*ExportStoreNotFound) GetPayload

type ExportStoreParams

type ExportStoreParams struct {

	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

func NewExportStoreParams

func NewExportStoreParams() *ExportStoreParams

NewExportStoreParams creates a new ExportStoreParams object with the default values initialized.

func NewExportStoreParamsWithContext

func NewExportStoreParamsWithContext(ctx context.Context) *ExportStoreParams

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

func NewExportStoreParamsWithHTTPClient

func NewExportStoreParamsWithHTTPClient(client *http.Client) *ExportStoreParams

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

func NewExportStoreParamsWithTimeout

func NewExportStoreParamsWithTimeout(timeout time.Duration) *ExportStoreParams

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

func (*ExportStoreParams) SetContext

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

SetContext adds the context to the export store params

func (*ExportStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export store params

func (*ExportStoreParams) SetNamespace

func (o *ExportStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the export store params

func (*ExportStoreParams) SetStoreID

func (o *ExportStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the export store params

func (*ExportStoreParams) SetTimeout

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

SetTimeout adds the timeout to the export store params

func (*ExportStoreParams) WithContext

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

WithContext adds the context to the export store params

func (*ExportStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export store params

func (*ExportStoreParams) WithNamespace

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

WithNamespace adds the namespace to the export store params

func (*ExportStoreParams) WithStoreID

func (o *ExportStoreParams) WithStoreID(storeID string) *ExportStoreParams

WithStoreID adds the storeID to the export store params

func (*ExportStoreParams) WithTimeout

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

WithTimeout adds the timeout to the export store params

func (*ExportStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExportStoreReader

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

ExportStoreReader is a Reader for the ExportStore structure.

func (*ExportStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublishedStoreBackupNotFound

type GetPublishedStoreBackupNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetPublishedStoreBackupNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30143</td><td>Published store [{storeId}] backup doest not exist in namespace [{namespace}]</td></tr></table>

func NewGetPublishedStoreBackupNotFound

func NewGetPublishedStoreBackupNotFound() *GetPublishedStoreBackupNotFound

NewGetPublishedStoreBackupNotFound creates a GetPublishedStoreBackupNotFound with default headers values

func (*GetPublishedStoreBackupNotFound) Error

func (*GetPublishedStoreBackupNotFound) GetPayload

type GetPublishedStoreBackupOK

type GetPublishedStoreBackupOK struct {
	Payload *platformclientmodels.StoreBackupInfo
}

GetPublishedStoreBackupOK handles this case with default header values.

successful operation

func NewGetPublishedStoreBackupOK

func NewGetPublishedStoreBackupOK() *GetPublishedStoreBackupOK

NewGetPublishedStoreBackupOK creates a GetPublishedStoreBackupOK with default headers values

func (*GetPublishedStoreBackupOK) Error

func (o *GetPublishedStoreBackupOK) Error() string

func (*GetPublishedStoreBackupOK) GetPayload

type GetPublishedStoreBackupParams

type GetPublishedStoreBackupParams struct {

	/*Namespace*/
	Namespace string

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

GetPublishedStoreBackupParams contains all the parameters to send to the API endpoint for the get published store backup operation typically these are written to a http.Request

func NewGetPublishedStoreBackupParams

func NewGetPublishedStoreBackupParams() *GetPublishedStoreBackupParams

NewGetPublishedStoreBackupParams creates a new GetPublishedStoreBackupParams object with the default values initialized.

func NewGetPublishedStoreBackupParamsWithContext

func NewGetPublishedStoreBackupParamsWithContext(ctx context.Context) *GetPublishedStoreBackupParams

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

func NewGetPublishedStoreBackupParamsWithHTTPClient

func NewGetPublishedStoreBackupParamsWithHTTPClient(client *http.Client) *GetPublishedStoreBackupParams

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

func NewGetPublishedStoreBackupParamsWithTimeout

func NewGetPublishedStoreBackupParamsWithTimeout(timeout time.Duration) *GetPublishedStoreBackupParams

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

func (*GetPublishedStoreBackupParams) SetContext

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

SetContext adds the context to the get published store backup params

func (*GetPublishedStoreBackupParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get published store backup params

func (*GetPublishedStoreBackupParams) SetNamespace

func (o *GetPublishedStoreBackupParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get published store backup params

func (*GetPublishedStoreBackupParams) SetTimeout

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

SetTimeout adds the timeout to the get published store backup params

func (*GetPublishedStoreBackupParams) WithContext

WithContext adds the context to the get published store backup params

func (*GetPublishedStoreBackupParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get published store backup params

func (*GetPublishedStoreBackupParams) WithNamespace

WithNamespace adds the namespace to the get published store backup params

func (*GetPublishedStoreBackupParams) WithTimeout

WithTimeout adds the timeout to the get published store backup params

func (*GetPublishedStoreBackupParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublishedStoreBackupReader

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

GetPublishedStoreBackupReader is a Reader for the GetPublishedStoreBackup structure.

func (*GetPublishedStoreBackupReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublishedStoreNotFound

type GetPublishedStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetPublishedStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr></table>

func NewGetPublishedStoreNotFound

func NewGetPublishedStoreNotFound() *GetPublishedStoreNotFound

NewGetPublishedStoreNotFound creates a GetPublishedStoreNotFound with default headers values

func (*GetPublishedStoreNotFound) Error

func (o *GetPublishedStoreNotFound) Error() string

func (*GetPublishedStoreNotFound) GetPayload

type GetPublishedStoreOK

type GetPublishedStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

GetPublishedStoreOK handles this case with default header values.

successful operation

func NewGetPublishedStoreOK

func NewGetPublishedStoreOK() *GetPublishedStoreOK

NewGetPublishedStoreOK creates a GetPublishedStoreOK with default headers values

func (*GetPublishedStoreOK) Error

func (o *GetPublishedStoreOK) Error() string

func (*GetPublishedStoreOK) GetPayload

type GetPublishedStoreParams

type GetPublishedStoreParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string

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

GetPublishedStoreParams contains all the parameters to send to the API endpoint for the get published store operation typically these are written to a http.Request

func NewGetPublishedStoreParams

func NewGetPublishedStoreParams() *GetPublishedStoreParams

NewGetPublishedStoreParams creates a new GetPublishedStoreParams object with the default values initialized.

func NewGetPublishedStoreParamsWithContext

func NewGetPublishedStoreParamsWithContext(ctx context.Context) *GetPublishedStoreParams

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

func NewGetPublishedStoreParamsWithHTTPClient

func NewGetPublishedStoreParamsWithHTTPClient(client *http.Client) *GetPublishedStoreParams

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

func NewGetPublishedStoreParamsWithTimeout

func NewGetPublishedStoreParamsWithTimeout(timeout time.Duration) *GetPublishedStoreParams

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

func (*GetPublishedStoreParams) SetContext

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

SetContext adds the context to the get published store params

func (*GetPublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get published store params

func (*GetPublishedStoreParams) SetNamespace

func (o *GetPublishedStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get published store params

func (*GetPublishedStoreParams) SetTimeout

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

SetTimeout adds the timeout to the get published store params

func (*GetPublishedStoreParams) WithContext

WithContext adds the context to the get published store params

func (*GetPublishedStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get published store params

func (*GetPublishedStoreParams) WithNamespace

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

WithNamespace adds the namespace to the get published store params

func (*GetPublishedStoreParams) WithTimeout

WithTimeout adds the timeout to the get published store params

func (*GetPublishedStoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublishedStoreReader

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

GetPublishedStoreReader is a Reader for the GetPublishedStore structure.

func (*GetPublishedStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetStoreNotFound

type GetStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

GetStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewGetStoreNotFound

func NewGetStoreNotFound() *GetStoreNotFound

NewGetStoreNotFound creates a GetStoreNotFound with default headers values

func (*GetStoreNotFound) Error

func (o *GetStoreNotFound) Error() string

func (*GetStoreNotFound) GetPayload

type GetStoreOK

type GetStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

GetStoreOK handles this case with default header values.

successful operation

func NewGetStoreOK

func NewGetStoreOK() *GetStoreOK

NewGetStoreOK creates a GetStoreOK with default headers values

func (*GetStoreOK) Error

func (o *GetStoreOK) Error() string

func (*GetStoreOK) GetPayload

func (o *GetStoreOK) GetPayload() *platformclientmodels.StoreInfo

type GetStoreParams

type GetStoreParams struct {

	/*Namespace
	  Namespace

	*/
	Namespace string
	/*StoreID*/
	StoreID string

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

GetStoreParams contains all the parameters to send to the API endpoint for the get store operation typically these are written to a http.Request

func NewGetStoreParams

func NewGetStoreParams() *GetStoreParams

NewGetStoreParams creates a new GetStoreParams object with the default values initialized.

func NewGetStoreParamsWithContext

func NewGetStoreParamsWithContext(ctx context.Context) *GetStoreParams

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

func NewGetStoreParamsWithHTTPClient

func NewGetStoreParamsWithHTTPClient(client *http.Client) *GetStoreParams

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

func NewGetStoreParamsWithTimeout

func NewGetStoreParamsWithTimeout(timeout time.Duration) *GetStoreParams

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

func (*GetStoreParams) SetContext

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

SetContext adds the context to the get store params

func (*GetStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get store params

func (*GetStoreParams) SetNamespace

func (o *GetStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get store params

func (*GetStoreParams) SetStoreID

func (o *GetStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the get store params

func (*GetStoreParams) SetTimeout

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

SetTimeout adds the timeout to the get store params

func (*GetStoreParams) WithContext

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

WithContext adds the context to the get store params

func (*GetStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get store params

func (*GetStoreParams) WithNamespace

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

WithNamespace adds the namespace to the get store params

func (*GetStoreParams) WithStoreID

func (o *GetStoreParams) WithStoreID(storeID string) *GetStoreParams

WithStoreID adds the storeID to the get store params

func (*GetStoreParams) WithTimeout

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

WithTimeout adds the timeout to the get store params

func (*GetStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetStoreReader

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

GetStoreReader is a Reader for the GetStore structure.

func (*GetStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ImportStoreBadRequest

type ImportStoreBadRequest struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStoreBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30121</td><td>Store data is invalid</td></tr><tr><td>30122</td><td>Store's meta mismatch</td></tr></table>

func NewImportStoreBadRequest

func NewImportStoreBadRequest() *ImportStoreBadRequest

NewImportStoreBadRequest creates a ImportStoreBadRequest with default headers values

func (*ImportStoreBadRequest) Error

func (o *ImportStoreBadRequest) Error() string

func (*ImportStoreBadRequest) GetPayload

type ImportStoreNotFound

type ImportStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

ImportStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewImportStoreNotFound

func NewImportStoreNotFound() *ImportStoreNotFound

NewImportStoreNotFound creates a ImportStoreNotFound with default headers values

func (*ImportStoreNotFound) Error

func (o *ImportStoreNotFound) Error() string

func (*ImportStoreNotFound) GetPayload

type ImportStoreOK

type ImportStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

ImportStoreOK handles this case with default header values.

successful operation

func NewImportStoreOK

func NewImportStoreOK() *ImportStoreOK

NewImportStoreOK creates a ImportStoreOK with default headers values

func (*ImportStoreOK) Error

func (o *ImportStoreOK) Error() string

func (*ImportStoreOK) GetPayload

func (o *ImportStoreOK) GetPayload() *platformclientmodels.StoreInfo

type ImportStoreParams

type ImportStoreParams struct {

	/*File*/
	File runtime.NamedReadCloser
	/*Namespace*/
	Namespace string
	/*StoreID
	  default we will use published store id,and will create published store if it dose not exist

	*/
	StoreID *string

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

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

func NewImportStoreParams

func NewImportStoreParams() *ImportStoreParams

NewImportStoreParams creates a new ImportStoreParams object with the default values initialized.

func NewImportStoreParamsWithContext

func NewImportStoreParamsWithContext(ctx context.Context) *ImportStoreParams

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

func NewImportStoreParamsWithHTTPClient

func NewImportStoreParamsWithHTTPClient(client *http.Client) *ImportStoreParams

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

func NewImportStoreParamsWithTimeout

func NewImportStoreParamsWithTimeout(timeout time.Duration) *ImportStoreParams

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

func (*ImportStoreParams) SetContext

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

SetContext adds the context to the import store params

func (*ImportStoreParams) SetFile

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

SetFile adds the file to the import store params

func (*ImportStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the import store params

func (*ImportStoreParams) SetNamespace

func (o *ImportStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the import store params

func (*ImportStoreParams) SetStoreID

func (o *ImportStoreParams) SetStoreID(storeID *string)

SetStoreID adds the storeId to the import store params

func (*ImportStoreParams) SetTimeout

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

SetTimeout adds the timeout to the import store params

func (*ImportStoreParams) WithContext

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

WithContext adds the context to the import store params

func (*ImportStoreParams) WithFile

WithFile adds the file to the import store params

func (*ImportStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the import store params

func (*ImportStoreParams) WithNamespace

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

WithNamespace adds the namespace to the import store params

func (*ImportStoreParams) WithStoreID

func (o *ImportStoreParams) WithStoreID(storeID *string) *ImportStoreParams

WithStoreID adds the storeID to the import store params

func (*ImportStoreParams) WithTimeout

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

WithTimeout adds the timeout to the import store params

func (*ImportStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ImportStoreReader

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

ImportStoreReader is a Reader for the ImportStore structure.

func (*ImportStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListStoresOK

type ListStoresOK struct {
	Payload []*platformclientmodels.StoreInfo
}

ListStoresOK handles this case with default header values.

successful operation

func NewListStoresOK

func NewListStoresOK() *ListStoresOK

NewListStoresOK creates a ListStoresOK with default headers values

func (*ListStoresOK) Error

func (o *ListStoresOK) Error() string

func (*ListStoresOK) GetPayload

func (o *ListStoresOK) GetPayload() []*platformclientmodels.StoreInfo

type ListStoresParams

type ListStoresParams struct {

	/*Namespace*/
	Namespace string

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

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

func NewListStoresParams

func NewListStoresParams() *ListStoresParams

NewListStoresParams creates a new ListStoresParams object with the default values initialized.

func NewListStoresParamsWithContext

func NewListStoresParamsWithContext(ctx context.Context) *ListStoresParams

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

func NewListStoresParamsWithHTTPClient

func NewListStoresParamsWithHTTPClient(client *http.Client) *ListStoresParams

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

func NewListStoresParamsWithTimeout

func NewListStoresParamsWithTimeout(timeout time.Duration) *ListStoresParams

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

func (*ListStoresParams) SetContext

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

SetContext adds the context to the list stores params

func (*ListStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list stores params

func (*ListStoresParams) SetNamespace

func (o *ListStoresParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the list stores params

func (*ListStoresParams) SetTimeout

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

SetTimeout adds the timeout to the list stores params

func (*ListStoresParams) WithContext

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

WithContext adds the context to the list stores params

func (*ListStoresParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list stores params

func (*ListStoresParams) WithNamespace

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

WithNamespace adds the namespace to the list stores params

func (*ListStoresParams) WithTimeout

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

WithTimeout adds the timeout to the list stores params

func (*ListStoresParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListStoresReader

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

ListStoresReader is a Reader for the ListStores structure.

func (*ListStoresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PublicListStoresOK

type PublicListStoresOK struct {
	Payload []*platformclientmodels.StoreInfo
}

PublicListStoresOK handles this case with default header values.

successful operation

func NewPublicListStoresOK

func NewPublicListStoresOK() *PublicListStoresOK

NewPublicListStoresOK creates a PublicListStoresOK with default headers values

func (*PublicListStoresOK) Error

func (o *PublicListStoresOK) Error() string

func (*PublicListStoresOK) GetPayload

type PublicListStoresParams

type PublicListStoresParams struct {

	/*Namespace*/
	Namespace string

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

PublicListStoresParams contains all the parameters to send to the API endpoint for the public list stores operation typically these are written to a http.Request

func NewPublicListStoresParams

func NewPublicListStoresParams() *PublicListStoresParams

NewPublicListStoresParams creates a new PublicListStoresParams object with the default values initialized.

func NewPublicListStoresParamsWithContext

func NewPublicListStoresParamsWithContext(ctx context.Context) *PublicListStoresParams

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

func NewPublicListStoresParamsWithHTTPClient

func NewPublicListStoresParamsWithHTTPClient(client *http.Client) *PublicListStoresParams

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

func NewPublicListStoresParamsWithTimeout

func NewPublicListStoresParamsWithTimeout(timeout time.Duration) *PublicListStoresParams

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

func (*PublicListStoresParams) SetContext

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

SetContext adds the context to the public list stores params

func (*PublicListStoresParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the public list stores params

func (*PublicListStoresParams) SetNamespace

func (o *PublicListStoresParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public list stores params

func (*PublicListStoresParams) SetTimeout

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

SetTimeout adds the timeout to the public list stores params

func (*PublicListStoresParams) WithContext

WithContext adds the context to the public list stores params

func (*PublicListStoresParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the public list stores params

func (*PublicListStoresParams) WithNamespace

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

WithNamespace adds the namespace to the public list stores params

func (*PublicListStoresParams) WithTimeout

WithTimeout adds the timeout to the public list stores params

func (*PublicListStoresParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicListStoresReader

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

PublicListStoresReader is a Reader for the PublicListStores structure.

func (*PublicListStoresReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RollbackPublishedStoreNotFound

type RollbackPublishedStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

RollbackPublishedStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30142</td><td>Published store does not exist in namespace [{namespace}]</td></tr><tr><td>30143</td><td>Published store [{storeId}] backup doest not exist in namespace [{namespace}]</td></tr></table>

func NewRollbackPublishedStoreNotFound

func NewRollbackPublishedStoreNotFound() *RollbackPublishedStoreNotFound

NewRollbackPublishedStoreNotFound creates a RollbackPublishedStoreNotFound with default headers values

func (*RollbackPublishedStoreNotFound) Error

func (*RollbackPublishedStoreNotFound) GetPayload

type RollbackPublishedStoreOK

type RollbackPublishedStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

RollbackPublishedStoreOK handles this case with default header values.

successful operation

func NewRollbackPublishedStoreOK

func NewRollbackPublishedStoreOK() *RollbackPublishedStoreOK

NewRollbackPublishedStoreOK creates a RollbackPublishedStoreOK with default headers values

func (*RollbackPublishedStoreOK) Error

func (o *RollbackPublishedStoreOK) Error() string

func (*RollbackPublishedStoreOK) GetPayload

type RollbackPublishedStoreParams

type RollbackPublishedStoreParams struct {

	/*Namespace*/
	Namespace string

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

RollbackPublishedStoreParams contains all the parameters to send to the API endpoint for the rollback published store operation typically these are written to a http.Request

func NewRollbackPublishedStoreParams

func NewRollbackPublishedStoreParams() *RollbackPublishedStoreParams

NewRollbackPublishedStoreParams creates a new RollbackPublishedStoreParams object with the default values initialized.

func NewRollbackPublishedStoreParamsWithContext

func NewRollbackPublishedStoreParamsWithContext(ctx context.Context) *RollbackPublishedStoreParams

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

func NewRollbackPublishedStoreParamsWithHTTPClient

func NewRollbackPublishedStoreParamsWithHTTPClient(client *http.Client) *RollbackPublishedStoreParams

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

func NewRollbackPublishedStoreParamsWithTimeout

func NewRollbackPublishedStoreParamsWithTimeout(timeout time.Duration) *RollbackPublishedStoreParams

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

func (*RollbackPublishedStoreParams) SetContext

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

SetContext adds the context to the rollback published store params

func (*RollbackPublishedStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the rollback published store params

func (*RollbackPublishedStoreParams) SetNamespace

func (o *RollbackPublishedStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the rollback published store params

func (*RollbackPublishedStoreParams) SetTimeout

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

SetTimeout adds the timeout to the rollback published store params

func (*RollbackPublishedStoreParams) WithContext

WithContext adds the context to the rollback published store params

func (*RollbackPublishedStoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the rollback published store params

func (*RollbackPublishedStoreParams) WithNamespace

WithNamespace adds the namespace to the rollback published store params

func (*RollbackPublishedStoreParams) WithTimeout

WithTimeout adds the timeout to the rollback published store params

func (*RollbackPublishedStoreParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RollbackPublishedStoreReader

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

RollbackPublishedStoreReader is a Reader for the RollbackPublishedStore structure.

func (*RollbackPublishedStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateStoreConflict

type UpdateStoreConflict struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateStoreConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30171</td><td>Store [{store}] can't change default language to [{language}]</td></tr><tr><td>30172</td><td>Store [{store}] can't change default region to [{region}]</td></tr></table>

func NewUpdateStoreConflict

func NewUpdateStoreConflict() *UpdateStoreConflict

NewUpdateStoreConflict creates a UpdateStoreConflict with default headers values

func (*UpdateStoreConflict) Error

func (o *UpdateStoreConflict) Error() string

func (*UpdateStoreConflict) GetPayload

type UpdateStoreNotFound

type UpdateStoreNotFound struct {
	Payload *platformclientmodels.ErrorEntity
}

UpdateStoreNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>30141</td><td>Store [{storeId}] does not exist in namespace [{namespace}]</td></tr></table>

func NewUpdateStoreNotFound

func NewUpdateStoreNotFound() *UpdateStoreNotFound

NewUpdateStoreNotFound creates a UpdateStoreNotFound with default headers values

func (*UpdateStoreNotFound) Error

func (o *UpdateStoreNotFound) Error() string

func (*UpdateStoreNotFound) GetPayload

type UpdateStoreOK

type UpdateStoreOK struct {
	Payload *platformclientmodels.StoreInfo
}

UpdateStoreOK handles this case with default header values.

successful operation

func NewUpdateStoreOK

func NewUpdateStoreOK() *UpdateStoreOK

NewUpdateStoreOK creates a UpdateStoreOK with default headers values

func (*UpdateStoreOK) Error

func (o *UpdateStoreOK) Error() string

func (*UpdateStoreOK) GetPayload

func (o *UpdateStoreOK) GetPayload() *platformclientmodels.StoreInfo

type UpdateStoreParams

type UpdateStoreParams struct {

	/*Body*/
	Body *platformclientmodels.StoreUpdate
	/*Namespace*/
	Namespace string
	/*StoreID*/
	StoreID string

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

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

func NewUpdateStoreParams

func NewUpdateStoreParams() *UpdateStoreParams

NewUpdateStoreParams creates a new UpdateStoreParams object with the default values initialized.

func NewUpdateStoreParamsWithContext

func NewUpdateStoreParamsWithContext(ctx context.Context) *UpdateStoreParams

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

func NewUpdateStoreParamsWithHTTPClient

func NewUpdateStoreParamsWithHTTPClient(client *http.Client) *UpdateStoreParams

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

func NewUpdateStoreParamsWithTimeout

func NewUpdateStoreParamsWithTimeout(timeout time.Duration) *UpdateStoreParams

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

func (*UpdateStoreParams) SetBody

SetBody adds the body to the update store params

func (*UpdateStoreParams) SetContext

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

SetContext adds the context to the update store params

func (*UpdateStoreParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update store params

func (*UpdateStoreParams) SetNamespace

func (o *UpdateStoreParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the update store params

func (*UpdateStoreParams) SetStoreID

func (o *UpdateStoreParams) SetStoreID(storeID string)

SetStoreID adds the storeId to the update store params

func (*UpdateStoreParams) SetTimeout

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

SetTimeout adds the timeout to the update store params

func (*UpdateStoreParams) WithBody

WithBody adds the body to the update store params

func (*UpdateStoreParams) WithContext

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

WithContext adds the context to the update store params

func (*UpdateStoreParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update store params

func (*UpdateStoreParams) WithNamespace

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

WithNamespace adds the namespace to the update store params

func (*UpdateStoreParams) WithStoreID

func (o *UpdateStoreParams) WithStoreID(storeID string) *UpdateStoreParams

WithStoreID adds the storeID to the update store params

func (*UpdateStoreParams) WithTimeout

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

WithTimeout adds the timeout to the update store params

func (*UpdateStoreParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateStoreReader

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

UpdateStoreReader is a Reader for the UpdateStore structure.

func (*UpdateStoreReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateStoreUnprocessableEntity

type UpdateStoreUnprocessableEntity struct {
	Payload *platformclientmodels.ValidationErrorEntity
}

UpdateStoreUnprocessableEntity handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>20002</td><td>validation error</td></tr></table>

func NewUpdateStoreUnprocessableEntity

func NewUpdateStoreUnprocessableEntity() *UpdateStoreUnprocessableEntity

NewUpdateStoreUnprocessableEntity creates a UpdateStoreUnprocessableEntity with default headers values

func (*UpdateStoreUnprocessableEntity) Error

func (*UpdateStoreUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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