symbols.go 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package symbols
  2. import (
  3. "os/exec"
  4. "reflect"
  5. "dario.cat/mergo"
  6. "git.bazzel.dev/bmallen/helios/tools"
  7. "github.com/google/uuid"
  8. )
  9. var (
  10. Symbols = map[string]map[string]reflect.Value{
  11. "os/exec/exec": {
  12. "Command": reflect.ValueOf(exec.Command),
  13. "CommandContext": reflect.ValueOf(exec.CommandContext),
  14. "LookPath": reflect.ValueOf(exec.LookPath),
  15. },
  16. "git.bazzel.dev/bmallen/helios/tools/tools": {
  17. "Docker": reflect.ValueOf(tools.Docker),
  18. "CloudFormation": reflect.ValueOf(tools.CloudFormation),
  19. "Terraform": reflect.ValueOf(tools.Terraform),
  20. "Git": reflect.ValueOf(tools.Git),
  21. "AWS": reflect.ValueOf(tools.AWS),
  22. "SetLogger": reflect.ValueOf(tools.SetLogger),
  23. },
  24. "github.com/google/uuid/uuid": {
  25. "New": reflect.ValueOf(uuid.New),
  26. "NewString": reflect.ValueOf(uuid.NewString),
  27. },
  28. "dario.cat/mergo/mergo": {
  29. "Merge": reflect.ValueOf(mergo.Merge),
  30. "WithOverride": reflect.ValueOf(mergo.WithOverride),
  31. "WithoutDereference": reflect.ValueOf(mergo.WithoutDereference),
  32. },
  33. }
  34. )