Documentation ¶
Index ¶
- type Client
- func (a *Client) CloneStore(params *CloneStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CloneStoreOK, *CloneStoreBadRequest, *CloneStoreNotFound, error)
- func (a *Client) CreateStore(params *CreateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStoreCreated, *CreateStoreUnprocessableEntity, error)
- func (a *Client) DeletePublishedStore(params *DeletePublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePublishedStoreOK, *DeletePublishedStoreNotFound, error)
- func (a *Client) DeleteStore(params *DeleteStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStoreOK, *DeleteStoreNotFound, *DeleteStoreConflict, error)
- func (a *Client) ExportStore(params *ExportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ExportStoreNotFound, error)
- func (a *Client) GetPublishedStore(params *GetPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreOK, *GetPublishedStoreNotFound, error)
- func (a *Client) GetPublishedStoreBackup(params *GetPublishedStoreBackupParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreBackupOK, *GetPublishedStoreBackupNotFound, error)
- func (a *Client) GetStore(params *GetStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetStoreOK, *GetStoreNotFound, error)
- func (a *Client) ImportStore(params *ImportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreOK, *ImportStoreBadRequest, *ImportStoreNotFound, error)
- func (a *Client) ListStores(params *ListStoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListStoresOK, error)
- func (a *Client) PublicListStores(params *PublicListStoresParams) (*PublicListStoresOK, error)
- func (a *Client) RollbackPublishedStore(params *RollbackPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackPublishedStoreOK, *RollbackPublishedStoreNotFound, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateStore(params *UpdateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStoreOK, *UpdateStoreNotFound, *UpdateStoreConflict, ...)
- type ClientService
- type CloneStoreBadRequest
- type CloneStoreNotFound
- type CloneStoreOK
- type CloneStoreParams
- func (o *CloneStoreParams) SetContext(ctx context.Context)
- func (o *CloneStoreParams) SetHTTPClient(client *http.Client)
- func (o *CloneStoreParams) SetNamespace(namespace string)
- func (o *CloneStoreParams) SetStoreID(storeID string)
- func (o *CloneStoreParams) SetTargetStoreID(targetStoreID *string)
- func (o *CloneStoreParams) SetTimeout(timeout time.Duration)
- func (o *CloneStoreParams) WithContext(ctx context.Context) *CloneStoreParams
- func (o *CloneStoreParams) WithHTTPClient(client *http.Client) *CloneStoreParams
- func (o *CloneStoreParams) WithNamespace(namespace string) *CloneStoreParams
- func (o *CloneStoreParams) WithStoreID(storeID string) *CloneStoreParams
- func (o *CloneStoreParams) WithTargetStoreID(targetStoreID *string) *CloneStoreParams
- func (o *CloneStoreParams) WithTimeout(timeout time.Duration) *CloneStoreParams
- func (o *CloneStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CloneStoreReader
- type CreateStoreCreated
- type CreateStoreParams
- func (o *CreateStoreParams) SetBody(body *platformclientmodels.StoreCreate)
- func (o *CreateStoreParams) SetContext(ctx context.Context)
- func (o *CreateStoreParams) SetHTTPClient(client *http.Client)
- func (o *CreateStoreParams) SetNamespace(namespace string)
- func (o *CreateStoreParams) SetTimeout(timeout time.Duration)
- func (o *CreateStoreParams) WithBody(body *platformclientmodels.StoreCreate) *CreateStoreParams
- func (o *CreateStoreParams) WithContext(ctx context.Context) *CreateStoreParams
- func (o *CreateStoreParams) WithHTTPClient(client *http.Client) *CreateStoreParams
- func (o *CreateStoreParams) WithNamespace(namespace string) *CreateStoreParams
- func (o *CreateStoreParams) WithTimeout(timeout time.Duration) *CreateStoreParams
- func (o *CreateStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateStoreReader
- type CreateStoreUnprocessableEntity
- type DeletePublishedStoreNotFound
- type DeletePublishedStoreOK
- type DeletePublishedStoreParams
- func NewDeletePublishedStoreParams() *DeletePublishedStoreParams
- func NewDeletePublishedStoreParamsWithContext(ctx context.Context) *DeletePublishedStoreParams
- func NewDeletePublishedStoreParamsWithHTTPClient(client *http.Client) *DeletePublishedStoreParams
- func NewDeletePublishedStoreParamsWithTimeout(timeout time.Duration) *DeletePublishedStoreParams
- func (o *DeletePublishedStoreParams) SetContext(ctx context.Context)
- func (o *DeletePublishedStoreParams) SetHTTPClient(client *http.Client)
- func (o *DeletePublishedStoreParams) SetNamespace(namespace string)
- func (o *DeletePublishedStoreParams) SetTimeout(timeout time.Duration)
- func (o *DeletePublishedStoreParams) WithContext(ctx context.Context) *DeletePublishedStoreParams
- func (o *DeletePublishedStoreParams) WithHTTPClient(client *http.Client) *DeletePublishedStoreParams
- func (o *DeletePublishedStoreParams) WithNamespace(namespace string) *DeletePublishedStoreParams
- func (o *DeletePublishedStoreParams) WithTimeout(timeout time.Duration) *DeletePublishedStoreParams
- func (o *DeletePublishedStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePublishedStoreReader
- type DeleteStoreConflict
- type DeleteStoreNotFound
- type DeleteStoreOK
- type DeleteStoreParams
- func (o *DeleteStoreParams) SetContext(ctx context.Context)
- func (o *DeleteStoreParams) SetHTTPClient(client *http.Client)
- func (o *DeleteStoreParams) SetNamespace(namespace string)
- func (o *DeleteStoreParams) SetStoreID(storeID string)
- func (o *DeleteStoreParams) SetTimeout(timeout time.Duration)
- func (o *DeleteStoreParams) WithContext(ctx context.Context) *DeleteStoreParams
- func (o *DeleteStoreParams) WithHTTPClient(client *http.Client) *DeleteStoreParams
- func (o *DeleteStoreParams) WithNamespace(namespace string) *DeleteStoreParams
- func (o *DeleteStoreParams) WithStoreID(storeID string) *DeleteStoreParams
- func (o *DeleteStoreParams) WithTimeout(timeout time.Duration) *DeleteStoreParams
- func (o *DeleteStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteStoreReader
- type ExportStoreNotFound
- type ExportStoreParams
- func (o *ExportStoreParams) SetContext(ctx context.Context)
- func (o *ExportStoreParams) SetHTTPClient(client *http.Client)
- func (o *ExportStoreParams) SetNamespace(namespace string)
- func (o *ExportStoreParams) SetStoreID(storeID string)
- func (o *ExportStoreParams) SetTimeout(timeout time.Duration)
- func (o *ExportStoreParams) WithContext(ctx context.Context) *ExportStoreParams
- func (o *ExportStoreParams) WithHTTPClient(client *http.Client) *ExportStoreParams
- func (o *ExportStoreParams) WithNamespace(namespace string) *ExportStoreParams
- func (o *ExportStoreParams) WithStoreID(storeID string) *ExportStoreParams
- func (o *ExportStoreParams) WithTimeout(timeout time.Duration) *ExportStoreParams
- func (o *ExportStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportStoreReader
- type GetPublishedStoreBackupNotFound
- type GetPublishedStoreBackupOK
- type GetPublishedStoreBackupParams
- func NewGetPublishedStoreBackupParams() *GetPublishedStoreBackupParams
- func NewGetPublishedStoreBackupParamsWithContext(ctx context.Context) *GetPublishedStoreBackupParams
- func NewGetPublishedStoreBackupParamsWithHTTPClient(client *http.Client) *GetPublishedStoreBackupParams
- func NewGetPublishedStoreBackupParamsWithTimeout(timeout time.Duration) *GetPublishedStoreBackupParams
- func (o *GetPublishedStoreBackupParams) SetContext(ctx context.Context)
- func (o *GetPublishedStoreBackupParams) SetHTTPClient(client *http.Client)
- func (o *GetPublishedStoreBackupParams) SetNamespace(namespace string)
- func (o *GetPublishedStoreBackupParams) SetTimeout(timeout time.Duration)
- func (o *GetPublishedStoreBackupParams) WithContext(ctx context.Context) *GetPublishedStoreBackupParams
- func (o *GetPublishedStoreBackupParams) WithHTTPClient(client *http.Client) *GetPublishedStoreBackupParams
- func (o *GetPublishedStoreBackupParams) WithNamespace(namespace string) *GetPublishedStoreBackupParams
- func (o *GetPublishedStoreBackupParams) WithTimeout(timeout time.Duration) *GetPublishedStoreBackupParams
- func (o *GetPublishedStoreBackupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublishedStoreBackupReader
- type GetPublishedStoreNotFound
- type GetPublishedStoreOK
- type GetPublishedStoreParams
- func NewGetPublishedStoreParams() *GetPublishedStoreParams
- func NewGetPublishedStoreParamsWithContext(ctx context.Context) *GetPublishedStoreParams
- func NewGetPublishedStoreParamsWithHTTPClient(client *http.Client) *GetPublishedStoreParams
- func NewGetPublishedStoreParamsWithTimeout(timeout time.Duration) *GetPublishedStoreParams
- func (o *GetPublishedStoreParams) SetContext(ctx context.Context)
- func (o *GetPublishedStoreParams) SetHTTPClient(client *http.Client)
- func (o *GetPublishedStoreParams) SetNamespace(namespace string)
- func (o *GetPublishedStoreParams) SetTimeout(timeout time.Duration)
- func (o *GetPublishedStoreParams) WithContext(ctx context.Context) *GetPublishedStoreParams
- func (o *GetPublishedStoreParams) WithHTTPClient(client *http.Client) *GetPublishedStoreParams
- func (o *GetPublishedStoreParams) WithNamespace(namespace string) *GetPublishedStoreParams
- func (o *GetPublishedStoreParams) WithTimeout(timeout time.Duration) *GetPublishedStoreParams
- func (o *GetPublishedStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublishedStoreReader
- type GetStoreNotFound
- type GetStoreOK
- type GetStoreParams
- func (o *GetStoreParams) SetContext(ctx context.Context)
- func (o *GetStoreParams) SetHTTPClient(client *http.Client)
- func (o *GetStoreParams) SetNamespace(namespace string)
- func (o *GetStoreParams) SetStoreID(storeID string)
- func (o *GetStoreParams) SetTimeout(timeout time.Duration)
- func (o *GetStoreParams) WithContext(ctx context.Context) *GetStoreParams
- func (o *GetStoreParams) WithHTTPClient(client *http.Client) *GetStoreParams
- func (o *GetStoreParams) WithNamespace(namespace string) *GetStoreParams
- func (o *GetStoreParams) WithStoreID(storeID string) *GetStoreParams
- func (o *GetStoreParams) WithTimeout(timeout time.Duration) *GetStoreParams
- func (o *GetStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetStoreReader
- type ImportStoreBadRequest
- type ImportStoreNotFound
- type ImportStoreOK
- type ImportStoreParams
- func (o *ImportStoreParams) SetContext(ctx context.Context)
- func (o *ImportStoreParams) SetFile(file runtime.NamedReadCloser)
- func (o *ImportStoreParams) SetHTTPClient(client *http.Client)
- func (o *ImportStoreParams) SetNamespace(namespace string)
- func (o *ImportStoreParams) SetStoreID(storeID *string)
- func (o *ImportStoreParams) SetTimeout(timeout time.Duration)
- func (o *ImportStoreParams) WithContext(ctx context.Context) *ImportStoreParams
- func (o *ImportStoreParams) WithFile(file runtime.NamedReadCloser) *ImportStoreParams
- func (o *ImportStoreParams) WithHTTPClient(client *http.Client) *ImportStoreParams
- func (o *ImportStoreParams) WithNamespace(namespace string) *ImportStoreParams
- func (o *ImportStoreParams) WithStoreID(storeID *string) *ImportStoreParams
- func (o *ImportStoreParams) WithTimeout(timeout time.Duration) *ImportStoreParams
- func (o *ImportStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ImportStoreReader
- type ListStoresOK
- type ListStoresParams
- func (o *ListStoresParams) SetContext(ctx context.Context)
- func (o *ListStoresParams) SetHTTPClient(client *http.Client)
- func (o *ListStoresParams) SetNamespace(namespace string)
- func (o *ListStoresParams) SetTimeout(timeout time.Duration)
- func (o *ListStoresParams) WithContext(ctx context.Context) *ListStoresParams
- func (o *ListStoresParams) WithHTTPClient(client *http.Client) *ListStoresParams
- func (o *ListStoresParams) WithNamespace(namespace string) *ListStoresParams
- func (o *ListStoresParams) WithTimeout(timeout time.Duration) *ListStoresParams
- func (o *ListStoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListStoresReader
- type PublicListStoresOK
- type PublicListStoresParams
- func NewPublicListStoresParams() *PublicListStoresParams
- func NewPublicListStoresParamsWithContext(ctx context.Context) *PublicListStoresParams
- func NewPublicListStoresParamsWithHTTPClient(client *http.Client) *PublicListStoresParams
- func NewPublicListStoresParamsWithTimeout(timeout time.Duration) *PublicListStoresParams
- func (o *PublicListStoresParams) SetContext(ctx context.Context)
- func (o *PublicListStoresParams) SetHTTPClient(client *http.Client)
- func (o *PublicListStoresParams) SetNamespace(namespace string)
- func (o *PublicListStoresParams) SetTimeout(timeout time.Duration)
- func (o *PublicListStoresParams) WithContext(ctx context.Context) *PublicListStoresParams
- func (o *PublicListStoresParams) WithHTTPClient(client *http.Client) *PublicListStoresParams
- func (o *PublicListStoresParams) WithNamespace(namespace string) *PublicListStoresParams
- func (o *PublicListStoresParams) WithTimeout(timeout time.Duration) *PublicListStoresParams
- func (o *PublicListStoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListStoresReader
- type RollbackPublishedStoreNotFound
- type RollbackPublishedStoreOK
- type RollbackPublishedStoreParams
- func NewRollbackPublishedStoreParams() *RollbackPublishedStoreParams
- func NewRollbackPublishedStoreParamsWithContext(ctx context.Context) *RollbackPublishedStoreParams
- func NewRollbackPublishedStoreParamsWithHTTPClient(client *http.Client) *RollbackPublishedStoreParams
- func NewRollbackPublishedStoreParamsWithTimeout(timeout time.Duration) *RollbackPublishedStoreParams
- func (o *RollbackPublishedStoreParams) SetContext(ctx context.Context)
- func (o *RollbackPublishedStoreParams) SetHTTPClient(client *http.Client)
- func (o *RollbackPublishedStoreParams) SetNamespace(namespace string)
- func (o *RollbackPublishedStoreParams) SetTimeout(timeout time.Duration)
- func (o *RollbackPublishedStoreParams) WithContext(ctx context.Context) *RollbackPublishedStoreParams
- func (o *RollbackPublishedStoreParams) WithHTTPClient(client *http.Client) *RollbackPublishedStoreParams
- func (o *RollbackPublishedStoreParams) WithNamespace(namespace string) *RollbackPublishedStoreParams
- func (o *RollbackPublishedStoreParams) WithTimeout(timeout time.Duration) *RollbackPublishedStoreParams
- func (o *RollbackPublishedStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RollbackPublishedStoreReader
- type UpdateStoreConflict
- type UpdateStoreNotFound
- type UpdateStoreOK
- type UpdateStoreParams
- func (o *UpdateStoreParams) SetBody(body *platformclientmodels.StoreUpdate)
- func (o *UpdateStoreParams) SetContext(ctx context.Context)
- func (o *UpdateStoreParams) SetHTTPClient(client *http.Client)
- func (o *UpdateStoreParams) SetNamespace(namespace string)
- func (o *UpdateStoreParams) SetStoreID(storeID string)
- func (o *UpdateStoreParams) SetTimeout(timeout time.Duration)
- func (o *UpdateStoreParams) WithBody(body *platformclientmodels.StoreUpdate) *UpdateStoreParams
- func (o *UpdateStoreParams) WithContext(ctx context.Context) *UpdateStoreParams
- func (o *UpdateStoreParams) WithHTTPClient(client *http.Client) *UpdateStoreParams
- func (o *UpdateStoreParams) WithNamespace(namespace string) *UpdateStoreParams
- func (o *UpdateStoreParams) WithStoreID(storeID string) *UpdateStoreParams
- func (o *UpdateStoreParams) WithTimeout(timeout time.Duration) *UpdateStoreParams
- func (o *UpdateStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateStoreReader
- type UpdateStoreUnprocessableEntity
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 ¶
func (a *Client) CloneStore(params *CloneStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CloneStoreOK, *CloneStoreBadRequest, *CloneStoreNotFound, error)
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 ¶
func (a *Client) CreateStore(params *CreateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*CreateStoreCreated, *CreateStoreUnprocessableEntity, error)
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 ¶
func (a *Client) DeletePublishedStore(params *DeletePublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeletePublishedStoreOK, *DeletePublishedStoreNotFound, error)
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 ¶
func (a *Client) DeleteStore(params *DeleteStoreParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteStoreOK, *DeleteStoreNotFound, *DeleteStoreConflict, error)
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 ¶
func (a *Client) GetPublishedStore(params *GetPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreOK, *GetPublishedStoreNotFound, error)
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 ¶
func (a *Client) GetPublishedStoreBackup(params *GetPublishedStoreBackupParams, authInfo runtime.ClientAuthInfoWriter) (*GetPublishedStoreBackupOK, *GetPublishedStoreBackupNotFound, error)
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 ¶
func (a *Client) ImportStore(params *ImportStoreParams, authInfo runtime.ClientAuthInfoWriter) (*ImportStoreOK, *ImportStoreBadRequest, *ImportStoreNotFound, error)
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 ¶
func (a *Client) RollbackPublishedStore(params *RollbackPublishedStoreParams, authInfo runtime.ClientAuthInfoWriter) (*RollbackPublishedStoreOK, *RollbackPublishedStoreNotFound, error)
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 ¶
func (a *Client) UpdateStore(params *UpdateStoreParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateStoreOK, *UpdateStoreNotFound, *UpdateStoreConflict, *UpdateStoreUnprocessableEntity, error)
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 ¶
func (o *CloneStoreBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *CloneStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *CreateStoreCreated) GetPayload() *platformclientmodels.StoreInfo
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 ¶
func (o *CreateStoreParams) SetBody(body *platformclientmodels.StoreCreate)
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 ¶
func (o *CreateStoreParams) WithBody(body *platformclientmodels.StoreCreate) *CreateStoreParams
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 (o *CreateStoreUnprocessableEntity) Error() string
func (*CreateStoreUnprocessableEntity) GetPayload ¶
func (o *CreateStoreUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
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 (o *DeletePublishedStoreNotFound) Error() string
func (*DeletePublishedStoreNotFound) GetPayload ¶
func (o *DeletePublishedStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *DeletePublishedStoreOK) GetPayload() *platformclientmodels.StoreInfo
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 ¶
func (o *DeletePublishedStoreParams) WithContext(ctx context.Context) *DeletePublishedStoreParams
WithContext adds the context to the delete published store params
func (*DeletePublishedStoreParams) WithHTTPClient ¶
func (o *DeletePublishedStoreParams) WithHTTPClient(client *http.Client) *DeletePublishedStoreParams
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 ¶
func (o *DeletePublishedStoreParams) WithTimeout(timeout time.Duration) *DeletePublishedStoreParams
WithTimeout adds the timeout to the delete published store params
func (*DeletePublishedStoreParams) WriteToRequest ¶
func (o *DeletePublishedStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteStoreConflict) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *DeleteStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *ExportStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 (o *GetPublishedStoreBackupNotFound) Error() string
func (*GetPublishedStoreBackupNotFound) GetPayload ¶
func (o *GetPublishedStoreBackupNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *GetPublishedStoreBackupOK) GetPayload() *platformclientmodels.StoreBackupInfo
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 ¶
func (o *GetPublishedStoreBackupParams) WithContext(ctx context.Context) *GetPublishedStoreBackupParams
WithContext adds the context to the get published store backup params
func (*GetPublishedStoreBackupParams) WithHTTPClient ¶
func (o *GetPublishedStoreBackupParams) WithHTTPClient(client *http.Client) *GetPublishedStoreBackupParams
WithHTTPClient adds the HTTPClient to the get published store backup params
func (*GetPublishedStoreBackupParams) WithNamespace ¶
func (o *GetPublishedStoreBackupParams) WithNamespace(namespace string) *GetPublishedStoreBackupParams
WithNamespace adds the namespace to the get published store backup params
func (*GetPublishedStoreBackupParams) WithTimeout ¶
func (o *GetPublishedStoreBackupParams) WithTimeout(timeout time.Duration) *GetPublishedStoreBackupParams
WithTimeout adds the timeout to the get published store backup params
func (*GetPublishedStoreBackupParams) WriteToRequest ¶
func (o *GetPublishedStoreBackupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetPublishedStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *GetPublishedStoreOK) GetPayload() *platformclientmodels.StoreInfo
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 ¶
func (o *GetPublishedStoreParams) WithContext(ctx context.Context) *GetPublishedStoreParams
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 ¶
func (o *GetPublishedStoreParams) WithTimeout(timeout time.Duration) *GetPublishedStoreParams
WithTimeout adds the timeout to the get published store params
func (*GetPublishedStoreParams) WriteToRequest ¶
func (o *GetPublishedStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *ImportStoreBadRequest) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *ImportStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *ImportStoreParams) WithFile(file runtime.NamedReadCloser) *ImportStoreParams
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 ¶
func (o *PublicListStoresOK) GetPayload() []*platformclientmodels.StoreInfo
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 ¶
func (o *PublicListStoresParams) WithContext(ctx context.Context) *PublicListStoresParams
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 ¶
func (o *PublicListStoresParams) WithTimeout(timeout time.Duration) *PublicListStoresParams
WithTimeout adds the timeout to the public list stores params
func (*PublicListStoresParams) WriteToRequest ¶
func (o *PublicListStoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *RollbackPublishedStoreNotFound) Error() string
func (*RollbackPublishedStoreNotFound) GetPayload ¶
func (o *RollbackPublishedStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *RollbackPublishedStoreOK) GetPayload() *platformclientmodels.StoreInfo
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 ¶
func (o *RollbackPublishedStoreParams) WithContext(ctx context.Context) *RollbackPublishedStoreParams
WithContext adds the context to the rollback published store params
func (*RollbackPublishedStoreParams) WithHTTPClient ¶
func (o *RollbackPublishedStoreParams) WithHTTPClient(client *http.Client) *RollbackPublishedStoreParams
WithHTTPClient adds the HTTPClient to the rollback published store params
func (*RollbackPublishedStoreParams) WithNamespace ¶
func (o *RollbackPublishedStoreParams) WithNamespace(namespace string) *RollbackPublishedStoreParams
WithNamespace adds the namespace to the rollback published store params
func (*RollbackPublishedStoreParams) WithTimeout ¶
func (o *RollbackPublishedStoreParams) WithTimeout(timeout time.Duration) *RollbackPublishedStoreParams
WithTimeout adds the timeout to the rollback published store params
func (*RollbackPublishedStoreParams) WriteToRequest ¶
func (o *RollbackPublishedStoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateStoreConflict) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *UpdateStoreNotFound) GetPayload() *platformclientmodels.ErrorEntity
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 ¶
func (o *UpdateStoreParams) SetBody(body *platformclientmodels.StoreUpdate)
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 ¶
func (o *UpdateStoreParams) WithBody(body *platformclientmodels.StoreUpdate) *UpdateStoreParams
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 (o *UpdateStoreUnprocessableEntity) Error() string
func (*UpdateStoreUnprocessableEntity) GetPayload ¶
func (o *UpdateStoreUnprocessableEntity) GetPayload() *platformclientmodels.ValidationErrorEntity
Source Files ¶
- clone_store_parameters.go
- clone_store_responses.go
- create_store_parameters.go
- create_store_responses.go
- delete_published_store_parameters.go
- delete_published_store_responses.go
- delete_store_parameters.go
- delete_store_responses.go
- export_store_parameters.go
- export_store_responses.go
- get_published_store_backup_parameters.go
- get_published_store_backup_responses.go
- get_published_store_parameters.go
- get_published_store_responses.go
- get_store_parameters.go
- get_store_responses.go
- import_store_parameters.go
- import_store_responses.go
- list_stores_parameters.go
- list_stores_responses.go
- public_list_stores_parameters.go
- public_list_stores_responses.go
- rollback_published_store_parameters.go
- rollback_published_store_responses.go
- store_client.go
- update_store_parameters.go
- update_store_responses.go