Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderMutator ¶
type HeaderMutator struct {
// contains filtered or unexported fields
}
func NewHeaderMutator ¶
func NewHeaderMutator(headerMutations *filterapi.HTTPHeaderMutation, originalHeaders map[string]string) *HeaderMutator
func (*HeaderMutator) Mutate ¶
func (h *HeaderMutator) Mutate(headers map[string]string, onRetry bool) (sets []internalapi.Header, removes []string)
Mutate mutates the headers based on the header mutations and restores original headers if mutated previously.
Click to show internal directories.
Click to hide internal directories.