connection_policy.proto

Package : resilience.policy.gloo.solo.io

Top

connection_policy.proto

Table of Contents

ConnectionPolicySpec

ConnectionPolicy provides settings to apply low-level settings on selected TCP connections.

Field Type Label Description
applyToDestinations []common.gloo.solo.io.DestinationSelector repeated select the destinations where the policy will be applied. If left empty, this will apply to all destinations in the workspace.
config resilience.policy.gloo.solo.io.ConnectionPolicySpec.Config The details of the low-level network connection settings to apply to the destinations.

ConnectionPolicySpec.Config

Field Type Label Description
tcp resilience.policy.gloo.solo.io.ConnectionPolicySpec.Config.TCPConfig The low-level TCP connection settings to apply to the destinations selected.

ConnectionPolicySpec.Config.TCPConfig

Field Type Label Description
tcpKeepalive common.gloo.solo.io.TCPKeepalive Sets the TCP keep-alive settings to apply to selected destinations.
maxConnections int32 Sets the maximum allowed connections to the destination host.
connectTimeout google.protobuf.Duration Sets the TCP connection timeout. It must be greater than or equal to 1ms.

ConnectionPolicyStatus

Reflects the status of the ConnectionPolicy.

Field Type Label Description
global common.gloo.solo.io.GenericGlobalStatus
workspaces []resilience.policy.gloo.solo.io.ConnectionPolicyStatus.WorkspacesEntry repeated The status of the resource in each workspace that it exists in.
selectedDestiantionPorts []common.gloo.solo.io.DestinationReference repeated Destination ports selected by the policy

ConnectionPolicyStatus.WorkspacesEntry

Field Type Label Description
key string
value common.gloo.solo.io.WorkspaceStatus