beta

package
v1.66.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2024 Google LLC. All Rights Reserved.

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 beta defines operations in the declarative SDK.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Copyright 2024 Google LLC. All Rights Reserved.

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.

Index

Constants

View Source
const EndpointPolicyMaxPage = -1
View Source
const GatewayMaxPage = -1
View Source
const GrpcRouteMaxPage = -1
View Source
const HttpRouteMaxPage = -1
View Source
const MeshMaxPage = -1
View Source
const ServiceBindingMaxPage = -1
View Source
const TcpRouteMaxPage = -1
View Source
const TlsRouteMaxPage = -1

Variables

View Source
var YAML_endpoint_policy = []byte("info:\n  title: NetworkServices/EndpointPolicy\n  description: The NetworkServices EndpointPolicy resource\n  x-dcl-struct-name: EndpointPolicy\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a EndpointPolicy\n    parameters:\n    - name: endpointPolicy\n      required: true\n      description: A full instance of a EndpointPolicy\n  apply:\n    description: The function used to apply information about a EndpointPolicy\n    parameters:\n    - name: endpointPolicy\n      required: true\n      description: A full instance of a EndpointPolicy\n  delete:\n    description: The function used to delete a EndpointPolicy\n    parameters:\n    - name: endpointPolicy\n      required: true\n      description: A full instance of a EndpointPolicy\n  deleteAll:\n    description: The function used to delete all EndpointPolicy\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many EndpointPolicy\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    EndpointPolicy:\n      title: EndpointPolicy\n      x-dcl-id: projects/{{project}}/locations/{{location}}/endpointPolicies/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - type\n      - endpointMatcher\n      - project\n      - location\n      properties:\n        authorizationPolicy:\n          type: string\n          x-dcl-go-name: AuthorizationPolicy\n          description: Optional. This field specifies the URL of AuthorizationPolicy\n            resource that applies authorization policies to the inbound traffic at\n            the matched endpoints. Refer to Authorization. If this field is not specified,\n            authorization is disabled(no authz checks) for this endpoint.\n          x-dcl-references:\n          - resource: Networksecurity/AuthorizationPolicy\n            field: name\n        clientTlsPolicy:\n          type: string\n          x-dcl-go-name: ClientTlsPolicy\n          description: Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy\n            can be set to specify the authentication for traffic from the proxy to\n            the actual endpoints. More specifically, it is applied to the outgoing\n            traffic from the proxy to the endpoint. This is typically used for sidecar\n            model where the proxy identifies itself as endpoint to the control plane,\n            with the connection between sidecar and endpoint requiring authentication.\n            If this field is not set, authentication is disabled(open). Applicable\n            only when EndpointPolicyType is SIDECAR_PROXY.\n          x-dcl-references:\n          - resource: Networksecurity/ClientTlsPolicy\n            field: name\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n        endpointMatcher:\n          type: object\n          x-dcl-go-name: EndpointMatcher\n          x-dcl-go-type: EndpointPolicyEndpointMatcher\n          description: Required. A matcher that selects endpoints to which the policies\n            should be applied.\n          properties:\n            metadataLabelMatcher:\n              type: object\n              x-dcl-go-name: MetadataLabelMatcher\n              x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcher\n              description: The matcher is based on node metadata presented by xDS\n                clients.\n              properties:\n                metadataLabelMatchCriteria:\n                  type: string\n                  x-dcl-go-name: MetadataLabelMatchCriteria\n                  x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum\n                  description: 'Specifies how matching should be done. Supported values\n                    are: MATCH_ANY: At least one of the Labels specified in the matcher\n                    should match the metadata presented by xDS client. MATCH_ALL:\n                    The metadata presented by the xDS client should contain all of\n                    the labels specified here. The selection is determined based on\n                    the best match. For example, suppose there are three EndpointPolicy\n                    resources P1, P2 and P3 and if P1 has a the matcher as MATCH_ANY\n                    , P2 has MATCH_ALL , and P3 has MATCH_ALL . If a client with label\n                    connects, the config from P1 will be selected. If a client with\n                    label connects, the config from P2 will be selected. If a client\n                    with label connects, the config from P3 will be selected. If there\n                    is more than one best match, (for example, if a config P4 with\n                    selector exists and if a client with label connects), an error\n                    will be thrown. Possible values: METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED,\n                    MATCH_ANY, MATCH_ALL'\n                  enum:\n                  - METADATA_LABEL_MATCH_CRITERIA_UNSPECIFIED\n                  - MATCH_ANY\n                  - MATCH_ALL\n                metadataLabels:\n                  type: array\n                  x-dcl-go-name: MetadataLabels\n                  description: The list of label value pairs that must match labels\n                    in the provided metadata based on filterMatchCriteria This list\n                    can have at most 64 entries. The list can be empty if the match\n                    criteria is MATCH_ANY, to specify a wildcard match (i.e this matches\n                    any client).\n                  x-dcl-send-empty: true\n                  x-dcl-list-type: list\n                  items:\n                    type: object\n                    x-dcl-go-type: EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels\n                    required:\n                    - labelName\n                    - labelValue\n                    properties:\n                      labelName:\n                        type: string\n                        x-dcl-go-name: LabelName\n                        description: Required. Label name presented as key in xDS\n                          Node Metadata.\n                      labelValue:\n                        type: string\n                        x-dcl-go-name: LabelValue\n                        description: Required. Label value presented as value corresponding\n                          to the above key, in xDS Node Metadata.\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the EndpointPolicy\n            resource.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the EndpointPolicy resource.\n          x-kubernetes-immutable: true\n          x-dcl-has-long-form: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        serverTlsPolicy:\n          type: string\n          x-dcl-go-name: ServerTlsPolicy\n          description: Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy\n            is used to determine the authentication policy to be applied to terminate\n            the inbound traffic at the identified backends. If this field is not set,\n            authentication is disabled(open) for this endpoint.\n          x-dcl-references:\n          - resource: Networksecurity/ServerTlsPolicy\n            field: name\n        trafficPortSelector:\n          type: object\n          x-dcl-go-name: TrafficPortSelector\n          x-dcl-go-type: EndpointPolicyTrafficPortSelector\n          description: Optional. Port selector for the (matched) endpoints. If no\n            port selector is provided, the matched config is applied to all ports.\n          properties:\n            ports:\n              type: array\n              x-dcl-go-name: Ports\n              description: Optional. A list of ports. Can be port numbers or port\n                range (example, specifies all ports from 80 to 90, including 80 and\n                90) or named ports or * to specify all ports. If the list is empty,\n                all ports are selected.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n        type:\n          type: string\n          x-dcl-go-name: Type\n          x-dcl-go-type: EndpointPolicyTypeEnum\n          description: 'Required. The type of endpoint config. This is primarily used\n            to validate the configuration. Possible values: ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED,\n            SIDECAR_PROXY, GRPC_SERVER'\n          enum:\n          - ENDPOINT_CONFIG_SELECTOR_TYPE_UNSPECIFIED\n          - SIDECAR_PROXY\n          - GRPC_SERVER\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/endpoint_policy.yaml

View Source
var YAML_gateway = []byte("info:\n  title: NetworkServices/Gateway\n  description: The NetworkServices Gateway resource\n  x-dcl-struct-name: Gateway\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Gateway\n    parameters:\n    - name: gateway\n      required: true\n      description: A full instance of a Gateway\n  apply:\n    description: The function used to apply information about a Gateway\n    parameters:\n    - name: gateway\n      required: true\n      description: A full instance of a Gateway\n  delete:\n    description: The function used to delete a Gateway\n    parameters:\n    - name: gateway\n      required: true\n      description: A full instance of a Gateway\n  deleteAll:\n    description: The function used to delete all Gateway\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Gateway\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Gateway:\n      title: Gateway\n      x-dcl-id: projects/{{project}}/locations/{{location}}/gateways/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - ports\n      - scope\n      - project\n      - location\n      properties:\n        addresses:\n          type: array\n          x-dcl-go-name: Addresses\n          description: One or more addresses with ports in format of \":\" that the\n            Gateway must receive traffic on. The proxy binds to the ports specified.\n            IP address can be anything that is allowed by the underlying infrastructure\n            (auto-allocation, static IP, BYOIP).\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the Gateway resource.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the Gateway resource. It matches pattern\n            `projects/*/locations/global/gateways/`.\n          x-dcl-has-long-form: true\n        ports:\n          type: array\n          x-dcl-go-name: Ports\n          description: Required. One or more ports that the Gateway must receive traffic\n            on. The proxy binds to the ports specified. Gateway listen on 0.0.0.0\n            on the ports specified below.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: integer\n            format: int64\n            x-dcl-go-type: int64\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        scope:\n          type: string\n          x-dcl-go-name: Scope\n          description: Required. Immutable. Scope determines how configuration across\n            multiple Gateway instances are merged. The configuration for multiple\n            Gateway instances with the same scope will be merged as presented as a\n            single coniguration to the proxy/load balancer. Max length 64 characters.\n            Scope should start with a letter and can only have letters, numbers, hyphens.\n          x-kubernetes-immutable: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Output only. Server-defined URL of this resource\n          x-kubernetes-immutable: true\n        serverTlsPolicy:\n          type: string\n          x-dcl-go-name: ServerTlsPolicy\n          description: Optional. A fully-qualified ServerTLSPolicy URL reference.\n            Specifies how TLS traffic is terminated. If empty, TLS termination is\n            disabled.\n          x-dcl-references:\n          - resource: Networksecurity/ServerTlsPolicy\n            field: name\n            format: projects/{{project}}/locations/global/serverTlsPolicies/{{name}}\n        type:\n          type: string\n          x-dcl-go-name: Type\n          x-dcl-go-type: GatewayTypeEnum\n          description: 'Immutable. The type of the customer managed gateway. Possible\n            values: TYPE_UNSPECIFIED, OPEN_MESH, SECURE_WEB_GATEWAY'\n          x-kubernetes-immutable: true\n          enum:\n          - TYPE_UNSPECIFIED\n          - OPEN_MESH\n          - SECURE_WEB_GATEWAY\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/gateway.yaml

View Source
var YAML_grpc_route = []byte("info:\n  title: NetworkServices/GrpcRoute\n  description: The NetworkServices GrpcRoute resource\n  x-dcl-struct-name: GrpcRoute\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a GrpcRoute\n    parameters:\n    - name: grpcRoute\n      required: true\n      description: A full instance of a GrpcRoute\n  apply:\n    description: The function used to apply information about a GrpcRoute\n    parameters:\n    - name: grpcRoute\n      required: true\n      description: A full instance of a GrpcRoute\n  delete:\n    description: The function used to delete a GrpcRoute\n    parameters:\n    - name: grpcRoute\n      required: true\n      description: A full instance of a GrpcRoute\n  deleteAll:\n    description: The function used to delete all GrpcRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many GrpcRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    GrpcRoute:\n      title: GrpcRoute\n      x-dcl-id: projects/{{project}}/locations/{{location}}/grpcRoutes/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - hostnames\n      - rules\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n        gateways:\n          type: array\n          x-dcl-go-name: Gateways\n          description: 'Optional. Gateways defines a list of gateways this GrpcRoute\n            is attached to, as one of the routing rules to route the requests served\n            by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Gateway\n              field: selfLink\n        hostnames:\n          type: array\n          x-dcl-go-name: Hostnames\n          description: 'Required. Service hostnames with an optional port for which\n            this route describes traffic. Format: [:] Hostname is the fully qualified\n            domain name of a network host. This matches the RFC 1123 definition of\n            a hostname with 2 notable exceptions: - IPs are not allowed. - A hostname\n            may be prefixed with a wildcard label (*.). The wildcard label must appear\n            by itself as the first label. Hostname can be “precise” which is a domain\n            name without the terminating dot of a network host (e.g. “foo.example.com”)\n            or “wildcard”, which is a domain name prefixed with a single wildcard\n            label (e.g. *.example.com). Note that as per RFC1035 and RFC1123, a label\n            must consist of lower case alphanumeric characters or ‘-’, and must start\n            and end with an alphanumeric character. No other punctuation is allowed.\n            The routes associated with a Router must have unique hostnames. If you\n            attempt to attach multiple routes with conflicting hostnames, the configuration\n            will be rejected. For example, while it is acceptable for routes for the\n            hostnames \"*.foo.bar.com\" and \"*.bar.com\" to be associated with the same\n            route, it is not possible to associate two routes both with \"*.bar.com\"\n            or both with \"bar.com\". In the case that multiple routes match the hostname,\n            the most specific match will be selected. For example, \"foo.bar.baz.com\"\n            will take precedence over \"*.bar.baz.com\" and \"*.bar.baz.com\" will take\n            precedence over \"*.baz.com\". If a port is specified, then gRPC clients\n            must use the channel URI with the port to match this rule (i.e. \"xds:///service:123\"),\n            otherwise they must supply the URI without a port (i.e. \"xds:///service\").'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the GrpcRoute resource.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        meshes:\n          type: array\n          x-dcl-go-name: Meshes\n          description: 'Optional. Meshes defines a list of meshes this GrpcRoute is\n            attached to, as one of the routing rules to route the requests served\n            by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Mesh\n              field: selfLink\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the GrpcRoute resource. It matches pattern\n            `projects/*/locations/global/grpcRoutes/`\n          x-dcl-has-long-form: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        rules:\n          type: array\n          x-dcl-go-name: Rules\n          description: Required. A list of detailed rules defining how to route traffic.\n            Within a single GrpcRoute, the GrpcRoute.RouteAction associated with the\n            first matching GrpcRoute.RouteRule will be executed. At least one rule\n            must be supplied.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: GrpcRouteRules\n            required:\n            - action\n            properties:\n              action:\n                type: object\n                x-dcl-go-name: Action\n                x-dcl-go-type: GrpcRouteRulesAction\n                description: Required. A detailed rule defining how to route traffic.\n                  This field is required.\n                properties:\n                  destinations:\n                    type: array\n                    x-dcl-go-name: Destinations\n                    description: Optional. The destination services to which traffic\n                      should be forwarded. If multiple destinations are specified,\n                      traffic will be split between Backend Service(s) according to\n                      the weight field of these destinations.\n                    x-dcl-send-empty: true\n                    x-dcl-list-type: list\n                    items:\n                      type: object\n                      x-dcl-go-type: GrpcRouteRulesActionDestinations\n                      required:\n                      - serviceName\n                      properties:\n                        serviceName:\n                          type: string\n                          x-dcl-go-name: ServiceName\n                          description: Required. The URL of a destination service\n                            to which to route traffic. Must refer to either a BackendService\n                            or ServiceDirectoryService.\n                          x-dcl-references:\n                          - resource: Compute/BackendService\n                            field: name\n                            format: projects/{{project}}/locations/global/backendServices/{{name}}\n                        weight:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: Weight\n                          description: 'Optional. Specifies the proportion of requests\n                            forwarded to the backend referenced by the serviceName\n                            field. This is computed as: weight/Sum(weights in this\n                            destination list). For non-zero values, there may be some\n                            epsilon from the exact proportion defined here depending\n                            on the precision an implementation supports. If only one\n                            serviceName is specified and it has a weight greater than\n                            0, 100% of the traffic is forwarded to that backend. If\n                            weights are specified for any one service name, they need\n                            to be specified for all of them. If weights are unspecified\n                            for all services, then, traffic is distributed in equal\n                            proportions to all of them.'\n                  faultInjectionPolicy:\n                    type: object\n                    x-dcl-go-name: FaultInjectionPolicy\n                    x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicy\n                    description: Optional. The specification for fault injection introduced\n                      into traffic to test the resiliency of clients to destination\n                      service failure. As part of fault injection, when clients send\n                      requests to a destination, delays can be introduced on a percentage\n                      of requests before sending those requests to the destination\n                      service. Similarly requests from clients can be aborted by for\n                      a percentage of requests. timeout and retry_policy will be ignored\n                      by clients that are configured with a fault_injection_policy\n                    properties:\n                      abort:\n                        type: object\n                        x-dcl-go-name: Abort\n                        x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyAbort\n                        description: The specification for aborting to client requests.\n                        properties:\n                          httpStatus:\n                            type: integer\n                            format: int64\n                            x-dcl-go-name: HttpStatus\n                            description: The HTTP status code used to abort the request.\n                              The value must be between 200 and 599 inclusive.\n                          percentage:\n                            type: integer\n                            format: int64\n                            x-dcl-go-name: Percentage\n                            description: The percentage of traffic which will be aborted.\n                              The value must be between [0, 100]\n                      delay:\n                        type: object\n                        x-dcl-go-name: Delay\n                        x-dcl-go-type: GrpcRouteRulesActionFaultInjectionPolicyDelay\n                        description: The specification for injecting delay to client\n                          requests.\n                        properties:\n                          fixedDelay:\n                            type: string\n                            x-dcl-go-name: FixedDelay\n                            description: Specify a fixed delay before forwarding the\n                              request.\n                          percentage:\n                            type: integer\n                            format: int64\n                            x-dcl-go-name: Percentage\n                            description: The percentage of traffic on which delay\n                              will be injected. The value must be between [0, 100]\n                  retryPolicy:\n                    type: object\n                    x-dcl-go-name: RetryPolicy\n                    x-dcl-go-type: GrpcRouteRulesActionRetryPolicy\n                    description: Optional. Specifies the retry policy associated with\n                      this route.\n                    properties:\n                      numRetries:\n                        type: integer\n                        format: int64\n                        x-dcl-go-name: NumRetries\n                        description: Specifies the allowed number of retries. This\n                          number must be > 0. If not specpfied, default to 1.\n                      retryConditions:\n                        type: array\n                        x-dcl-go-name: RetryConditions\n                        description: '- connect-failure: Router will retry on failures\n                          connecting to Backend Services, for example due to connection\n                          timeouts. - refused-stream: Router will retry if the backend\n                          service resets the stream with a REFUSED_STREAM error code.\n                          This reset type indicates that it is safe to retry. - cancelled:\n                          Router will retry if the gRPC status code in the response\n                          header is set to cancelled - deadline-exceeded: Router will\n                          retry if the gRPC status code in the response header is\n                          set to deadline-exceeded - resource-exhausted: Router will\n                          retry if the gRPC status code in the response header is\n                          set to resource-exhausted - unavailable: Router will retry\n                          if the gRPC status code in the response header is set to\n                          unavailable'\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                  timeout:\n                    type: string\n                    x-dcl-go-name: Timeout\n                    description: Optional. Specifies the timeout for selected route.\n                      Timeout is computed from the time the request has been fully\n                      processed (i.e. end of stream) up until the response has been\n                      completely processed. Timeout includes all retries.\n              matches:\n                type: array\n                x-dcl-go-name: Matches\n                description: Optional. Matches define conditions used for matching\n                  the rule against incoming gRPC requests. Each match is independent,\n                  i.e. this rule will be matched if ANY one of the matches is satisfied.\n                  If no matches field is specified, this rule will unconditionally\n                  match traffic.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: GrpcRouteRulesMatches\n                  properties:\n                    headers:\n                      type: array\n                      x-dcl-go-name: Headers\n                      description: Optional. Specifies a collection of headers to\n                        match.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: object\n                        x-dcl-go-type: GrpcRouteRulesMatchesHeaders\n                        required:\n                        - key\n                        - value\n                        properties:\n                          key:\n                            type: string\n                            x-dcl-go-name: Key\n                            description: Required. The key of the header.\n                          type:\n                            type: string\n                            x-dcl-go-name: Type\n                            x-dcl-go-type: GrpcRouteRulesMatchesHeadersTypeEnum\n                            description: 'Optional. Specifies how to match against\n                              the value of the header. If not specified, a default\n                              value of EXACT is used. Possible values: MATCH_TYPE_UNSPECIFIED,\n                              MATCH_ANY, MATCH_ALL'\n                            enum:\n                            - MATCH_TYPE_UNSPECIFIED\n                            - MATCH_ANY\n                            - MATCH_ALL\n                          value:\n                            type: string\n                            x-dcl-go-name: Value\n                            description: Required. The value of the header.\n                    method:\n                      type: object\n                      x-dcl-go-name: Method\n                      x-dcl-go-type: GrpcRouteRulesMatchesMethod\n                      description: Optional. A gRPC method to match against. If this\n                        field is empty or omitted, will match all methods.\n                      required:\n                      - grpcService\n                      - grpcMethod\n                      properties:\n                        caseSensitive:\n                          type: boolean\n                          x-dcl-go-name: CaseSensitive\n                          description: Optional. Specifies that matches are case sensitive.\n                            The default value is true. case_sensitive must not be\n                            used with a type of REGULAR_EXPRESSION.\n                        grpcMethod:\n                          type: string\n                          x-dcl-go-name: GrpcMethod\n                          description: Required. Name of the method to match against.\n                            If unspecified, will match all methods.\n                        grpcService:\n                          type: string\n                          x-dcl-go-name: GrpcService\n                          description: Required. Name of the service to match against.\n                            If unspecified, will match all services.\n                        type:\n                          type: string\n                          x-dcl-go-name: Type\n                          x-dcl-go-type: GrpcRouteRulesMatchesMethodTypeEnum\n                          description: 'Optional. Specifies how to match against the\n                            name. If not specified, a default value of \"EXACT\" is\n                            used. Possible values: TYPE_UNSPECIFIED, EXACT, REGULAR_EXPRESSION'\n                          enum:\n                          - TYPE_UNSPECIFIED\n                          - EXACT\n                          - REGULAR_EXPRESSION\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Output only. Server-defined URL of this resource\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/grpc_route.yaml

View Source
var YAML_http_route = []byte("info:\n  title: NetworkServices/HttpRoute\n  description: The NetworkServices HttpRoute resource\n  x-dcl-struct-name: HttpRoute\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a HttpRoute\n    parameters:\n    - name: httpRoute\n      required: true\n      description: A full instance of a HttpRoute\n  apply:\n    description: The function used to apply information about a HttpRoute\n    parameters:\n    - name: httpRoute\n      required: true\n      description: A full instance of a HttpRoute\n  delete:\n    description: The function used to delete a HttpRoute\n    parameters:\n    - name: httpRoute\n      required: true\n      description: A full instance of a HttpRoute\n  deleteAll:\n    description: The function used to delete all HttpRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many HttpRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    HttpRoute:\n      title: HttpRoute\n      x-dcl-id: projects/{{project}}/locations/{{location}}/httpRoutes/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - hostnames\n      - rules\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n        gateways:\n          type: array\n          x-dcl-go-name: Gateways\n          description: 'Optional. Gateways defines a list of gateways this HttpRoute\n            is attached to, as one of the routing rules to route the requests served\n            by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Gateway\n              field: selfLink\n        hostnames:\n          type: array\n          x-dcl-go-name: Hostnames\n          description: Required. Hostnames define a set of hosts that should match\n            against the HTTP host header to select a HttpRoute to process the request.\n            Hostname is the fully qualified domain name of a network host, as defined\n            by RFC 1123 with the exception that ip addresses are not allowed. Wildcard\n            hosts are supported as \"*\" (no prefix or suffix allowed).\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the HttpRoute resource.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        meshes:\n          type: array\n          x-dcl-go-name: Meshes\n          description: 'Optional. Meshes defines a list of meshes this HttpRoute is\n            attached to, as one of the routing rules to route the requests served\n            by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n            The attached Mesh should be of a type SIDECAR'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Mesh\n              field: selfLink\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the HttpRoute resource. It matches pattern\n            `projects/*/locations/global/httpRoutes/http_route_name>`.\n          x-dcl-has-long-form: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        rules:\n          type: array\n          x-dcl-go-name: Rules\n          description: Required. Rules that define how traffic is routed and handled.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: HttpRouteRules\n            properties:\n              action:\n                type: object\n                x-dcl-go-name: Action\n                x-dcl-go-type: HttpRouteRulesAction\n                description: The detailed rule defining how to route matched traffic.\n                properties:\n                  corsPolicy:\n                    type: object\n                    x-dcl-go-name: CorsPolicy\n                    x-dcl-go-type: HttpRouteRulesActionCorsPolicy\n                    description: The specification for allowing client side cross-origin\n                      requests.\n                    properties:\n                      allowCredentials:\n                        type: boolean\n                        x-dcl-go-name: AllowCredentials\n                        description: In response to a preflight request, setting this\n                          to true indicates that the actual request can include user\n                          credentials. This translates to the Access-Control-Allow-Credentials\n                          header. Default value is false.\n                      allowHeaders:\n                        type: array\n                        x-dcl-go-name: AllowHeaders\n                        description: Specifies the content for Access-Control-Allow-Headers\n                          header.\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                      allowMethods:\n                        type: array\n                        x-dcl-go-name: AllowMethods\n                        description: Specifies the content for Access-Control-Allow-Methods\n                          header.\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                      allowOriginRegexes:\n                        type: array\n                        x-dcl-go-name: AllowOriginRegexes\n                        description: Specifies the regular expression patterns that\n                          match allowed origins. For regular expression grammar, please\n                          see https://github.com/google/re2/wiki/Syntax.\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                      allowOrigins:\n                        type: array\n                        x-dcl-go-name: AllowOrigins\n                        description: Specifies the list of origins that will be allowed\n                          to do CORS requests. An origin is allowed if it matches\n                          either an item in allow_origins or an item in allow_origin_regexes.\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                      disabled:\n                        type: boolean\n                        x-dcl-go-name: Disabled\n                        description: If true, the CORS policy is disabled. The default\n                          value is false, which indicates that the CORS policy is\n                          in effect.\n                      exposeHeaders:\n                        type: array\n                        x-dcl-go-name: ExposeHeaders\n                        description: Specifies the content for Access-Control-Expose-Headers\n                          header.\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                      maxAge:\n                        type: string\n                        x-dcl-go-name: MaxAge\n                        description: Specifies how long result of a preflight request\n                          can be cached in seconds. This translates to the Access-Control-Max-Age\n                          header.\n                  destinations:\n                    type: array\n                    x-dcl-go-name: Destinations\n                    description: The destination to which traffic should be forwarded.\n                    x-dcl-send-empty: true\n                    x-dcl-list-type: list\n                    items:\n                      type: object\n                      x-dcl-go-type: HttpRouteRulesActionDestinations\n                      properties:\n                        serviceName:\n                          type: string\n                          x-dcl-go-name: ServiceName\n                          description: The URL of a BackendService to route traffic\n                            to.\n                          x-dcl-references:\n                          - resource: Compute/BackendService\n                            field: name\n                            format: projects/{{project}}/locations/global/backendServices/{{name}}\n                        weight:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: Weight\n                          description: 'Specifies the proportion of requests forwarded\n                            to the backend referenced by the serviceName field. This\n                            is computed as: weight/Sum(weights in this destination\n                            list). For non-zero values, there may be some epsilon\n                            from the exact proportion defined here depending on the\n                            precision an implementation supports. If only one serviceName\n                            is specified and it has a weight greater than 0, 100%\n                            of the traffic is forwarded to that backend. If weights\n                            are specified for any one service name, they need to be\n                            specified for all of them. If weights are unspecified\n                            for all services, then, traffic is distributed in equal\n                            proportions to all of them.'\n                  faultInjectionPolicy:\n                    type: object\n                    x-dcl-go-name: FaultInjectionPolicy\n                    x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicy\n                    description: The specification for fault injection introduced\n                      into traffic to test the resiliency of clients to backend service\n                      failure. As part of fault injection, when clients send requests\n                      to a backend service, delays can be introduced on a percentage\n                      of requests before sending those requests to the backend service.\n                      Similarly requests from clients can be aborted for a percentage\n                      of requests. timeout and retry_policy will be ignored by clients\n                      that are configured with a fault_injection_policy\n                    properties:\n                      abort:\n                        type: object\n                        x-dcl-go-name: Abort\n                        x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyAbort\n                        description: The specification for aborting to client requests.\n                        properties:\n                          httpStatus:\n                            type: integer\n                            format: int64\n                            x-dcl-go-name: HttpStatus\n                            description: The HTTP status code used to abort the request.\n                              The value must be between 200 and 599 inclusive.\n                          percentage:\n                            type: integer\n                            format: int64\n                            x-dcl-go-name: Percentage\n                            description: The percentage of traffic which will be aborted.\n                              The value must be between [0, 100]\n                      delay:\n                        type: object\n                        x-dcl-go-name: Delay\n                        x-dcl-go-type: HttpRouteRulesActionFaultInjectionPolicyDelay\n                        description: The specification for injecting delay to client\n                          requests.\n                        properties:\n                          fixedDelay:\n                            type: string\n                            x-dcl-go-name: FixedDelay\n                            description: Specify a fixed delay before forwarding the\n                              request.\n                          percentage:\n                            type: integer\n                            format: int64\n                            x-dcl-go-name: Percentage\n                            description: The percentage of traffic on which delay\n                              will be injected. The value must be between [0, 100]\n                  redirect:\n                    type: object\n                    x-dcl-go-name: Redirect\n                    x-dcl-go-type: HttpRouteRulesActionRedirect\n                    description: If set, the request is directed as configured by\n                      this field.\n                    properties:\n                      hostRedirect:\n                        type: string\n                        x-dcl-go-name: HostRedirect\n                        description: The host that will be used in the redirect response\n                          instead of the one that was supplied in the request.\n                      httpsRedirect:\n                        type: boolean\n                        x-dcl-go-name: HttpsRedirect\n                        description: If set to true, the URL scheme in the redirected\n                          request is set to https. If set to false, the URL scheme\n                          of the redirected request will remain the same as that of\n                          the request. The default is set to false.\n                      pathRedirect:\n                        type: string\n                        x-dcl-go-name: PathRedirect\n                        description: The path that will be used in the redirect response\n                          instead of the one that was supplied in the request. path_redirect\n                          can not be supplied together with prefix_redirect. Supply\n                          one alone or neither. If neither is supplied, the path of\n                          the original request will be used for the redirect.\n                      portRedirect:\n                        type: integer\n                        format: int64\n                        x-dcl-go-name: PortRedirect\n                        description: The port that will be used in the redirected\n                          request instead of the one that was supplied in the request.\n                      prefixRewrite:\n                        type: string\n                        x-dcl-go-name: PrefixRewrite\n                        description: Indicates that during redirection, the matched\n                          prefix (or path) should be swapped with this value. This\n                          option allows URLs be dynamically created based on the request.\n                      responseCode:\n                        type: string\n                        x-dcl-go-name: ResponseCode\n                        x-dcl-go-type: HttpRouteRulesActionRedirectResponseCodeEnum\n                        description: 'The HTTP Status code to use for the redirect.\n                          Possible values: MOVED_PERMANENTLY_DEFAULT, FOUND, SEE_OTHER,\n                          TEMPORARY_REDIRECT, PERMANENT_REDIRECT'\n                        enum:\n                        - MOVED_PERMANENTLY_DEFAULT\n                        - FOUND\n                        - SEE_OTHER\n                        - TEMPORARY_REDIRECT\n                        - PERMANENT_REDIRECT\n                      stripQuery:\n                        type: boolean\n                        x-dcl-go-name: StripQuery\n                        description: if set to true, any accompanying query portion\n                          of the original URL is removed prior to redirecting the\n                          request. If set to false, the query portion of the original\n                          URL is retained. The default is set to false.\n                  requestHeaderModifier:\n                    type: object\n                    x-dcl-go-name: RequestHeaderModifier\n                    x-dcl-go-type: HttpRouteRulesActionRequestHeaderModifier\n                    description: The specification for modifying the headers of a\n                      matching request prior to delivery of the request to the destination.\n                    properties:\n                      add:\n                        type: object\n                        additionalProperties:\n                          type: string\n                        x-dcl-go-name: Add\n                        description: Add the headers with given map where key is the\n                          name of the header, value is the value of the header.\n                      remove:\n                        type: array\n                        x-dcl-go-name: Remove\n                        description: Remove headers (matching by header names) specified\n                          in the list.\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                      set:\n                        type: object\n                        additionalProperties:\n                          type: string\n                        x-dcl-go-name: Set\n                        description: Completely overwrite/replace the headers with\n                          given map where key is the name of the header, value is\n                          the value of the header.\n                  requestMirrorPolicy:\n                    type: object\n                    x-dcl-go-name: RequestMirrorPolicy\n                    x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicy\n                    description: Specifies the policy on how requests intended for\n                      the routes destination are shadowed to a separate mirrored destination.\n                      Proxy will not wait for the shadow destination to respond before\n                      returning the response. Prior to sending traffic to the shadow\n                      service, the host/authority header is suffixed with -shadow.\n                    properties:\n                      destination:\n                        type: object\n                        x-dcl-go-name: Destination\n                        x-dcl-go-type: HttpRouteRulesActionRequestMirrorPolicyDestination\n                        description: The destination the requests will be mirrored\n                          to. The weight of the destination will be ignored.\n                        properties:\n                          serviceName:\n                            type: string\n                            x-dcl-go-name: ServiceName\n                            description: The URL of a BackendService to route traffic\n                              to.\n                            x-dcl-references:\n                            - resource: Compute/BackendService\n                              field: name\n                              format: projects/{{project}}/locations/global/backendServices/{{name}}\n                          weight:\n                            type: integer\n                            format: int64\n                            x-dcl-go-name: Weight\n                            description: 'Specifies the proportion of requests forwarded\n                              to the backend referenced by the serviceName field.\n                              This is computed as: weight/Sum(weights in this destination\n                              list). For non-zero values, there may be some epsilon\n                              from the exact proportion defined here depending on\n                              the precision an implementation supports. If only one\n                              serviceName is specified and it has a weight greater\n                              than 0, 100% of the traffic is forwarded to that backend.\n                              If weights are specified for any one service name, they\n                              need to be specified for all of them. If weights are\n                              unspecified for all services, then, traffic is distributed\n                              in equal proportions to all of them.'\n                  responseHeaderModifier:\n                    type: object\n                    x-dcl-go-name: ResponseHeaderModifier\n                    x-dcl-go-type: HttpRouteRulesActionResponseHeaderModifier\n                    description: The specification for modifying the headers of a\n                      response prior to sending the response back to the client.\n                    properties:\n                      add:\n                        type: object\n                        additionalProperties:\n                          type: string\n                        x-dcl-go-name: Add\n                        description: Add the headers with given map where key is the\n                          name of the header, value is the value of the header.\n                      remove:\n                        type: array\n                        x-dcl-go-name: Remove\n                        description: Remove headers (matching by header names) specified\n                          in the list.\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                      set:\n                        type: object\n                        additionalProperties:\n                          type: string\n                        x-dcl-go-name: Set\n                        description: Completely overwrite/replace the headers with\n                          given map where key is the name of the header, value is\n                          the value of the header.\n                  retryPolicy:\n                    type: object\n                    x-dcl-go-name: RetryPolicy\n                    x-dcl-go-type: HttpRouteRulesActionRetryPolicy\n                    description: Specifies the retry policy associated with this route.\n                    properties:\n                      numRetries:\n                        type: integer\n                        format: int64\n                        x-dcl-go-name: NumRetries\n                        description: Specifies the allowed number of retries. This\n                          number must be > 0. If not specified, default to 1.\n                      perTryTimeout:\n                        type: string\n                        x-dcl-go-name: PerTryTimeout\n                        description: Specifies a non-zero timeout per retry attempt.\n                      retryConditions:\n                        type: array\n                        x-dcl-go-name: RetryConditions\n                        description: 'Specifies one or more conditions when this retry\n                          policy applies. Valid values are: 5xx: Proxy will attempt\n                          a retry if the destination service responds with any 5xx\n                          response code, of if the destination service does not respond\n                          at all, example: disconnect, reset, read timeout, connection\n                          failure and refused streams. gateway-error: Similar to 5xx,\n                          but only applies to response codes 502, 503, 504. reset:\n                          Proxy will attempt a retry if the destination service does\n                          not respond at all (disconnect/reset/read timeout) connect-failure:\n                          Proxy will retry on failures connecting to destination for\n                          example due to connection timeouts. retriable-4xx: Proxy\n                          will retry fro retriable 4xx response codes. Currently the\n                          only retriable error supported is 409. refused-stream: Proxy\n                          will retry if the destination resets the stream with a REFUSED_STREAM\n                          error code. This reset type indicates that it is safe to\n                          retry.'\n                        x-dcl-send-empty: true\n                        x-dcl-list-type: list\n                        items:\n                          type: string\n                          x-dcl-go-type: string\n                  timeout:\n                    type: string\n                    x-dcl-go-name: Timeout\n                    description: Specifies the timeout for selected route. Timeout\n                      is computed from the time the request has been fully processed\n                      (i.e. end of stream) up until the response has been completely\n                      processed. Timeout includes all retries.\n                  urlRewrite:\n                    type: object\n                    x-dcl-go-name: UrlRewrite\n                    x-dcl-go-type: HttpRouteRulesActionUrlRewrite\n                    description: The specification for rewrite URL before forwarding\n                      requests to the destination.\n                    properties:\n                      hostRewrite:\n                        type: string\n                        x-dcl-go-name: HostRewrite\n                        description: Prior to forwarding the request to the selected\n                          destination, the requests host header is replaced by this\n                          value.\n                      pathPrefixRewrite:\n                        type: string\n                        x-dcl-go-name: PathPrefixRewrite\n                        description: Prior to forwarding the request to the selected\n                          destination, the matching portion of the requests path is\n                          replaced by this value.\n              matches:\n                type: array\n                x-dcl-go-name: Matches\n                description: A list of matches define conditions used for matching\n                  the rule against incoming HTTP requests. Each match is independent,\n                  i.e. this rule will be matched if ANY one of the matches is satisfied.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: HttpRouteRulesMatches\n                  properties:\n                    fullPathMatch:\n                      type: string\n                      x-dcl-go-name: FullPathMatch\n                      description: The HTTP request path value should exactly match\n                        this value. Only one of full_path_match, prefix_match, or\n                        regex_match should be used.\n                      x-dcl-conflicts:\n                      - prefixMatch\n                      - regexMatch\n                    headers:\n                      type: array\n                      x-dcl-go-name: Headers\n                      description: Specifies a list of HTTP request headers to match\n                        against. ALL of the supplied headers must be matched.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: object\n                        x-dcl-go-type: HttpRouteRulesMatchesHeaders\n                        properties:\n                          exactMatch:\n                            type: string\n                            x-dcl-go-name: ExactMatch\n                            description: The value of the header should match exactly\n                              the content of exact_match.\n                            x-dcl-conflicts:\n                            - regexMatch\n                            - prefixMatch\n                            - presentMatch\n                            - suffixMatch\n                            - rangeMatch\n                          header:\n                            type: string\n                            x-dcl-go-name: Header\n                            description: The name of the HTTP header to match against.\n                          invertMatch:\n                            type: boolean\n                            x-dcl-go-name: InvertMatch\n                            description: If specified, the match result will be inverted\n                              before checking. Default value is set to false.\n                          prefixMatch:\n                            type: string\n                            x-dcl-go-name: PrefixMatch\n                            description: The value of the header must start with the\n                              contents of prefix_match.\n                            x-dcl-conflicts:\n                            - exactMatch\n                            - regexMatch\n                            - presentMatch\n                            - suffixMatch\n                            - rangeMatch\n                          presentMatch:\n                            type: boolean\n                            x-dcl-go-name: PresentMatch\n                            description: A header with header_name must exist. The\n                              match takes place whether or not the header has a value.\n                            x-dcl-conflicts:\n                            - exactMatch\n                            - regexMatch\n                            - prefixMatch\n                            - suffixMatch\n                            - rangeMatch\n                          rangeMatch:\n                            type: object\n                            x-dcl-go-name: RangeMatch\n                            x-dcl-go-type: HttpRouteRulesMatchesHeadersRangeMatch\n                            description: If specified, the rule will match if the\n                              request header value is within the range.\n                            x-dcl-conflicts:\n                            - exactMatch\n                            - regexMatch\n                            - prefixMatch\n                            - presentMatch\n                            - suffixMatch\n                            properties:\n                              end:\n                                type: integer\n                                format: int64\n                                x-dcl-go-name: End\n                                description: End of the range (exclusive)\n                              start:\n                                type: integer\n                                format: int64\n                                x-dcl-go-name: Start\n                                description: Start of the range (inclusive)\n                          regexMatch:\n                            type: string\n                            x-dcl-go-name: RegexMatch\n                            description: 'The value of the header must match the regular\n                              expression specified in regex_match. For regular expression\n                              grammar, please see: https://github.com/google/re2/wiki/Syntax'\n                            x-dcl-conflicts:\n                            - exactMatch\n                            - prefixMatch\n                            - presentMatch\n                            - suffixMatch\n                            - rangeMatch\n                          suffixMatch:\n                            type: string\n                            x-dcl-go-name: SuffixMatch\n                            description: The value of the header must end with the\n                              contents of suffix_match.\n                            x-dcl-conflicts:\n                            - exactMatch\n                            - regexMatch\n                            - prefixMatch\n                            - presentMatch\n                            - rangeMatch\n                    ignoreCase:\n                      type: boolean\n                      x-dcl-go-name: IgnoreCase\n                      description: Specifies if prefix_match and full_path_match matches\n                        are case sensitive. The default value is false.\n                    prefixMatch:\n                      type: string\n                      x-dcl-go-name: PrefixMatch\n                      description: The HTTP request path value must begin with specified\n                        prefix_match. prefix_match must begin with a /. Only one of\n                        full_path_match, prefix_match, or regex_match should be used.\n                      x-dcl-conflicts:\n                      - fullPathMatch\n                      - regexMatch\n                    queryParameters:\n                      type: array\n                      x-dcl-go-name: QueryParameters\n                      description: Specifies a list of query parameters to match against.\n                        ALL of the query parameters must be matched.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: object\n                        x-dcl-go-type: HttpRouteRulesMatchesQueryParameters\n                        properties:\n                          exactMatch:\n                            type: string\n                            x-dcl-go-name: ExactMatch\n                            description: The value of the query parameter must exactly\n                              match the contents of exact_match. Only one of exact_match,\n                              regex_match, or present_match must be set.\n                            x-dcl-conflicts:\n                            - regexMatch\n                            - presentMatch\n                          presentMatch:\n                            type: boolean\n                            x-dcl-go-name: PresentMatch\n                            description: Specifies that the QueryParameterMatcher\n                              matches if request contains query parameter, irrespective\n                              of whether the parameter has a value or not. Only one\n                              of exact_match, regex_match, or present_match must be\n                              set.\n                            x-dcl-conflicts:\n                            - exactMatch\n                            - regexMatch\n                          queryParameter:\n                            type: string\n                            x-dcl-go-name: QueryParameter\n                            description: The name of the query parameter to match.\n                          regexMatch:\n                            type: string\n                            x-dcl-go-name: RegexMatch\n                            description: The value of the query parameter must match\n                              the regular expression specified by regex_match. For\n                              regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n                              Only one of exact_match, regex_match, or present_match\n                              must be set.\n                            x-dcl-conflicts:\n                            - exactMatch\n                            - presentMatch\n                    regexMatch:\n                      type: string\n                      x-dcl-go-name: RegexMatch\n                      description: The HTTP request path value must satisfy the regular\n                        expression specified by regex_match after removing any query\n                        parameters and anchor supplied with the original URL. For\n                        regular expression grammar, please see https://github.com/google/re2/wiki/Syntax\n                        Only one of full_path_match, prefix_match, or regex_match\n                        should be used.\n                      x-dcl-conflicts:\n                      - fullPathMatch\n                      - prefixMatch\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Output only. Server-defined URL of this resource\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/http_route.yaml

View Source
var YAML_mesh = []byte("info:\n  title: NetworkServices/Mesh\n  description: The NetworkServices Mesh resource\n  x-dcl-struct-name: Mesh\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a Mesh\n    parameters:\n    - name: mesh\n      required: true\n      description: A full instance of a Mesh\n  apply:\n    description: The function used to apply information about a Mesh\n    parameters:\n    - name: mesh\n      required: true\n      description: A full instance of a Mesh\n  delete:\n    description: The function used to delete a Mesh\n    parameters:\n    - name: mesh\n      required: true\n      description: A full instance of a Mesh\n  deleteAll:\n    description: The function used to delete all Mesh\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many Mesh\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    Mesh:\n      title: Mesh\n      x-dcl-id: projects/{{project}}/locations/{{location}}/meshes/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n        interceptionPort:\n          type: integer\n          format: int64\n          x-dcl-go-name: InterceptionPort\n          description: Optional. If set to a valid TCP port (1-65535), instructs the\n            SIDECAR proxy to listen on the specified port of localhost (127.0.0.1)\n            address. The SIDECAR proxy will expect all traffic to be redirected to\n            this port regardless of its actual ip:port destination. If unset, a port\n            '15001' is used as the interception port. This field is only valid if\n            the type of Mesh is SIDECAR.\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the Mesh resource.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the Mesh resource. It matches pattern `projects/*/locations/global/meshes/`.\n          x-dcl-has-long-form: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Output only. Server-defined URL of this resource\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/mesh.yaml

View Source
var YAML_service_binding = []byte("info:\n  title: NetworkServices/ServiceBinding\n  description: The NetworkServices ServiceBinding resource\n  x-dcl-struct-name: ServiceBinding\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a ServiceBinding\n    parameters:\n    - name: serviceBinding\n      required: true\n      description: A full instance of a ServiceBinding\n  apply:\n    description: The function used to apply information about a ServiceBinding\n    parameters:\n    - name: serviceBinding\n      required: true\n      description: A full instance of a ServiceBinding\n  delete:\n    description: The function used to delete a ServiceBinding\n    parameters:\n    - name: serviceBinding\n      required: true\n      description: A full instance of a ServiceBinding\n  deleteAll:\n    description: The function used to delete all ServiceBinding\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many ServiceBinding\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    ServiceBinding:\n      title: ServiceBinding\n      x-dcl-id: projects/{{project}}/locations/{{location}}/serviceBindings/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - service\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n          x-kubernetes-immutable: true\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the ServiceBinding\n            resource.\n          x-kubernetes-immutable: true\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the ServiceBinding resource. It matches pattern\n            `projects/*/locations/global/serviceBindings/service_binding_name>`.\n          x-kubernetes-immutable: true\n          x-dcl-has-long-form: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        service:\n          type: string\n          x-dcl-go-name: Service\n          description: Required. The full service directory service name of the format\n            projects/*/locations/*/namespaces/*/services/*\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Servicedirectory/Service\n            field: name\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/service_binding.yaml

View Source
var YAML_tcp_route = []byte("info:\n  title: NetworkServices/TcpRoute\n  description: The NetworkServices TcpRoute resource\n  x-dcl-struct-name: TcpRoute\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a TcpRoute\n    parameters:\n    - name: tcpRoute\n      required: true\n      description: A full instance of a TcpRoute\n  apply:\n    description: The function used to apply information about a TcpRoute\n    parameters:\n    - name: tcpRoute\n      required: true\n      description: A full instance of a TcpRoute\n  delete:\n    description: The function used to delete a TcpRoute\n    parameters:\n    - name: tcpRoute\n      required: true\n      description: A full instance of a TcpRoute\n  deleteAll:\n    description: The function used to delete all TcpRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many TcpRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    TcpRoute:\n      title: TcpRoute\n      x-dcl-id: projects/{{project}}/locations/{{location}}/tcpRoutes/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-labels: labels\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - rules\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n        gateways:\n          type: array\n          x-dcl-go-name: Gateways\n          description: 'Optional. Gateways defines a list of gateways this TcpRoute\n            is attached to, as one of the routing rules to route the requests served\n            by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Gateway\n              field: selfLink\n        labels:\n          type: object\n          additionalProperties:\n            type: string\n          x-dcl-go-name: Labels\n          description: Optional. Set of label tags associated with the TcpRoute resource.\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        meshes:\n          type: array\n          x-dcl-go-name: Meshes\n          description: 'Optional. Meshes defines a list of meshes this TcpRoute is\n            attached to, as one of the routing rules to route the requests served\n            by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n            The attached Mesh should be of a type SIDECAR'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Mesh\n              field: selfLink\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the TcpRoute resource. It matches pattern\n            `projects/*/locations/global/tcpRoutes/tcp_route_name>`.\n          x-dcl-has-long-form: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        rules:\n          type: array\n          x-dcl-go-name: Rules\n          description: Required. Rules that define how traffic is routed and handled.\n            At least one RouteRule must be supplied. If there are multiple rules then\n            the action taken will be the first rule to match.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: TcpRouteRules\n            required:\n            - action\n            properties:\n              action:\n                type: object\n                x-dcl-go-name: Action\n                x-dcl-go-type: TcpRouteRulesAction\n                description: Required. The detailed rule defining how to route matched\n                  traffic.\n                properties:\n                  destinations:\n                    type: array\n                    x-dcl-go-name: Destinations\n                    description: Optional. The destination services to which traffic\n                      should be forwarded. At least one destination service is required.\n                    x-dcl-send-empty: true\n                    x-dcl-list-type: list\n                    items:\n                      type: object\n                      x-dcl-go-type: TcpRouteRulesActionDestinations\n                      required:\n                      - serviceName\n                      properties:\n                        serviceName:\n                          type: string\n                          x-dcl-go-name: ServiceName\n                          description: Required. The URL of a BackendService to route\n                            traffic to.\n                          x-dcl-references:\n                          - resource: Compute/BackendService\n                            field: name\n                            format: projects/{{project}}/locations/global/backendServices/{{name}}\n                        weight:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: Weight\n                          description: 'Optional. Specifies the proportion of requests\n                            forwarded to the backend referenced by the serviceName\n                            field. This is computed as: weight/Sum(weights in this\n                            destination list). For non-zero values, there may be some\n                            epsilon from the exact proportion defined here depending\n                            on the precision an implementation supports. If only one\n                            serviceName is specified and it has a weight greater than\n                            0, 100% of the traffic is forwarded to that backend. If\n                            weights are specified for any one service name, they need\n                            to be specified for all of them. If weights are unspecified\n                            for all services, then, traffic is distributed in equal\n                            proportions to all of them.'\n                  originalDestination:\n                    type: boolean\n                    x-dcl-go-name: OriginalDestination\n                    description: Optional. If true, Router will use the destination\n                      IP and port of the original connection as the destination of\n                      the request. Default is false.\n              matches:\n                type: array\n                x-dcl-go-name: Matches\n                description: Optional. RouteMatch defines the predicate used to match\n                  requests to a given action. Multiple match types are “OR”ed for\n                  evaluation. If no routeMatch field is specified, this rule will\n                  unconditionally match traffic.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: TcpRouteRulesMatches\n                  required:\n                  - address\n                  - port\n                  properties:\n                    address:\n                      type: string\n                      x-dcl-go-name: Address\n                      description: 'Required. Must be specified in the CIDR range\n                        format. A CIDR range consists of an IP Address and a prefix\n                        length to construct the subnet mask. By default, the prefix\n                        length is 32 (i.e. matches a single IP address). Only IPV4\n                        addresses are supported. Examples: “10.0.0.1” - matches against\n                        this exact IP address. “10.0.0.0/8\" - matches against any\n                        IP address within the 10.0.0.0 subnet and 255.255.255.0 mask.\n                        \"0.0.0.0/0\" - matches against any IP address''.'\n                    port:\n                      type: string\n                      x-dcl-go-name: Port\n                      description: Required. Specifies the destination port to match\n                        against.\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Output only. Server-defined URL of this resource\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/tcp_route.yaml

View Source
var YAML_tls_route = []byte("info:\n  title: NetworkServices/TlsRoute\n  description: The NetworkServices TlsRoute resource\n  x-dcl-struct-name: TlsRoute\n  x-dcl-has-iam: false\npaths:\n  get:\n    description: The function used to get information about a TlsRoute\n    parameters:\n    - name: tlsRoute\n      required: true\n      description: A full instance of a TlsRoute\n  apply:\n    description: The function used to apply information about a TlsRoute\n    parameters:\n    - name: tlsRoute\n      required: true\n      description: A full instance of a TlsRoute\n  delete:\n    description: The function used to delete a TlsRoute\n    parameters:\n    - name: tlsRoute\n      required: true\n      description: A full instance of a TlsRoute\n  deleteAll:\n    description: The function used to delete all TlsRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\n  list:\n    description: The function used to list information about many TlsRoute\n    parameters:\n    - name: project\n      required: true\n      schema:\n        type: string\n    - name: location\n      required: true\n      schema:\n        type: string\ncomponents:\n  schemas:\n    TlsRoute:\n      title: TlsRoute\n      x-dcl-id: projects/{{project}}/locations/{{location}}/tlsRoutes/{{name}}\n      x-dcl-parent-container: project\n      x-dcl-has-create: true\n      x-dcl-has-iam: false\n      x-dcl-read-timeout: 0\n      x-dcl-apply-timeout: 0\n      x-dcl-delete-timeout: 0\n      type: object\n      required:\n      - name\n      - rules\n      - project\n      - location\n      properties:\n        createTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: CreateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was created.\n          x-kubernetes-immutable: true\n        description:\n          type: string\n          x-dcl-go-name: Description\n          description: Optional. A free-text description of the resource. Max length\n            1024 characters.\n        gateways:\n          type: array\n          x-dcl-go-name: Gateways\n          description: 'Optional. Gateways defines a list of gateways this TlsRoute\n            is attached to, as one of the routing rules to route the requests served\n            by the gateway. Each gateway reference should match the pattern: `projects/*/locations/global/gateways/`'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Gateway\n              field: selfLink\n        location:\n          type: string\n          x-dcl-go-name: Location\n          description: The location for the resource\n          x-kubernetes-immutable: true\n          x-dcl-parameter: true\n        meshes:\n          type: array\n          x-dcl-go-name: Meshes\n          description: 'Optional. Meshes defines a list of meshes this TlsRoute is\n            attached to, as one of the routing rules to route the requests served\n            by the mesh. Each mesh reference should match the pattern: `projects/*/locations/global/meshes/`\n            The attached Mesh should be of a type SIDECAR'\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: string\n            x-dcl-go-type: string\n            x-dcl-references:\n            - resource: Networkservices/Mesh\n              field: selfLink\n        name:\n          type: string\n          x-dcl-go-name: Name\n          description: Required. Name of the TlsRoute resource. It matches pattern\n            `projects/*/locations/global/tlsRoutes/tls_route_name>`.\n          x-dcl-has-long-form: true\n        project:\n          type: string\n          x-dcl-go-name: Project\n          description: The project for the resource\n          x-kubernetes-immutable: true\n          x-dcl-references:\n          - resource: Cloudresourcemanager/Project\n            field: name\n            parent: true\n          x-dcl-parameter: true\n        rules:\n          type: array\n          x-dcl-go-name: Rules\n          description: Required. Rules that define how traffic is routed and handled.\n            At least one RouteRule must be supplied. If there are multiple rules then\n            the action taken will be the first rule to match.\n          x-dcl-send-empty: true\n          x-dcl-list-type: list\n          items:\n            type: object\n            x-dcl-go-type: TlsRouteRules\n            required:\n            - matches\n            - action\n            properties:\n              action:\n                type: object\n                x-dcl-go-name: Action\n                x-dcl-go-type: TlsRouteRulesAction\n                description: Required. The detailed rule defining how to route matched\n                  traffic.\n                required:\n                - destinations\n                properties:\n                  destinations:\n                    type: array\n                    x-dcl-go-name: Destinations\n                    description: Required. The destination services to which traffic\n                      should be forwarded. At least one destination service is required.\n                    x-dcl-send-empty: true\n                    x-dcl-list-type: list\n                    items:\n                      type: object\n                      x-dcl-go-type: TlsRouteRulesActionDestinations\n                      required:\n                      - serviceName\n                      properties:\n                        serviceName:\n                          type: string\n                          x-dcl-go-name: ServiceName\n                          description: Required. The URL of a BackendService to route\n                            traffic to.\n                          x-dcl-references:\n                          - resource: Compute/BackendService\n                            field: name\n                            format: projects/{{project}}/locations/global/backendServices/{{name}}\n                        weight:\n                          type: integer\n                          format: int64\n                          x-dcl-go-name: Weight\n                          description: 'Optional. Specifies the proportion of requests\n                            forwareded to the backend referenced by the service_name\n                            field. This is computed as: weight/Sum(weights in destinations)\n                            Weights in all destinations does not need to sum up to\n                            100.'\n              matches:\n                type: array\n                x-dcl-go-name: Matches\n                description: Required. RouteMatch defines the predicate used to match\n                  requests to a given action. Multiple match types are \"OR\"ed for\n                  evaluation.\n                x-dcl-send-empty: true\n                x-dcl-list-type: list\n                items:\n                  type: object\n                  x-dcl-go-type: TlsRouteRulesMatches\n                  properties:\n                    alpn:\n                      type: array\n                      x-dcl-go-name: Alpn\n                      description: 'Optional. ALPN (Application-Layer Protocol Negotiation)\n                        to match against. Examples: \"http/1.1\", \"h2\". At least one\n                        of sni_host and alpn is required. Up to 5 alpns across all\n                        matches can be set.'\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n                    sniHost:\n                      type: array\n                      x-dcl-go-name: SniHost\n                      description: Optional. SNI (server name indicator) to match\n                        against. SNI will be matched against all wildcard domains,\n                        i.e. www.example.com will be first matched against www.example.com,\n                        then *.example.com, then *.com. Partial wildcards are not\n                        supported, and values like *w.example.com are invalid. At\n                        least one of sni_host and alpn is required. Up to 5 sni hosts\n                        across all matches can be set.\n                      x-dcl-send-empty: true\n                      x-dcl-list-type: list\n                      items:\n                        type: string\n                        x-dcl-go-type: string\n        selfLink:\n          type: string\n          x-dcl-go-name: SelfLink\n          readOnly: true\n          description: Output only. Server-defined URL of this resource\n          x-kubernetes-immutable: true\n        updateTime:\n          type: string\n          format: date-time\n          x-dcl-go-name: UpdateTime\n          readOnly: true\n          description: Output only. The timestamp when the resource was updated.\n          x-kubernetes-immutable: true\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/networkservices/beta/tls_route.yaml

Functions

func DCLEndpointPolicySchema added in v1.10.3

func DCLEndpointPolicySchema() *dcl.Schema

func DCLGatewaySchema added in v1.10.3

func DCLGatewaySchema() *dcl.Schema

func DCLGrpcRouteSchema added in v1.10.3

func DCLGrpcRouteSchema() *dcl.Schema

func DCLHttpRouteSchema added in v1.10.3

func DCLHttpRouteSchema() *dcl.Schema

func DCLMeshSchema added in v1.10.3

func DCLMeshSchema() *dcl.Schema

func DCLServiceBindingSchema added in v1.10.3

func DCLServiceBindingSchema() *dcl.Schema

func DCLTcpRouteSchema added in v1.10.3

func DCLTcpRouteSchema() *dcl.Schema

func DCLTlsRouteSchema added in v1.10.3

func DCLTlsRouteSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

func (*Client) ApplyEndpointPolicy

func (c *Client) ApplyEndpointPolicy(ctx context.Context, rawDesired *EndpointPolicy, opts ...dcl.ApplyOption) (*EndpointPolicy, error)

func (*Client) ApplyGateway added in v1.4.0

func (c *Client) ApplyGateway(ctx context.Context, rawDesired *Gateway, opts ...dcl.ApplyOption) (*Gateway, error)

func (*Client) ApplyGrpcRoute added in v1.4.0

func (c *Client) ApplyGrpcRoute(ctx context.Context, rawDesired *GrpcRoute, opts ...dcl.ApplyOption) (*GrpcRoute, error)

func (*Client) ApplyHttpRoute added in v1.4.0

func (c *Client) ApplyHttpRoute(ctx context.Context, rawDesired *HttpRoute, opts ...dcl.ApplyOption) (*HttpRoute, error)

func (*Client) ApplyMesh added in v1.4.0

func (c *Client) ApplyMesh(ctx context.Context, rawDesired *Mesh, opts ...dcl.ApplyOption) (*Mesh, error)

func (*Client) ApplyServiceBinding added in v1.7.0

func (c *Client) ApplyServiceBinding(ctx context.Context, rawDesired *ServiceBinding, opts ...dcl.ApplyOption) (*ServiceBinding, error)

func (*Client) ApplyTcpRoute added in v1.4.0

func (c *Client) ApplyTcpRoute(ctx context.Context, rawDesired *TcpRoute, opts ...dcl.ApplyOption) (*TcpRoute, error)

func (*Client) ApplyTlsRoute added in v1.4.0

func (c *Client) ApplyTlsRoute(ctx context.Context, rawDesired *TlsRoute, opts ...dcl.ApplyOption) (*TlsRoute, error)

func (*Client) DeleteAllEndpointPolicy

func (c *Client) DeleteAllEndpointPolicy(ctx context.Context, project, location string, filter func(*EndpointPolicy) bool) error

DeleteAllEndpointPolicy deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllGateway added in v1.4.0

func (c *Client) DeleteAllGateway(ctx context.Context, project, location string, filter func(*Gateway) bool) error

DeleteAllGateway deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllGrpcRoute added in v1.4.0

func (c *Client) DeleteAllGrpcRoute(ctx context.Context, project, location string, filter func(*GrpcRoute) bool) error

DeleteAllGrpcRoute deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllHttpRoute added in v1.4.0

func (c *Client) DeleteAllHttpRoute(ctx context.Context, project, location string, filter func(*HttpRoute) bool) error

DeleteAllHttpRoute deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllMesh added in v1.4.0

func (c *Client) DeleteAllMesh(ctx context.Context, project, location string, filter func(*Mesh) bool) error

DeleteAllMesh deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllServiceBinding added in v1.7.0

func (c *Client) DeleteAllServiceBinding(ctx context.Context, project, location string, filter func(*ServiceBinding) bool) error

DeleteAllServiceBinding deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllTcpRoute added in v1.4.0

func (c *Client) DeleteAllTcpRoute(ctx context.Context, project, location string, filter func(*TcpRoute) bool) error

DeleteAllTcpRoute deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllTlsRoute added in v1.4.0

func (c *Client) DeleteAllTlsRoute(ctx context.Context, project, location string, filter func(*TlsRoute) bool) error

DeleteAllTlsRoute deletes all resources that the filter functions returns true on.

func (*Client) DeleteEndpointPolicy

func (c *Client) DeleteEndpointPolicy(ctx context.Context, r *EndpointPolicy) error

func (*Client) DeleteGateway added in v1.4.0

func (c *Client) DeleteGateway(ctx context.Context, r *Gateway) error

func (*Client) DeleteGrpcRoute added in v1.4.0

func (c *Client) DeleteGrpcRoute(ctx context.Context, r *GrpcRoute) error

func (*Client) DeleteHttpRoute added in v1.4.0

func (c *Client) DeleteHttpRoute(ctx context.Context, r *HttpRoute) error

func (*Client) DeleteMesh added in v1.4.0

func (c *Client) DeleteMesh(ctx context.Context, r *Mesh) error

func (*Client) DeleteServiceBinding added in v1.7.0

func (c *Client) DeleteServiceBinding(ctx context.Context, r *ServiceBinding) error

func (*Client) DeleteTcpRoute added in v1.4.0

func (c *Client) DeleteTcpRoute(ctx context.Context, r *TcpRoute) error

func (*Client) DeleteTlsRoute added in v1.4.0

func (c *Client) DeleteTlsRoute(ctx context.Context, r *TlsRoute) error

func (*Client) GetEndpointPolicy

func (c *Client) GetEndpointPolicy(ctx context.Context, r *EndpointPolicy) (*EndpointPolicy, error)

func (*Client) GetGateway added in v1.4.0

func (c *Client) GetGateway(ctx context.Context, r *Gateway) (*Gateway, error)

func (*Client) GetGrpcRoute added in v1.4.0

func (c *Client) GetGrpcRoute(ctx context.Context, r *GrpcRoute) (*GrpcRoute, error)

func (*Client) GetHttpRoute added in v1.4.0

func (c *Client) GetHttpRoute(ctx context.Context, r *HttpRoute) (*HttpRoute, error)

func (*Client) GetMesh added in v1.4.0

func (c *Client) GetMesh(ctx context.Context, r *Mesh) (*Mesh, error)

func (*Client) GetServiceBinding added in v1.7.0

func (c *Client) GetServiceBinding(ctx context.Context, r *ServiceBinding) (*ServiceBinding, error)

func (*Client) GetTcpRoute added in v1.4.0

func (c *Client) GetTcpRoute(ctx context.Context, r *TcpRoute) (*TcpRoute, error)

func (*Client) GetTlsRoute added in v1.4.0

func (c *Client) GetTlsRoute(ctx context.Context, r *TlsRoute) (*TlsRoute, error)

func (*Client) ListEndpointPolicy

func (c *Client) ListEndpointPolicy(ctx context.Context, project, location string) (*EndpointPolicyList, error)

func (*Client) ListEndpointPolicyWithMaxResults

func (c *Client) ListEndpointPolicyWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*EndpointPolicyList, error)

func (*Client) ListGateway added in v1.4.0

func (c *Client) ListGateway(ctx context.Context, project, location string) (*GatewayList, error)

func (*Client) ListGatewayWithMaxResults added in v1.4.0

func (c *Client) ListGatewayWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*GatewayList, error)

func (*Client) ListGrpcRoute added in v1.4.0

func (c *Client) ListGrpcRoute(ctx context.Context, project, location string) (*GrpcRouteList, error)

func (*Client) ListGrpcRouteWithMaxResults added in v1.4.0

func (c *Client) ListGrpcRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*GrpcRouteList, error)

func (*Client) ListHttpRoute added in v1.4.0

func (c *Client) ListHttpRoute(ctx context.Context, project, location string) (*HttpRouteList, error)

func (*Client) ListHttpRouteWithMaxResults added in v1.4.0

func (c *Client) ListHttpRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*HttpRouteList, error)

func (*Client) ListMesh added in v1.4.0

func (c *Client) ListMesh(ctx context.Context, project, location string) (*MeshList, error)

func (*Client) ListMeshWithMaxResults added in v1.4.0

func (c *Client) ListMeshWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*MeshList, error)

func (*Client) ListServiceBinding added in v1.7.0

func (c *Client) ListServiceBinding(ctx context.Context, project, location string) (*ServiceBindingList, error)

func (*Client) ListServiceBindingWithMaxResults added in v1.7.0

func (c *Client) ListServiceBindingWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ServiceBindingList, error)

func (*Client) ListTcpRoute added in v1.4.0

func (c *Client) ListTcpRoute(ctx context.Context, project, location string) (*TcpRouteList, error)

func (*Client) ListTcpRouteWithMaxResults added in v1.4.0

func (c *Client) ListTcpRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*TcpRouteList, error)

func (*Client) ListTlsRoute added in v1.4.0

func (c *Client) ListTlsRoute(ctx context.Context, project, location string) (*TlsRouteList, error)

func (*Client) ListTlsRouteWithMaxResults added in v1.4.0

func (c *Client) ListTlsRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*TlsRouteList, error)

