Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExportCmd = &cobra.Command{
Use: "export",
Short: "Export project configuration",
Long: `Export entitlements, offerings, and packages to a YAML file for backup or migration.`,
RunE: runExport,
}
ExportCmd exports project configuration to YAML
View Source
var ImportCmd = &cobra.Command{
Use: "import",
Short: "Import project configuration",
Long: `Import entitlements, offerings, and packages from a YAML file.`,
RunE: runImport,
}
ImportCmd imports project configuration from YAML
Functions ¶
This section is empty.
Types ¶
type EntitlementExport ¶
type OfferingExport ¶
type OfferingExport struct {
LookupKey string `yaml:"lookup_key" json:"lookup_key"`
DisplayName string `yaml:"display_name" json:"display_name"`
IsCurrent bool `yaml:"is_current" json:"is_current"`
Packages []PackageExport `yaml:"packages" json:"packages"`
}
type PackageExport ¶
type ProjectConfig ¶
type ProjectConfig struct {
Version string `yaml:"version" json:"version"`
ProjectID string `yaml:"project_id" json:"project_id"`
ExportedAt string `yaml:"exported_at" json:"exported_at"`
Entitlements []EntitlementExport `yaml:"entitlements" json:"entitlements"`
Offerings []OfferingExport `yaml:"offerings" json:"offerings"`
}
Click to show internal directories.
Click to hide internal directories.