testing

package
v1.1.32 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

clustering_actions_v1

Index

Constants

View Source
const GetResponse = `` /* 736-byte string literal not displayed */
View Source
const ListResponse = `` /* 1473-byte string literal not displayed */

Variables

View Source
var ExpectedAction1 = actions.Action{
	Action:       "NODE_DELETE",
	Cause:        "RPC Request",
	CreatedAt:    time.Date(2015, 11, 4, 5, 21, 41, 0, time.UTC),
	Data:         map[string]interface{}{},
	DependedBy:   []string{"ef67fe80-6547-40f2-ba1b-83e950aa38df"},
	DependsOn:    []string{"ef67fe80-6547-40f2-ba1b-83e950aa38df"},
	EndTime:      1425550000.0,
	ID:           "edce3528-864f-41fb-8759-f4707925cc09",
	Inputs:       make(map[string]interface{}),
	Interval:     -1,
	Name:         "node_delete_f0de9b9c",
	Outputs:      make(map[string]interface{}),
	Owner:        "",
	Project:      "f1fe61dcda2f4618a14c10dc7abc214d",
	StartTime:    1425550000.0,
	Status:       "SUCCEEDED",
	StatusReason: "Action completed successfully.",
	Target:       "f0de9b9c-6d48-4a46-af21-2ca8607777fe",
	Timeout:      3600,
	UpdatedAt:    time.Date(2016, 11, 4, 5, 21, 41, 0, time.UTC),
	User:         "8bcd2cdca7684c02afc9e4f2fc0f0c79",
}
View Source
var ExpectedAction2 = actions.Action{
	Action:       "NODE_DELETE",
	Cause:        "RPC Request",
	CreatedAt:    time.Time{},
	Data:         map[string]interface{}{},
	DependedBy:   []string{"ef67fe80-6547-40f2-ba1b-83e950aa38df"},
	DependsOn:    []string{"ef67fe80-6547-40f2-ba1b-83e950aa38df"},
	EndTime:      1425550000.0,
	ID:           "edce3528-864f-41fb-8759-f4707925cc09",
	Inputs:       make(map[string]interface{}),
	Interval:     -1,
	Name:         "node_delete_f0de9b9c",
	Outputs:      make(map[string]interface{}),
	Owner:        "",
	Project:      "f1fe61dcda2f4618a14c10dc7abc214d",
	StartTime:    1425550000.0,
	Status:       "SUCCEEDED",
	StatusReason: "Action completed successfully.",
	Target:       "f0de9b9c-6d48-4a46-af21-2ca8607777fe",
	Timeout:      3600,
	UpdatedAt:    time.Time{},
	User:         "8bcd2cdca7684c02afc9e4f2fc0f0c79",
}

Functions

func HandleGetSuccessfully

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

func HandleListSuccessfully

func HandleListSuccessfully(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