Documentation
¶
Index ¶
- type Client
- func (a *Client) ExportCancel(params *ExportCancelParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportCancelNoContent, error)
- func (a *Client) ExportCreate(params *ExportCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportCreateOK, error)
- func (a *Client) ExportStatus(params *ExportStatusParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ExportStatusOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ExportCancelConflict
- func (o *ExportCancelConflict) Code() int
- func (o *ExportCancelConflict) Error() string
- func (o *ExportCancelConflict) GetPayload() *models.ErrorResponse
- func (o *ExportCancelConflict) IsClientError() bool
- func (o *ExportCancelConflict) IsCode(code int) bool
- func (o *ExportCancelConflict) IsRedirect() bool
- func (o *ExportCancelConflict) IsServerError() bool
- func (o *ExportCancelConflict) IsSuccess() bool
- func (o *ExportCancelConflict) String() string
- type ExportCancelForbidden
- func (o *ExportCancelForbidden) Code() int
- func (o *ExportCancelForbidden) Error() string
- func (o *ExportCancelForbidden) GetPayload() *models.ErrorResponse
- func (o *ExportCancelForbidden) IsClientError() bool
- func (o *ExportCancelForbidden) IsCode(code int) bool
- func (o *ExportCancelForbidden) IsRedirect() bool
- func (o *ExportCancelForbidden) IsServerError() bool
- func (o *ExportCancelForbidden) IsSuccess() bool
- func (o *ExportCancelForbidden) String() string
- type ExportCancelInternalServerError
- func (o *ExportCancelInternalServerError) Code() int
- func (o *ExportCancelInternalServerError) Error() string
- func (o *ExportCancelInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ExportCancelInternalServerError) IsClientError() bool
- func (o *ExportCancelInternalServerError) IsCode(code int) bool
- func (o *ExportCancelInternalServerError) IsRedirect() bool
- func (o *ExportCancelInternalServerError) IsServerError() bool
- func (o *ExportCancelInternalServerError) IsSuccess() bool
- func (o *ExportCancelInternalServerError) String() string
- type ExportCancelNoContent
- func (o *ExportCancelNoContent) Code() int
- func (o *ExportCancelNoContent) Error() string
- func (o *ExportCancelNoContent) IsClientError() bool
- func (o *ExportCancelNoContent) IsCode(code int) bool
- func (o *ExportCancelNoContent) IsRedirect() bool
- func (o *ExportCancelNoContent) IsServerError() bool
- func (o *ExportCancelNoContent) IsSuccess() bool
- func (o *ExportCancelNoContent) String() string
- type ExportCancelNotFound
- func (o *ExportCancelNotFound) Code() int
- func (o *ExportCancelNotFound) Error() string
- func (o *ExportCancelNotFound) GetPayload() *models.ErrorResponse
- func (o *ExportCancelNotFound) IsClientError() bool
- func (o *ExportCancelNotFound) IsCode(code int) bool
- func (o *ExportCancelNotFound) IsRedirect() bool
- func (o *ExportCancelNotFound) IsServerError() bool
- func (o *ExportCancelNotFound) IsSuccess() bool
- func (o *ExportCancelNotFound) String() string
- type ExportCancelParams
- func (o *ExportCancelParams) SetBackend(backend string)
- func (o *ExportCancelParams) SetContext(ctx context.Context)
- func (o *ExportCancelParams) SetDefaults()
- func (o *ExportCancelParams) SetHTTPClient(client *http.Client)
- func (o *ExportCancelParams) SetID(id string)
- func (o *ExportCancelParams) SetPath(path *string)
- func (o *ExportCancelParams) SetTimeout(timeout time.Duration)
- func (o *ExportCancelParams) WithBackend(backend string) *ExportCancelParams
- func (o *ExportCancelParams) WithContext(ctx context.Context) *ExportCancelParams
- func (o *ExportCancelParams) WithDefaults() *ExportCancelParams
- func (o *ExportCancelParams) WithHTTPClient(client *http.Client) *ExportCancelParams
- func (o *ExportCancelParams) WithID(id string) *ExportCancelParams
- func (o *ExportCancelParams) WithPath(path *string) *ExportCancelParams
- func (o *ExportCancelParams) WithTimeout(timeout time.Duration) *ExportCancelParams
- func (o *ExportCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportCancelReader
- type ExportCancelUnauthorized
- func (o *ExportCancelUnauthorized) Code() int
- func (o *ExportCancelUnauthorized) Error() string
- func (o *ExportCancelUnauthorized) IsClientError() bool
- func (o *ExportCancelUnauthorized) IsCode(code int) bool
- func (o *ExportCancelUnauthorized) IsRedirect() bool
- func (o *ExportCancelUnauthorized) IsServerError() bool
- func (o *ExportCancelUnauthorized) IsSuccess() bool
- func (o *ExportCancelUnauthorized) String() string
- type ExportCancelUnprocessableEntity
- func (o *ExportCancelUnprocessableEntity) Code() int
- func (o *ExportCancelUnprocessableEntity) Error() string
- func (o *ExportCancelUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ExportCancelUnprocessableEntity) IsClientError() bool
- func (o *ExportCancelUnprocessableEntity) IsCode(code int) bool
- func (o *ExportCancelUnprocessableEntity) IsRedirect() bool
- func (o *ExportCancelUnprocessableEntity) IsServerError() bool
- func (o *ExportCancelUnprocessableEntity) IsSuccess() bool
- func (o *ExportCancelUnprocessableEntity) String() string
- type ExportCreateConflict
- func (o *ExportCreateConflict) Code() int
- func (o *ExportCreateConflict) Error() string
- func (o *ExportCreateConflict) GetPayload() *models.ErrorResponse
- func (o *ExportCreateConflict) IsClientError() bool
- func (o *ExportCreateConflict) IsCode(code int) bool
- func (o *ExportCreateConflict) IsRedirect() bool
- func (o *ExportCreateConflict) IsServerError() bool
- func (o *ExportCreateConflict) IsSuccess() bool
- func (o *ExportCreateConflict) String() string
- type ExportCreateForbidden
- func (o *ExportCreateForbidden) Code() int
- func (o *ExportCreateForbidden) Error() string
- func (o *ExportCreateForbidden) GetPayload() *models.ErrorResponse
- func (o *ExportCreateForbidden) IsClientError() bool
- func (o *ExportCreateForbidden) IsCode(code int) bool
- func (o *ExportCreateForbidden) IsRedirect() bool
- func (o *ExportCreateForbidden) IsServerError() bool
- func (o *ExportCreateForbidden) IsSuccess() bool
- func (o *ExportCreateForbidden) String() string
- type ExportCreateInternalServerError
- func (o *ExportCreateInternalServerError) Code() int
- func (o *ExportCreateInternalServerError) Error() string
- func (o *ExportCreateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ExportCreateInternalServerError) IsClientError() bool
- func (o *ExportCreateInternalServerError) IsCode(code int) bool
- func (o *ExportCreateInternalServerError) IsRedirect() bool
- func (o *ExportCreateInternalServerError) IsServerError() bool
- func (o *ExportCreateInternalServerError) IsSuccess() bool
- func (o *ExportCreateInternalServerError) String() string
- type ExportCreateOK
- func (o *ExportCreateOK) Code() int
- func (o *ExportCreateOK) Error() string
- func (o *ExportCreateOK) GetPayload() *models.ExportCreateResponse
- func (o *ExportCreateOK) IsClientError() bool
- func (o *ExportCreateOK) IsCode(code int) bool
- func (o *ExportCreateOK) IsRedirect() bool
- func (o *ExportCreateOK) IsServerError() bool
- func (o *ExportCreateOK) IsSuccess() bool
- func (o *ExportCreateOK) String() string
- type ExportCreateParams
- func (o *ExportCreateParams) SetBackend(backend string)
- func (o *ExportCreateParams) SetBody(body *models.ExportCreateRequest)
- func (o *ExportCreateParams) SetContext(ctx context.Context)
- func (o *ExportCreateParams) SetDefaults()
- func (o *ExportCreateParams) SetHTTPClient(client *http.Client)
- func (o *ExportCreateParams) SetTimeout(timeout time.Duration)
- func (o *ExportCreateParams) WithBackend(backend string) *ExportCreateParams
- func (o *ExportCreateParams) WithBody(body *models.ExportCreateRequest) *ExportCreateParams
- func (o *ExportCreateParams) WithContext(ctx context.Context) *ExportCreateParams
- func (o *ExportCreateParams) WithDefaults() *ExportCreateParams
- func (o *ExportCreateParams) WithHTTPClient(client *http.Client) *ExportCreateParams
- func (o *ExportCreateParams) WithTimeout(timeout time.Duration) *ExportCreateParams
- func (o *ExportCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportCreateReader
- type ExportCreateUnauthorized
- func (o *ExportCreateUnauthorized) Code() int
- func (o *ExportCreateUnauthorized) Error() string
- func (o *ExportCreateUnauthorized) IsClientError() bool
- func (o *ExportCreateUnauthorized) IsCode(code int) bool
- func (o *ExportCreateUnauthorized) IsRedirect() bool
- func (o *ExportCreateUnauthorized) IsServerError() bool
- func (o *ExportCreateUnauthorized) IsSuccess() bool
- func (o *ExportCreateUnauthorized) String() string
- type ExportCreateUnprocessableEntity
- func (o *ExportCreateUnprocessableEntity) Code() int
- func (o *ExportCreateUnprocessableEntity) Error() string
- func (o *ExportCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ExportCreateUnprocessableEntity) IsClientError() bool
- func (o *ExportCreateUnprocessableEntity) IsCode(code int) bool
- func (o *ExportCreateUnprocessableEntity) IsRedirect() bool
- func (o *ExportCreateUnprocessableEntity) IsServerError() bool
- func (o *ExportCreateUnprocessableEntity) IsSuccess() bool
- func (o *ExportCreateUnprocessableEntity) String() string
- type ExportStatusForbidden
- func (o *ExportStatusForbidden) Code() int
- func (o *ExportStatusForbidden) Error() string
- func (o *ExportStatusForbidden) GetPayload() *models.ErrorResponse
- func (o *ExportStatusForbidden) IsClientError() bool
- func (o *ExportStatusForbidden) IsCode(code int) bool
- func (o *ExportStatusForbidden) IsRedirect() bool
- func (o *ExportStatusForbidden) IsServerError() bool
- func (o *ExportStatusForbidden) IsSuccess() bool
- func (o *ExportStatusForbidden) String() string
- type ExportStatusInternalServerError
- func (o *ExportStatusInternalServerError) Code() int
- func (o *ExportStatusInternalServerError) Error() string
- func (o *ExportStatusInternalServerError) GetPayload() *models.ErrorResponse
- func (o *ExportStatusInternalServerError) IsClientError() bool
- func (o *ExportStatusInternalServerError) IsCode(code int) bool
- func (o *ExportStatusInternalServerError) IsRedirect() bool
- func (o *ExportStatusInternalServerError) IsServerError() bool
- func (o *ExportStatusInternalServerError) IsSuccess() bool
- func (o *ExportStatusInternalServerError) String() string
- type ExportStatusNotFound
- func (o *ExportStatusNotFound) Code() int
- func (o *ExportStatusNotFound) Error() string
- func (o *ExportStatusNotFound) GetPayload() *models.ErrorResponse
- func (o *ExportStatusNotFound) IsClientError() bool
- func (o *ExportStatusNotFound) IsCode(code int) bool
- func (o *ExportStatusNotFound) IsRedirect() bool
- func (o *ExportStatusNotFound) IsServerError() bool
- func (o *ExportStatusNotFound) IsSuccess() bool
- func (o *ExportStatusNotFound) String() string
- type ExportStatusOK
- func (o *ExportStatusOK) Code() int
- func (o *ExportStatusOK) Error() string
- func (o *ExportStatusOK) GetPayload() *models.ExportStatusResponse
- func (o *ExportStatusOK) IsClientError() bool
- func (o *ExportStatusOK) IsCode(code int) bool
- func (o *ExportStatusOK) IsRedirect() bool
- func (o *ExportStatusOK) IsServerError() bool
- func (o *ExportStatusOK) IsSuccess() bool
- func (o *ExportStatusOK) String() string
- type ExportStatusParams
- func (o *ExportStatusParams) SetBackend(backend string)
- func (o *ExportStatusParams) SetContext(ctx context.Context)
- func (o *ExportStatusParams) SetDefaults()
- func (o *ExportStatusParams) SetHTTPClient(client *http.Client)
- func (o *ExportStatusParams) SetID(id string)
- func (o *ExportStatusParams) SetPath(path *string)
- func (o *ExportStatusParams) SetTimeout(timeout time.Duration)
- func (o *ExportStatusParams) WithBackend(backend string) *ExportStatusParams
- func (o *ExportStatusParams) WithContext(ctx context.Context) *ExportStatusParams
- func (o *ExportStatusParams) WithDefaults() *ExportStatusParams
- func (o *ExportStatusParams) WithHTTPClient(client *http.Client) *ExportStatusParams
- func (o *ExportStatusParams) WithID(id string) *ExportStatusParams
- func (o *ExportStatusParams) WithPath(path *string) *ExportStatusParams
- func (o *ExportStatusParams) WithTimeout(timeout time.Duration) *ExportStatusParams
- func (o *ExportStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportStatusReader
- type ExportStatusUnauthorized
- func (o *ExportStatusUnauthorized) Code() int
- func (o *ExportStatusUnauthorized) Error() string
- func (o *ExportStatusUnauthorized) IsClientError() bool
- func (o *ExportStatusUnauthorized) IsCode(code int) bool
- func (o *ExportStatusUnauthorized) IsRedirect() bool
- func (o *ExportStatusUnauthorized) IsServerError() bool
- func (o *ExportStatusUnauthorized) IsSuccess() bool
- func (o *ExportStatusUnauthorized) String() string
- type ExportStatusUnprocessableEntity
- func (o *ExportStatusUnprocessableEntity) Code() int
- func (o *ExportStatusUnprocessableEntity) Error() string
- func (o *ExportStatusUnprocessableEntity) GetPayload() *models.ErrorResponse
- func (o *ExportStatusUnprocessableEntity) IsClientError() bool
- func (o *ExportStatusUnprocessableEntity) IsCode(code int) bool
- func (o *ExportStatusUnprocessableEntity) IsRedirect() bool
- func (o *ExportStatusUnprocessableEntity) IsServerError() bool
- func (o *ExportStatusUnprocessableEntity) IsSuccess() bool
- func (o *ExportStatusUnprocessableEntity) String() string
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 export API
func (*Client) ExportCancel ¶
func (a *Client) ExportCancel(params *ExportCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportCancelNoContent, error)
ExportCancel cancels an export
Cancels an ongoing export operation identified by its ID.
func (*Client) ExportCreate ¶
func (a *Client) ExportCreate(params *ExportCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportCreateOK, error)
ExportCreate starts a new export
Initiates an export operation on the specified backend storage (S3, GCS, Azure, or filesystem). The output format is controlled by the required 'file_format' field in the request body (currently only 'parquet' is supported). Each collection is exported to a separate file.
func (*Client) ExportStatus ¶
func (a *Client) ExportStatus(params *ExportStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportStatusOK, error)
ExportStatus gets export status
Retrieves the current status of an export operation, including progress for each collection being exported.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
ExportCancel(params *ExportCancelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportCancelNoContent, error)
ExportCreate(params *ExportCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportCreateOK, error)
ExportStatus(params *ExportStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ExportStatusOK, 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 export API client.
type ExportCancelConflict ¶
type ExportCancelConflict struct {
Payload *models.ErrorResponse
}
ExportCancelConflict describes a response with status code 409, with default header values.
Export has already finished and cannot be cancelled
func NewExportCancelConflict ¶
func NewExportCancelConflict() *ExportCancelConflict
NewExportCancelConflict creates a ExportCancelConflict with default headers values
func (*ExportCancelConflict) Code ¶
func (o *ExportCancelConflict) Code() int
Code gets the status code for the export cancel conflict response
func (*ExportCancelConflict) Error ¶
func (o *ExportCancelConflict) Error() string
func (*ExportCancelConflict) GetPayload ¶
func (o *ExportCancelConflict) GetPayload() *models.ErrorResponse
func (*ExportCancelConflict) IsClientError ¶
func (o *ExportCancelConflict) IsClientError() bool
IsClientError returns true when this export cancel conflict response has a 4xx status code
func (*ExportCancelConflict) IsCode ¶
func (o *ExportCancelConflict) IsCode(code int) bool
IsCode returns true when this export cancel conflict response a status code equal to that given
func (*ExportCancelConflict) IsRedirect ¶
func (o *ExportCancelConflict) IsRedirect() bool
IsRedirect returns true when this export cancel conflict response has a 3xx status code
func (*ExportCancelConflict) IsServerError ¶
func (o *ExportCancelConflict) IsServerError() bool
IsServerError returns true when this export cancel conflict response has a 5xx status code
func (*ExportCancelConflict) IsSuccess ¶
func (o *ExportCancelConflict) IsSuccess() bool
IsSuccess returns true when this export cancel conflict response has a 2xx status code
func (*ExportCancelConflict) String ¶
func (o *ExportCancelConflict) String() string
type ExportCancelForbidden ¶
type ExportCancelForbidden struct {
Payload *models.ErrorResponse
}
ExportCancelForbidden describes a response with status code 403, with default header values.
Forbidden - insufficient permissions
func NewExportCancelForbidden ¶
func NewExportCancelForbidden() *ExportCancelForbidden
NewExportCancelForbidden creates a ExportCancelForbidden with default headers values
func (*ExportCancelForbidden) Code ¶
func (o *ExportCancelForbidden) Code() int
Code gets the status code for the export cancel forbidden response
func (*ExportCancelForbidden) Error ¶
func (o *ExportCancelForbidden) Error() string
func (*ExportCancelForbidden) GetPayload ¶
func (o *ExportCancelForbidden) GetPayload() *models.ErrorResponse
func (*ExportCancelForbidden) IsClientError ¶
func (o *ExportCancelForbidden) IsClientError() bool
IsClientError returns true when this export cancel forbidden response has a 4xx status code
func (*ExportCancelForbidden) IsCode ¶
func (o *ExportCancelForbidden) IsCode(code int) bool
IsCode returns true when this export cancel forbidden response a status code equal to that given
func (*ExportCancelForbidden) IsRedirect ¶
func (o *ExportCancelForbidden) IsRedirect() bool
IsRedirect returns true when this export cancel forbidden response has a 3xx status code
func (*ExportCancelForbidden) IsServerError ¶
func (o *ExportCancelForbidden) IsServerError() bool
IsServerError returns true when this export cancel forbidden response has a 5xx status code
func (*ExportCancelForbidden) IsSuccess ¶
func (o *ExportCancelForbidden) IsSuccess() bool
IsSuccess returns true when this export cancel forbidden response has a 2xx status code
func (*ExportCancelForbidden) String ¶
func (o *ExportCancelForbidden) String() string
type ExportCancelInternalServerError ¶
type ExportCancelInternalServerError struct {
Payload *models.ErrorResponse
}
ExportCancelInternalServerError describes a response with status code 500, with default header values.
Internal server error occurred while cancelling export
func NewExportCancelInternalServerError ¶
func NewExportCancelInternalServerError() *ExportCancelInternalServerError
NewExportCancelInternalServerError creates a ExportCancelInternalServerError with default headers values
func (*ExportCancelInternalServerError) Code ¶
func (o *ExportCancelInternalServerError) Code() int
Code gets the status code for the export cancel internal server error response
func (*ExportCancelInternalServerError) Error ¶
func (o *ExportCancelInternalServerError) Error() string
func (*ExportCancelInternalServerError) GetPayload ¶
func (o *ExportCancelInternalServerError) GetPayload() *models.ErrorResponse
func (*ExportCancelInternalServerError) IsClientError ¶
func (o *ExportCancelInternalServerError) IsClientError() bool
IsClientError returns true when this export cancel internal server error response has a 4xx status code
func (*ExportCancelInternalServerError) IsCode ¶
func (o *ExportCancelInternalServerError) IsCode(code int) bool
IsCode returns true when this export cancel internal server error response a status code equal to that given
func (*ExportCancelInternalServerError) IsRedirect ¶
func (o *ExportCancelInternalServerError) IsRedirect() bool
IsRedirect returns true when this export cancel internal server error response has a 3xx status code
func (*ExportCancelInternalServerError) IsServerError ¶
func (o *ExportCancelInternalServerError) IsServerError() bool
IsServerError returns true when this export cancel internal server error response has a 5xx status code
func (*ExportCancelInternalServerError) IsSuccess ¶
func (o *ExportCancelInternalServerError) IsSuccess() bool
IsSuccess returns true when this export cancel internal server error response has a 2xx status code
func (*ExportCancelInternalServerError) String ¶
func (o *ExportCancelInternalServerError) String() string
type ExportCancelNoContent ¶
type ExportCancelNoContent struct {
}
ExportCancelNoContent describes a response with status code 204, with default header values.
Export cancelled successfully.
func NewExportCancelNoContent ¶
func NewExportCancelNoContent() *ExportCancelNoContent
NewExportCancelNoContent creates a ExportCancelNoContent with default headers values
func (*ExportCancelNoContent) Code ¶
func (o *ExportCancelNoContent) Code() int
Code gets the status code for the export cancel no content response
func (*ExportCancelNoContent) Error ¶
func (o *ExportCancelNoContent) Error() string
func (*ExportCancelNoContent) IsClientError ¶
func (o *ExportCancelNoContent) IsClientError() bool
IsClientError returns true when this export cancel no content response has a 4xx status code
func (*ExportCancelNoContent) IsCode ¶
func (o *ExportCancelNoContent) IsCode(code int) bool
IsCode returns true when this export cancel no content response a status code equal to that given
func (*ExportCancelNoContent) IsRedirect ¶
func (o *ExportCancelNoContent) IsRedirect() bool
IsRedirect returns true when this export cancel no content response has a 3xx status code
func (*ExportCancelNoContent) IsServerError ¶
func (o *ExportCancelNoContent) IsServerError() bool
IsServerError returns true when this export cancel no content response has a 5xx status code
func (*ExportCancelNoContent) IsSuccess ¶
func (o *ExportCancelNoContent) IsSuccess() bool
IsSuccess returns true when this export cancel no content response has a 2xx status code
func (*ExportCancelNoContent) String ¶
func (o *ExportCancelNoContent) String() string
type ExportCancelNotFound ¶
type ExportCancelNotFound struct {
Payload *models.ErrorResponse
}
ExportCancelNotFound describes a response with status code 404, with default header values.
Export not found
func NewExportCancelNotFound ¶
func NewExportCancelNotFound() *ExportCancelNotFound
NewExportCancelNotFound creates a ExportCancelNotFound with default headers values
func (*ExportCancelNotFound) Code ¶
func (o *ExportCancelNotFound) Code() int
Code gets the status code for the export cancel not found response
func (*ExportCancelNotFound) Error ¶
func (o *ExportCancelNotFound) Error() string
func (*ExportCancelNotFound) GetPayload ¶
func (o *ExportCancelNotFound) GetPayload() *models.ErrorResponse
func (*ExportCancelNotFound) IsClientError ¶
func (o *ExportCancelNotFound) IsClientError() bool
IsClientError returns true when this export cancel not found response has a 4xx status code
func (*ExportCancelNotFound) IsCode ¶
func (o *ExportCancelNotFound) IsCode(code int) bool
IsCode returns true when this export cancel not found response a status code equal to that given
func (*ExportCancelNotFound) IsRedirect ¶
func (o *ExportCancelNotFound) IsRedirect() bool
IsRedirect returns true when this export cancel not found response has a 3xx status code
func (*ExportCancelNotFound) IsServerError ¶
func (o *ExportCancelNotFound) IsServerError() bool
IsServerError returns true when this export cancel not found response has a 5xx status code
func (*ExportCancelNotFound) IsSuccess ¶
func (o *ExportCancelNotFound) IsSuccess() bool
IsSuccess returns true when this export cancel not found response has a 2xx status code
func (*ExportCancelNotFound) String ¶
func (o *ExportCancelNotFound) String() string
type ExportCancelParams ¶
type ExportCancelParams struct {
/* Backend.
The backend storage system where the export is stored.
*/
Backend string
/* ID.
The unique identifier of the export to cancel.
*/
ID string
/* Path.
Optional path prefix within the bucket.
*/
Path *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExportCancelParams contains all the parameters to send to the API endpoint
for the export cancel operation. Typically these are written to a http.Request.
func NewExportCancelParams ¶
func NewExportCancelParams() *ExportCancelParams
NewExportCancelParams creates a new ExportCancelParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewExportCancelParamsWithContext ¶
func NewExportCancelParamsWithContext(ctx context.Context) *ExportCancelParams
NewExportCancelParamsWithContext creates a new ExportCancelParams object with the ability to set a context for a request.
func NewExportCancelParamsWithHTTPClient ¶
func NewExportCancelParamsWithHTTPClient(client *http.Client) *ExportCancelParams
NewExportCancelParamsWithHTTPClient creates a new ExportCancelParams object with the ability to set a custom HTTPClient for a request.
func NewExportCancelParamsWithTimeout ¶
func NewExportCancelParamsWithTimeout(timeout time.Duration) *ExportCancelParams
NewExportCancelParamsWithTimeout creates a new ExportCancelParams object with the ability to set a timeout on a request.
func (*ExportCancelParams) SetBackend ¶
func (o *ExportCancelParams) SetBackend(backend string)
SetBackend adds the backend to the export cancel params
func (*ExportCancelParams) SetContext ¶
func (o *ExportCancelParams) SetContext(ctx context.Context)
SetContext adds the context to the export cancel params
func (*ExportCancelParams) SetDefaults ¶
func (o *ExportCancelParams) SetDefaults()
SetDefaults hydrates default values in the export cancel params (not the query body).
All values with no default are reset to their zero value.
func (*ExportCancelParams) SetHTTPClient ¶
func (o *ExportCancelParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export cancel params
func (*ExportCancelParams) SetID ¶
func (o *ExportCancelParams) SetID(id string)
SetID adds the id to the export cancel params
func (*ExportCancelParams) SetPath ¶
func (o *ExportCancelParams) SetPath(path *string)
SetPath adds the path to the export cancel params
func (*ExportCancelParams) SetTimeout ¶
func (o *ExportCancelParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export cancel params
func (*ExportCancelParams) WithBackend ¶
func (o *ExportCancelParams) WithBackend(backend string) *ExportCancelParams
WithBackend adds the backend to the export cancel params
func (*ExportCancelParams) WithContext ¶
func (o *ExportCancelParams) WithContext(ctx context.Context) *ExportCancelParams
WithContext adds the context to the export cancel params
func (*ExportCancelParams) WithDefaults ¶
func (o *ExportCancelParams) WithDefaults() *ExportCancelParams
WithDefaults hydrates default values in the export cancel params (not the query body).
All values with no default are reset to their zero value.
func (*ExportCancelParams) WithHTTPClient ¶
func (o *ExportCancelParams) WithHTTPClient(client *http.Client) *ExportCancelParams
WithHTTPClient adds the HTTPClient to the export cancel params
func (*ExportCancelParams) WithID ¶
func (o *ExportCancelParams) WithID(id string) *ExportCancelParams
WithID adds the id to the export cancel params
func (*ExportCancelParams) WithPath ¶
func (o *ExportCancelParams) WithPath(path *string) *ExportCancelParams
WithPath adds the path to the export cancel params
func (*ExportCancelParams) WithTimeout ¶
func (o *ExportCancelParams) WithTimeout(timeout time.Duration) *ExportCancelParams
WithTimeout adds the timeout to the export cancel params
func (*ExportCancelParams) WriteToRequest ¶
func (o *ExportCancelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportCancelReader ¶
type ExportCancelReader struct {
// contains filtered or unexported fields
}
ExportCancelReader is a Reader for the ExportCancel structure.
func (*ExportCancelReader) ReadResponse ¶
func (o *ExportCancelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportCancelUnauthorized ¶
type ExportCancelUnauthorized struct {
}
ExportCancelUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials.
func NewExportCancelUnauthorized ¶
func NewExportCancelUnauthorized() *ExportCancelUnauthorized
NewExportCancelUnauthorized creates a ExportCancelUnauthorized with default headers values
func (*ExportCancelUnauthorized) Code ¶
func (o *ExportCancelUnauthorized) Code() int
Code gets the status code for the export cancel unauthorized response
func (*ExportCancelUnauthorized) Error ¶
func (o *ExportCancelUnauthorized) Error() string
func (*ExportCancelUnauthorized) IsClientError ¶
func (o *ExportCancelUnauthorized) IsClientError() bool
IsClientError returns true when this export cancel unauthorized response has a 4xx status code
func (*ExportCancelUnauthorized) IsCode ¶
func (o *ExportCancelUnauthorized) IsCode(code int) bool
IsCode returns true when this export cancel unauthorized response a status code equal to that given
func (*ExportCancelUnauthorized) IsRedirect ¶
func (o *ExportCancelUnauthorized) IsRedirect() bool
IsRedirect returns true when this export cancel unauthorized response has a 3xx status code
func (*ExportCancelUnauthorized) IsServerError ¶
func (o *ExportCancelUnauthorized) IsServerError() bool
IsServerError returns true when this export cancel unauthorized response has a 5xx status code
func (*ExportCancelUnauthorized) IsSuccess ¶
func (o *ExportCancelUnauthorized) IsSuccess() bool
IsSuccess returns true when this export cancel unauthorized response has a 2xx status code
func (*ExportCancelUnauthorized) String ¶
func (o *ExportCancelUnauthorized) String() string
type ExportCancelUnprocessableEntity ¶
type ExportCancelUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ExportCancelUnprocessableEntity describes a response with status code 422, with default header values.
Invalid request (e.g., unsupported backend)
func NewExportCancelUnprocessableEntity ¶
func NewExportCancelUnprocessableEntity() *ExportCancelUnprocessableEntity
NewExportCancelUnprocessableEntity creates a ExportCancelUnprocessableEntity with default headers values
func (*ExportCancelUnprocessableEntity) Code ¶
func (o *ExportCancelUnprocessableEntity) Code() int
Code gets the status code for the export cancel unprocessable entity response
func (*ExportCancelUnprocessableEntity) Error ¶
func (o *ExportCancelUnprocessableEntity) Error() string
func (*ExportCancelUnprocessableEntity) GetPayload ¶
func (o *ExportCancelUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ExportCancelUnprocessableEntity) IsClientError ¶
func (o *ExportCancelUnprocessableEntity) IsClientError() bool
IsClientError returns true when this export cancel unprocessable entity response has a 4xx status code
func (*ExportCancelUnprocessableEntity) IsCode ¶
func (o *ExportCancelUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this export cancel unprocessable entity response a status code equal to that given
func (*ExportCancelUnprocessableEntity) IsRedirect ¶
func (o *ExportCancelUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this export cancel unprocessable entity response has a 3xx status code
func (*ExportCancelUnprocessableEntity) IsServerError ¶
func (o *ExportCancelUnprocessableEntity) IsServerError() bool
IsServerError returns true when this export cancel unprocessable entity response has a 5xx status code
func (*ExportCancelUnprocessableEntity) IsSuccess ¶
func (o *ExportCancelUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this export cancel unprocessable entity response has a 2xx status code
func (*ExportCancelUnprocessableEntity) String ¶
func (o *ExportCancelUnprocessableEntity) String() string
type ExportCreateConflict ¶
type ExportCreateConflict struct {
Payload *models.ErrorResponse
}
ExportCreateConflict describes a response with status code 409, with default header values.
Export already exists or another export is already in progress
func NewExportCreateConflict ¶
func NewExportCreateConflict() *ExportCreateConflict
NewExportCreateConflict creates a ExportCreateConflict with default headers values
func (*ExportCreateConflict) Code ¶
func (o *ExportCreateConflict) Code() int
Code gets the status code for the export create conflict response
func (*ExportCreateConflict) Error ¶
func (o *ExportCreateConflict) Error() string
func (*ExportCreateConflict) GetPayload ¶
func (o *ExportCreateConflict) GetPayload() *models.ErrorResponse
func (*ExportCreateConflict) IsClientError ¶
func (o *ExportCreateConflict) IsClientError() bool
IsClientError returns true when this export create conflict response has a 4xx status code
func (*ExportCreateConflict) IsCode ¶
func (o *ExportCreateConflict) IsCode(code int) bool
IsCode returns true when this export create conflict response a status code equal to that given
func (*ExportCreateConflict) IsRedirect ¶
func (o *ExportCreateConflict) IsRedirect() bool
IsRedirect returns true when this export create conflict response has a 3xx status code
func (*ExportCreateConflict) IsServerError ¶
func (o *ExportCreateConflict) IsServerError() bool
IsServerError returns true when this export create conflict response has a 5xx status code
func (*ExportCreateConflict) IsSuccess ¶
func (o *ExportCreateConflict) IsSuccess() bool
IsSuccess returns true when this export create conflict response has a 2xx status code
func (*ExportCreateConflict) String ¶
func (o *ExportCreateConflict) String() string
type ExportCreateForbidden ¶
type ExportCreateForbidden struct {
Payload *models.ErrorResponse
}
ExportCreateForbidden describes a response with status code 403, with default header values.
Forbidden - insufficient permissions
func NewExportCreateForbidden ¶
func NewExportCreateForbidden() *ExportCreateForbidden
NewExportCreateForbidden creates a ExportCreateForbidden with default headers values
func (*ExportCreateForbidden) Code ¶
func (o *ExportCreateForbidden) Code() int
Code gets the status code for the export create forbidden response
func (*ExportCreateForbidden) Error ¶
func (o *ExportCreateForbidden) Error() string
func (*ExportCreateForbidden) GetPayload ¶
func (o *ExportCreateForbidden) GetPayload() *models.ErrorResponse
func (*ExportCreateForbidden) IsClientError ¶
func (o *ExportCreateForbidden) IsClientError() bool
IsClientError returns true when this export create forbidden response has a 4xx status code
func (*ExportCreateForbidden) IsCode ¶
func (o *ExportCreateForbidden) IsCode(code int) bool
IsCode returns true when this export create forbidden response a status code equal to that given
func (*ExportCreateForbidden) IsRedirect ¶
func (o *ExportCreateForbidden) IsRedirect() bool
IsRedirect returns true when this export create forbidden response has a 3xx status code
func (*ExportCreateForbidden) IsServerError ¶
func (o *ExportCreateForbidden) IsServerError() bool
IsServerError returns true when this export create forbidden response has a 5xx status code
func (*ExportCreateForbidden) IsSuccess ¶
func (o *ExportCreateForbidden) IsSuccess() bool
IsSuccess returns true when this export create forbidden response has a 2xx status code
func (*ExportCreateForbidden) String ¶
func (o *ExportCreateForbidden) String() string
type ExportCreateInternalServerError ¶
type ExportCreateInternalServerError struct {
Payload *models.ErrorResponse
}
ExportCreateInternalServerError describes a response with status code 500, with default header values.
Internal server error occurred while starting export
func NewExportCreateInternalServerError ¶
func NewExportCreateInternalServerError() *ExportCreateInternalServerError
NewExportCreateInternalServerError creates a ExportCreateInternalServerError with default headers values
func (*ExportCreateInternalServerError) Code ¶
func (o *ExportCreateInternalServerError) Code() int
Code gets the status code for the export create internal server error response
func (*ExportCreateInternalServerError) Error ¶
func (o *ExportCreateInternalServerError) Error() string
func (*ExportCreateInternalServerError) GetPayload ¶
func (o *ExportCreateInternalServerError) GetPayload() *models.ErrorResponse
func (*ExportCreateInternalServerError) IsClientError ¶
func (o *ExportCreateInternalServerError) IsClientError() bool
IsClientError returns true when this export create internal server error response has a 4xx status code
func (*ExportCreateInternalServerError) IsCode ¶
func (o *ExportCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this export create internal server error response a status code equal to that given
func (*ExportCreateInternalServerError) IsRedirect ¶
func (o *ExportCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this export create internal server error response has a 3xx status code
func (*ExportCreateInternalServerError) IsServerError ¶
func (o *ExportCreateInternalServerError) IsServerError() bool
IsServerError returns true when this export create internal server error response has a 5xx status code
func (*ExportCreateInternalServerError) IsSuccess ¶
func (o *ExportCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this export create internal server error response has a 2xx status code
func (*ExportCreateInternalServerError) String ¶
func (o *ExportCreateInternalServerError) String() string
type ExportCreateOK ¶
type ExportCreateOK struct {
Payload *models.ExportCreateResponse
}
ExportCreateOK describes a response with status code 200, with default header values.
Successfully started export operation
func NewExportCreateOK ¶
func NewExportCreateOK() *ExportCreateOK
NewExportCreateOK creates a ExportCreateOK with default headers values
func (*ExportCreateOK) Code ¶
func (o *ExportCreateOK) Code() int
Code gets the status code for the export create o k response
func (*ExportCreateOK) Error ¶
func (o *ExportCreateOK) Error() string
func (*ExportCreateOK) GetPayload ¶
func (o *ExportCreateOK) GetPayload() *models.ExportCreateResponse
func (*ExportCreateOK) IsClientError ¶
func (o *ExportCreateOK) IsClientError() bool
IsClientError returns true when this export create o k response has a 4xx status code
func (*ExportCreateOK) IsCode ¶
func (o *ExportCreateOK) IsCode(code int) bool
IsCode returns true when this export create o k response a status code equal to that given
func (*ExportCreateOK) IsRedirect ¶
func (o *ExportCreateOK) IsRedirect() bool
IsRedirect returns true when this export create o k response has a 3xx status code
func (*ExportCreateOK) IsServerError ¶
func (o *ExportCreateOK) IsServerError() bool
IsServerError returns true when this export create o k response has a 5xx status code
func (*ExportCreateOK) IsSuccess ¶
func (o *ExportCreateOK) IsSuccess() bool
IsSuccess returns true when this export create o k response has a 2xx status code
func (*ExportCreateOK) String ¶
func (o *ExportCreateOK) String() string
type ExportCreateParams ¶
type ExportCreateParams struct {
/* Backend.
The backend storage system to use for the export (e.g., `filesystem`, `gcs`, `s3`, `azure`).
*/
Backend string
// Body.
Body *models.ExportCreateRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExportCreateParams contains all the parameters to send to the API endpoint
for the export create operation. Typically these are written to a http.Request.
func NewExportCreateParams ¶
func NewExportCreateParams() *ExportCreateParams
NewExportCreateParams creates a new ExportCreateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewExportCreateParamsWithContext ¶
func NewExportCreateParamsWithContext(ctx context.Context) *ExportCreateParams
NewExportCreateParamsWithContext creates a new ExportCreateParams object with the ability to set a context for a request.
func NewExportCreateParamsWithHTTPClient ¶
func NewExportCreateParamsWithHTTPClient(client *http.Client) *ExportCreateParams
NewExportCreateParamsWithHTTPClient creates a new ExportCreateParams object with the ability to set a custom HTTPClient for a request.
func NewExportCreateParamsWithTimeout ¶
func NewExportCreateParamsWithTimeout(timeout time.Duration) *ExportCreateParams
NewExportCreateParamsWithTimeout creates a new ExportCreateParams object with the ability to set a timeout on a request.
func (*ExportCreateParams) SetBackend ¶
func (o *ExportCreateParams) SetBackend(backend string)
SetBackend adds the backend to the export create params
func (*ExportCreateParams) SetBody ¶
func (o *ExportCreateParams) SetBody(body *models.ExportCreateRequest)
SetBody adds the body to the export create params
func (*ExportCreateParams) SetContext ¶
func (o *ExportCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the export create params
func (*ExportCreateParams) SetDefaults ¶
func (o *ExportCreateParams) SetDefaults()
SetDefaults hydrates default values in the export create params (not the query body).
All values with no default are reset to their zero value.
func (*ExportCreateParams) SetHTTPClient ¶
func (o *ExportCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export create params
func (*ExportCreateParams) SetTimeout ¶
func (o *ExportCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export create params
func (*ExportCreateParams) WithBackend ¶
func (o *ExportCreateParams) WithBackend(backend string) *ExportCreateParams
WithBackend adds the backend to the export create params
func (*ExportCreateParams) WithBody ¶
func (o *ExportCreateParams) WithBody(body *models.ExportCreateRequest) *ExportCreateParams
WithBody adds the body to the export create params
func (*ExportCreateParams) WithContext ¶
func (o *ExportCreateParams) WithContext(ctx context.Context) *ExportCreateParams
WithContext adds the context to the export create params
func (*ExportCreateParams) WithDefaults ¶
func (o *ExportCreateParams) WithDefaults() *ExportCreateParams
WithDefaults hydrates default values in the export create params (not the query body).
All values with no default are reset to their zero value.
func (*ExportCreateParams) WithHTTPClient ¶
func (o *ExportCreateParams) WithHTTPClient(client *http.Client) *ExportCreateParams
WithHTTPClient adds the HTTPClient to the export create params
func (*ExportCreateParams) WithTimeout ¶
func (o *ExportCreateParams) WithTimeout(timeout time.Duration) *ExportCreateParams
WithTimeout adds the timeout to the export create params
func (*ExportCreateParams) WriteToRequest ¶
func (o *ExportCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportCreateReader ¶
type ExportCreateReader struct {
// contains filtered or unexported fields
}
ExportCreateReader is a Reader for the ExportCreate structure.
func (*ExportCreateReader) ReadResponse ¶
func (o *ExportCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportCreateUnauthorized ¶
type ExportCreateUnauthorized struct {
}
ExportCreateUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials
func NewExportCreateUnauthorized ¶
func NewExportCreateUnauthorized() *ExportCreateUnauthorized
NewExportCreateUnauthorized creates a ExportCreateUnauthorized with default headers values
func (*ExportCreateUnauthorized) Code ¶
func (o *ExportCreateUnauthorized) Code() int
Code gets the status code for the export create unauthorized response
func (*ExportCreateUnauthorized) Error ¶
func (o *ExportCreateUnauthorized) Error() string
func (*ExportCreateUnauthorized) IsClientError ¶
func (o *ExportCreateUnauthorized) IsClientError() bool
IsClientError returns true when this export create unauthorized response has a 4xx status code
func (*ExportCreateUnauthorized) IsCode ¶
func (o *ExportCreateUnauthorized) IsCode(code int) bool
IsCode returns true when this export create unauthorized response a status code equal to that given
func (*ExportCreateUnauthorized) IsRedirect ¶
func (o *ExportCreateUnauthorized) IsRedirect() bool
IsRedirect returns true when this export create unauthorized response has a 3xx status code
func (*ExportCreateUnauthorized) IsServerError ¶
func (o *ExportCreateUnauthorized) IsServerError() bool
IsServerError returns true when this export create unauthorized response has a 5xx status code
func (*ExportCreateUnauthorized) IsSuccess ¶
func (o *ExportCreateUnauthorized) IsSuccess() bool
IsSuccess returns true when this export create unauthorized response has a 2xx status code
func (*ExportCreateUnauthorized) String ¶
func (o *ExportCreateUnauthorized) String() string
type ExportCreateUnprocessableEntity ¶
type ExportCreateUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ExportCreateUnprocessableEntity describes a response with status code 422, with default header values.
Invalid export request
func NewExportCreateUnprocessableEntity ¶
func NewExportCreateUnprocessableEntity() *ExportCreateUnprocessableEntity
NewExportCreateUnprocessableEntity creates a ExportCreateUnprocessableEntity with default headers values
func (*ExportCreateUnprocessableEntity) Code ¶
func (o *ExportCreateUnprocessableEntity) Code() int
Code gets the status code for the export create unprocessable entity response
func (*ExportCreateUnprocessableEntity) Error ¶
func (o *ExportCreateUnprocessableEntity) Error() string
func (*ExportCreateUnprocessableEntity) GetPayload ¶
func (o *ExportCreateUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ExportCreateUnprocessableEntity) IsClientError ¶
func (o *ExportCreateUnprocessableEntity) IsClientError() bool
IsClientError returns true when this export create unprocessable entity response has a 4xx status code
func (*ExportCreateUnprocessableEntity) IsCode ¶
func (o *ExportCreateUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this export create unprocessable entity response a status code equal to that given
func (*ExportCreateUnprocessableEntity) IsRedirect ¶
func (o *ExportCreateUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this export create unprocessable entity response has a 3xx status code
func (*ExportCreateUnprocessableEntity) IsServerError ¶
func (o *ExportCreateUnprocessableEntity) IsServerError() bool
IsServerError returns true when this export create unprocessable entity response has a 5xx status code
func (*ExportCreateUnprocessableEntity) IsSuccess ¶
func (o *ExportCreateUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this export create unprocessable entity response has a 2xx status code
func (*ExportCreateUnprocessableEntity) String ¶
func (o *ExportCreateUnprocessableEntity) String() string
type ExportStatusForbidden ¶
type ExportStatusForbidden struct {
Payload *models.ErrorResponse
}
ExportStatusForbidden describes a response with status code 403, with default header values.
Forbidden - insufficient permissions
func NewExportStatusForbidden ¶
func NewExportStatusForbidden() *ExportStatusForbidden
NewExportStatusForbidden creates a ExportStatusForbidden with default headers values
func (*ExportStatusForbidden) Code ¶
func (o *ExportStatusForbidden) Code() int
Code gets the status code for the export status forbidden response
func (*ExportStatusForbidden) Error ¶
func (o *ExportStatusForbidden) Error() string
func (*ExportStatusForbidden) GetPayload ¶
func (o *ExportStatusForbidden) GetPayload() *models.ErrorResponse
func (*ExportStatusForbidden) IsClientError ¶
func (o *ExportStatusForbidden) IsClientError() bool
IsClientError returns true when this export status forbidden response has a 4xx status code
func (*ExportStatusForbidden) IsCode ¶
func (o *ExportStatusForbidden) IsCode(code int) bool
IsCode returns true when this export status forbidden response a status code equal to that given
func (*ExportStatusForbidden) IsRedirect ¶
func (o *ExportStatusForbidden) IsRedirect() bool
IsRedirect returns true when this export status forbidden response has a 3xx status code
func (*ExportStatusForbidden) IsServerError ¶
func (o *ExportStatusForbidden) IsServerError() bool
IsServerError returns true when this export status forbidden response has a 5xx status code
func (*ExportStatusForbidden) IsSuccess ¶
func (o *ExportStatusForbidden) IsSuccess() bool
IsSuccess returns true when this export status forbidden response has a 2xx status code
func (*ExportStatusForbidden) String ¶
func (o *ExportStatusForbidden) String() string
type ExportStatusInternalServerError ¶
type ExportStatusInternalServerError struct {
Payload *models.ErrorResponse
}
ExportStatusInternalServerError describes a response with status code 500, with default header values.
Internal server error occurred while retrieving export status
func NewExportStatusInternalServerError ¶
func NewExportStatusInternalServerError() *ExportStatusInternalServerError
NewExportStatusInternalServerError creates a ExportStatusInternalServerError with default headers values
func (*ExportStatusInternalServerError) Code ¶
func (o *ExportStatusInternalServerError) Code() int
Code gets the status code for the export status internal server error response
func (*ExportStatusInternalServerError) Error ¶
func (o *ExportStatusInternalServerError) Error() string
func (*ExportStatusInternalServerError) GetPayload ¶
func (o *ExportStatusInternalServerError) GetPayload() *models.ErrorResponse
func (*ExportStatusInternalServerError) IsClientError ¶
func (o *ExportStatusInternalServerError) IsClientError() bool
IsClientError returns true when this export status internal server error response has a 4xx status code
func (*ExportStatusInternalServerError) IsCode ¶
func (o *ExportStatusInternalServerError) IsCode(code int) bool
IsCode returns true when this export status internal server error response a status code equal to that given
func (*ExportStatusInternalServerError) IsRedirect ¶
func (o *ExportStatusInternalServerError) IsRedirect() bool
IsRedirect returns true when this export status internal server error response has a 3xx status code
func (*ExportStatusInternalServerError) IsServerError ¶
func (o *ExportStatusInternalServerError) IsServerError() bool
IsServerError returns true when this export status internal server error response has a 5xx status code
func (*ExportStatusInternalServerError) IsSuccess ¶
func (o *ExportStatusInternalServerError) IsSuccess() bool
IsSuccess returns true when this export status internal server error response has a 2xx status code
func (*ExportStatusInternalServerError) String ¶
func (o *ExportStatusInternalServerError) String() string
type ExportStatusNotFound ¶
type ExportStatusNotFound struct {
Payload *models.ErrorResponse
}
ExportStatusNotFound describes a response with status code 404, with default header values.
Export not found
func NewExportStatusNotFound ¶
func NewExportStatusNotFound() *ExportStatusNotFound
NewExportStatusNotFound creates a ExportStatusNotFound with default headers values
func (*ExportStatusNotFound) Code ¶
func (o *ExportStatusNotFound) Code() int
Code gets the status code for the export status not found response
func (*ExportStatusNotFound) Error ¶
func (o *ExportStatusNotFound) Error() string
func (*ExportStatusNotFound) GetPayload ¶
func (o *ExportStatusNotFound) GetPayload() *models.ErrorResponse
func (*ExportStatusNotFound) IsClientError ¶
func (o *ExportStatusNotFound) IsClientError() bool
IsClientError returns true when this export status not found response has a 4xx status code
func (*ExportStatusNotFound) IsCode ¶
func (o *ExportStatusNotFound) IsCode(code int) bool
IsCode returns true when this export status not found response a status code equal to that given
func (*ExportStatusNotFound) IsRedirect ¶
func (o *ExportStatusNotFound) IsRedirect() bool
IsRedirect returns true when this export status not found response has a 3xx status code
func (*ExportStatusNotFound) IsServerError ¶
func (o *ExportStatusNotFound) IsServerError() bool
IsServerError returns true when this export status not found response has a 5xx status code
func (*ExportStatusNotFound) IsSuccess ¶
func (o *ExportStatusNotFound) IsSuccess() bool
IsSuccess returns true when this export status not found response has a 2xx status code
func (*ExportStatusNotFound) String ¶
func (o *ExportStatusNotFound) String() string
type ExportStatusOK ¶
type ExportStatusOK struct {
Payload *models.ExportStatusResponse
}
ExportStatusOK describes a response with status code 200, with default header values.
Successfully retrieved export status
func NewExportStatusOK ¶
func NewExportStatusOK() *ExportStatusOK
NewExportStatusOK creates a ExportStatusOK with default headers values
func (*ExportStatusOK) Code ¶
func (o *ExportStatusOK) Code() int
Code gets the status code for the export status o k response
func (*ExportStatusOK) Error ¶
func (o *ExportStatusOK) Error() string
func (*ExportStatusOK) GetPayload ¶
func (o *ExportStatusOK) GetPayload() *models.ExportStatusResponse
func (*ExportStatusOK) IsClientError ¶
func (o *ExportStatusOK) IsClientError() bool
IsClientError returns true when this export status o k response has a 4xx status code
func (*ExportStatusOK) IsCode ¶
func (o *ExportStatusOK) IsCode(code int) bool
IsCode returns true when this export status o k response a status code equal to that given
func (*ExportStatusOK) IsRedirect ¶
func (o *ExportStatusOK) IsRedirect() bool
IsRedirect returns true when this export status o k response has a 3xx status code
func (*ExportStatusOK) IsServerError ¶
func (o *ExportStatusOK) IsServerError() bool
IsServerError returns true when this export status o k response has a 5xx status code
func (*ExportStatusOK) IsSuccess ¶
func (o *ExportStatusOK) IsSuccess() bool
IsSuccess returns true when this export status o k response has a 2xx status code
func (*ExportStatusOK) String ¶
func (o *ExportStatusOK) String() string
type ExportStatusParams ¶
type ExportStatusParams struct {
/* Backend.
The backend storage system where the export is stored.
*/
Backend string
/* ID.
The unique identifier of the export.
*/
ID string
/* Path.
Optional path prefix within the bucket. If not specified, uses the backend's default path.
*/
Path *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ExportStatusParams contains all the parameters to send to the API endpoint
for the export status operation. Typically these are written to a http.Request.
func NewExportStatusParams ¶
func NewExportStatusParams() *ExportStatusParams
NewExportStatusParams creates a new ExportStatusParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewExportStatusParamsWithContext ¶
func NewExportStatusParamsWithContext(ctx context.Context) *ExportStatusParams
NewExportStatusParamsWithContext creates a new ExportStatusParams object with the ability to set a context for a request.
func NewExportStatusParamsWithHTTPClient ¶
func NewExportStatusParamsWithHTTPClient(client *http.Client) *ExportStatusParams
NewExportStatusParamsWithHTTPClient creates a new ExportStatusParams object with the ability to set a custom HTTPClient for a request.
func NewExportStatusParamsWithTimeout ¶
func NewExportStatusParamsWithTimeout(timeout time.Duration) *ExportStatusParams
NewExportStatusParamsWithTimeout creates a new ExportStatusParams object with the ability to set a timeout on a request.
func (*ExportStatusParams) SetBackend ¶
func (o *ExportStatusParams) SetBackend(backend string)
SetBackend adds the backend to the export status params
func (*ExportStatusParams) SetContext ¶
func (o *ExportStatusParams) SetContext(ctx context.Context)
SetContext adds the context to the export status params
func (*ExportStatusParams) SetDefaults ¶
func (o *ExportStatusParams) SetDefaults()
SetDefaults hydrates default values in the export status params (not the query body).
All values with no default are reset to their zero value.
func (*ExportStatusParams) SetHTTPClient ¶
func (o *ExportStatusParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export status params
func (*ExportStatusParams) SetID ¶
func (o *ExportStatusParams) SetID(id string)
SetID adds the id to the export status params
func (*ExportStatusParams) SetPath ¶
func (o *ExportStatusParams) SetPath(path *string)
SetPath adds the path to the export status params
func (*ExportStatusParams) SetTimeout ¶
func (o *ExportStatusParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export status params
func (*ExportStatusParams) WithBackend ¶
func (o *ExportStatusParams) WithBackend(backend string) *ExportStatusParams
WithBackend adds the backend to the export status params
func (*ExportStatusParams) WithContext ¶
func (o *ExportStatusParams) WithContext(ctx context.Context) *ExportStatusParams
WithContext adds the context to the export status params
func (*ExportStatusParams) WithDefaults ¶
func (o *ExportStatusParams) WithDefaults() *ExportStatusParams
WithDefaults hydrates default values in the export status params (not the query body).
All values with no default are reset to their zero value.
func (*ExportStatusParams) WithHTTPClient ¶
func (o *ExportStatusParams) WithHTTPClient(client *http.Client) *ExportStatusParams
WithHTTPClient adds the HTTPClient to the export status params
func (*ExportStatusParams) WithID ¶
func (o *ExportStatusParams) WithID(id string) *ExportStatusParams
WithID adds the id to the export status params
func (*ExportStatusParams) WithPath ¶
func (o *ExportStatusParams) WithPath(path *string) *ExportStatusParams
WithPath adds the path to the export status params
func (*ExportStatusParams) WithTimeout ¶
func (o *ExportStatusParams) WithTimeout(timeout time.Duration) *ExportStatusParams
WithTimeout adds the timeout to the export status params
func (*ExportStatusParams) WriteToRequest ¶
func (o *ExportStatusParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportStatusReader ¶
type ExportStatusReader struct {
// contains filtered or unexported fields
}
ExportStatusReader is a Reader for the ExportStatus structure.
func (*ExportStatusReader) ReadResponse ¶
func (o *ExportStatusReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportStatusUnauthorized ¶
type ExportStatusUnauthorized struct {
}
ExportStatusUnauthorized describes a response with status code 401, with default header values.
Unauthorized or invalid credentials
func NewExportStatusUnauthorized ¶
func NewExportStatusUnauthorized() *ExportStatusUnauthorized
NewExportStatusUnauthorized creates a ExportStatusUnauthorized with default headers values
func (*ExportStatusUnauthorized) Code ¶
func (o *ExportStatusUnauthorized) Code() int
Code gets the status code for the export status unauthorized response
func (*ExportStatusUnauthorized) Error ¶
func (o *ExportStatusUnauthorized) Error() string
func (*ExportStatusUnauthorized) IsClientError ¶
func (o *ExportStatusUnauthorized) IsClientError() bool
IsClientError returns true when this export status unauthorized response has a 4xx status code
func (*ExportStatusUnauthorized) IsCode ¶
func (o *ExportStatusUnauthorized) IsCode(code int) bool
IsCode returns true when this export status unauthorized response a status code equal to that given
func (*ExportStatusUnauthorized) IsRedirect ¶
func (o *ExportStatusUnauthorized) IsRedirect() bool
IsRedirect returns true when this export status unauthorized response has a 3xx status code
func (*ExportStatusUnauthorized) IsServerError ¶
func (o *ExportStatusUnauthorized) IsServerError() bool
IsServerError returns true when this export status unauthorized response has a 5xx status code
func (*ExportStatusUnauthorized) IsSuccess ¶
func (o *ExportStatusUnauthorized) IsSuccess() bool
IsSuccess returns true when this export status unauthorized response has a 2xx status code
func (*ExportStatusUnauthorized) String ¶
func (o *ExportStatusUnauthorized) String() string
type ExportStatusUnprocessableEntity ¶
type ExportStatusUnprocessableEntity struct {
Payload *models.ErrorResponse
}
ExportStatusUnprocessableEntity describes a response with status code 422, with default header values.
Invalid request (e.g., unsupported backend)
func NewExportStatusUnprocessableEntity ¶
func NewExportStatusUnprocessableEntity() *ExportStatusUnprocessableEntity
NewExportStatusUnprocessableEntity creates a ExportStatusUnprocessableEntity with default headers values
func (*ExportStatusUnprocessableEntity) Code ¶
func (o *ExportStatusUnprocessableEntity) Code() int
Code gets the status code for the export status unprocessable entity response
func (*ExportStatusUnprocessableEntity) Error ¶
func (o *ExportStatusUnprocessableEntity) Error() string
func (*ExportStatusUnprocessableEntity) GetPayload ¶
func (o *ExportStatusUnprocessableEntity) GetPayload() *models.ErrorResponse
func (*ExportStatusUnprocessableEntity) IsClientError ¶
func (o *ExportStatusUnprocessableEntity) IsClientError() bool
IsClientError returns true when this export status unprocessable entity response has a 4xx status code
func (*ExportStatusUnprocessableEntity) IsCode ¶
func (o *ExportStatusUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this export status unprocessable entity response a status code equal to that given
func (*ExportStatusUnprocessableEntity) IsRedirect ¶
func (o *ExportStatusUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this export status unprocessable entity response has a 3xx status code
func (*ExportStatusUnprocessableEntity) IsServerError ¶
func (o *ExportStatusUnprocessableEntity) IsServerError() bool
IsServerError returns true when this export status unprocessable entity response has a 5xx status code
func (*ExportStatusUnprocessableEntity) IsSuccess ¶
func (o *ExportStatusUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this export status unprocessable entity response has a 2xx status code
func (*ExportStatusUnprocessableEntity) String ¶
func (o *ExportStatusUnprocessableEntity) String() string