type EndpointPolicy

type EndpointPolicy struct {
	Name                *string                            `json:"name"`
	CreateTime          *string                            `json:"createTime"`
	UpdateTime          *string                            `json:"updateTime"`
	Labels              map[string]string                  `json:"labels"`
	Type                *EndpointPolicyTypeEnum            `json:"type"`
	AuthorizationPolicy *string                            `json:"authorizationPolicy"`
	EndpointMatcher     *EndpointPolicyEndpointMatcher     `json:"endpointMatcher"`
	TrafficPortSelector *EndpointPolicyTrafficPortSelector `json:"trafficPortSelector"`
	Description         *string                            `json:"description"`
	ServerTlsPolicy     *string                            `json:"serverTlsPolicy"`
	ClientTlsPolicy     *string                            `json:"clientTlsPolicy"`
	Project             *string                            `json:"project"`
	Location            *string                            `json:"location"`
}

func (*EndpointPolicy) Describe

func (r *EndpointPolicy) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*EndpointPolicy) ID

func (r *EndpointPolicy) ID() (string, error)

func (*EndpointPolicy) String

func (r *EndpointPolicy) String() string

type EndpointPolicyEndpointMatcher

type EndpointPolicyEndpointMatcher struct {
	MetadataLabelMatcher *EndpointPolicyEndpointMatcherMetadataLabelMatcher `json:"metadataLabelMatcher"`
	// contains filtered or unexported fields
}
var EmptyEndpointPolicyEndpointMatcher *EndpointPolicyEndpointMatcher = &EndpointPolicyEndpointMatcher{empty: true}

