github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/provider/lxd/lxdnames/names.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  // Package lxdnames provides names for the lxd provider.
     5  package lxdnames
     6  
     7  // NOTE: this package exists to get around circular imports from cloud and
     8  // provider/lxd.
     9  
    10  // DefaultCloud is the name of the default lxd cloud, which corresponds to
    11  // the local lxd daemon.
    12  const DefaultCloud = "localhost"
    13  
    14  // DefaultCloudAltName is the alternative name of the default lxd cloud,
    15  // which corresponds to the local lxd daemon.
    16  const DefaultCloudAltName = "lxd"
    17  
    18  // DefaultLocalRegion is the name of the "region" we support in a local lxd,
    19  // which corresponds to the local lxd daemon.
    20  const DefaultLocalRegion = "localhost"
    21  
    22  // DefaultRemoteRegion is the name of the "region" we report if there are no
    23  // other regions for a remote lxd server.
    24  const DefaultRemoteRegion = "default"
    25  
    26  // ProviderType defines the provider/cloud type for lxd.
    27  const ProviderType = "lxd"