Documentation
¶
Overview ¶
Package query hosts go-command query handlers for go-export.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadMetadata ¶
DownloadMetadata requests download metadata.
func (DownloadMetadata) Type ¶
func (DownloadMetadata) Type() string
func (DownloadMetadata) Validate ¶
func (msg DownloadMetadata) Validate() error
type DownloadMetadataHandler ¶
DownloadMetadataHandler returns artifact metadata.
func NewDownloadMetadataHandler ¶
func NewDownloadMetadataHandler(svc export.Service) *DownloadMetadataHandler
func (*DownloadMetadataHandler) Query ¶
func (h *DownloadMetadataHandler) Query(ctx context.Context, msg DownloadMetadata) (export.DownloadInfo, error)
type ExportHistory ¶
type ExportHistory struct {
Actor export.Actor
Filter export.ProgressFilter
}
ExportHistory requests export history.
func (ExportHistory) Type ¶
func (ExportHistory) Type() string
func (ExportHistory) Validate ¶
func (msg ExportHistory) Validate() error
type ExportHistoryHandler ¶
ExportHistoryHandler returns export history.
func NewExportHistoryHandler ¶
func NewExportHistoryHandler(svc export.Service) *ExportHistoryHandler
func (*ExportHistoryHandler) Query ¶
func (h *ExportHistoryHandler) Query(ctx context.Context, msg ExportHistory) ([]export.ExportRecord, error)
type ExportStatus ¶
ExportStatus requests an export status record.
func (ExportStatus) Type ¶
func (ExportStatus) Type() string
func (ExportStatus) Validate ¶
func (msg ExportStatus) Validate() error
type ExportStatusHandler ¶
ExportStatusHandler returns a single export record.
func NewExportStatusHandler ¶
func NewExportStatusHandler(svc export.Service) *ExportStatusHandler
func (*ExportStatusHandler) Query ¶
func (h *ExportStatusHandler) Query(ctx context.Context, msg ExportStatus) (export.ExportRecord, error)
Click to show internal directories.
Click to hide internal directories.