forked from GoogleCloudPlatform/k8s-config-connector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request GoogleCloudPlatform#2352 from gemmahou/refs
fix: Update direct forwarding rule API to use v1beta1 refs
- Loading branch information
Showing
7 changed files
with
248 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
// Copyright 2024 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package v1beta1 | ||
|
||
type ComputeNetworkRef struct { | ||
/* The compute network selflink of form "projects/<project>/global/networks/<network>", when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeNetwork` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeNetwork` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeSubnetworkRef struct { | ||
/* The ComputeSubnetwork selflink of form "projects/{{project}}/regions/{{region}}/subnetworks/{{name}}", when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeSubnetwork` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeSubnetwork` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeAddressRef struct { | ||
/* The ComputeAddress selflink in the form "projects/{{project}}/regions/{{region}}/addresses/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeAddress` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeAddress` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeBackendServiceRef struct { | ||
/* The ComputeBackendService selflink in the form "projects/{{project}}/global/backendServices/{{name}}" or "projects/{{project}}/regions/{{region}}/backendServices/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeBackendService` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeBackendService` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeServiceAttachmentRef struct { | ||
/* The ComputeServiceAttachment selflink in the form "projects/{{project}}/regions/{{region}}/serviceAttachments/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeServiceAttachment` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeServiceAttachment` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeTargetGrpcProxyRef struct { | ||
/* The ComputeTargetGrpcProxy selflink in the form "projects/{{project}}/global/targetGrpcProxies/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeTargetGrpcProxy` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeTargetGrpcProxy` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeTargetHTTPProxyRef struct { | ||
/* The ComputeTargetHTTPProxy selflink in the form "projects/{{project}}/global/targetHttpProxies/{{name}}" or "projects/{{project}}/regions/{{region}}/targetHttpProxies/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeTargetHTTPProxy` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeTargetHTTPProxy` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeTargetHTTPSProxyRef struct { | ||
/* The ComputeTargetHTTPSProxy selflink in the form "projects/{{project}}/global/targetHttpProxies/{{name}}" or "projects/{{project}}/regions/{{region}}/targetHttpProxies/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeTargetHTTPSProxy` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeTargetHTTPSProxy` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeTargetSSLProxyRef struct { | ||
/* The ComputeTargetSSLProxy selflink in the form "projects/{{project}}/global/targetSslProxies/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeTargetSSLProxy` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeTargetSSLProxy` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeTargetTCPProxyRef struct { | ||
/* The ComputeTargetTCPProxy selflink in the form "projects/{{project}}/global/targetTcpProxies/{{name}}" or "projects/{{project}}/regions/{{region}}/targetTcpProxies/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeTargetTCPProxy` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeTargetTCPProxy` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} | ||
|
||
type ComputeTargetVPNGatewayRef struct { | ||
/* The ComputeTargetVPNGateway selflink in the form "projects/{{project}}/regions/{{region}}/targetVpnGateways/{{name}}" when not managed by KCC. */ | ||
External string `json:"external,omitempty"` | ||
/* The `name` field of a `ComputeTargetVPNGateway` resource. */ | ||
Name string `json:"name,omitempty"` | ||
/* The `namespace` field of a `ComputeTargetVPNGateway` resource. */ | ||
Namespace string `json:"namespace,omitempty"` | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.