query

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 3 Imported by: 0

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

type DownloadMetadata struct {
	Actor    export.Actor
	ExportID string
}

DownloadMetadata requests download metadata.

func (DownloadMetadata) Type

func (DownloadMetadata) Type() string

func (DownloadMetadata) Validate

func (msg DownloadMetadata) Validate() error

type DownloadMetadataHandler

type DownloadMetadataHandler struct {
	Service export.Service
}

DownloadMetadataHandler returns artifact metadata.

func NewDownloadMetadataHandler

func NewDownloadMetadataHandler(svc export.Service) *DownloadMetadataHandler

func (*DownloadMetadataHandler) Query

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

type ExportHistoryHandler struct {
	Service export.Service
}

ExportHistoryHandler returns export history.

func NewExportHistoryHandler

func NewExportHistoryHandler(svc export.Service) *ExportHistoryHandler

func (*ExportHistoryHandler) Query

type ExportStatus

type ExportStatus struct {
	Actor    export.Actor
	ExportID string
}

ExportStatus requests an export status record.

func (ExportStatus) Type

func (ExportStatus) Type() string

func (ExportStatus) Validate

func (msg ExportStatus) Validate() error

type ExportStatusHandler

type ExportStatusHandler struct {
	Service export.Service
}

ExportStatusHandler returns a single export record.

func NewExportStatusHandler

func NewExportStatusHandler(svc export.Service) *ExportStatusHandler

func (*ExportStatusHandler) Query

Jump to

Keyboard shortcuts

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