This object is used to assert a desired state where this EndpointPolicyEndpointMatcher is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointPolicyEndpointMatcher) Empty

func (*EndpointPolicyEndpointMatcher) HashCode

func (r *EndpointPolicyEndpointMatcher) HashCode() string

func (*EndpointPolicyEndpointMatcher) String

func (*EndpointPolicyEndpointMatcher) UnmarshalJSON

func (r *EndpointPolicyEndpointMatcher) UnmarshalJSON(data []byte) error

type EndpointPolicyEndpointMatcherMetadataLabelMatcher

type EndpointPolicyEndpointMatcherMetadataLabelMatcher struct {
	MetadataLabelMatchCriteria *EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum `json:"metadataLabelMatchCriteria"`
	MetadataLabels             []EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels                `json:"metadataLabels"`
	// contains filtered or unexported fields
}
var EmptyEndpointPolicyEndpointMatcherMetadataLabelMatcher *EndpointPolicyEndpointMatcherMetadataLabelMatcher = &EndpointPolicyEndpointMatcherMetadataLabelMatcher{empty: true}

This object is used to assert a desired state where this EndpointPolicyEndpointMatcherMetadataLabelMatcher is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcher) Empty

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcher) HashCode

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcher) String

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcher) UnmarshalJSON

type EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum

type EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum string

The enum EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum.

func EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnumRef

func EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnumRef(s string) *EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum

EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnumRef returns a *EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum with the value of string s If the empty string is provided, nil is returned.

func (EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabelMatchCriteriaEnum) Validate

type EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels

type EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels struct {
	LabelName  *string `json:"labelName"`
	LabelValue *string `json:"labelValue"`
	// contains filtered or unexported fields
}
var EmptyEndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels *EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels = &EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels{empty: true}

This object is used to assert a desired state where this EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels) Empty

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels) HashCode

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels) String

func (*EndpointPolicyEndpointMatcherMetadataLabelMatcherMetadataLabels) UnmarshalJSON

type EndpointPolicyList

type EndpointPolicyList struct {
	Items []*EndpointPolicy
	// contains filtered or unexported fields
}

func (*EndpointPolicyList) HasNext

func (l *EndpointPolicyList) HasNext() bool

func (*EndpointPolicyList) Next

func (l *EndpointPolicyList) Next(ctx context.Context, c *Client) error

type EndpointPolicyTrafficPortSelector

type EndpointPolicyTrafficPortSelector struct {
	Ports []string `json:"ports"`
	// contains filtered or unexported fields
}
var EmptyEndpointPolicyTrafficPortSelector *EndpointPolicyTrafficPortSelector = &EndpointPolicyTrafficPortSelector{empty: true}

