Ubuntu Pastebin

Paste from axw at Wed, 20 Jul 2016 02:33:18 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.

package cloud                                             

// Spec describes a specific cloud configuration, for the purpose
// of managing the cloud.
type Spec struct {
        // Type is the type of cloud, eg aws, openstack etc.
        Type string
        
        // Cloud is the name of the cloud.
        Cloud string
        
        // Region is the name of the cloud region, if the cloud supports
        // regions.
        Region string
        
        // Endpoint is the endpoint for the cloud (region).
        Endpoint string
        
        // StorageEndpoint is the storage endpoint for the cloud (region).
        StorageEndpoint string

        // Credential is the cloud credential to use.
        Credential Credential                       
}         
Download as text