Documentation ¶
Index ¶
- Constants
- Variables
- func ConfigureYorcClientCommand(c *cobra.Command, v *viper.Viper, cfgFile *string, noColor *bool)
- func GetConfig() config.Configuration
- func GetYorcClientConfig(v *viper.Viper, cfgFile string) config.Client
- func InitExtraFlags(args []string, cmd *cobra.Command)
- func RunServer(shutdownCh chan struct{}) error
Constants ¶
View Source
const ( // EnvironmentVariablePrefix is the prefix used in Yorc commands parameters // passed as environment variables EnvironmentVariablePrefix = "YORC" )
Variables ¶
View Source
var ( // TfConsulPluginVersion is the Terraform Consul plugin lowest supported version TfConsulPluginVersion = "tf Consul plugin version" // TfAWSPluginVersion is the Terraform AWS plugin lowest supported version TfAWSPluginVersion = "tf AWS plugin version" // TfOpenStackPluginVersion is the Terraform OpenStack plugin lowest supported version TfOpenStackPluginVersion = "tf OpenStack plugin version" // TfGooglePluginVersion is the Terraform Google plugin lowest supported version TfGooglePluginVersion = "tf Google plugin version" )
View Source
var RootCmd = &cobra.Command{ Use: "yorc", Short: "A new generation orchestrator", Long: `yorc is the main command, used to start the http server. Yorc is a new generation orchestrator. It is cloud-agnostic, flexible and secure. `, SilenceErrors: true, Run: func(cmd *cobra.Command, args []string) { err := cmd.Help() if err != nil { fmt.Print(err) } }, }
RootCmd is the root of yorc commands tree
Functions ¶
func ConfigureYorcClientCommand ¶
ConfigureYorcClientCommand setups a Command of the CLI part of Yorc
func GetYorcClientConfig ¶
GetYorcClientConfig retrives Yorc client configuration
func InitExtraFlags ¶
InitExtraFlags inits infrastructure and vault flags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.