|
|
@ -76,6 +76,7 @@ func TestDigitalOceanSDRefresh(t *testing.T) { |
|
|
|
"__meta_digitalocean_region": model.LabelValue("nyc3"), |
|
|
|
"__meta_digitalocean_region": model.LabelValue("nyc3"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("active"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("active"), |
|
|
|
|
|
|
|
"__meta_digitalocean_vpc": model.LabelValue("f9b0769c-e118-42fb-a0c4-fed15ef69662"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",backups,ipv6,virtio,"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",backups,ipv6,virtio,"), |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -90,6 +91,7 @@ func TestDigitalOceanSDRefresh(t *testing.T) { |
|
|
|
"__meta_digitalocean_region": model.LabelValue("nyc3"), |
|
|
|
"__meta_digitalocean_region": model.LabelValue("nyc3"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("active"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("active"), |
|
|
|
|
|
|
|
"__meta_digitalocean_vpc": model.LabelValue("f9b0769c-e118-42fb-a0c4-fed15ef69662"), |
|
|
|
"__meta_digitalocean_tags": model.LabelValue(",monitor,"), |
|
|
|
"__meta_digitalocean_tags": model.LabelValue(",monitor,"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",virtio,"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",virtio,"), |
|
|
|
}, |
|
|
|
}, |
|
|
@ -105,6 +107,7 @@ func TestDigitalOceanSDRefresh(t *testing.T) { |
|
|
|
"__meta_digitalocean_region": model.LabelValue("fra1"), |
|
|
|
"__meta_digitalocean_region": model.LabelValue("fra1"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("off"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("off"), |
|
|
|
|
|
|
|
"__meta_digitalocean_vpc": model.LabelValue("953d698c-dc84-11e8-80bc-3cfdfea9fba1"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",ipv6,private_networking,"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",ipv6,private_networking,"), |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -119,6 +122,7 @@ func TestDigitalOceanSDRefresh(t *testing.T) { |
|
|
|
"__meta_digitalocean_region": model.LabelValue("fra1"), |
|
|
|
"__meta_digitalocean_region": model.LabelValue("fra1"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_size": model.LabelValue("s-1vcpu-1gb"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("active"), |
|
|
|
"__meta_digitalocean_status": model.LabelValue("active"), |
|
|
|
|
|
|
|
"__meta_digitalocean_vpc": model.LabelValue("953d698c-dc84-11e8-80bc-3cfdfea9fba1"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",ipv6,private_networking,"), |
|
|
|
"__meta_digitalocean_features": model.LabelValue(",ipv6,private_networking,"), |
|
|
|
}, |
|
|
|
}, |
|
|
|
} { |
|
|
|
} { |
|
|
|