This object is used to assert a desired state where this EndpointPolicyTrafficPortSelector is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*EndpointPolicyTrafficPortSelector) Empty

func (*EndpointPolicyTrafficPortSelector) HashCode

func (*EndpointPolicyTrafficPortSelector) String

func (*EndpointPolicyTrafficPortSelector) UnmarshalJSON

func (r *EndpointPolicyTrafficPortSelector) UnmarshalJSON(data []byte) error

type EndpointPolicyTypeEnum

type EndpointPolicyTypeEnum string

The enum EndpointPolicyTypeEnum.

func EndpointPolicyTypeEnumRef

func EndpointPolicyTypeEnumRef(s string) *EndpointPolicyTypeEnum

EndpointPolicyTypeEnumRef returns a *EndpointPolicyTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (EndpointPolicyTypeEnum) Validate

func (v EndpointPolicyTypeEnum) Validate() error

type Gateway added in v1.4.0

type Gateway struct {
	Name            *string           `json:"name"`
	CreateTime      *string           `json:"createTime"`
	UpdateTime      *string           `json:"updateTime"`
	Labels          map[string]string `json:"labels"`
	Description     *string           `json:"description"`
	Type            *GatewayTypeEnum  `json:"type"`
	Addresses       []string          `json:"addresses"`
	Ports           []int64           `json:"ports"`
	Scope           *string           `json:"scope"`
	ServerTlsPolicy *string           `json:"serverTlsPolicy"`
	Project         *string           `json:"project"`
	Location        *string           `json:"location"`
	SelfLink        *string           `json:"selfLink"`
}

