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: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CreateResponse = `` /* 261-byte string literal not displayed */

CreateResponse represents the response body from a Create request.

View Source
const GetResponse = `` /* 1460-byte string literal not displayed */
View Source
const ListResponse = `` /* 576-byte string literal not displayed */

Variables

View Source
var (
	StackList1 = stacks.StackList{
		CreationTime:       creationTime,
		DeletionTime:       nil,
		UpdatedTime:        &updatedTime,
		Description:        "No description",
		ID:                 "94b6fff4-16ac-4049-a4e3-5323c1ab6060",
		Parent:             &parent,
		StackName:          "test-53yd6kruws7j-kube_minions-i75dlbg4rtuk",
		StackOwner:         nil,
		StackStatus:        "UPDATE_COMPLETE",
		StackStatusReason:  &stackStatusReason,
		StackUserProjectID: "39c030e9c44242e7b164c32a415f90c7",
		Tags:               nil,
	}

	Stack1 = stacks.Stack{
		StackList:           &StackList1,
		Capabilities:        []string{},
		DisableRollback:     true,
		NotificationTopics:  []string{},
		TemplateDescription: &templateDescription,
		TimeoutMinutes:      7200,
		Outputs: []map[string]interface{}{
			{
				"output_value": []interface{}{nil, nil},
				"output_key":   "kube_minion_external_ip",
				"description":  "No description given",
			},
			{
				"output_value": map[string]interface{}{
					"1": "e4497e3d-6dc1-4bb7-ab2c-95f2d9e0ddb6",
					"0": "96dc3da2-d305-403e-af04-84e6e3718794",
				},
				"output_key":  "refs_map",
				"description": "No description given",
			},
			{
				"output_value": []interface{}{
					"10.0.0.31",
					"10.0.0.13",
				},
				"output_key":  "kube_minion_ip",
				"description": "No description given",
			},
		},
		Parameters: map[string]interface{}{
			"OS::project_id": "46beed3938e6474390b530fefd6173d2",
			"OS::stack_id":   "94b6fff4-16ac-4049-a4e3-5323c1ab6060",
			"OS::stack_name": "test-53yd6kruws7j-kube_minions-i75dlbg4rtuk",
		},
	}

	ExpectedStackList1 = []stacks.StackList{StackList1}
)
View Source
var CreateExpected = &stacks.CreatedStack{
	ID: "16ef0584-4458-41eb-87c8-0dc8d5f66c87",
	Links: []gcorecloud.Link{
		{
			Href: "http://168.28.170.117:8004/v1/98606384f58drad0bhdb7d02779549ac/stacks/stackcreated/16ef0584-4458-41eb-87c8-0dc8d5f66c87",
			Rel:  "self",
		},
	},
}

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