Documentation ¶
Overview ¶
clustering_nodes_v1
Index ¶
Constants ¶
View Source
const CreateResponse = `` /* 1410-byte string literal not displayed */
View Source
const GetResponse = `` /* 722-byte string literal not displayed */
View Source
const ListResponse = `` /* 764-byte string literal not displayed */
View Source
const UpdateResponse = `` /* 721-byte string literal not displayed */
Variables ¶
View Source
var ExpectedCreate = nodes.Node{ ClusterID: "e395be1e-8d8e-43bb-bd6c-943eccf76a6d", CreatedAt: time.Date(2016, 5, 13, 7, 2, 20, 0, time.UTC), Data: map[string]interface{}{ "internal_ports": []map[string]interface{}{ { "network_id": "847e4f65-1ff1-42b1-9e74-74e6a109ad11", "security_group_ids": []interface{}{ "8db277ab-1d98-4148-ba72-724721789427", }, "fixed_ips": []interface{}{ map[string]interface{}{ "subnet_id": "863b20c0-c011-4650-85c2-ad531f4570a4", "ip_address": "10.63.177.162", }, }, "id": "43aa53d7-a70b-4f40-812f-4feecb687018", "remove": true, }, }, "placement": map[string]interface{}{ "zone": "nova", }, }, Dependents: map[string]interface{}{}, Domain: "1235be1e-8d8e-43bb-bd6c-943eccf76a6d", ID: "82fe28e0-9fcb-42ca-a2fa-6eb7dddd75a1", Index: 2, InitAt: time.Date(2016, 5, 13, 8, 2, 4, 0, time.UTC), Metadata: map[string]interface{}{ "foo": "bar", "test": map[string]interface{}{ "nil_interface": interface{}(nil), "float_value": float64(123.3), "string_value": "test_string", "bool_value": false, }, }, Name: "node-e395be1e-002", PhysicalID: "66a81d68-bf48-4af5-897b-a3bfef7279a8", ProfileID: "d8a48377-f6a3-4af4-bbbb-6e8bcaa0cbc0", ProfileName: "pcirros", ProjectID: "eee0b7c083e84501bdd50fb269d2a10e", Role: "", Status: "ACTIVE", StatusReason: "Creation succeeded", User: "ab79b9647d074e46ac223a8fa297b846", }
View Source
var ExpectedGet = nodes.Node{ ClusterID: "e395be1e-8d8e-43bb-bd6c-943eccf76a6d", CreatedAt: time.Date(2016, 5, 13, 7, 2, 20, 0, time.UTC), Data: map[string]interface{}{}, Dependents: map[string]interface{}{}, Domain: "", ID: "82fe28e0-9fcb-42ca-a2fa-6eb7dddd75a1", Index: 2, InitAt: time.Date(2016, 5, 13, 7, 2, 4, 0, time.UTC), Metadata: map[string]interface{}{"foo": "bar"}, Name: "node-e395be1e-002", PhysicalID: "66a81d68-bf48-4af5-897b-a3bfef7279a8", ProfileID: "d8a48377-f6a3-4af4-bbbb-6e8bcaa0cbc0", ProfileName: "pcirros", ProjectID: "eee0b7c083e84501bdd50fb269d2a10e", Role: "", Status: "ACTIVE", StatusReason: "Creation succeeded", UpdatedAt: time.Date(2016, 5, 13, 7, 2, 20, 0, time.UTC), User: "ab79b9647d074e46ac223a8fa297b846", }
View Source
var ExpectedList = []nodes.Node{ExpectedList1}
View Source
var ExpectedList1 = nodes.Node{ ClusterID: "e395be1e-8d8e-43bb-bd6c-943eccf76a6d", CreatedAt: time.Date(2016, 5, 13, 7, 2, 20, 0, time.UTC), Data: map[string]interface{}{}, Dependents: map[string]interface{}{}, Domain: "", ID: "82fe28e0-9fcb-42ca-a2fa-6eb7dddd75a1", Index: 2, InitAt: time.Date(2016, 5, 13, 8, 2, 4, 0, time.UTC), Metadata: map[string]interface{}{}, Name: "node-e395be1e-002", PhysicalID: "66a81d68-bf48-4af5-897b-a3bfef7279a8", ProfileID: "d8a48377-f6a3-4af4-bbbb-6e8bcaa0cbc0", ProfileName: "pcirros", ProjectID: "eee0b7c083e84501bdd50fb269d2a10e", Role: "", Status: "ACTIVE", StatusReason: "Creation succeeded", UpdatedAt: time.Date(2016, 5, 13, 9, 2, 4, 0, time.UTC), User: "ab79b9647d074e46ac223a8fa297b846", }
View Source
var ExpectedUpdate = nodes.Node{ ClusterID: "e395be1e-8d8e-43bb-bd6c-943eccf76a6d", CreatedAt: time.Date(2016, 5, 13, 7, 2, 20, 0, time.UTC), Data: map[string]interface{}{}, Dependents: map[string]interface{}{}, Domain: "", ID: "82fe28e0-9fcb-42ca-a2fa-6eb7dddd75a1", Index: 2, InitAt: time.Date(2016, 5, 13, 8, 2, 4, 0, time.UTC), Metadata: map[string]interface{}{"foo": "bar"}, Name: "node-e395be1e-002", PhysicalID: "66a81d68-bf48-4af5-897b-a3bfef7279a8", ProfileID: "d8a48377-f6a3-4af4-bbbb-6e8bcaa0cbc0", ProfileName: "pcirros", ProjectID: "eee0b7c083e84501bdd50fb269d2a10e", Role: "", Status: "ACTIVE", StatusReason: "Creation succeeded", UpdatedAt: time.Date(2016, 5, 13, 9, 2, 4, 0, time.UTC), User: "ab79b9647d074e46ac223a8fa297b846", }
Functions ¶
func HandleGetSuccessfully ¶
func HandleListSuccessfully ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.