func (*Gateway) Describe added in v1.4.0

func (r *Gateway) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Gateway) ID added in v1.4.0

func (r *Gateway) ID() (string, error)

func (*Gateway) String added in v1.4.0

func (r *Gateway) String() string

type GatewayList added in v1.4.0

type GatewayList struct {
	Items []*Gateway
	// contains filtered or unexported fields
}

func (*GatewayList) HasNext added in v1.4.0

func (l *GatewayList) HasNext() bool

func (*GatewayList) Next added in v1.4.0

func (l *GatewayList) Next(ctx context.Context, c *Client) error

type GatewayTypeEnum added in v1.4.0

type GatewayTypeEnum string

The enum GatewayTypeEnum.

func GatewayTypeEnumRef added in v1.4.0

func GatewayTypeEnumRef(s string) *GatewayTypeEnum

GatewayTypeEnumRef returns a *GatewayTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (GatewayTypeEnum) Validate added in v1.4.0

func (v GatewayTypeEnum) Validate() error

type GrpcRoute added in v1.4.0

type GrpcRoute struct {
	Name        *string           `json:"name"`
	CreateTime  *string           `json:"createTime"`
	UpdateTime  *string           `json:"updateTime"`
	Labels      map[string]string `json:"labels"`
	Description *string           `json:"description"`
	Hostnames   []string          `json:"hostnames"`
	Meshes      []string          `json:"meshes"`
	Gateways    []string          `json:"gateways"`
	Rules       []GrpcRouteRules  `json:"rules"`
	Project     *string           `json:"project"`
	Location    *string           `json:"location"`
	SelfLink    *string           `json:"selfLink"`
}

func (*GrpcRoute) Describe added in v1.4.0

func (r *GrpcRoute) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*GrpcRoute) ID added in v1.4.0

func (r *GrpcRoute) ID() (string, error)

func (*GrpcRoute) String added in v1.4.0

func (r *GrpcRoute) String() string

type GrpcRouteList added in v1.4.0

type GrpcRouteList struct {
	Items []*GrpcRoute
	// contains filtered or unexported fields
}

func (*GrpcRouteList) HasNext added in v1.4.0

func (l *GrpcRouteList) HasNext() bool

func (*GrpcRouteList) Next added in v1.4.0

func (l *GrpcRouteList) Next(ctx context.Context, c *Client) error

type GrpcRouteRules added in v1.4.0

type GrpcRouteRules struct {
	Matches []GrpcRouteRulesMatches `json:"matches"`
	Action  *GrpcRouteRulesAction   `json:"action"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRules *GrpcRouteRules = &GrpcRouteRules{empty: true}

This object is used to assert a desired state where this GrpcRouteRules is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRules) Empty added in v1.4.0

func (r *GrpcRouteRules) Empty() bool

func (*GrpcRouteRules) HashCode added in v1.4.0

func (r *GrpcRouteRules) HashCode() string

func (*GrpcRouteRules) String added in v1.4.0

func (r *GrpcRouteRules) String() string

func (*GrpcRouteRules) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRules) UnmarshalJSON(data []byte) error

type GrpcRouteRulesAction added in v1.4.0

type GrpcRouteRulesAction struct {
	Destinations         []GrpcRouteRulesActionDestinations        `json:"destinations"`
	FaultInjectionPolicy *GrpcRouteRulesActionFaultInjectionPolicy `json:"faultInjectionPolicy"`
	Timeout              *string                                   `json:"timeout"`
	RetryPolicy          *GrpcRouteRulesActionRetryPolicy          `json:"retryPolicy"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesAction *GrpcRouteRulesAction = &GrpcRouteRulesAction{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesAction is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesAction) Empty added in v1.4.0

func (r *GrpcRouteRulesAction) Empty() bool

func (*GrpcRouteRulesAction) HashCode added in v1.4.0

func (r *GrpcRouteRulesAction) HashCode() string

func (*GrpcRouteRulesAction) String added in v1.4.0

func (r *GrpcRouteRulesAction) String() string

func (*GrpcRouteRulesAction) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesAction) UnmarshalJSON(data []byte) error

type GrpcRouteRulesActionDestinations added in v1.4.0

type GrpcRouteRulesActionDestinations struct {
	Weight      *int64  `json:"weight"`
	ServiceName *string `json:"serviceName"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesActionDestinations *GrpcRouteRulesActionDestinations = &GrpcRouteRulesActionDestinations{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesActionDestinations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesActionDestinations) Empty added in v1.4.0

func (*GrpcRouteRulesActionDestinations) HashCode added in v1.4.0

func (*GrpcRouteRulesActionDestinations) String added in v1.4.0

func (*GrpcRouteRulesActionDestinations) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesActionDestinations) UnmarshalJSON(data []byte) error

type GrpcRouteRulesActionFaultInjectionPolicy added in v1.4.0

type GrpcRouteRulesActionFaultInjectionPolicy struct {
	Delay *GrpcRouteRulesActionFaultInjectionPolicyDelay `json:"delay"`
	Abort *GrpcRouteRulesActionFaultInjectionPolicyAbort `json:"abort"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesActionFaultInjectionPolicy *GrpcRouteRulesActionFaultInjectionPolicy = &GrpcRouteRulesActionFaultInjectionPolicy{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesActionFaultInjectionPolicy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesActionFaultInjectionPolicy) Empty added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicy) HashCode added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicy) String added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicy) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesActionFaultInjectionPolicy) UnmarshalJSON(data []byte) error

type GrpcRouteRulesActionFaultInjectionPolicyAbort added in v1.4.0

type GrpcRouteRulesActionFaultInjectionPolicyAbort struct {
	HttpStatus *int64 `json:"httpStatus"`
	Percentage *int64 `json:"percentage"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesActionFaultInjectionPolicyAbort *GrpcRouteRulesActionFaultInjectionPolicyAbort = &GrpcRouteRulesActionFaultInjectionPolicyAbort{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesActionFaultInjectionPolicyAbort is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) Empty added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) HashCode added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) String added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON(data []byte) error

type GrpcRouteRulesActionFaultInjectionPolicyDelay added in v1.4.0

type GrpcRouteRulesActionFaultInjectionPolicyDelay struct {
	FixedDelay *string `json:"fixedDelay"`
	Percentage *int64  `json:"percentage"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesActionFaultInjectionPolicyDelay *GrpcRouteRulesActionFaultInjectionPolicyDelay = &GrpcRouteRulesActionFaultInjectionPolicyDelay{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesActionFaultInjectionPolicyDelay is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) Empty added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) HashCode added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) String added in v1.4.0

func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON(data []byte) error

type GrpcRouteRulesActionRetryPolicy added in v1.4.0

type GrpcRouteRulesActionRetryPolicy struct {
	RetryConditions []string `json:"retryConditions"`
	NumRetries      *int64   `json:"numRetries"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesActionRetryPolicy *GrpcRouteRulesActionRetryPolicy = &GrpcRouteRulesActionRetryPolicy{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesActionRetryPolicy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesActionRetryPolicy) Empty added in v1.4.0

func (*GrpcRouteRulesActionRetryPolicy) HashCode added in v1.4.0

func (*GrpcRouteRulesActionRetryPolicy) String added in v1.4.0

func (*GrpcRouteRulesActionRetryPolicy) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesActionRetryPolicy) UnmarshalJSON(data []byte) error

type GrpcRouteRulesMatches added in v1.4.0

type GrpcRouteRulesMatches struct {
	Method  *GrpcRouteRulesMatchesMethod   `json:"method"`
	Headers []GrpcRouteRulesMatchesHeaders `json:"headers"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesMatches *GrpcRouteRulesMatches = &GrpcRouteRulesMatches{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesMatches is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesMatches) Empty added in v1.4.0

func (r *GrpcRouteRulesMatches) Empty() bool

func (*GrpcRouteRulesMatches) HashCode added in v1.4.0

func (r *GrpcRouteRulesMatches) HashCode() string

func (*GrpcRouteRulesMatches) String added in v1.4.0

func (r *GrpcRouteRulesMatches) String() string

func (*GrpcRouteRulesMatches) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesMatches) UnmarshalJSON(data []byte) error

type GrpcRouteRulesMatchesHeaders added in v1.4.0

type GrpcRouteRulesMatchesHeaders struct {
	Type  *GrpcRouteRulesMatchesHeadersTypeEnum `json:"type"`
	Key   *string                               `json:"key"`
	Value *string                               `json:"value"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesMatchesHeaders *GrpcRouteRulesMatchesHeaders = &GrpcRouteRulesMatchesHeaders{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesMatchesHeaders is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesMatchesHeaders) Empty added in v1.4.0

func (*GrpcRouteRulesMatchesHeaders) HashCode added in v1.4.0

func (r *GrpcRouteRulesMatchesHeaders) HashCode() string

func (*GrpcRouteRulesMatchesHeaders) String added in v1.4.0

func (*GrpcRouteRulesMatchesHeaders) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesMatchesHeaders) UnmarshalJSON(data []byte) error

type GrpcRouteRulesMatchesHeadersTypeEnum added in v1.4.0

type GrpcRouteRulesMatchesHeadersTypeEnum string

The enum GrpcRouteRulesMatchesHeadersTypeEnum.

func GrpcRouteRulesMatchesHeadersTypeEnumRef added in v1.4.0

func GrpcRouteRulesMatchesHeadersTypeEnumRef(s string) *GrpcRouteRulesMatchesHeadersTypeEnum

GrpcRouteRulesMatchesHeadersTypeEnumRef returns a *GrpcRouteRulesMatchesHeadersTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (GrpcRouteRulesMatchesHeadersTypeEnum) Validate added in v1.4.0

type GrpcRouteRulesMatchesMethod added in v1.4.0

type GrpcRouteRulesMatchesMethod struct {
	Type          *GrpcRouteRulesMatchesMethodTypeEnum `json:"type"`
	GrpcService   *string                              `json:"grpcService"`
	GrpcMethod    *string                              `json:"grpcMethod"`
	CaseSensitive *bool                                `json:"caseSensitive"`
	// contains filtered or unexported fields
}
var EmptyGrpcRouteRulesMatchesMethod *GrpcRouteRulesMatchesMethod = &GrpcRouteRulesMatchesMethod{empty: true}

This object is used to assert a desired state where this GrpcRouteRulesMatchesMethod is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*GrpcRouteRulesMatchesMethod) Empty added in v1.4.0

func (r *GrpcRouteRulesMatchesMethod) Empty() bool

func (*GrpcRouteRulesMatchesMethod) HashCode added in v1.4.0

func (r *GrpcRouteRulesMatchesMethod) HashCode() string

func (*GrpcRouteRulesMatchesMethod) String added in v1.4.0

func (r *GrpcRouteRulesMatchesMethod) String() string

func (*GrpcRouteRulesMatchesMethod) UnmarshalJSON added in v1.4.0

func (r *GrpcRouteRulesMatchesMethod) UnmarshalJSON(data []byte) error

type GrpcRouteRulesMatchesMethodTypeEnum added in v1.4.0

type GrpcRouteRulesMatchesMethodTypeEnum string

The enum GrpcRouteRulesMatchesMethodTypeEnum.

func GrpcRouteRulesMatchesMethodTypeEnumRef added in v1.4.0

func GrpcRouteRulesMatchesMethodTypeEnumRef(s string) *GrpcRouteRulesMatchesMethodTypeEnum

GrpcRouteRulesMatchesMethodTypeEnumRef returns a *GrpcRouteRulesMatchesMethodTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (GrpcRouteRulesMatchesMethodTypeEnum) Validate added in v1.4.0

type HttpRoute added in v1.4.0

type HttpRoute struct {
	Name        *string           `json:"name"`
	Description *string           `json:"description"`
	CreateTime  *string           `json:"createTime"`
	UpdateTime  *string           `json:"updateTime"`
	Hostnames   []string          `json:"hostnames"`
	Meshes      []string          `json:"meshes"`
	Gateways    []string          `json:"gateways"`
	Labels      map[string]string `json:"labels"`
	Rules       []HttpRouteRules  `json:"rules"`
	Project     *string           `json:"project"`
	Location    *string           `json:"location"`
	SelfLink    *string           `json:"selfLink"`
}

func (*HttpRoute) Describe added in v1.4.0

func (r *HttpRoute) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*HttpRoute) ID added in v1.4.0

func (r *HttpRoute) ID() (string, error)

func (*HttpRoute) String added in v1.4.0

func (r *HttpRoute) String() string

type HttpRouteList added in v1.4.0

type HttpRouteList struct {
	Items []*HttpRoute
	// contains filtered or unexported fields
}

func (*HttpRouteList) HasNext added in v1.4.0

func (l *HttpRouteList) HasNext() bool

func (*HttpRouteList) Next added in v1.4.0

func (l *HttpRouteList) Next(ctx context.Context, c *Client) error

type HttpRouteRules added in v1.4.0

type HttpRouteRules struct {
	Matches []HttpRouteRulesMatches `json:"matches"`
	Action  *HttpRouteRulesAction   `json:"action"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRules *HttpRouteRules = &HttpRouteRules{empty: true}

This object is used to assert a desired state where this HttpRouteRules is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRules) Empty added in v1.4.0

