networkservices

package
v1.84.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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

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

Variables

View Source
var YAML_gateway []byte
View Source
var YAML_grpc_route []byte
View Source
var YAML_http_route []byte
View Source
var YAML_mesh []byte
View Source
var YAML_tcp_route []byte
View Source
var YAML_tls_route []byte

Functions

func DCLGatewaySchema

func DCLGatewaySchema() *dcl.Schema

func DCLGrpcRouteSchema

func DCLGrpcRouteSchema() *dcl.Schema

func DCLHttpRouteSchema

func DCLHttpRouteSchema() *dcl.Schema

func DCLMeshSchema

func DCLMeshSchema() *dcl.Schema

func DCLTcpRouteSchema

func DCLTcpRouteSchema() *dcl.Schema

func DCLTlsRouteSchema

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) ApplyGateway

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

func (*Client) ApplyGrpcRoute

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

func (*Client) ApplyHttpRoute

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

func (*Client) ApplyMesh

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

func (*Client) ApplyTcpRoute

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

func (*Client) ApplyTlsRoute

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

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 (c *Client) DeleteGateway(ctx context.Context, r *Gateway) error

func (*Client) DeleteGrpcRoute

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

func (*Client) DeleteHttpRoute

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

func (*Client) DeleteMesh

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

func (*Client) DeleteTcpRoute

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

func (*Client) DeleteTlsRoute

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

func (*Client) GetGateway

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

func (*Client) GetGrpcRoute

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

func (*Client) GetHttpRoute

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

func (*Client) GetMesh

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

func (*Client) GetTcpRoute

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

func (*Client) GetTlsRoute

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

func (*Client) ListGateway

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

func (*Client) ListGatewayWithMaxResults

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

func (*Client) ListGrpcRoute

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

func (*Client) ListGrpcRouteWithMaxResults

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

func (*Client) ListHttpRoute

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

func (*Client) ListHttpRouteWithMaxResults

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

func (*Client) ListMesh

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

func (*Client) ListMeshWithMaxResults

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

func (*Client) ListTcpRoute

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

func (*Client) ListTcpRouteWithMaxResults

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

func (*Client) ListTlsRoute

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

func (*Client) ListTlsRouteWithMaxResults

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

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.

func (*Gateway) ID

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

func (*Gateway) String

func (r *Gateway) String() string

type GatewayList

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

func (*GatewayList) HasNext

func (l *GatewayList) HasNext() bool

func (*GatewayList) Next

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

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.

func (*GrpcRoute) ID

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

func (*GrpcRoute) String

func (r *GrpcRoute) String() string

type GrpcRouteList

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

func (*GrpcRouteList) HasNext

func (l *GrpcRouteList) HasNext() bool

func (*GrpcRouteList) Next

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

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 (*GrpcRouteRulesActionDestinations) HashCode

func (*GrpcRouteRulesActionDestinations) 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 (*GrpcRouteRulesActionFaultInjectionPolicy) HashCode

func (*GrpcRouteRulesActionFaultInjectionPolicy) 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 (*GrpcRouteRulesActionFaultInjectionPolicyAbort) HashCode

func (*GrpcRouteRulesActionFaultInjectionPolicyAbort) 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 (*GrpcRouteRulesActionFaultInjectionPolicyDelay) HashCode

func (*GrpcRouteRulesActionFaultInjectionPolicyDelay) 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 (*GrpcRouteRulesActionRetryPolicy) HashCode

func (*GrpcRouteRulesActionRetryPolicy) 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 (*GrpcRouteRulesMatchesHeaders) HashCode

func (r *GrpcRouteRulesMatchesHeaders) HashCode() string

func (*GrpcRouteRulesMatchesHeaders) 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

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

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.

func (*HttpRoute) ID

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

func (*HttpRoute) String

func (r *HttpRoute) String() string

type HttpRouteList

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

func (*HttpRouteList) HasNext

func (l *HttpRouteList) HasNext() bool

func (*HttpRouteList) Next

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

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 (*HttpRouteRulesActionCorsPolicy) HashCode

func (r *HttpRouteRulesActionCorsPolicy) HashCode() string

func (*HttpRouteRulesActionCorsPolicy) 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 (*HttpRouteRulesActionDestinations) HashCode

func (*HttpRouteRulesActionDestinations) 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 (*HttpRouteRulesActionFaultInjectionPolicy) HashCode

func (*HttpRouteRulesActionFaultInjectionPolicy) 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 (*HttpRouteRulesActionFaultInjectionPolicyAbort) HashCode

func (*HttpRouteRulesActionFaultInjectionPolicyAbort) 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 (*HttpRouteRulesActionFaultInjectionPolicyDelay) HashCode

func (*HttpRouteRulesActionFaultInjectionPolicyDelay) 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 (*HttpRouteRulesActionRedirect) HashCode

func (r *HttpRouteRulesActionRedirect) HashCode() string

func (*HttpRouteRulesActionRedirect) 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

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 (*HttpRouteRulesActionRequestHeaderModifier) HashCode

func (*HttpRouteRulesActionRequestHeaderModifier) 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 (*HttpRouteRulesActionRequestMirrorPolicy) HashCode

func (*HttpRouteRulesActionRequestMirrorPolicy) 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 (*HttpRouteRulesActionRequestMirrorPolicyDestination) HashCode

func (*HttpRouteRulesActionRequestMirrorPolicyDestination) String

func (*HttpRouteRulesActionRequestMirrorPolicyDestination) UnmarshalJSON

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 (*HttpRouteRulesActionResponseHeaderModifier) HashCode

func (*HttpRouteRulesActionResponseHeaderModifier) 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 (*HttpRouteRulesActionRetryPolicy) HashCode

func (*HttpRouteRulesActionRetryPolicy) 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 (*HttpRouteRulesActionUrlRewrite) HashCode

func (r *HttpRouteRulesActionUrlRewrite) HashCode() string

func (*HttpRouteRulesActionUrlRewrite) 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 (*HttpRouteRulesMatchesHeaders) HashCode

func (r *HttpRouteRulesMatchesHeaders) HashCode() string

func (*HttpRouteRulesMatchesHeaders) 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 (*HttpRouteRulesMatchesHeadersRangeMatch) HashCode

func (*HttpRouteRulesMatchesHeadersRangeMatch) 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 (*HttpRouteRulesMatchesQueryParameters) HashCode

func (*HttpRouteRulesMatchesQueryParameters) 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.

func (*Mesh) ID

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

func (*Mesh) String

func (r *Mesh) String() string

type MeshList

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

func (*MeshList) HasNext

func (l *MeshList) HasNext() bool

func (*MeshList) Next

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

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.

func (*TcpRoute) ID

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

func (*TcpRoute) String

func (r *TcpRoute) String() string

type TcpRouteList

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

func (*TcpRouteList) HasNext

func (l *TcpRouteList) HasNext() bool

func (*TcpRouteList) Next

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

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 (*TcpRouteRulesActionDestinations) HashCode

func (*TcpRouteRulesActionDestinations) 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.

func (*TlsRoute) ID

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

func (*TlsRoute) String

func (r *TlsRoute) String() string

type TlsRouteList

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

func (*TlsRouteList) HasNext

func (l *TlsRouteList) HasNext() bool

func (*TlsRouteList) Next

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

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 (*TlsRouteRulesActionDestinations) HashCode

func (*TlsRouteRulesActionDestinations) 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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