mirror of https://github.com/status-im/consul.git
18 lines
479 B
Bash
18 lines
479 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
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 \
|
||
|
-type configSnapshotConnectProxy \
|
||
|
-type configSnapshotIngressGateway \
|
||
|
-type configSnapshotMeshGateway \
|
||
|
-type configSnapshotTerminatingGateway \
|
||
|
./
|