func (r *HttpRouteRules) Empty() bool

func (*HttpRouteRules) HashCode added in v1.4.0

func (r *HttpRouteRules) HashCode() string

func (*HttpRouteRules) String added in v1.4.0

func (r *HttpRouteRules) String() string

func (*HttpRouteRules) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRules) UnmarshalJSON(data []byte) error

type HttpRouteRulesAction added in v1.4.0

type HttpRouteRulesAction struct {
	Destinations           []HttpRouteRulesActionDestinations          `json:"destinations"`
	Redirect               *HttpRouteRulesActionRedirect               `json:"redirect"`
	FaultInjectionPolicy   *HttpRouteRulesActionFaultInjectionPolicy   `json:"faultInjectionPolicy"`
	RequestHeaderModifier  *HttpRouteRulesActionRequestHeaderModifier  `json:"requestHeaderModifier"`
	ResponseHeaderModifier *HttpRouteRulesActionResponseHeaderModifier `json:"responseHeaderModifier"`
	UrlRewrite             *HttpRouteRulesActionUrlRewrite             `json:"urlRewrite"`
	Timeout                *string                                     `json:"timeout"`
	RetryPolicy            *HttpRouteRulesActionRetryPolicy            `json:"retryPolicy"`
	RequestMirrorPolicy    *HttpRouteRulesActionRequestMirrorPolicy    `json:"requestMirrorPolicy"`
	CorsPolicy             *HttpRouteRulesActionCorsPolicy             `json:"corsPolicy"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesAction *HttpRouteRulesAction = &HttpRouteRulesAction{empty: true}

This object is used to assert a desired state where this HttpRouteRulesAction is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesAction) Empty added in v1.4.0

func (r *HttpRouteRulesAction) Empty() bool

func (*HttpRouteRulesAction) HashCode added in v1.4.0

func (r *HttpRouteRulesAction) HashCode() string

func (*HttpRouteRulesAction) String added in v1.4.0

func (r *HttpRouteRulesAction) String() string

func (*HttpRouteRulesAction) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesAction) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionCorsPolicy added in v1.4.0

type HttpRouteRulesActionCorsPolicy struct {
	AllowOrigins       []string `json:"allowOrigins"`
	AllowOriginRegexes []string `json:"allowOriginRegexes"`
	AllowMethods       []string `json:"allowMethods"`
	AllowHeaders       []string `json:"allowHeaders"`
	ExposeHeaders      []string `json:"exposeHeaders"`
	MaxAge             *string  `json:"maxAge"`
	AllowCredentials   *bool    `json:"allowCredentials"`
	Disabled           *bool    `json:"disabled"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionCorsPolicy *HttpRouteRulesActionCorsPolicy = &HttpRouteRulesActionCorsPolicy{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionCorsPolicy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionCorsPolicy) Empty added in v1.4.0

func (*HttpRouteRulesActionCorsPolicy) HashCode added in v1.4.0

func (r *HttpRouteRulesActionCorsPolicy) HashCode() string

func (*HttpRouteRulesActionCorsPolicy) String added in v1.4.0

func (*HttpRouteRulesActionCorsPolicy) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionCorsPolicy) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionDestinations added in v1.4.0

type HttpRouteRulesActionDestinations struct {
	Weight      *int64  `json:"weight"`
	ServiceName *string `json:"serviceName"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionDestinations *HttpRouteRulesActionDestinations = &HttpRouteRulesActionDestinations{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionDestinations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionDestinations) Empty added in v1.4.0

func (*HttpRouteRulesActionDestinations) HashCode added in v1.4.0

func (*HttpRouteRulesActionDestinations) String added in v1.4.0

func (*HttpRouteRulesActionDestinations) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionDestinations) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionFaultInjectionPolicy added in v1.4.0

type HttpRouteRulesActionFaultInjectionPolicy struct {
	Delay *HttpRouteRulesActionFaultInjectionPolicyDelay `json:"delay"`
	Abort *HttpRouteRulesActionFaultInjectionPolicyAbort `json:"abort"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionFaultInjectionPolicy *HttpRouteRulesActionFaultInjectionPolicy = &HttpRouteRulesActionFaultInjectionPolicy{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionFaultInjectionPolicy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionFaultInjectionPolicy) Empty added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicy) HashCode added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicy) String added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicy) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionFaultInjectionPolicy) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionFaultInjectionPolicyAbort added in v1.4.0

type HttpRouteRulesActionFaultInjectionPolicyAbort struct {
	HttpStatus *int64 `json:"httpStatus"`
	Percentage *int64 `json:"percentage"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionFaultInjectionPolicyAbort *HttpRouteRulesActionFaultInjectionPolicyAbort = &HttpRouteRulesActionFaultInjectionPolicyAbort{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionFaultInjectionPolicyAbort is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionFaultInjectionPolicyAbort) Empty added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicyAbort) HashCode added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicyAbort) String added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionFaultInjectionPolicyDelay added in v1.4.0

type HttpRouteRulesActionFaultInjectionPolicyDelay struct {
	FixedDelay *string `json:"fixedDelay"`
	Percentage *int64  `json:"percentage"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionFaultInjectionPolicyDelay *HttpRouteRulesActionFaultInjectionPolicyDelay = &HttpRouteRulesActionFaultInjectionPolicyDelay{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionFaultInjectionPolicyDelay is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionFaultInjectionPolicyDelay) Empty added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicyDelay) HashCode added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicyDelay) String added in v1.4.0

func (*HttpRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionRedirect added in v1.4.0

type HttpRouteRulesActionRedirect struct {
	HostRedirect  *string                                       `json:"hostRedirect"`
	PathRedirect  *string                                       `json:"pathRedirect"`
	PrefixRewrite *string                                       `json:"prefixRewrite"`
	ResponseCode  *HttpRouteRulesActionRedirectResponseCodeEnum `json:"responseCode"`
	HttpsRedirect *bool                                         `json:"httpsRedirect"`
	StripQuery    *bool                                         `json:"stripQuery"`
	PortRedirect  *int64                                        `json:"portRedirect"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionRedirect *HttpRouteRulesActionRedirect = &HttpRouteRulesActionRedirect{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionRedirect is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionRedirect) Empty added in v1.4.0

func (*HttpRouteRulesActionRedirect) HashCode added in v1.4.0

func (r *HttpRouteRulesActionRedirect) HashCode() string

func (*HttpRouteRulesActionRedirect) String added in v1.4.0

func (*HttpRouteRulesActionRedirect) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionRedirect) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionRedirectResponseCodeEnum added in v1.4.0

type HttpRouteRulesActionRedirectResponseCodeEnum string

The enum HttpRouteRulesActionRedirectResponseCodeEnum.

func HttpRouteRulesActionRedirectResponseCodeEnumRef added in v1.4.0

func HttpRouteRulesActionRedirectResponseCodeEnumRef(s string) *HttpRouteRulesActionRedirectResponseCodeEnum

HttpRouteRulesActionRedirectResponseCodeEnumRef returns a *HttpRouteRulesActionRedirectResponseCodeEnum with the value of string s If the empty string is provided, nil is returned.

func (HttpRouteRulesActionRedirectResponseCodeEnum) Validate added in v1.4.0

type HttpRouteRulesActionRequestHeaderModifier added in v1.4.0

type HttpRouteRulesActionRequestHeaderModifier struct {
	Set    map[string]string `json:"set"`
	Add    map[string]string `json:"add"`
	Remove []string          `json:"remove"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionRequestHeaderModifier *HttpRouteRulesActionRequestHeaderModifier = &HttpRouteRulesActionRequestHeaderModifier{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionRequestHeaderModifier is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionRequestHeaderModifier) Empty added in v1.4.0

func (*HttpRouteRulesActionRequestHeaderModifier) HashCode added in v1.4.0

func (*HttpRouteRulesActionRequestHeaderModifier) String added in v1.4.0

func (*HttpRouteRulesActionRequestHeaderModifier) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionRequestHeaderModifier) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionRequestMirrorPolicy added in v1.4.0

type HttpRouteRulesActionRequestMirrorPolicy struct {
	Destination *HttpRouteRulesActionRequestMirrorPolicyDestination `json:"destination"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionRequestMirrorPolicy *HttpRouteRulesActionRequestMirrorPolicy = &HttpRouteRulesActionRequestMirrorPolicy{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionRequestMirrorPolicy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionRequestMirrorPolicy) Empty added in v1.4.0

func (*HttpRouteRulesActionRequestMirrorPolicy) HashCode added in v1.4.0

func (*HttpRouteRulesActionRequestMirrorPolicy) String added in v1.4.0

func (*HttpRouteRulesActionRequestMirrorPolicy) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionRequestMirrorPolicy) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionRequestMirrorPolicyDestination added in v1.4.0

type HttpRouteRulesActionRequestMirrorPolicyDestination struct {
	Weight      *int64  `json:"weight"`
	ServiceName *string `json:"serviceName"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionRequestMirrorPolicyDestination *HttpRouteRulesActionRequestMirrorPolicyDestination = &HttpRouteRulesActionRequestMirrorPolicyDestination{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionRequestMirrorPolicyDestination is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionRequestMirrorPolicyDestination) Empty added in v1.4.0

func (*HttpRouteRulesActionRequestMirrorPolicyDestination) HashCode added in v1.4.0

func (*HttpRouteRulesActionRequestMirrorPolicyDestination) String added in v1.4.0

func (*HttpRouteRulesActionRequestMirrorPolicyDestination) UnmarshalJSON added in v1.4.0

type HttpRouteRulesActionResponseHeaderModifier added in v1.4.0

type HttpRouteRulesActionResponseHeaderModifier struct {
	Set    map[string]string `json:"set"`
	Add    map[string]string `json:"add"`
	Remove []string          `json:"remove"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionResponseHeaderModifier *HttpRouteRulesActionResponseHeaderModifier = &HttpRouteRulesActionResponseHeaderModifier{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionResponseHeaderModifier is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionResponseHeaderModifier) Empty added in v1.4.0

func (*HttpRouteRulesActionResponseHeaderModifier) HashCode added in v1.4.0

func (*HttpRouteRulesActionResponseHeaderModifier) String added in v1.4.0

func (*HttpRouteRulesActionResponseHeaderModifier) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionResponseHeaderModifier) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionRetryPolicy added in v1.4.0

type HttpRouteRulesActionRetryPolicy struct {
	RetryConditions []string `json:"retryConditions"`
	NumRetries      *int64   `json:"numRetries"`
	PerTryTimeout   *string  `json:"perTryTimeout"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionRetryPolicy *HttpRouteRulesActionRetryPolicy = &HttpRouteRulesActionRetryPolicy{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionRetryPolicy is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionRetryPolicy) Empty added in v1.4.0

func (*HttpRouteRulesActionRetryPolicy) HashCode added in v1.4.0

func (*HttpRouteRulesActionRetryPolicy) String added in v1.4.0

func (*HttpRouteRulesActionRetryPolicy) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionRetryPolicy) UnmarshalJSON(data []byte) error

type HttpRouteRulesActionUrlRewrite added in v1.4.0

type HttpRouteRulesActionUrlRewrite struct {
	PathPrefixRewrite *string `json:"pathPrefixRewrite"`
	HostRewrite       *string `json:"hostRewrite"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesActionUrlRewrite *HttpRouteRulesActionUrlRewrite = &HttpRouteRulesActionUrlRewrite{empty: true}

This object is used to assert a desired state where this HttpRouteRulesActionUrlRewrite is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesActionUrlRewrite) Empty added in v1.4.0

func (*HttpRouteRulesActionUrlRewrite) HashCode added in v1.4.0

func (r *HttpRouteRulesActionUrlRewrite) HashCode() string

func (*HttpRouteRulesActionUrlRewrite) String added in v1.4.0

func (*HttpRouteRulesActionUrlRewrite) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesActionUrlRewrite) UnmarshalJSON(data []byte) error

type HttpRouteRulesMatches added in v1.4.0

type HttpRouteRulesMatches struct {
	FullPathMatch   *string                                `json:"fullPathMatch"`
	PrefixMatch     *string                                `json:"prefixMatch"`
	RegexMatch      *string                                `json:"regexMatch"`
	IgnoreCase      *bool                                  `json:"ignoreCase"`
	Headers         []HttpRouteRulesMatchesHeaders         `json:"headers"`
	QueryParameters []HttpRouteRulesMatchesQueryParameters `json:"queryParameters"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesMatches *HttpRouteRulesMatches = &HttpRouteRulesMatches{empty: true}

This object is used to assert a desired state where this HttpRouteRulesMatches is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesMatches) Empty added in v1.4.0

func (r *HttpRouteRulesMatches) Empty() bool

func (*HttpRouteRulesMatches) HashCode added in v1.4.0

func (r *HttpRouteRulesMatches) HashCode() string

func (*HttpRouteRulesMatches) String added in v1.4.0

func (r *HttpRouteRulesMatches) String() string

func (*HttpRouteRulesMatches) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesMatches) UnmarshalJSON(data []byte) error

type HttpRouteRulesMatchesHeaders added in v1.4.0

type HttpRouteRulesMatchesHeaders struct {
	Header       *string                                 `json:"header"`
	ExactMatch   *string                                 `json:"exactMatch"`
	RegexMatch   *string                                 `json:"regexMatch"`
	PrefixMatch  *string                                 `json:"prefixMatch"`
	PresentMatch *bool                                   `json:"presentMatch"`
	SuffixMatch  *string                                 `json:"suffixMatch"`
	RangeMatch   *HttpRouteRulesMatchesHeadersRangeMatch `json:"rangeMatch"`
	InvertMatch  *bool                                   `json:"invertMatch"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesMatchesHeaders *HttpRouteRulesMatchesHeaders = &HttpRouteRulesMatchesHeaders{empty: true}

This object is used to assert a desired state where this HttpRouteRulesMatchesHeaders is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesMatchesHeaders) Empty added in v1.4.0

func (*HttpRouteRulesMatchesHeaders) HashCode added in v1.4.0

func (r *HttpRouteRulesMatchesHeaders) HashCode() string

func (*HttpRouteRulesMatchesHeaders) String added in v1.4.0

func (*HttpRouteRulesMatchesHeaders) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesMatchesHeaders) UnmarshalJSON(data []byte) error

type HttpRouteRulesMatchesHeadersRangeMatch added in v1.4.0

type HttpRouteRulesMatchesHeadersRangeMatch struct {
	Start *int64 `json:"start"`
	End   *int64 `json:"end"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesMatchesHeadersRangeMatch *HttpRouteRulesMatchesHeadersRangeMatch = &HttpRouteRulesMatchesHeadersRangeMatch{empty: true}

This object is used to assert a desired state where this HttpRouteRulesMatchesHeadersRangeMatch is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesMatchesHeadersRangeMatch) Empty added in v1.4.0

func (*HttpRouteRulesMatchesHeadersRangeMatch) HashCode added in v1.4.0

func (*HttpRouteRulesMatchesHeadersRangeMatch) String added in v1.4.0

func (*HttpRouteRulesMatchesHeadersRangeMatch) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesMatchesHeadersRangeMatch) UnmarshalJSON(data []byte) error

