export

package
v1.37.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

Code gets the status code for the export cancel internal server error response

func (*ExportCancelInternalServerError) Error

func (*ExportCancelInternalServerError) GetPayload

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

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

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

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

WithID adds the id 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

Code gets the status code for the export cancel unprocessable entity response

func (*ExportCancelUnprocessableEntity) Error

func (*ExportCancelUnprocessableEntity) GetPayload

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

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

Code gets the status code for the export create internal server error response

func (*ExportCreateInternalServerError) Error

func (*ExportCreateInternalServerError) GetPayload

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

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

WithBody adds the body to the export create params

func (*ExportCreateParams) WithContext

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

Code gets the status code for the export create unprocessable entity response

func (*ExportCreateUnprocessableEntity) Error

func (*ExportCreateUnprocessableEntity) GetPayload

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

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

Code gets the status code for the export status internal server error response

func (*ExportStatusInternalServerError) Error

func (*ExportStatusInternalServerError) GetPayload

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

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

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

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

WithID adds the id 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

Code gets the status code for the export status unprocessable entity response

func (*ExportStatusUnprocessableEntity) Error

func (*ExportStatusUnprocessableEntity) GetPayload

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

Jump to

Keyboard shortcuts

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