public interface SquashOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Duration |
getAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server
(to check if has been attached).
|
com.google.protobuf.DurationOrBuilder |
getAttachmentPollPeriodOrBuilder()
Amount of time to poll for the status of the attachment object in the Squash server
(to check if has been attached).
|
com.google.protobuf.Struct |
getAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request.
|
com.google.protobuf.StructOrBuilder |
getAttachmentTemplateOrBuilder()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request.
|
com.google.protobuf.Duration |
getAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached.
|
com.google.protobuf.DurationOrBuilder |
getAttachmentTimeoutOrBuilder()
The total timeout Squash will delay a request and wait for it to be attached.
|
String |
getCluster()
The name of the cluster that hosts the Squash server.
|
com.google.protobuf.ByteString |
getClusterBytes()
The name of the cluster that hosts the Squash server.
|
com.google.protobuf.Duration |
getRequestTimeout()
The timeout for individual requests sent to the Squash cluster.
|
com.google.protobuf.DurationOrBuilder |
getRequestTimeoutOrBuilder()
The timeout for individual requests sent to the Squash cluster.
|
boolean |
hasAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server
(to check if has been attached).
|
boolean |
hasAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request.
|
boolean |
hasAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached.
|
boolean |
hasRequestTimeout()
The timeout for individual requests sent to the Squash cluster.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getCluster()
The name of the cluster that hosts the Squash server.
string cluster = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getClusterBytes()
The name of the cluster that hosts the Squash server.
string cluster = 1 [(.validate.rules) = { ... }boolean hasAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request. It can contain reference to environment
variables in the form of '{{ ENV_VAR_NAME }}'. These can be used to provide the Squash server
with more information to find the process to attach the debugger to. For example, in a
Istio/k8s environment, this will contain information on the pod:
.. code-block:: json
{
"spec": {
"attachment": {
"pod": "{{ POD_NAME }}",
"namespace": "{{ POD_NAMESPACE }}"
},
"match_request": true
}
}
(where POD_NAME, POD_NAMESPACE are configured in the pod via the Downward API)
.google.protobuf.Struct attachment_template = 2;com.google.protobuf.Struct getAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request. It can contain reference to environment
variables in the form of '{{ ENV_VAR_NAME }}'. These can be used to provide the Squash server
with more information to find the process to attach the debugger to. For example, in a
Istio/k8s environment, this will contain information on the pod:
.. code-block:: json
{
"spec": {
"attachment": {
"pod": "{{ POD_NAME }}",
"namespace": "{{ POD_NAMESPACE }}"
},
"match_request": true
}
}
(where POD_NAME, POD_NAMESPACE are configured in the pod via the Downward API)
.google.protobuf.Struct attachment_template = 2;com.google.protobuf.StructOrBuilder getAttachmentTemplateOrBuilder()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request. It can contain reference to environment
variables in the form of '{{ ENV_VAR_NAME }}'. These can be used to provide the Squash server
with more information to find the process to attach the debugger to. For example, in a
Istio/k8s environment, this will contain information on the pod:
.. code-block:: json
{
"spec": {
"attachment": {
"pod": "{{ POD_NAME }}",
"namespace": "{{ POD_NAMESPACE }}"
},
"match_request": true
}
}
(where POD_NAME, POD_NAMESPACE are configured in the pod via the Downward API)
.google.protobuf.Struct attachment_template = 2;boolean hasRequestTimeout()
The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
.google.protobuf.Duration request_timeout = 3;com.google.protobuf.Duration getRequestTimeout()
The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
.google.protobuf.Duration request_timeout = 3;com.google.protobuf.DurationOrBuilder getRequestTimeoutOrBuilder()
The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
.google.protobuf.Duration request_timeout = 3;boolean hasAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached. Defaults to 60 seconds.
.google.protobuf.Duration attachment_timeout = 4;com.google.protobuf.Duration getAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached. Defaults to 60 seconds.
.google.protobuf.Duration attachment_timeout = 4;com.google.protobuf.DurationOrBuilder getAttachmentTimeoutOrBuilder()
The total timeout Squash will delay a request and wait for it to be attached. Defaults to 60 seconds.
.google.protobuf.Duration attachment_timeout = 4;boolean hasAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server (to check if has been attached). Defaults to 1 second.
.google.protobuf.Duration attachment_poll_period = 5;com.google.protobuf.Duration getAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server (to check if has been attached). Defaults to 1 second.
.google.protobuf.Duration attachment_poll_period = 5;com.google.protobuf.DurationOrBuilder getAttachmentPollPeriodOrBuilder()
Amount of time to poll for the status of the attachment object in the Squash server (to check if has been attached). Defaults to 1 second.
.google.protobuf.Duration attachment_poll_period = 5;Copyright © 2018–2021 The Envoy Project. All rights reserved.