Documentation
¶
Overview ¶
Copyright 2026 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 networkservices defines operations in the declarative SDK.
Copyright 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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
- Variables
- func DCLGatewaySchema() *dcl.Schema
- func DCLGrpcRouteSchema() *dcl.Schema
- func DCLHttpRouteSchema() *dcl.Schema
- func DCLMeshSchema() *dcl.Schema
- func DCLTcpRouteSchema() *dcl.Schema
- func DCLTlsRouteSchema() *dcl.Schema
- type Client
- func (c *Client) ApplyGateway(ctx context.Context, rawDesired *Gateway, opts ...dcl.ApplyOption) (*Gateway, error)
- func (c *Client) ApplyGrpcRoute(ctx context.Context, rawDesired *GrpcRoute, opts ...dcl.ApplyOption) (*GrpcRoute, error)
- func (c *Client) ApplyHttpRoute(ctx context.Context, rawDesired *HttpRoute, opts ...dcl.ApplyOption) (*HttpRoute, error)
- func (c *Client) ApplyMesh(ctx context.Context, rawDesired *Mesh, opts ...dcl.ApplyOption) (*Mesh, error)
- func (c *Client) ApplyTcpRoute(ctx context.Context, rawDesired *TcpRoute, opts ...dcl.ApplyOption) (*TcpRoute, error)
- func (c *Client) ApplyTlsRoute(ctx context.Context, rawDesired *TlsRoute, opts ...dcl.ApplyOption) (*TlsRoute, error)
- func (c *Client) DeleteAllGateway(ctx context.Context, project, location string, filter func(*Gateway) bool) error
- func (c *Client) DeleteAllGrpcRoute(ctx context.Context, project, location string, filter func(*GrpcRoute) bool) error
- func (c *Client) DeleteAllHttpRoute(ctx context.Context, project, location string, filter func(*HttpRoute) bool) error
- func (c *Client) DeleteAllMesh(ctx context.Context, project, location string, filter func(*Mesh) bool) error
- func (c *Client) DeleteAllTcpRoute(ctx context.Context, project, location string, filter func(*TcpRoute) bool) error
- func (c *Client) DeleteAllTlsRoute(ctx context.Context, project, location string, filter func(*TlsRoute) bool) error
- func (c *Client) DeleteGateway(ctx context.Context, r *Gateway) error
- func (c *Client) DeleteGrpcRoute(ctx context.Context, r *GrpcRoute) error
- func (c *Client) DeleteHttpRoute(ctx context.Context, r *HttpRoute) error
- func (c *Client) DeleteMesh(ctx context.Context, r *Mesh) error
- func (c *Client) DeleteTcpRoute(ctx context.Context, r *TcpRoute) error
- func (c *Client) DeleteTlsRoute(ctx context.Context, r *TlsRoute) error
- func (c *Client) GetGateway(ctx context.Context, r *Gateway) (*Gateway, error)
- func (c *Client) GetGrpcRoute(ctx context.Context, r *GrpcRoute) (*GrpcRoute, error)
- func (c *Client) GetHttpRoute(ctx context.Context, r *HttpRoute) (*HttpRoute, error)
- func (c *Client) GetMesh(ctx context.Context, r *Mesh) (*Mesh, error)
- func (c *Client) GetTcpRoute(ctx context.Context, r *TcpRoute) (*TcpRoute, error)
- func (c *Client) GetTlsRoute(ctx context.Context, r *TlsRoute) (*TlsRoute, error)
- func (c *Client) ListGateway(ctx context.Context, project, location string) (*GatewayList, error)
- func (c *Client) ListGatewayWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*GatewayList, error)
- func (c *Client) ListGrpcRoute(ctx context.Context, project, location string) (*GrpcRouteList, error)
- func (c *Client) ListGrpcRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*GrpcRouteList, error)
- func (c *Client) ListHttpRoute(ctx context.Context, project, location string) (*HttpRouteList, error)
- func (c *Client) ListHttpRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*HttpRouteList, error)
- func (c *Client) ListMesh(ctx context.Context, project, location string) (*MeshList, error)
- func (c *Client) ListMeshWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*MeshList, error)
- func (c *Client) ListTcpRoute(ctx context.Context, project, location string) (*TcpRouteList, error)
- func (c *Client) ListTcpRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*TcpRouteList, error)
- func (c *Client) ListTlsRoute(ctx context.Context, project, location string) (*TlsRouteList, error)
- func (c *Client) ListTlsRouteWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*TlsRouteList, error)
- type Gateway
- type GatewayList
- type GatewayTypeEnum
- type GrpcRoute
- type GrpcRouteList
- type GrpcRouteRules
- type GrpcRouteRulesAction
- type GrpcRouteRulesActionDestinations
- type GrpcRouteRulesActionFaultInjectionPolicy
- type GrpcRouteRulesActionFaultInjectionPolicyAbort
- func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) Empty() bool
- func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) HashCode() string
- func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) String() string
- func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON(data []byte) error
- type GrpcRouteRulesActionFaultInjectionPolicyDelay
- func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) Empty() bool
- func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) HashCode() string
- func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) String() string
- func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON(data []byte) error
- type GrpcRouteRulesActionRetryPolicy
- type GrpcRouteRulesMatches
- type GrpcRouteRulesMatchesHeaders
- type GrpcRouteRulesMatchesHeadersTypeEnum
- type GrpcRouteRulesMatchesMethod
- type GrpcRouteRulesMatchesMethodTypeEnum
- type HttpRoute
- type HttpRouteList
- type HttpRouteRules
- type HttpRouteRulesAction
- type HttpRouteRulesActionCorsPolicy
- type HttpRouteRulesActionDestinations
- type HttpRouteRulesActionFaultInjectionPolicy
- type HttpRouteRulesActionFaultInjectionPolicyAbort
- func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) Empty() bool
- func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) HashCode() string
- func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) String() string
- func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON(data []byte) error
- type HttpRouteRulesActionFaultInjectionPolicyDelay
- func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) Empty() bool
- func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) HashCode() string
- func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) String() string
- func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON(data []byte) error
- type HttpRouteRulesActionRedirect
- type HttpRouteRulesActionRedirectResponseCodeEnum
- type HttpRouteRulesActionRequestHeaderModifier
- type HttpRouteRulesActionRequestMirrorPolicy
- type HttpRouteRulesActionRequestMirrorPolicyDestination
- func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) Empty() bool
- func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) HashCode() string
- func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) String() string
- func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) UnmarshalJSON(data []byte) error
- type HttpRouteRulesActionResponseHeaderModifier
- type HttpRouteRulesActionRetryPolicy
- type HttpRouteRulesActionUrlRewrite
- type HttpRouteRulesMatches
- type HttpRouteRulesMatchesHeaders
- type HttpRouteRulesMatchesHeadersRangeMatch
- type HttpRouteRulesMatchesQueryParameters
- type Mesh
- type MeshList
- type TcpRoute
- type TcpRouteList
- type TcpRouteRules
- type TcpRouteRulesAction
- type TcpRouteRulesActionDestinations
- type TcpRouteRulesMatches
- type TlsRoute
- type TlsRouteList
- type TlsRouteRules
- type TlsRouteRulesAction
- type TlsRouteRulesActionDestinations
- type TlsRouteRulesMatches
Constants ¶
const GatewayMaxPage = -1
const GrpcRouteMaxPage = -1
const HttpRouteMaxPage = -1
const MeshMaxPage = -1
const TcpRouteMaxPage = -1
const TlsRouteMaxPage = -1
Variables ¶
var YAML_gateway []byte
var YAML_grpc_route []byte
var YAML_http_route []byte
var YAML_mesh []byte
var YAML_tcp_route []byte
var YAML_tls_route []byte
Functions ¶
func DCLGatewaySchema ¶
func DCLGrpcRouteSchema ¶
func DCLHttpRouteSchema ¶
func DCLMeshSchema ¶
func DCLTcpRouteSchema ¶
func DCLTlsRouteSchema ¶
Types ¶
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyGateway ¶
func (*Client) ApplyGrpcRoute ¶
func (*Client) ApplyHttpRoute ¶
func (*Client) ApplyTcpRoute ¶
func (*Client) ApplyTlsRoute ¶
func (*Client) DeleteAllGateway ¶
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 ¶
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 ¶
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 ¶
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) DeleteAllTcpRoute ¶
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 ¶
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) DeleteGateway ¶
func (*Client) DeleteGrpcRoute ¶
func (*Client) DeleteHttpRoute ¶
func (*Client) DeleteTcpRoute ¶
func (*Client) DeleteTlsRoute ¶
func (*Client) GetGateway ¶
func (*Client) GetGrpcRoute ¶
func (*Client) GetHttpRoute ¶
func (*Client) GetTcpRoute ¶
func (*Client) GetTlsRoute ¶
func (*Client) ListGateway ¶
func (*Client) ListGatewayWithMaxResults ¶
func (*Client) ListGrpcRoute ¶
func (*Client) ListGrpcRouteWithMaxResults ¶
func (*Client) ListHttpRoute ¶
func (*Client) ListHttpRouteWithMaxResults ¶
func (*Client) ListMeshWithMaxResults ¶
func (*Client) ListTcpRoute ¶
func (*Client) ListTcpRouteWithMaxResults ¶
func (*Client) ListTlsRoute ¶
func (*Client) ListTlsRouteWithMaxResults ¶
type Gateway ¶
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 ¶
func (r *Gateway) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type GatewayList ¶
type GatewayList struct {
Items []*Gateway
// contains filtered or unexported fields
}
func (*GatewayList) HasNext ¶
func (l *GatewayList) HasNext() bool
type GatewayTypeEnum ¶
type GatewayTypeEnum string
The enum GatewayTypeEnum.
func GatewayTypeEnumRef ¶
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 ¶
func (v GatewayTypeEnum) Validate() error
type GrpcRoute ¶
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 ¶
func (r *GrpcRoute) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type GrpcRouteList ¶
type GrpcRouteList struct {
Items []*GrpcRoute
// contains filtered or unexported fields
}
func (*GrpcRouteList) HasNext ¶
func (l *GrpcRouteList) HasNext() bool
type GrpcRouteRules ¶
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 ¶
func (r *GrpcRouteRules) Empty() bool
func (*GrpcRouteRules) HashCode ¶
func (r *GrpcRouteRules) HashCode() string
func (*GrpcRouteRules) String ¶
func (r *GrpcRouteRules) String() string
func (*GrpcRouteRules) UnmarshalJSON ¶
func (r *GrpcRouteRules) UnmarshalJSON(data []byte) error
type GrpcRouteRulesAction ¶
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 ¶
func (r *GrpcRouteRulesAction) Empty() bool
func (*GrpcRouteRulesAction) HashCode ¶
func (r *GrpcRouteRulesAction) HashCode() string
func (*GrpcRouteRulesAction) String ¶
func (r *GrpcRouteRulesAction) String() string
func (*GrpcRouteRulesAction) UnmarshalJSON ¶
func (r *GrpcRouteRulesAction) UnmarshalJSON(data []byte) error
type GrpcRouteRulesActionDestinations ¶
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 ¶
func (r *GrpcRouteRulesActionDestinations) Empty() bool
func (*GrpcRouteRulesActionDestinations) HashCode ¶
func (r *GrpcRouteRulesActionDestinations) HashCode() string
func (*GrpcRouteRulesActionDestinations) String ¶
func (r *GrpcRouteRulesActionDestinations) String() string
func (*GrpcRouteRulesActionDestinations) UnmarshalJSON ¶
func (r *GrpcRouteRulesActionDestinations) UnmarshalJSON(data []byte) error
type GrpcRouteRulesActionFaultInjectionPolicy ¶
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 ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicy) Empty() bool
func (*GrpcRouteRulesActionFaultInjectionPolicy) HashCode ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicy) HashCode() string
func (*GrpcRouteRulesActionFaultInjectionPolicy) String ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicy) String() string
func (*GrpcRouteRulesActionFaultInjectionPolicy) UnmarshalJSON ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicy) UnmarshalJSON(data []byte) error
type GrpcRouteRulesActionFaultInjectionPolicyAbort ¶
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 ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) Empty() bool
func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) HashCode ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) HashCode() string
func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) String ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) String() string
func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON(data []byte) error
type GrpcRouteRulesActionFaultInjectionPolicyDelay ¶
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 ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) Empty() bool
func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) HashCode ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) HashCode() string
func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) String ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) String() string
func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON ¶
func (r *GrpcRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON(data []byte) error
type GrpcRouteRulesActionRetryPolicy ¶
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 ¶
func (r *GrpcRouteRulesActionRetryPolicy) Empty() bool
func (*GrpcRouteRulesActionRetryPolicy) HashCode ¶
func (r *GrpcRouteRulesActionRetryPolicy) HashCode() string
func (*GrpcRouteRulesActionRetryPolicy) String ¶
func (r *GrpcRouteRulesActionRetryPolicy) String() string
func (*GrpcRouteRulesActionRetryPolicy) UnmarshalJSON ¶
func (r *GrpcRouteRulesActionRetryPolicy) UnmarshalJSON(data []byte) error
type GrpcRouteRulesMatches ¶
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 ¶
func (r *GrpcRouteRulesMatches) Empty() bool
func (*GrpcRouteRulesMatches) HashCode ¶
func (r *GrpcRouteRulesMatches) HashCode() string
func (*GrpcRouteRulesMatches) String ¶
func (r *GrpcRouteRulesMatches) String() string
func (*GrpcRouteRulesMatches) UnmarshalJSON ¶
func (r *GrpcRouteRulesMatches) UnmarshalJSON(data []byte) error
type GrpcRouteRulesMatchesHeaders ¶
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 ¶
func (r *GrpcRouteRulesMatchesHeaders) Empty() bool
func (*GrpcRouteRulesMatchesHeaders) HashCode ¶
func (r *GrpcRouteRulesMatchesHeaders) HashCode() string
func (*GrpcRouteRulesMatchesHeaders) String ¶
func (r *GrpcRouteRulesMatchesHeaders) String() string
func (*GrpcRouteRulesMatchesHeaders) UnmarshalJSON ¶
func (r *GrpcRouteRulesMatchesHeaders) UnmarshalJSON(data []byte) error
type GrpcRouteRulesMatchesHeadersTypeEnum ¶
type GrpcRouteRulesMatchesHeadersTypeEnum string
The enum GrpcRouteRulesMatchesHeadersTypeEnum.
func GrpcRouteRulesMatchesHeadersTypeEnumRef ¶
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 ¶
func (v GrpcRouteRulesMatchesHeadersTypeEnum) Validate() error
type GrpcRouteRulesMatchesMethod ¶
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 ¶
func (r *GrpcRouteRulesMatchesMethod) Empty() bool
func (*GrpcRouteRulesMatchesMethod) HashCode ¶
func (r *GrpcRouteRulesMatchesMethod) HashCode() string
func (*GrpcRouteRulesMatchesMethod) String ¶
func (r *GrpcRouteRulesMatchesMethod) String() string
func (*GrpcRouteRulesMatchesMethod) UnmarshalJSON ¶
func (r *GrpcRouteRulesMatchesMethod) UnmarshalJSON(data []byte) error
type GrpcRouteRulesMatchesMethodTypeEnum ¶
type GrpcRouteRulesMatchesMethodTypeEnum string
The enum GrpcRouteRulesMatchesMethodTypeEnum.
func GrpcRouteRulesMatchesMethodTypeEnumRef ¶
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 ¶
func (v GrpcRouteRulesMatchesMethodTypeEnum) Validate() error
type HttpRoute ¶
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 ¶
func (r *HttpRoute) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type HttpRouteList ¶
type HttpRouteList struct {
Items []*HttpRoute
// contains filtered or unexported fields
}
func (*HttpRouteList) HasNext ¶
func (l *HttpRouteList) HasNext() bool
type HttpRouteRules ¶
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 ¶
func (r *HttpRouteRules) Empty() bool
func (*HttpRouteRules) HashCode ¶
func (r *HttpRouteRules) HashCode() string
func (*HttpRouteRules) String ¶
func (r *HttpRouteRules) String() string
func (*HttpRouteRules) UnmarshalJSON ¶
func (r *HttpRouteRules) UnmarshalJSON(data []byte) error
type HttpRouteRulesAction ¶
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 ¶
func (r *HttpRouteRulesAction) Empty() bool
func (*HttpRouteRulesAction) HashCode ¶
func (r *HttpRouteRulesAction) HashCode() string
func (*HttpRouteRulesAction) String ¶
func (r *HttpRouteRulesAction) String() string
func (*HttpRouteRulesAction) UnmarshalJSON ¶
func (r *HttpRouteRulesAction) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionCorsPolicy ¶
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 ¶
func (r *HttpRouteRulesActionCorsPolicy) Empty() bool
func (*HttpRouteRulesActionCorsPolicy) HashCode ¶
func (r *HttpRouteRulesActionCorsPolicy) HashCode() string
func (*HttpRouteRulesActionCorsPolicy) String ¶
func (r *HttpRouteRulesActionCorsPolicy) String() string
func (*HttpRouteRulesActionCorsPolicy) UnmarshalJSON ¶
func (r *HttpRouteRulesActionCorsPolicy) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionDestinations ¶
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 ¶
func (r *HttpRouteRulesActionDestinations) Empty() bool
func (*HttpRouteRulesActionDestinations) HashCode ¶
func (r *HttpRouteRulesActionDestinations) HashCode() string
func (*HttpRouteRulesActionDestinations) String ¶
func (r *HttpRouteRulesActionDestinations) String() string
func (*HttpRouteRulesActionDestinations) UnmarshalJSON ¶
func (r *HttpRouteRulesActionDestinations) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionFaultInjectionPolicy ¶
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 ¶
func (r *HttpRouteRulesActionFaultInjectionPolicy) Empty() bool
func (*HttpRouteRulesActionFaultInjectionPolicy) HashCode ¶
func (r *HttpRouteRulesActionFaultInjectionPolicy) HashCode() string
func (*HttpRouteRulesActionFaultInjectionPolicy) String ¶
func (r *HttpRouteRulesActionFaultInjectionPolicy) String() string
func (*HttpRouteRulesActionFaultInjectionPolicy) UnmarshalJSON ¶
func (r *HttpRouteRulesActionFaultInjectionPolicy) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionFaultInjectionPolicyAbort ¶
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 ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) Empty() bool
func (*HttpRouteRulesActionFaultInjectionPolicyAbort) HashCode ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) HashCode() string
func (*HttpRouteRulesActionFaultInjectionPolicyAbort) String ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) String() string
func (*HttpRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyAbort) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionFaultInjectionPolicyDelay ¶
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 ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) Empty() bool
func (*HttpRouteRulesActionFaultInjectionPolicyDelay) HashCode ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) HashCode() string
func (*HttpRouteRulesActionFaultInjectionPolicyDelay) String ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) String() string
func (*HttpRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON ¶
func (r *HttpRouteRulesActionFaultInjectionPolicyDelay) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionRedirect ¶
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 ¶
func (r *HttpRouteRulesActionRedirect) Empty() bool
func (*HttpRouteRulesActionRedirect) HashCode ¶
func (r *HttpRouteRulesActionRedirect) HashCode() string
func (*HttpRouteRulesActionRedirect) String ¶
func (r *HttpRouteRulesActionRedirect) String() string
func (*HttpRouteRulesActionRedirect) UnmarshalJSON ¶
func (r *HttpRouteRulesActionRedirect) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionRedirectResponseCodeEnum ¶
type HttpRouteRulesActionRedirectResponseCodeEnum string
The enum HttpRouteRulesActionRedirectResponseCodeEnum.
func HttpRouteRulesActionRedirectResponseCodeEnumRef ¶
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 ¶
func (v HttpRouteRulesActionRedirectResponseCodeEnum) Validate() error
type HttpRouteRulesActionRequestHeaderModifier ¶
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 ¶
func (r *HttpRouteRulesActionRequestHeaderModifier) Empty() bool
func (*HttpRouteRulesActionRequestHeaderModifier) HashCode ¶
func (r *HttpRouteRulesActionRequestHeaderModifier) HashCode() string
func (*HttpRouteRulesActionRequestHeaderModifier) String ¶
func (r *HttpRouteRulesActionRequestHeaderModifier) String() string
func (*HttpRouteRulesActionRequestHeaderModifier) UnmarshalJSON ¶
func (r *HttpRouteRulesActionRequestHeaderModifier) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionRequestMirrorPolicy ¶
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 ¶
func (r *HttpRouteRulesActionRequestMirrorPolicy) Empty() bool
func (*HttpRouteRulesActionRequestMirrorPolicy) HashCode ¶
func (r *HttpRouteRulesActionRequestMirrorPolicy) HashCode() string
func (*HttpRouteRulesActionRequestMirrorPolicy) String ¶
func (r *HttpRouteRulesActionRequestMirrorPolicy) String() string
func (*HttpRouteRulesActionRequestMirrorPolicy) UnmarshalJSON ¶
func (r *HttpRouteRulesActionRequestMirrorPolicy) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionRequestMirrorPolicyDestination ¶
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 ¶
func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) Empty() bool
func (*HttpRouteRulesActionRequestMirrorPolicyDestination) HashCode ¶
func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) HashCode() string
func (*HttpRouteRulesActionRequestMirrorPolicyDestination) String ¶
func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) String() string
func (*HttpRouteRulesActionRequestMirrorPolicyDestination) UnmarshalJSON ¶
func (r *HttpRouteRulesActionRequestMirrorPolicyDestination) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionResponseHeaderModifier ¶
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 ¶
func (r *HttpRouteRulesActionResponseHeaderModifier) Empty() bool
func (*HttpRouteRulesActionResponseHeaderModifier) HashCode ¶
func (r *HttpRouteRulesActionResponseHeaderModifier) HashCode() string
func (*HttpRouteRulesActionResponseHeaderModifier) String ¶
func (r *HttpRouteRulesActionResponseHeaderModifier) String() string
func (*HttpRouteRulesActionResponseHeaderModifier) UnmarshalJSON ¶
func (r *HttpRouteRulesActionResponseHeaderModifier) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionRetryPolicy ¶
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 ¶
func (r *HttpRouteRulesActionRetryPolicy) Empty() bool
func (*HttpRouteRulesActionRetryPolicy) HashCode ¶
func (r *HttpRouteRulesActionRetryPolicy) HashCode() string
func (*HttpRouteRulesActionRetryPolicy) String ¶
func (r *HttpRouteRulesActionRetryPolicy) String() string
func (*HttpRouteRulesActionRetryPolicy) UnmarshalJSON ¶
func (r *HttpRouteRulesActionRetryPolicy) UnmarshalJSON(data []byte) error
type HttpRouteRulesActionUrlRewrite ¶
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 ¶
func (r *HttpRouteRulesActionUrlRewrite) Empty() bool
func (*HttpRouteRulesActionUrlRewrite) HashCode ¶
func (r *HttpRouteRulesActionUrlRewrite) HashCode() string
func (*HttpRouteRulesActionUrlRewrite) String ¶
func (r *HttpRouteRulesActionUrlRewrite) String() string
func (*HttpRouteRulesActionUrlRewrite) UnmarshalJSON ¶
func (r *HttpRouteRulesActionUrlRewrite) UnmarshalJSON(data []byte) error
type HttpRouteRulesMatches ¶
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 ¶
func (r *HttpRouteRulesMatches) Empty() bool
func (*HttpRouteRulesMatches) HashCode ¶
func (r *HttpRouteRulesMatches) HashCode() string
func (*HttpRouteRulesMatches) String ¶
func (r *HttpRouteRulesMatches) String() string
func (*HttpRouteRulesMatches) UnmarshalJSON ¶
func (r *HttpRouteRulesMatches) UnmarshalJSON(data []byte) error
type HttpRouteRulesMatchesHeaders ¶
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 ¶
func (r *HttpRouteRulesMatchesHeaders) Empty() bool
func (*HttpRouteRulesMatchesHeaders) HashCode ¶
func (r *HttpRouteRulesMatchesHeaders) HashCode() string
func (*HttpRouteRulesMatchesHeaders) String ¶
func (r *HttpRouteRulesMatchesHeaders) String() string
func (*HttpRouteRulesMatchesHeaders) UnmarshalJSON ¶
func (r *HttpRouteRulesMatchesHeaders) UnmarshalJSON(data []byte) error
type HttpRouteRulesMatchesHeadersRangeMatch ¶
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 ¶
func (r *HttpRouteRulesMatchesHeadersRangeMatch) Empty() bool
func (*HttpRouteRulesMatchesHeadersRangeMatch) HashCode ¶
func (r *HttpRouteRulesMatchesHeadersRangeMatch) HashCode() string
func (*HttpRouteRulesMatchesHeadersRangeMatch) String ¶
func (r *HttpRouteRulesMatchesHeadersRangeMatch) String() string
func (*HttpRouteRulesMatchesHeadersRangeMatch) UnmarshalJSON ¶
func (r *HttpRouteRulesMatchesHeadersRangeMatch) UnmarshalJSON(data []byte) error
type HttpRouteRulesMatchesQueryParameters ¶
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 ¶
func (r *HttpRouteRulesMatchesQueryParameters) Empty() bool
func (*HttpRouteRulesMatchesQueryParameters) HashCode ¶
func (r *HttpRouteRulesMatchesQueryParameters) HashCode() string
func (*HttpRouteRulesMatchesQueryParameters) String ¶
func (r *HttpRouteRulesMatchesQueryParameters) String() string
func (*HttpRouteRulesMatchesQueryParameters) UnmarshalJSON ¶
func (r *HttpRouteRulesMatchesQueryParameters) UnmarshalJSON(data []byte) error
type Mesh ¶
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 ¶
func (r *Mesh) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type TcpRoute ¶
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 ¶
func (r *TcpRoute) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type TcpRouteList ¶
type TcpRouteList struct {
Items []*TcpRoute
// contains filtered or unexported fields
}
func (*TcpRouteList) HasNext ¶
func (l *TcpRouteList) HasNext() bool
type TcpRouteRules ¶
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 ¶
func (r *TcpRouteRules) Empty() bool
func (*TcpRouteRules) HashCode ¶
func (r *TcpRouteRules) HashCode() string
func (*TcpRouteRules) String ¶
func (r *TcpRouteRules) String() string
func (*TcpRouteRules) UnmarshalJSON ¶
func (r *TcpRouteRules) UnmarshalJSON(data []byte) error
type TcpRouteRulesAction ¶
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 ¶
func (r *TcpRouteRulesAction) Empty() bool
func (*TcpRouteRulesAction) HashCode ¶
func (r *TcpRouteRulesAction) HashCode() string
func (*TcpRouteRulesAction) String ¶
func (r *TcpRouteRulesAction) String() string
func (*TcpRouteRulesAction) UnmarshalJSON ¶
func (r *TcpRouteRulesAction) UnmarshalJSON(data []byte) error
type TcpRouteRulesActionDestinations ¶
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 ¶
func (r *TcpRouteRulesActionDestinations) Empty() bool
func (*TcpRouteRulesActionDestinations) HashCode ¶
func (r *TcpRouteRulesActionDestinations) HashCode() string
func (*TcpRouteRulesActionDestinations) String ¶
func (r *TcpRouteRulesActionDestinations) String() string
func (*TcpRouteRulesActionDestinations) UnmarshalJSON ¶
func (r *TcpRouteRulesActionDestinations) UnmarshalJSON(data []byte) error
type TcpRouteRulesMatches ¶
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 ¶
func (r *TcpRouteRulesMatches) Empty() bool
func (*TcpRouteRulesMatches) HashCode ¶
func (r *TcpRouteRulesMatches) HashCode() string
func (*TcpRouteRulesMatches) String ¶
func (r *TcpRouteRulesMatches) String() string
func (*TcpRouteRulesMatches) UnmarshalJSON ¶
func (r *TcpRouteRulesMatches) UnmarshalJSON(data []byte) error
type TlsRoute ¶
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 ¶
func (r *TlsRoute) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type TlsRouteList ¶
type TlsRouteList struct {
Items []*TlsRoute
// contains filtered or unexported fields
}
func (*TlsRouteList) HasNext ¶
func (l *TlsRouteList) HasNext() bool
type TlsRouteRules ¶
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 ¶
func (r *TlsRouteRules) Empty() bool
func (*TlsRouteRules) HashCode ¶
func (r *TlsRouteRules) HashCode() string
func (*TlsRouteRules) String ¶
func (r *TlsRouteRules) String() string
func (*TlsRouteRules) UnmarshalJSON ¶
func (r *TlsRouteRules) UnmarshalJSON(data []byte) error
type TlsRouteRulesAction ¶
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 ¶
func (r *TlsRouteRulesAction) Empty() bool
func (*TlsRouteRulesAction) HashCode ¶
func (r *TlsRouteRulesAction) HashCode() string
func (*TlsRouteRulesAction) String ¶
func (r *TlsRouteRulesAction) String() string
func (*TlsRouteRulesAction) UnmarshalJSON ¶
func (r *TlsRouteRulesAction) UnmarshalJSON(data []byte) error
type TlsRouteRulesActionDestinations ¶
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 ¶
func (r *TlsRouteRulesActionDestinations) Empty() bool
func (*TlsRouteRulesActionDestinations) HashCode ¶
func (r *TlsRouteRulesActionDestinations) HashCode() string
func (*TlsRouteRulesActionDestinations) String ¶
func (r *TlsRouteRulesActionDestinations) String() string
func (*TlsRouteRulesActionDestinations) UnmarshalJSON ¶
func (r *TlsRouteRulesActionDestinations) UnmarshalJSON(data []byte) error
type TlsRouteRulesMatches ¶
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 ¶
func (r *TlsRouteRulesMatches) Empty() bool
func (*TlsRouteRulesMatches) HashCode ¶
func (r *TlsRouteRulesMatches) HashCode() string
func (*TlsRouteRulesMatches) String ¶
func (r *TlsRouteRulesMatches) String() string
func (*TlsRouteRulesMatches) UnmarshalJSON ¶
func (r *TlsRouteRulesMatches) UnmarshalJSON(data []byte) error
Source Files
¶
- client.go
- gateway.go
- gateway_internal.go
- gateway_schema.go
- gateway_yaml_embed.go
- grpc_route.go
- grpc_route_internal.go
- grpc_route_schema.go
- grpc_route_yaml_embed.go
- http_route.go
- http_route_internal.go
- http_route_schema.go
- http_route_yaml_embed.go
- mesh.go
- mesh_internal.go
- mesh_schema.go
- mesh_yaml_embed.go
- tcp_route.go
- tcp_route_internal.go
- tcp_route_schema.go
- tcp_route_yaml_embed.go
- tls_route.go
- tls_route_internal.go
- tls_route_schema.go
- tls_route_yaml_embed.go