cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command

Types

type DemoDataset

type DemoDataset struct {
	Name        string            `json:"name"`
	Description string            `json:"description"`
	Namespace   string            `json:"namespace"`
	Table       string            `json:"table"`
	DataPath    string            `json:"data_path"`
	Partitioned bool              `json:"partitioned"`
	Properties  map[string]string `json:"properties"`
	Queries     []DemoQuery       `json:"sample_queries"`
}

DemoDataset represents a demo dataset configuration

type DemoQuery

type DemoQuery struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	SQL         string `json:"sql"`
}

DemoQuery represents a sample query for demo datasets

type FileInfo

type FileInfo struct {
	Path     string `json:"path"`
	Size     int64  `json:"size"`
	Checksum string `json:"checksum"`
	Mode     uint32 `json:"mode"`
}

type PackageInfo

type PackageInfo struct {
	Name        string    `json:"name"`
	Version     string    `json:"version"`
	CreatedAt   time.Time `json:"created_at"`
	CreatedBy   string    `json:"created_by"`
	TotalSize   int64     `json:"total_size"`
	FileCount   int       `json:"file_count"`
	IncludeData bool      `json:"include_data"`
	Description string    `json:"description,omitempty"`
}

type PackageManifest

type PackageManifest struct {
	PackageInfo `json:"package_info"`
	Files       map[string]FileInfo `json:"files"`
	Config      interface{}         `json:"config,omitempty"`
}

PackageManifest represents the contents and metadata of a packed project

type RESTAPIHandler

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

RESTAPIHandler handles REST API requests with high performance

type ServerProfile

type ServerProfile struct {
	Name        string
	Description string
	Auth        bool
	Metrics     bool
	CORS        bool
	LogLevel    string
	Timeout     time.Duration
	Prefork     bool
	Compress    bool
}

ServerProfile represents different deployment profiles

type SortField

type SortField struct {
	SourceID  int               `json:"source-id"`
	Transform iceberg.Transform `json:"transform"`
	Direction string            `json:"direction"`
	NullOrder string            `json:"null-order"`
}

SortField represents a sort field in a sort order

func (SortField) String

func (sf SortField) String() string

String returns a string representation of the sort field

type SortOrder

type SortOrder struct {
	OrderID int         `json:"order-id"`
	Fields  []SortField `json:"fields"`
}

SortOrder represents a table sort order

type WebUIHandler

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

WebUIHandler handles web UI requests

Jump to

Keyboard shortcuts

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