constellation/internal/cloud/azure/iptables_cross.go
Daniel Weiße 4f1768e660
cloud: hide kubernetes iptables usage behind linux build tag (#3088)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2024-05-13 13:22:22 +02:00

19 lines
311 B
Go

//go:build !linux
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
package azure
import (
"context"
"log/slog"
)
func (c *Cloud) PrepareControlPlaneNode(_ context.Context, _ *slog.Logger) error {
panic("azure.*Cloud.PrepareControlPlaneNode is only supported on Linux")
}