Create host (#276)

* Change testHostCatalog methods to be like other resource test methods

* Implement CreateHost

* Make allocHost return a pointer to a Host
This commit is contained in:
Michael Gaffney authored and GitHub committed 2020-08-17 17:06:31 -04:00
1 parent 282177afc2
commit e18cdc52b3
10 files changed
+351 -16

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
package static
import "errors"
var (
// ErrInvalidAddress results from attempting to perform an operation
// that sets an address on a host to an invalid value.
ErrInvalidAddress = errors.New("invalid address")
)