mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
22 lines
420 B
Go
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")
|
|
}
|