2022-10-14 09:26:42 +00:00
|
|
|
#!/usr/bin/env bash
|
2023-03-28 18:39:22 +00:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
# SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 18:39:22 +00:00
|
|
|
|
2022-10-14 09:26:42 +00:00
|
|
|
|
|
|
|
readonly PACKAGE_DIR="$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
cd $PACKAGE_DIR
|
|
|
|
|
|
|
|
# Uses: https://github.com/globusdigital/deep-copy
|
|
|
|
deep-copy -pointer-receiver \
|
|
|
|
-o ./proxycfg.deepcopy.go \
|
|
|
|
-type ConfigSnapshot \
|
|
|
|
-type ConfigSnapshotUpstreams \
|
|
|
|
-type PeerServersValue \
|
|
|
|
-type PeeringServiceValue \
|
2023-02-08 21:52:12 +00:00
|
|
|
-type configSnapshotAPIGateway \
|
2022-10-14 09:26:42 +00:00
|
|
|
-type configSnapshotConnectProxy \
|
|
|
|
-type configSnapshotIngressGateway \
|
|
|
|
-type configSnapshotMeshGateway \
|
|
|
|
-type configSnapshotTerminatingGateway \
|
|
|
|
./
|