testing

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

clustering_events_v1

Index

Constants

View Source
const GetResponse = `` /* 443-byte string literal not displayed */
View Source
const ListResponse = `` /* 937-byte string literal not displayed */

Variables

View Source
var ExpectedEvent1 = events.Event{
	Action:       "CLUSTER_CREATE",
	Cluster:      "",
	ClusterID:    "",
	ID:           "edce3528-864f-41fb-8759-f4707925cc09",
	Level:        "INFO",
	Metadata:     map[string]interface{}{},
	OID:          "0df0931b-e251-4f2e-8719-4ebfda3627ba",
	OName:        "cluster001",
	OType:        "CLUSTER",
	Project:      "f1fe61dcda2f4618a14c10dc7abc214d",
	Status:       "start",
	StatusReason: "Initializing",
	Timestamp:    time.Date(2015, 3, 5, 8, 53, 15, 0, time.UTC),
	User:         "8bcd2cdca7684c02afc9e4f2fc0f0c79",
}
View Source
var ExpectedEvent2 = events.Event{
	Action:       "NODE_DELETE",
	Cluster:      "",
	ClusterID:    "",
	ID:           "abcd1234-864f-41fb-8759-f4707925dd10",
	Level:        "INFO",
	Metadata:     map[string]interface{}{},
	OID:          "0df0931b-e251-4f2e-8719-4ebfda3627ba",
	OName:        "node119",
	OType:        "node",
	Project:      "f1fe61dcda2f4618a14c10dc7abc214d",
	Status:       "start",
	StatusReason: "84492c96",
	Timestamp:    time.Date(2015, 3, 6, 18, 53, 15, 0, time.UTC),
	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