github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/core/instance/instance.go (about) 1 // Copyright 2018 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package instance 5 6 import ( 7 "github.com/juju/juju/core/status" 8 ) 9 10 // Id is a provider-specific identifier associated with an 11 // instance (physical or virtual machine allocated in the provider). 12 type Id string 13 14 // Status represents the status for a provider instance. 15 type Status struct { 16 Status status.Status 17 Message string 18 } 19 20 // UnknownId can be used to explicitly specify the instance Id when it does not matter. 21 const UnknownId Id = ""