Versions in this module Expand all Collapse all v0 v0.1.0 Aug 5, 2024 Changes in this version + var DefaultExecuteCreateDevice ExecuteCreateDevice = metal.ApiCreateDeviceRequest.Execute + var DefaultExecuteDeleteDevice ExecuteDeleteDevice = metal.ApiDeleteDeviceRequest.Execute + var DefaultExecuteFindDeviceByID ExecuteFindDeviceByID = metal.ApiFindDeviceByIdRequest.Execute + var DefaultExecuteFindProjectDevices ExecuteFindProjectDevices = metal.ApiFindProjectDevicesRequest.Execute + var DefaultExecutePerformAction ExecutePerformAction = metal.ApiPerformActionRequest.Execute + func NewEquinixProvider(configPath, controllerID string) (execution.ExternalProvider, error) + type DevicesApiServiceInterface interface + CreateDevice func(ctx context.Context, id string) metal.ApiCreateDeviceRequest + DeleteDevice func(ctx context.Context, id string) metal.ApiDeleteDeviceRequest + FindDeviceById func(ctx context.Context, id string) metal.ApiFindDeviceByIdRequest + FindProjectDevices func(ctx context.Context, id string) metal.ApiFindProjectDevicesRequest + PerformAction func(ctx context.Context, id string) metal.ApiPerformActionRequest + type ExecuteCreateDevice func(r metal.ApiCreateDeviceRequest) (*metal.Device, *http.Response, error) + type ExecuteDeleteDevice func(r metal.ApiDeleteDeviceRequest) (*http.Response, error) + type ExecuteFindDeviceByID func(r metal.ApiFindDeviceByIdRequest) (*metal.Device, *http.Response, error) + type ExecuteFindProjectDevices func(r metal.ApiFindProjectDevicesRequest) (*metal.DeviceList, *http.Response, error) + type ExecutePerformAction func(r metal.ApiPerformActionRequest) (*http.Response, error) + type MockClient struct + func (m *MockClient) CreateDevice(ctx context.Context, id string) metal.ApiCreateDeviceRequest + func (m *MockClient) DeleteDevice(ctx context.Context, id string) metal.ApiDeleteDeviceRequest + func (m *MockClient) FindDeviceById(ctx context.Context, id string) metal.ApiFindDeviceByIdRequest + func (m *MockClient) FindProjectDevices(ctx context.Context, id string) metal.ApiFindProjectDevicesRequest + func (m *MockClient) PerformAction(ctx context.Context, id string) metal.ApiPerformActionRequest