common.go 596 B

123456789101112131415161718192021222324
  1. package test
  2. import (
  3. _ "embed"
  4. )
  5. const (
  6. kubeConfig = "/etc/rancher/k3s.yaml/k3s.yaml.yaml"
  7. namespace = "argo-api"
  8. workflowTemplateName = "approve"
  9. workflowTemplateWithParamsName = "hello"
  10. )
  11. //go:embed definitions/approve_workflow_template.yaml
  12. var templateYamlStr string
  13. //go:embed definitions/approve_workflow.yaml
  14. var workflowYamlStr string
  15. //go:embed definitions/workflow_template_with_params.yaml
  16. var workflowTemplateWithParamsYamlStr string
  17. //go:embed definitions/workflow_with_params.yaml
  18. var workflowWithParamsYamlStr string