Documentation
¶
Index ¶
Constants ¶
View Source
const ( AWSAuthMethodStatic = "static" )
View Source
const ( GCPAuthMethodServiceAccount = "service-account" GCPAuthMethodLogin = "login" GCPAuthMethodAny = "any" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct {
AuthMethod AWSAuthMethod `yaml:"authMethod" json:"authMethod"`
Static StaticAWSConfig `yaml:"static" json:"static"`
// SkipPricing, when true, disables all cost/pricing lookups (the AWS
// Pricing API, spot-price history and volume pricing). Instance-type and
// volume catalogs are still returned, just without prices. Useful when the
// caller lacks pricing permissions or wants to avoid the extra API calls.
SkipPricing bool `yaml:"skipPricing" json:"skipPricing"`
}
type AWSAuthMethod ¶
type AWSAuthMethod string
type Credentials ¶
type DOCKER ¶
type DOCKER struct {
EnableDefaultFromEnv bool `yaml:"enableDefaultFromEnv" json:"enableDefaultFromEnv"`
Regions map[string]DockerRegion `yaml:"regions" json:"regions"` // map[regionName]definition-of-region
}
type DockerRegion ¶
type DockerRegion struct {
DockerHost string `yaml:"dockerHost" json:"dockerHost"` // tcp://host:port, unix:///path/to/socket, ssh://user@host:port, http://host:port, https://host:port
DockerCertPath string `yaml:"dockerCertPath" json:"dockerCertPath"` // only use with https:// host type
DockerKeyPath string `yaml:"dockerKeyPath" json:"dockerKeyPath"` // only use with https:// host type
DockerCaPath string `yaml:"dockerCaPath" json:"dockerCaPath"` // only use with https:// host type
Timeout time.Duration `yaml:"timeout" json:"timeout"` // connection timeout
}
type GCP ¶
type GCP struct {
Project string `yaml:"project" json:"project"`
AuthMethod GCPAuthMethod `yaml:"authMethod" json:"authMethod"`
Login LoginGCPConfig `yaml:"login" json:"login"`
// UseIAP, when true, routes SSH/SFTP traffic to GCE instances through
// Identity-Aware Proxy TCP forwarding instead of dialing the routable
// instance IP directly. This is the SOLE trigger for IAP usage; it is
// intentionally independent of whether instances have public IPs.
UseIAP bool `yaml:"useIAP" json:"useIAP"`
// AutoEnableServices, when true, allows aerolab to enable required GCP
// services (APIs) in the project without prompting, even in
// non-interactive contexts. When false, aerolab prompts interactively and
// errors in non-interactive contexts if a required service is not enabled.
AutoEnableServices bool `yaml:"autoEnableServices" json:"autoEnableServices"`
// SkipPricing, when true, disables all cost/pricing lookups (the Cloud
// Billing SKU catalog for instance and volume prices). Instance-type and
// volume catalogs are still returned, just without prices. Useful under
// Workload Identity Federation, where the billing API rejects federated
// tokens, or whenever the caller lacks billing permissions.
SkipPricing bool `yaml:"skipPricing" json:"skipPricing"`
}
type GCPAuthMethod ¶
type GCPAuthMethod string
type LoginGCPConfig ¶
type LoginGCPConfig struct {
Secrets *LoginGCPSecrets `yaml:"secrets" json:"secrets"`
Browser bool `yaml:"browser" json:"browser"`
TokenCacheFilePath string `yaml:"tokenCacheFile" json:"tokenCacheFile"`
}
type LoginGCPSecrets ¶
type SharedAWSConfig ¶
type SharedAWSConfig struct {
}
type StaticAWSConfig ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
iap
Package iap provides a thin adapter around github.com/cedws/iapc/iap that hides the third-party import behind aerolab-shaped types.
|
Package iap provides a thin adapter around github.com/cedws/iapc/iap that hides the third-party import behind aerolab-shaped types. |
|
Package sshkey manages the SSH key pair that a project's instances are created with.
|
Package sshkey manages the SSH key pair that a project's instances are created with. |
Click to show internal directories.
Click to hide internal directories.