postprocess

package
v2.0.0-...-2764257 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateConcreteSingleFetchTypes

type CreateConcreteSingleFetchTypes struct{}

CreateConcreteSingleFetchTypes is a postprocessor that transforms fetches into more concrete fetch types

func (*CreateConcreteSingleFetchTypes) Process

type CreateMultiFetchTypes

type CreateMultiFetchTypes struct{}

CreateMultiFetchTypes is a postprocessor that transforms multi fetches into more concrete fetch types

func (*CreateMultiFetchTypes) Process

func (d *CreateMultiFetchTypes) Process(pre plan.Plan) plan.Plan

type FetchInputModifier

type FetchInputModifier func([]byte) string

type HeaderModifier

type HeaderModifier func(header http.Header)

type PostProcessor

type PostProcessor interface {
	Process(pre plan.Plan) plan.Plan
}

type ProcessFetchInput

type ProcessFetchInput struct {
	// contains filtered or unexported fields
}

func NewProcessFetchInput

func NewProcessFetchInput(fetchInputModifier FetchInputModifier) *ProcessFetchInput

func (*ProcessFetchInput) Process

func (p *ProcessFetchInput) Process(pre plan.Plan) plan.Plan

type ProcessInjectHeader

type ProcessInjectHeader struct {
	// contains filtered or unexported fields
}

func NewProcessInjectHeader

func NewProcessInjectHeader(header http.Header) *ProcessInjectHeader

func (*ProcessInjectHeader) Process

func (p *ProcessInjectHeader) Process(pre plan.Plan) plan.Plan

type ProcessModifyHeader

type ProcessModifyHeader struct {
	// contains filtered or unexported fields
}

func NewProcessModifyHeader

func NewProcessModifyHeader(headerModifier HeaderModifier) *ProcessModifyHeader

func (*ProcessModifyHeader) Process

func (p *ProcessModifyHeader) Process(pre plan.Plan) plan.Plan

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

func DefaultProcessor

func DefaultProcessor() *Processor

func (*Processor) AddPostProcessor

func (p *Processor) AddPostProcessor(pr PostProcessor)

func (*Processor) Count

func (p *Processor) Count() int

func (*Processor) Process

func (p *Processor) Process(pre plan.Plan) (post plan.Plan)

type ResolveInputTemplates

type ResolveInputTemplates struct{}

ResolveInputTemplates is a postprocessor that resolves input template

func (*ResolveInputTemplates) Process

func (d *ResolveInputTemplates) Process(pre plan.Plan) plan.Plan

Jump to

Keyboard shortcuts

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