cli

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2025 License: Apache-2.0 Imports: 38 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

func ExecuteWithContext added in v0.5.0

func ExecuteWithContext(ctx context.Context) error

ExecuteWithContext runs the root command with context containing display and logger

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