Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service handles importing seed data into the registry
func NewService ¶
func NewService(registry service.RegistryService) *Service
NewService creates a new importer service
func (*Service) ImportFromPath ¶
ImportFromPath imports seed data from various sources: 1. Local file paths (*.json files) - expects ServerJSON array format 2. Direct HTTP URLs to seed.json files - expects ServerJSON array format 3. Registry root URLs (automatically appends /v0/servers and paginates)
Click to show internal directories.
Click to hide internal directories.