bootstrap

package
v4.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 38 Imported by: 0

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
	ExtraEnv    string `yaml:"extra_env" mapstructure:"extra_env"`
}

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"`
	HostOperationsAllowed bool                `yaml:"host_operations_allowed" mapstructure:"host_operations_allowed"`
}

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

type CredentialsConfiguration struct {
	User      string
	Keys      map[string]string
	TokenType string `yaml:"token_type" mapstructure:"token_type"`
}

CredentialsConfiguration provides a user, private key, and token type (required property)

type JdkConfiguration

type JdkConfiguration struct {
	DownloadURL string `yaml:"download_url" mapstructure:"download_url"`
	Version     string
}

JdkConfiguration configuration provides Java settings

type LocationConfiguration

type LocationConfiguration struct {
	Type          string
	Name          string
	ResourcesFile string            // Path to file describing on-demand resources for this location
	Properties    config.DynamicMap // Referenced in go template files used to build the topology
}

LocationConfiguration provides the configuration of the location selected to install the orchestratror

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
	Locations   []locations.LocationConfiguration
	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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL