Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alien4CloudConfiguration ¶
type Alien4CloudConfiguration struct {
DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
Port int
Protocol string
User string
Password string
}
Alien4CloudConfiguration provides Alien4Cloud user-defined settings
type AnsibleConfiguration ¶
type AnsibleConfiguration struct {
Version string
PackageRepositoryURL string `yaml:"extra_package_repository_url" mapstructure:"extra_package_repository_url"`
UseOpenSSH bool `yaml:"use_openssh,omitempty" mapstructure:"use_openssh" json:"use_open_ssh,omitempty"`
Inventory map[string][]string `yaml:"inventory,omitempty" mapstructure:"inventory"`
}
AnsibleConfiguration provides Ansible user-defined settings
type ConsulConfiguration ¶
type ConsulConfiguration struct {
DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
Port int
TLSEnabled bool `yaml:"tls_enabled" mapstructure:"tls_enabled"`
TLSForChecksEnabled bool `yaml:"tls_for_checks_enabled" mapstructure:"tls_for_checks_enabled"`
EncryptKey string `yaml:"encrypt_key" mapstructure:"encrypt_key"`
}
ConsulConfiguration provides Consul user-defined settings
type CredentialsConfiguration ¶
CredentialsConfiguration provides a user and private key
type JdkConfiguration ¶
type JdkConfiguration struct {
DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
Version string
}
JdkConfiguration configuration provides Java settings
type LocationConfiguration ¶
LocationConfiguration provides an Alien4Cloud plugin location configuration
type TerraformConfiguration ¶
type TerraformConfiguration struct {
DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
PluginURLs []string `yaml:"plugins_download_urls" mapstructure:"plugins_download_urls"`
}
TerraformConfiguration provides Terraform settings
type TopologyValues ¶
type TopologyValues struct {
Ansible AnsibleConfiguration
Alien4cloud Alien4CloudConfiguration
YorcPlugin YorcPluginConfiguration `mapstructure:"yorc_plugin"`
Consul ConsulConfiguration
Terraform TerraformConfiguration
Yorc YorcConfiguration
Infrastructures map[string]config.DynamicMap
Compute config.DynamicMap
Credentials *CredentialsConfiguration
Address config.DynamicMap
Jdk JdkConfiguration
Location LocationConfiguration
Hosts []rest.HostConfig
Vault VaultConfiguration
Insecure bool
}
TopologyValues provides inputs to the topology templates
type VaultConfiguration ¶
type VaultConfiguration struct {
DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
Port int
}
VaultConfiguration provides Vault user-defined settings
type YorcConfiguration ¶
type YorcConfiguration struct {
DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
Port int
Protocol string
PrivateKeyContent string `yaml:"private_key_content" mapstructure:"private_key_content"`
PrivateKeyFile string `yaml:"private_key_file" mapstructure:"private_key_file"`
CAPEMContent string `yaml:"ca_pem" mapstructure:"ca_pem"`
CAPEMFile string `yaml:"ca_pem_file" mapstructure:"ca_pem_file"`
CAKeyContent string `yaml:"ca_key" mapstructure:"ca_key"`
CAKeyFile string `yaml:"ca_key_file" mapstructure:"ca_key_file"`
CAPassPhrase string `yaml:"ca_passphrase" mapstructure:"ca_passphrase"`
DataDir string `yaml:"data_dir" mapstructure:"data_dir"`
WorkersNumber int `yaml:"workers_number" mapstructure:"workers_number"`
ResourcesPrefix string `yaml:"resources_prefix" mapstructure:"resources_prefix"`
}
YorcConfiguration provides Yorc user-defined settings
type YorcPluginConfiguration ¶
type YorcPluginConfiguration struct {
DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
}
YorcPluginConfiguration provides Yorc plugin user-defined settings