2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-09-09 21:55:20 +00:00
|
|
|
package command
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/nomad/api"
|
|
|
|
)
|
|
|
|
|
|
|
|
// testVariable returns a test variable spec
|
|
|
|
func testVariable() *api.Variable {
|
|
|
|
return &api.Variable{
|
|
|
|
Namespace: "default",
|
|
|
|
Path: "test/var",
|
|
|
|
Items: map[string]string{
|
|
|
|
"keyA": "valueA",
|
|
|
|
"keyB": "valueB",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|