Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
add windows stub to fix build issue
Maidul Islama16dc3aef60e
diff --git a/cli/packages/gateway/relay.go b/cli/packages/gateway/relay.goindex 0db5fd387e..bbd1332a4a 100644--- a/cli/packages/gateway/relay.go+++ b/cli/packages/gateway/relay.go@@ -1,3 +1,6 @@+//go:build !windows+// +build !windows+package gatewayimport (diff --git a/cli/packages/gateway/relay_windows.go b/cli/packages/gateway/relay_windows.gonew file mode 100644index 0000000000..f3bf89bd06--- /dev/null+++ b/cli/packages/gateway/relay_windows.go@@ -0,0 +1,37 @@+//go:build windows+// +build windows++package gateway++import (+ "errors"+)++var (+ errMissingTlsCert = errors.New("Missing TLS files")+ errWindowsNotSupported = errors.New("Relay is not supported on Windows")+)++type GatewayRelay struct {+ Config *GatewayRelayConfig+}++type GatewayRelayConfig struct {+ PublicIP string+ Port int+ Realm string+ AuthSecret string+ RelayMinPort uint16+ RelayMaxPort uint16+ TlsCertPath string+ TlsPrivateKeyPath string+ TlsCaPath string+}++func NewGatewayRelay(configFilePath string) (*GatewayRelay, error) {+ return nil, errWindowsNotSupported+}++func (g *GatewayRelay) Run() error {+ return errWindowsNotSupported+}