123456789101112131415161718192021222324 |
- package test
- import (
- _ "embed"
- )
- const (
- kubeConfig = "k3s.yaml"
- namespace = "argo-api"
- workflowTemplateName = "front_json"
- workflowTemplateWithParamsName = "hello"
- )
- //go:embed definitions/approve_workflow_template.yaml
- var templateYamlStr string
- //go:embed definitions/approve_workflow.yaml
- var workflowYamlStr string
- //go:embed definitions/workflow_template_with_params.yaml
- var workflowTemplateWithParamsYamlStr string
- //go:embed definitions/workflow_with_params.yaml
- var workflowWithParamsYamlStr string
|