- Implement timewebcloud provider with DeployAgent, RemoveAgent, ListDeployedAgentNames - Add minimal HTTP API client for Timeweb Cloud (create/list/delete servers) - Register provider in main.go with CLI flags - Add timeweb-list and timeweb-tester utilities - Include Dockerfile and docker-compose.yml for deployment - Update DEPLOY.md with verified OS/preset IDs
20 lines
482 B
Go
20 lines
482 B
Go
package config
|
|
|
|
import "time"
|
|
|
|
type Config struct {
|
|
MinAgents int
|
|
MaxAgents int
|
|
WorkflowsPerAgent int
|
|
PoolID string
|
|
Image string
|
|
Environment map[string]string
|
|
GRPCAddress string
|
|
GRPCSecure bool
|
|
AgentInactivityTimeout time.Duration
|
|
AgentIdleTimeout time.Duration
|
|
UserData string
|
|
FilterLabels string
|
|
ExtraAgentLabels map[string]string
|
|
}
|