testing

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

clustering_profiletypes_v1

Index

Constants

View Source
const GetResponse1 = `` /* 372-byte string literal not displayed */
View Source
const GetResponse15 = `` /* 966-byte string literal not displayed */
View Source
const ListOpsResponse = `` /* 364-byte string literal not displayed */
View Source
const ListResponse = `` /* 1384-byte string literal not displayed */
View Source
const ProfileTypeName = "os.nova.server-1.0"
View Source
const ProfileTypeRequestID = "req-7328d1b0-9945-456f-b2cd-5166b77d14a8"

Variables

View Source
var ExpectedOps = map[string]interface{}{
	"change_password": map[string]interface{}{
		"description": "Change the administrator password.",
		"parameters": map[string]interface{}{
			"admin_pass": map[string]interface{}{
				"description": "New password for the administrator.",
				"required":    false,
				"type":        "String",
			},
		},
	},
	"pause": map[string]interface{}{
		"description": "Pause the server from running.",
		"parameter":   nil,
	},
}
View Source
var ExpectedProfileType1 = profiletypes.ProfileType{
	Name: "os.nova.server-1.0",
	Schema: map[string]profiletypes.Schema{
		"context": {
			"description": "Customized security context for operating containers.",
			"required":    false,
			"type":        "Map",
			"updatable":   false,
		},
		"name": {
			"description": "The name of the container.",
			"required":    false,
			"type":        "Map",
			"updatable":   false,
		},
	},
}
View Source
var ExpectedProfileType15 = profiletypes.ProfileType{
	Name: "os.heat.stack-1.0",
	Schema: map[string]profiletypes.Schema{
		"context": {
			"default":     map[string]interface{}{},
			"description": "A dictionary for specifying the customized context for stack operations",
			"required":    false,
			"type":        "Map",
			"updatable":   false,
		},
		"disable_rollback": {
			"default":     true,
			"description": "A boolean specifying whether a stack operation can be rolled back.",
			"required":    false,
			"type":        "Boolean",
			"updatable":   true,
		},
		"environment": {
			"default":     map[string]interface{}{},
			"description": "A map that specifies the environment used for stack operations.",
			"required":    false,
			"type":        "Map",
			"updatable":   true,
		},
		"files": {
			"default":     map[string]interface{}{},
			"description": "Contents of files referenced by the template, if any.",
			"required":    false,
			"type":        "Map",
			"updatable":   true,
		},
	},
	SupportStatus: map[string][]profiletypes.SupportStatus{
		"1.0": {
			{
				"status": "SUPPORTED",
				"since":  "2016.04",
			},
		},
	},
}

Functions

func HandleGet15Successfully

func HandleGet15Successfully(t *testing.T, id string)

func HandleGet1Successfully

func HandleGet1Successfully(t *testing.T, id string)

func HandleList1Successfully

func HandleList1Successfully(t *testing.T)

func HandleListOpsSuccessfully

func HandleListOpsSuccessfully(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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