symbols.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. "Terraform": reflect.ValueOf(tools.Terraform),
  19. "Git": reflect.ValueOf(tools.Git),
  20. "AWS": reflect.ValueOf(tools.AWS),
  21. "SSL": reflect.ValueOf(tools.SSL),
  22. "File": reflect.ValueOf(tools.File),
  23. "SetLogger": reflect.ValueOf(tools.SetLogger),
  24. },
  25. "github.com/google/uuid/uuid": {
  26. "New": reflect.ValueOf(uuid.New),
  27. "NewString": reflect.ValueOf(uuid.NewString),
  28. },
  29. "dario.cat/mergo/mergo": {
  30. "Merge": reflect.ValueOf(mergo.Merge),
  31. "WithOverride": reflect.ValueOf(mergo.WithOverride),
  32. "WithoutDereference": reflect.ValueOf(mergo.WithoutDereference),
  33. },
  34. }
  35. )