mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
minor refactor e2e cluster test
This commit is contained in:
@@ -33,6 +33,10 @@ type Machine struct {
|
||||
APIAddress netip.AddrPort
|
||||
}
|
||||
|
||||
func (m *Machine) Connect(ctx context.Context) (*client.Client, error) {
|
||||
return client.New(ctx, connector.NewTCPConnector(m.APIAddress))
|
||||
}
|
||||
|
||||
type CreateMachineOptions struct {
|
||||
Name string
|
||||
Image string
|
||||
|
||||
Reference in New Issue
Block a user