Documentation ¶
Overview ¶
clustering_receivers_v1
Index ¶
Constants ¶
View Source
const CreateResponse = `` /* 645-byte string literal not displayed */
View Source
const GetResponse = `` /* 645-byte string literal not displayed */
View Source
const ListResponse = `` /* 657-byte string literal not displayed */
View Source
const UpdateResponse = `` /* 627-byte string literal not displayed */
Variables ¶
View Source
var ExpectedReceiver = receivers.Receiver{ Action: "CLUSTER_SCALE_OUT", Actor: map[string]interface{}{ "trust_id": []string{ "6dc6d336e3fc4c0a951b5698cd1236d9", }, }, Channel: map[string]interface{}{ "alarm_url": "http://node1:8778/v1/webhooks/e03dd2e5-8f2e-4ec1-8c6a-74ba891e5422/trigger?V=1&count=1", }, ClusterID: "ae63a10b-4a90-452c-aef1-113a0b255ee3", CreatedAt: time.Date(2015, 11, 4, 5, 21, 41, 0, time.UTC), Domain: "Default", ID: "573aa1ba-bf45-49fd-907d-6b5d6e6adfd3", Name: "cluster_inflate", Params: map[string]interface{}{ "count": "1", }, Project: "6e18cc2bdbeb48a5b3cad2dc499f6804", Type: "webhook", UpdatedAt: time.Date(2016, 11, 4, 5, 21, 41, 0, time.UTC), User: "b4ad2d6e18cc2b9c48049f6dbe8a5b3c", }
View Source
var ExpectedReceiversList = []receivers.Receiver{ExpectedUpdateReceiver}
View Source
var ExpectedUpdateReceiver = receivers.Receiver{ Action: "CLUSTER_SCALE_OUT", Actor: map[string]interface{}{ "trust_id": []string{ "6dc6d336e3fc4c0a951b5698cd1236d9", }, }, Channel: map[string]interface{}{ "alarm_url": "http://node1:8778/v1/webhooks/e03dd2e5-8f2e-4ec1-8c6a-74ba891e5422/trigger?V=1&count=1", }, ClusterID: "ae63a10b-4a90-452c-aef1-113a0b255ee3", CreatedAt: time.Date(2015, 6, 27, 5, 9, 43, 0, time.UTC), Domain: "Default", ID: "573aa1ba-bf45-49fd-907d-6b5d6e6adfd3", Name: "cluster_inflate", Params: map[string]interface{}{ "count": "1", }, Project: "6e18cc2bdbeb48a5b3cad2dc499f6804", Type: "webhook", User: "b4ad2d6e18cc2b9c48049f6dbe8a5b3c", }
Functions ¶
func HandleGetSuccessfully ¶
func HandleListSuccessfully ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.