testing

package
v0.6.28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TaskResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`

Variables

View Source
var (
	Sg1 = servergroups.ServerGroup{
		ServerGroupID: "47003067-550a-6f17-93b6-81ee16ba061e",
		ProjectID:     1,
		RegionID:      1,
		Region:        "Luxembourg 1",
		Name:          "example_server_group",
		Instances: []servergroups.ServerGroupInstance{
			{
				InstanceID:   "6d14f194-6c1e-49b3-9fc7-50dc8401eb74",
				InstanceName: "test_ruslan_aa2",
			},
		},
		Policy: "anti-affinity",
	}
	ExpectedServerGroupSlice = []servergroups.ServerGroup{Sg1}
	Tasks1                   = tasks.TaskResults{
		Tasks: []tasks.TaskID{"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"},
	}
)
View Source
var CreateRequest = `
{
  "name": "example_server_group",
  "policy": "anti-affinity"
}
`
View Source
var GetResponse = `` /* 328-byte string literal not displayed */
View Source
var ListResponse = `` /* 421-byte string literal not displayed */

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL