| commit | de12c7ef5833ae349d8f39c8116431a286838fd7 | [log] [tgz] |
|---|---|---|
| author | Tim Windelschmidt <tim@monogon.tech> | Thu Apr 25 18:00:40 2024 +0200 |
| committer | Tim Windelschmidt <tim@monogon.tech> | Tue May 14 21:12:21 2024 +0000 |
| tree | 4d379b1e6c0851b646f983cdb4c6f61b16588992 | |
| parent | d20ddccddf601c2a34cc5238bd82b6a4a1744502 [diff] [blame] |
cloud/equinix/cli: add list command This also replaces the packngo library with our fork Change-Id: I7ef23b840ce0de01109ab5764ed2c23feff72e49 Reviewed-on: https://review.monogon.dev/c/monogon/+/3060 Reviewed-by: Serge Bazanski <serge@monogon.tech> Tested-by: Jenkins CI
diff --git a/cloud/shepherd/provider/equinix/fakequinix_test.go b/cloud/shepherd/provider/equinix/fakequinix_test.go index bd0df4a..62892cc 100644 --- a/cloud/shepherd/provider/equinix/fakequinix_test.go +++ b/cloud/shepherd/provider/equinix/fakequinix_test.go
@@ -23,6 +23,10 @@ reboots map[string]int } +func (f *fakequinix) ListOrganizationReservations(ctx context.Context, oid string) ([]packngo.HardwareReservation, error) { + return nil, fmt.Errorf("not implemented") +} + // newFakequinix makes a fakequinix with a given fake project ID and number of // hardware reservations to create. func newFakequinix(pid string, numReservations int) *fakequinix {