Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg = Config{ Infra: InfraConfig{ Namespace: "default", RelativeTemplatesDir: filepath.Join("deploy", "templates"), ServiceAPIPath: "/api/migration-assessment", ImagePullPolicy: "Never", PersistentDiskDevice: "/dev/vda", AuthMethod: "local", AdminGroupFile: "/etc/planner/admin-group.yaml", ServiceReplicas: "1", UIPort: 3333, PlannerAgentPort: 7443, PlannerAgentService: "service/migration-planner-agent", RHCOSPassword: `$$y$$j9T$$hUUbW8zoB.Qcmpwm4/RuK1$$FMtuDAxNLp3sEa2PnGiJdXr8uYbvUNPlVDXpcJim529`, PostgresDeployName: "migration-planner-postgres", AdminUsername: "admin", AdminEmail: "admin@example.com", Vcsim: []VcsimInstance{ {Name: "vcsim1", Port: 8989, Username: "core", Password: "123456"}, {Name: "vcsim2", Port: 8990, Username: "core", Password: "123456"}, }, }, Test: TestConfig{ DefaultOrganization: "admin", DefaultUsername: "admin", DefaultEmailDomain: "example.com", DefaultBasePath: "/tmp/untarova/", Home: os.Getenv("HOME"), TestsExecutionTime: make(map[string]time.Duration), }, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Infra InfraConfig
Test TestConfig
}
func (Config) PrivateKeyFilePath ¶
func (Config) ServiceUrl ¶
type InfraConfig ¶
type InfraConfig struct {
ClusterName string
APIImage string
ISOImage string
PrivateKeyPath string
HostIP string
Namespace string
RelativeTemplatesDir string
KeepEnv bool
SkipSetup bool
// Service deployment
ServiceAPIPath string
ImagePullPolicy string
PersistentDiskDevice string
AuthMethod string
AdminGroupFile string
ServiceReplicas string
UIPort int
// Port-forwards
PlannerAgentPort int
PlannerAgentService string
// Vcsim instances
Vcsim []VcsimInstance
// Admin bootstrap
AdminUsername string
AdminEmail string
// RHCOS
RHCOSPassword string
// Postgres
PostgresDeployName string
}
type TestConfig ¶
Click to show internal directories.
Click to hide internal directories.