mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
21 lines
453 B
Go
21 lines
453 B
Go
// Copyright (C) 2024, Lux Industries Inc. All rights reserved.
|
|
// Placeholder for LPM config
|
|
package lpm
|
|
|
|
type Config struct {
|
|
RepositoryURL string
|
|
Auth string
|
|
RegistryURL string
|
|
}
|
|
|
|
type Credential struct {
|
|
RegistryURL string `yaml:"registry_url"`
|
|
Token string `yaml:"token"`
|
|
}
|
|
|
|
func DefaultConfig() *Config {
|
|
return &Config{
|
|
RepositoryURL: "https://lpm.lux.network",
|
|
RegistryURL: "https://registry.lux.network",
|
|
}
|
|
} |