config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Global = GlobalFlags{}

Global is the shared instance of GlobalFlags

Functions

This section is empty.

Types

type GlobalFlags

type GlobalFlags struct {
	// Common authentication and connection flags
	APIBaseURL string
	AuthToken  string
	ConfigPath string
	AccountID  string
	OrgID      string
	ProjectID  string
	Format     string

	// Command-specific configurations
	Registry RegistryConfig
}

GlobalFlags contains common flags used across commands

type MigrateConfig

type MigrateConfig struct {
	Concurrency int
	Overwrite   bool
}

MigrateConfig holds migrate command specific configurations

type RegistryConfig

type RegistryConfig struct {
	PkgURL string
	// For migrate command
	Migrate MigrateConfig

	// For status command
	Status StatusConfig
}

RegistryConfig holds ar-specific configurations

type StatusConfig

type StatusConfig struct {
	MigrationID  string
	PollInterval int
}

StatusConfig holds status command specific configurations

Jump to

Keyboard shortcuts

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