symbols.go 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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. },
  23. "github.com/google/uuid/uuid": {
  24. "New": reflect.ValueOf(uuid.New),
  25. "NewString": reflect.ValueOf(uuid.NewString),
  26. },
  27. "dario.cat/mergo/mergo": {
  28. "Merge": reflect.ValueOf(mergo.Merge),
  29. "WithOverride": reflect.ValueOf(mergo.WithOverride),
  30. "WithoutDereference": reflect.ValueOf(mergo.WithoutDereference),
  31. },
  32. }
  33. )