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 ./structs.deepcopy.go \
|
2023-02-08 21:52:12 +00:00
|
|
|
-type APIGatewayListener \
|
|
|
|
-type BoundAPIGatewayListener \
|
2022-10-14 09:26:42 +00:00
|
|
|
-type CARoot \
|
|
|
|
-type CheckServiceNode \
|
|
|
|
-type CheckType \
|
|
|
|
-type CompiledDiscoveryChain \
|
|
|
|
-type ConnectProxyConfig \
|
|
|
|
-type DiscoveryFailover \
|
|
|
|
-type DiscoveryGraphNode \
|
|
|
|
-type DiscoveryResolver \
|
|
|
|
-type DiscoveryRoute \
|
|
|
|
-type DiscoverySplit \
|
|
|
|
-type ExposeConfig \
|
2023-03-31 17:36:44 +00:00
|
|
|
-type ExportedServicesConfigEntry \
|
2024-04-15 20:45:05 +00:00
|
|
|
-type FileSystemCertificateConfigEntry \
|
2022-10-14 09:26:42 +00:00
|
|
|
-type GatewayService \
|
|
|
|
-type GatewayServiceTLSConfig \
|
|
|
|
-type HTTPHeaderModifiers \
|
2023-02-08 21:52:12 +00:00
|
|
|
-type HTTPRouteConfigEntry \
|
2022-10-14 09:26:42 +00:00
|
|
|
-type HashPolicy \
|
|
|
|
-type HealthCheck \
|
|
|
|
-type IndexedCARoots \
|
|
|
|
-type IngressListener \
|
2023-02-08 21:52:12 +00:00
|
|
|
-type InlineCertificateConfigEntry \
|
2022-10-14 09:26:42 +00:00
|
|
|
-type Intention \
|
|
|
|
-type IntentionPermission \
|
|
|
|
-type LoadBalancer \
|
|
|
|
-type MeshConfigEntry \
|
|
|
|
-type MeshDirectionalTLSConfig \
|
|
|
|
-type MeshTLSConfig \
|
|
|
|
-type Node \
|
|
|
|
-type NodeService \
|
|
|
|
-type PeeringServiceMeta \
|
|
|
|
-type ServiceConfigEntry \
|
|
|
|
-type ServiceConfigResponse \
|
|
|
|
-type ServiceConnect \
|
|
|
|
-type ServiceDefinition \
|
|
|
|
-type ServiceResolverConfigEntry \
|
|
|
|
-type ServiceResolverFailover \
|
|
|
|
-type ServiceRoute \
|
|
|
|
-type ServiceRouteDestination \
|
|
|
|
-type ServiceRouteMatch \
|
2024-05-14 13:32:49 +00:00
|
|
|
-type ServiceSpecificRequest \
|
2023-02-08 21:52:12 +00:00
|
|
|
-type TCPRouteConfigEntry \
|
2022-10-14 09:26:42 +00:00
|
|
|
-type Upstream \
|
|
|
|
-type UpstreamConfiguration \
|
2023-02-08 19:50:17 +00:00
|
|
|
-type Status \
|
|
|
|
-type BoundAPIGatewayConfigEntry \
|
2022-10-14 09:26:42 +00:00
|
|
|
./
|