header_manipulation.proto

Package : trafficcontrol.policy.gloo.solo.io

Top

header_manipulation.proto

Table of Contents

HeaderManipulationPolicySpec

HeaderManipulationPolicy is used to transform HTTP requests and responses matching selected routes. TransformationPolicies are applied at the Route level.

Field Type Label Description
applyToRoutes []common.gloo.solo.io.RouteSelector repeated select the routes where the policy will be applied if left empty, will apply to all routes in the workspace.
config trafficcontrol.policy.gloo.solo.io.HeaderManipulationPolicySpec.Config The details of the transformation policy to apply to the selected routes.

HeaderManipulationPolicySpec.Config

Field Type Label Description
removeResponseHeaders []string repeated HTTP headers to remove before returning a response to the caller.
appendResponseHeaders []trafficcontrol.policy.gloo.solo.io.HeaderManipulationPolicySpec.Config.AppendResponseHeadersEntry repeated Additional HTTP headers to add before returning a response to the caller.
removeRequestHeaders []string repeated HTTP headers to remove before forwarding a request to the destination service.
appendRequestHeaders []trafficcontrol.policy.gloo.solo.io.HeaderManipulationPolicySpec.Config.AppendRequestHeadersEntry repeated Additional HTTP headers to add before forwarding a request to the destination service.

HeaderManipulationPolicySpec.Config.AppendRequestHeadersEntry

Field Type Label Description
key string
value string

HeaderManipulationPolicySpec.Config.AppendResponseHeadersEntry

Field Type Label Description
key string
value string

HeaderManipulationPolicyStatus

reflects the status of the HeaderManipulationPolicy

Field Type Label Description
global common.gloo.solo.io.GenericGlobalStatus
workspaces []trafficcontrol.policy.gloo.solo.io.HeaderManipulationPolicyStatus.WorkspacesEntry repeated The status of the resource in each workspace that it exists in.
selectedRoutes []common.gloo.solo.io.RouteReference repeated Routes selected by the policy

HeaderManipulationPolicyStatus.WorkspacesEntry

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