type HttpRouteRulesMatchesQueryParameters added in v1.4.0

type HttpRouteRulesMatchesQueryParameters struct {
	QueryParameter *string `json:"queryParameter"`
	ExactMatch     *string `json:"exactMatch"`
	RegexMatch     *string `json:"regexMatch"`
	PresentMatch   *bool   `json:"presentMatch"`
	// contains filtered or unexported fields
}
var EmptyHttpRouteRulesMatchesQueryParameters *HttpRouteRulesMatchesQueryParameters = &HttpRouteRulesMatchesQueryParameters{empty: true}

This object is used to assert a desired state where this HttpRouteRulesMatchesQueryParameters is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*HttpRouteRulesMatchesQueryParameters) Empty added in v1.4.0

func (*HttpRouteRulesMatchesQueryParameters) HashCode added in v1.4.0

func (*HttpRouteRulesMatchesQueryParameters) String added in v1.4.0

func (*HttpRouteRulesMatchesQueryParameters) UnmarshalJSON added in v1.4.0

func (r *HttpRouteRulesMatchesQueryParameters) UnmarshalJSON(data []byte) error

type Mesh added in v1.4.0

type Mesh struct {
	Name             *string           `json:"name"`
	CreateTime       *string           `json:"createTime"`
	UpdateTime       *string           `json:"updateTime"`
	Labels           map[string]string `json:"labels"`
	Description      *string           `json:"description"`
	InterceptionPort *int64            `json:"interceptionPort"`
	Project          *string           `json:"project"`
	Location         *string           `json:"location"`
	SelfLink         *string           `json:"selfLink"`
}

func (*Mesh) Describe added in v1.4.0

func (r *Mesh) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Mesh) ID added in v1.4.0

func (r *Mesh) ID() (string, error)

func (*Mesh) String added in v1.4.0

func (r *Mesh) String() string

type MeshList added in v1.4.0

type MeshList struct {
	Items []*Mesh
	// contains filtered or unexported fields
}

func (*MeshList) HasNext added in v1.4.0

func (l *MeshList) HasNext() bool

func (*MeshList) Next added in v1.4.0

func (l *MeshList) Next(ctx context.Context, c *Client) error

type ServiceBinding added in v1.7.0

type ServiceBinding struct {
	Name        *string           `json:"name"`
	Description *string           `json:"description"`
	CreateTime  *string           `json:"createTime"`
	UpdateTime  *string           `json:"updateTime"`
	Service     *string           `json:"service"`
	Labels      map[string]string `json:"labels"`
	Project     *string           `json:"project"`
	Location    *string           `json:"location"`
}

func (*ServiceBinding) Describe added in v1.7.0

func (r *ServiceBinding) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*ServiceBinding) ID added in v1.7.0

func (r *ServiceBinding) ID() (string, error)

func (*ServiceBinding) String added in v1.7.0

func (r *ServiceBinding) String() string

type ServiceBindingList added in v1.7.0

type ServiceBindingList struct {
	Items []*ServiceBinding
	// contains filtered or unexported fields
}

func (*ServiceBindingList) HasNext added in v1.7.0

func (l *ServiceBindingList) HasNext() bool

func (*ServiceBindingList) Next added in v1.7.0

func (l *ServiceBindingList) Next(ctx context.Context, c *Client) error

type TcpRoute added in v1.4.0

type TcpRoute struct {
	Name        *string           `json:"name"`
	CreateTime  *string           `json:"createTime"`
	UpdateTime  *string           `json:"updateTime"`
	Description *string           `json:"description"`
	Rules       []TcpRouteRules   `json:"rules"`
	Meshes      []string          `json:"meshes"`
	Gateways    []string          `json:"gateways"`
	Labels      map[string]string `json:"labels"`
	Project     *string           `json:"project"`
	Location    *string           `json:"location"`
	SelfLink    *string           `json:"selfLink"`
}

func (*TcpRoute) Describe added in v1.4.0

func (r *TcpRoute) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*TcpRoute) ID added in v1.4.0

func (r *TcpRoute) ID() (string, error)

func (*TcpRoute) String added in v1.4.0

func (r *TcpRoute) String() string

type TcpRouteList added in v1.4.0

type TcpRouteList struct {
	Items []*TcpRoute
	// contains filtered or unexported fields
}

func (*TcpRouteList) HasNext added in v1.4.0

func (l *TcpRouteList) HasNext() bool

func (*TcpRouteList) Next added in v1.4.0

func (l *TcpRouteList) Next(ctx context.Context, c *Client) error

type TcpRouteRules added in v1.4.0

type TcpRouteRules struct {
	Matches []TcpRouteRulesMatches `json:"matches"`
	Action  *TcpRouteRulesAction   `json:"action"`
	// contains filtered or unexported fields
}
var EmptyTcpRouteRules *TcpRouteRules = &TcpRouteRules{empty: true}

This object is used to assert a desired state where this TcpRouteRules is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TcpRouteRules) Empty added in v1.4.0

func (r *TcpRouteRules) Empty() bool

func (*TcpRouteRules) HashCode added in v1.4.0

func (r *TcpRouteRules) HashCode() string

func (*TcpRouteRules) String added in v1.4.0

func (r *TcpRouteRules) String() string

func (*TcpRouteRules) UnmarshalJSON added in v1.4.0

func (r *TcpRouteRules) UnmarshalJSON(data []byte) error

type TcpRouteRulesAction added in v1.4.0

type TcpRouteRulesAction struct {
	Destinations        []TcpRouteRulesActionDestinations `json:"destinations"`
	OriginalDestination *bool                             `json:"originalDestination"`
	// contains filtered or unexported fields
}
var EmptyTcpRouteRulesAction *TcpRouteRulesAction = &TcpRouteRulesAction{empty: true}

This object is used to assert a desired state where this TcpRouteRulesAction is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TcpRouteRulesAction) Empty added in v1.4.0

func (r *TcpRouteRulesAction) Empty() bool

func (*TcpRouteRulesAction) HashCode added in v1.4.0

func (r *TcpRouteRulesAction) HashCode() string

func (*TcpRouteRulesAction) String added in v1.4.0

func (r *TcpRouteRulesAction) String() string

func (*TcpRouteRulesAction) UnmarshalJSON added in v1.4.0

func (r *TcpRouteRulesAction) UnmarshalJSON(data []byte) error

type TcpRouteRulesActionDestinations added in v1.4.0

type TcpRouteRulesActionDestinations struct {
	Weight      *int64  `json:"weight"`
	ServiceName *string `json:"serviceName"`
	// contains filtered or unexported fields
}
var EmptyTcpRouteRulesActionDestinations *TcpRouteRulesActionDestinations = &TcpRouteRulesActionDestinations{empty: true}

This object is used to assert a desired state where this TcpRouteRulesActionDestinations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TcpRouteRulesActionDestinations) Empty added in v1.4.0

func (*TcpRouteRulesActionDestinations) HashCode added in v1.4.0

func (*TcpRouteRulesActionDestinations) String added in v1.4.0

func (*TcpRouteRulesActionDestinations) UnmarshalJSON added in v1.4.0

func (r *TcpRouteRulesActionDestinations) UnmarshalJSON(data []byte) error

type TcpRouteRulesMatches added in v1.4.0

type TcpRouteRulesMatches struct {
	Address *string `json:"address"`
	Port    *string `json:"port"`
	// contains filtered or unexported fields
}
var EmptyTcpRouteRulesMatches *TcpRouteRulesMatches = &TcpRouteRulesMatches{empty: true}

This object is used to assert a desired state where this TcpRouteRulesMatches is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TcpRouteRulesMatches) Empty added in v1.4.0

func (r *TcpRouteRulesMatches) Empty() bool

func (*TcpRouteRulesMatches) HashCode added in v1.4.0

func (r *TcpRouteRulesMatches) HashCode() string

func (*TcpRouteRulesMatches) String added in v1.4.0

func (r *TcpRouteRulesMatches) String() string

func (*TcpRouteRulesMatches) UnmarshalJSON added in v1.4.0

func (r *TcpRouteRulesMatches) UnmarshalJSON(data []byte) error

type TlsRoute added in v1.4.0

type TlsRoute struct {
	Name        *string         `json:"name"`
	SelfLink    *string         `json:"selfLink"`
	CreateTime  *string         `json:"createTime"`
	UpdateTime  *string         `json:"updateTime"`
	Description *string         `json:"description"`
	Rules       []TlsRouteRules `json:"rules"`
	Meshes      []string        `json:"meshes"`
	Gateways    []string        `json:"gateways"`
	Project     *string         `json:"project"`
	Location    *string         `json:"location"`
}

func (*TlsRoute) Describe added in v1.4.0

func (r *TlsRoute) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*TlsRoute) ID added in v1.4.0

func (r *TlsRoute) ID() (string, error)

func (*TlsRoute) String added in v1.4.0

func (r *TlsRoute) String() string

type TlsRouteList added in v1.4.0

type TlsRouteList struct {
	Items []*TlsRoute
	// contains filtered or unexported fields
}

func (*TlsRouteList) HasNext added in v1.4.0

func (l *TlsRouteList) HasNext() bool

func (*TlsRouteList) Next added in v1.4.0

func (l *TlsRouteList) Next(ctx context.Context, c *Client) error

type TlsRouteRules added in v1.4.0

type TlsRouteRules struct {
	Matches []TlsRouteRulesMatches `json:"matches"`
	Action  *TlsRouteRulesAction   `json:"action"`
	// contains filtered or unexported fields
}
var EmptyTlsRouteRules *TlsRouteRules = &TlsRouteRules{empty: true}

This object is used to assert a desired state where this TlsRouteRules is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TlsRouteRules) Empty added in v1.4.0

func (r *TlsRouteRules) Empty() bool

func (*TlsRouteRules) HashCode added in v1.4.0

func (r *TlsRouteRules) HashCode() string

func (*TlsRouteRules) String added in v1.4.0

func (r *TlsRouteRules) String() string

func (*TlsRouteRules) UnmarshalJSON added in v1.4.0

func (r *TlsRouteRules) UnmarshalJSON(data []byte) error

type TlsRouteRulesAction added in v1.4.0

type TlsRouteRulesAction struct {
	Destinations []TlsRouteRulesActionDestinations `json:"destinations"`
	// contains filtered or unexported fields
}
var EmptyTlsRouteRulesAction *TlsRouteRulesAction = &TlsRouteRulesAction{empty: true}

This object is used to assert a desired state where this TlsRouteRulesAction is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TlsRouteRulesAction) Empty added in v1.4.0

func (r *TlsRouteRulesAction) Empty() bool

func (*TlsRouteRulesAction) HashCode added in v1.4.0

func (r *TlsRouteRulesAction) HashCode() string

func (*TlsRouteRulesAction) String added in v1.4.0

func (r *TlsRouteRulesAction) String() string

func (*TlsRouteRulesAction) UnmarshalJSON added in v1.4.0

func (r *TlsRouteRulesAction) UnmarshalJSON(data []byte) error

type TlsRouteRulesActionDestinations added in v1.4.0

type TlsRouteRulesActionDestinations struct {
	ServiceName *string `json:"serviceName"`
	Weight      *int64  `json:"weight"`
	// contains filtered or unexported fields
}
var EmptyTlsRouteRulesActionDestinations *TlsRouteRulesActionDestinations = &TlsRouteRulesActionDestinations{empty: true}

This object is used to assert a desired state where this TlsRouteRulesActionDestinations is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TlsRouteRulesActionDestinations) Empty added in v1.4.0

func (*TlsRouteRulesActionDestinations) HashCode added in v1.4.0

func (*TlsRouteRulesActionDestinations) String added in v1.4.0

func (*TlsRouteRulesActionDestinations) UnmarshalJSON added in v1.4.0

func (r *TlsRouteRulesActionDestinations) UnmarshalJSON(data []byte) error

type TlsRouteRulesMatches added in v1.4.0

type TlsRouteRulesMatches struct {
	SniHost []string `json:"sniHost"`
	Alpn    []string `json:"alpn"`
	// contains filtered or unexported fields
}
var EmptyTlsRouteRulesMatches *TlsRouteRulesMatches = &TlsRouteRulesMatches{empty: true}

This object is used to assert a desired state where this TlsRouteRulesMatches is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*TlsRouteRulesMatches) Empty added in v1.4.0

func (r *TlsRouteRulesMatches) Empty() bool

func (*TlsRouteRulesMatches) HashCode added in v1.4.0

func (r *TlsRouteRulesMatches) HashCode() string

func (*TlsRouteRulesMatches) String added in v1.4.0

func (r *TlsRouteRulesMatches) String() string

func (*TlsRouteRulesMatches) UnmarshalJSON added in v1.4.0

func (r *TlsRouteRulesMatches) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL