Files
uncloud/internal/machine/docker/controller_darwin.go
T

22 lines
420 B
Go

//go:build darwin
package docker
import (
"context"
"fmt"
"net/netip"
)
// EnsureUncloudNetwork is a stub for Darwin.
func (c *Controller) EnsureUncloudNetwork(
ctx context.Context, subnet netip.Prefix, mtu int, dnsServer netip.Addr,
) error {
return fmt.Errorf("not supported on Darwin")
}
// Cleanup is a stub for Darwin.
func (c *Controller) Cleanup() error {
return fmt.Errorf("not supported on Darwin")
}