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", }
View Source
var ExpectedEvents = []events.Event{ExpectedEvent1, ExpectedEvent2}
Functions ¶
func HandleGetSuccessfully ¶
func HandleListSuccessfully ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.