actions

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddACL

type AddACL struct {
	FileName string
	KeyFmt   string
	Cond     string
	CondTest string
	Comment  string
}

func (*AddACL) GetComment

func (f *AddACL) GetComment() string

func (*AddACL) Parse

func (f *AddACL) Parse(parts []string, comment string) error

func (*AddACL) String

func (f *AddACL) String() string

type AddHeader

type AddHeader struct {
	Name     string
	Fmt      string
	Cond     string
	CondTest string
	Comment  string
}

func (*AddHeader) GetComment

func (f *AddHeader) GetComment() string

func (*AddHeader) Parse

func (f *AddHeader) Parse(parts []string, comment string) error

func (*AddHeader) String

func (f *AddHeader) String() string

type Allow

type Allow struct {
	Cond     string
	CondTest string
	Comment  string
}

func (*Allow) GetComment

func (f *Allow) GetComment() string

func (*Allow) Parse

func (f *Allow) Parse(parts []string, comment string) error

func (*Allow) String

func (f *Allow) String() string

type Auth

type Auth struct {
	Realm    string
	Cond     string
	CondTest string
	Comment  string
}

func (*Auth) GetComment

func (f *Auth) GetComment() string

func (*Auth) Parse

func (f *Auth) Parse(parts []string, comment string) error

func (*Auth) String

func (f *Auth) String() string

type CacheUse added in v2.0.3

type CacheUse struct {
	Name     string
	Cond     string
	CondTest string
	Comment  string
}

func (*CacheUse) GetComment added in v2.0.3

func (f *CacheUse) GetComment() string

func (*CacheUse) Parse added in v2.0.3

func (f *CacheUse) Parse(parts []string, comment string) error

func (*CacheUse) String added in v2.0.3

func (f *CacheUse) String() string

type Capture

type Capture struct {
	Sample   string
	Len      *int64 // Has to be > 0.
	SlotID   *int64
	Cond     string
	CondTest string
	Comment  string
}

func (*Capture) GetComment

func (f *Capture) GetComment() string

func (*Capture) Parse

func (f *Capture) Parse(parts []string, comment string) error

func (*Capture) String

func (f *Capture) String() string

type DelACL

type DelACL struct {
	FileName string
	KeyFmt   string
	Cond     string
	CondTest string
	Comment  string
}

func (*DelACL) GetComment

func (f *DelACL) GetComment() string

func (*DelACL) Parse

func (f *DelACL) Parse(parts []string, comment string) error

func (*DelACL) String

func (f *DelACL) String() string

type DelHeader

type DelHeader struct {
	Name     string
	Cond     string
	CondTest string
	Comment  string
}

func (*DelHeader) GetComment

func (f *DelHeader) GetComment() string

func (*DelHeader) Parse

func (f *DelHeader) Parse(parts []string, comment string) error

Parse parses { http-request | http-response } del-header <name> [ { if | unless } <condition> ]

func (*DelHeader) String

func (f *DelHeader) String() string

type DelMap added in v2.0.3

type DelMap struct {
	FileName string
	KeyFmt   string
	Cond     string
	CondTest string
	Comment  string
}

func (*DelMap) GetComment added in v2.0.3

func (f *DelMap) GetComment() string

func (*DelMap) Parse added in v2.0.3

func (f *DelMap) Parse(parts []string, comment string) error

func (*DelMap) String added in v2.0.3

func (f *DelMap) String() string

type Deny

type Deny struct {
	DenyStatus string
	Cond       string
	CondTest   string
	Comment    string
}

func (*Deny) GetComment

func (f *Deny) GetComment() string

func (*Deny) Parse

func (f *Deny) Parse(parts []string, comment string) error

func (*Deny) String

func (f *Deny) String() string

type DisableL7Retry added in v2.0.3

type DisableL7Retry struct {
	Name     string
	Cond     string
	CondTest string
	Comment  string
}

func (*DisableL7Retry) GetComment added in v2.0.3

func (f *DisableL7Retry) GetComment() string

func (*DisableL7Retry) Parse added in v2.0.3

func (f *DisableL7Retry) Parse(parts []string, comment string) error

func (*DisableL7Retry) String added in v2.0.3

func (f *DisableL7Retry) String() string

type DoResolve added in v2.0.3

type DoResolve struct {
	Var       string
	Resolvers string
	Protocol  string
	Expr      common.Expression
	Cond      string
	CondTest  string
	Comment   string
}

func (*DoResolve) GetComment added in v2.0.3

func (f *DoResolve) GetComment() string

func (*DoResolve) Parse added in v2.0.3

func (f *DoResolve) Parse(parts []string, comment string) error

func (*DoResolve) String added in v2.0.3

func (f *DoResolve) String() string

type EarlyHint added in v2.0.3

type EarlyHint struct {
	Name     string
	Fmt      string
	Cond     string
	CondTest string
	Comment  string
}

func (*EarlyHint) GetComment added in v2.0.3

func (f *EarlyHint) GetComment() string

func (*EarlyHint) Parse added in v2.0.3

func (f *EarlyHint) Parse(parts []string, comment string) error

func (*EarlyHint) String added in v2.0.3

func (f *EarlyHint) String() string

type Lua added in v2.0.3

type Lua struct {
	Action   string
	Params   string
	Cond     string
	CondTest string
	Comment  string
}

func (*Lua) GetComment added in v2.0.3

func (f *Lua) GetComment() string

func (*Lua) Parse added in v2.0.3

func (f *Lua) Parse(parts []string, comment string) error

func (*Lua) String added in v2.0.3

func (f *Lua) String() string

type Redirect

type Redirect struct {
	Type     string
	Value    string
	Code     string
	Option   string
	Cond     string
	CondTest string
	Comment  string
}

func (*Redirect) GetComment

func (f *Redirect) GetComment() string

func (*Redirect) Parse

func (f *Redirect) Parse(parts []string, comment string) error

func (*Redirect) String

func (f *Redirect) String() string

type Reject

type Reject struct {
	Cond     string
	CondTest string
	Comment  string
}

func (*Reject) GetComment

func (f *Reject) GetComment() string

func (*Reject) Parse

func (f *Reject) Parse(parts []string, comment string) error

func (*Reject) String

func (f *Reject) String() string

type ReplaceHeader

type ReplaceHeader struct {
	Name       string
	MatchRegex string
	ReplaceFmt string
	Cond       string
	CondTest   string
	Comment    string
}

func (*ReplaceHeader) GetComment

func (f *ReplaceHeader) GetComment() string

func (*ReplaceHeader) Parse

func (f *ReplaceHeader) Parse(parts []string, comment string) error

func (*ReplaceHeader) String

func (f *ReplaceHeader) String() string

type ReplacePath added in v2.0.1

type ReplacePath struct {
	MatchRegex string
	ReplaceFmt string
	Cond       string
	CondTest   string
	Comment    string
}

func (*ReplacePath) GetComment added in v2.0.1

func (f *ReplacePath) GetComment() string

func (*ReplacePath) Parse added in v2.0.1

func (f *ReplacePath) Parse(parts []string, comment string) error

func (*ReplacePath) String added in v2.0.1

func (f *ReplacePath) String() string

type ReplaceURI added in v2.0.3

type ReplaceURI struct {
	MatchRegex string
	ReplaceFmt string
	Cond       string
	CondTest   string
	Comment    string
}

func (*ReplaceURI) GetComment added in v2.0.3

func (f *ReplaceURI) GetComment() string

func (*ReplaceURI) Parse added in v2.0.3

func (f *ReplaceURI) Parse(parts []string, comment string) error

func (*ReplaceURI) String added in v2.0.3

func (f *ReplaceURI) String() string

type ReplaceValue

type ReplaceValue struct {
	Name       string
	MatchRegex string
	ReplaceFmt string
	Cond       string
	CondTest   string
	Comment    string
}

func (*ReplaceValue) GetComment

func (f *ReplaceValue) GetComment() string

func (*ReplaceValue) Parse

func (f *ReplaceValue) Parse(parts []string, comment string) error

func (*ReplaceValue) String

func (f *ReplaceValue) String() string

type ScIncGpc0 added in v2.0.3

type ScIncGpc0 struct {
	ID       string
	Cond     string
	CondTest string
	Comment  string
}

func (*ScIncGpc0) GetComment added in v2.0.3

func (f *ScIncGpc0) GetComment() string

func (*ScIncGpc0) Parse added in v2.0.3

func (f *ScIncGpc0) Parse(parts []string, comment string) error

func (*ScIncGpc0) String added in v2.0.3

func (f *ScIncGpc0) String() string

type ScIncGpc1 added in v2.0.3

type ScIncGpc1 struct {
	ID       string
	Cond     string
	CondTest string
	Comment  string
}

func (*ScIncGpc1) GetComment added in v2.0.3

func (f *ScIncGpc1) GetComment() string

func (*ScIncGpc1) Parse added in v2.0.3

func (f *ScIncGpc1) Parse(parts []string, comment string) error

func (*ScIncGpc1) String added in v2.0.3

func (f *ScIncGpc1) String() string

type ScSetGpt0 added in v2.0.3

type ScSetGpt0 struct {
	ID       string
	Int      *int64
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*ScSetGpt0) GetComment added in v2.0.3

func (f *ScSetGpt0) GetComment() string

func (*ScSetGpt0) Parse added in v2.0.3

func (f *ScSetGpt0) Parse(parts []string, comment string) error

func (*ScSetGpt0) String added in v2.0.3

func (f *ScSetGpt0) String() string

type SendSpoeGroup

type SendSpoeGroup struct {
	Engine   string
	Group    string
	Cond     string
	CondTest string
	Comment  string
}

func (*SendSpoeGroup) GetComment

func (f *SendSpoeGroup) GetComment() string

func (*SendSpoeGroup) Parse

func (f *SendSpoeGroup) Parse(parts []string, comment string) error

func (*SendSpoeGroup) String

func (f *SendSpoeGroup) String() string

type SetDst added in v2.0.3

type SetDst struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*SetDst) GetComment added in v2.0.3

func (f *SetDst) GetComment() string

func (*SetDst) Parse added in v2.0.3

func (f *SetDst) Parse(parts []string, comment string) error

func (*SetDst) String added in v2.0.3

func (f *SetDst) String() string

type SetDstPort added in v2.0.3

type SetDstPort struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*SetDstPort) GetComment added in v2.0.3

func (f *SetDstPort) GetComment() string

func (*SetDstPort) Parse added in v2.0.3

func (f *SetDstPort) Parse(parts []string, comment string) error

func (*SetDstPort) String added in v2.0.3

func (f *SetDstPort) String() string

type SetHeader

type SetHeader struct {
	Name     string
	Fmt      string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetHeader) GetComment

func (f *SetHeader) GetComment() string

func (*SetHeader) Parse

func (f *SetHeader) Parse(parts []string, comment string) error

func (*SetHeader) String

func (f *SetHeader) String() string

type SetLogLevel

type SetLogLevel struct {
	Level    string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetLogLevel) GetComment

func (f *SetLogLevel) GetComment() string

func (*SetLogLevel) Parse

func (f *SetLogLevel) Parse(parts []string, comment string) error

func (*SetLogLevel) String

func (f *SetLogLevel) String() string

type SetMap added in v2.0.3

type SetMap struct {
	FileName string
	KeyFmt   string
	ValueFmt string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetMap) GetComment added in v2.0.3

func (f *SetMap) GetComment() string

func (*SetMap) Parse added in v2.0.3

func (f *SetMap) Parse(parts []string, comment string) error

func (*SetMap) String added in v2.0.3

func (f *SetMap) String() string

type SetMark added in v2.0.3

type SetMark struct {
	Value    string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetMark) GetComment added in v2.0.3

func (f *SetMark) GetComment() string

func (*SetMark) Parse added in v2.0.3

func (f *SetMark) Parse(parts []string, comment string) error

func (*SetMark) String added in v2.0.3

func (f *SetMark) String() string

type SetMethod added in v2.0.3

type SetMethod struct {
	Fmt      string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetMethod) GetComment added in v2.0.3

func (f *SetMethod) GetComment() string

func (*SetMethod) Parse added in v2.0.3

func (f *SetMethod) Parse(parts []string, comment string) error

Parse parses http-request set-path <fmt> [ { if | unless } <condition> ]

func (*SetMethod) String added in v2.0.3

func (f *SetMethod) String() string

type SetNice added in v2.0.3

type SetNice struct {
	Value    string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetNice) GetComment added in v2.0.3

func (f *SetNice) GetComment() string

func (*SetNice) Parse added in v2.0.3

func (f *SetNice) Parse(parts []string, comment string) error

func (*SetNice) String added in v2.0.3

func (f *SetNice) String() string

type SetPath

type SetPath struct {
	Fmt      string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetPath) GetComment

func (f *SetPath) GetComment() string

func (*SetPath) Parse

func (f *SetPath) Parse(parts []string, comment string) error

Parse parses http-request set-path <fmt> [ { if | unless } <condition> ]

func (*SetPath) String

func (f *SetPath) String() string

type SetPriorityClass added in v2.0.3

type SetPriorityClass struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*SetPriorityClass) GetComment added in v2.0.3

func (f *SetPriorityClass) GetComment() string

func (*SetPriorityClass) Parse added in v2.0.3

func (f *SetPriorityClass) Parse(parts []string, comment string) error

func (*SetPriorityClass) String added in v2.0.3

func (f *SetPriorityClass) String() string

type SetPriorityOffset added in v2.0.3

type SetPriorityOffset struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*SetPriorityOffset) GetComment added in v2.0.3

func (f *SetPriorityOffset) GetComment() string

func (*SetPriorityOffset) Parse added in v2.0.3

func (f *SetPriorityOffset) Parse(parts []string, comment string) error

func (*SetPriorityOffset) String added in v2.0.3

func (f *SetPriorityOffset) String() string

type SetQuery

type SetQuery struct {
	Fmt      string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetQuery) GetComment

func (f *SetQuery) GetComment() string

func (*SetQuery) Parse

func (f *SetQuery) Parse(parts []string, comment string) error

Parse parses http-request set-query <fmt> [ { if | unless } <condition> ]

func (*SetQuery) String

func (f *SetQuery) String() string

type SetSrc added in v2.0.3

type SetSrc struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*SetSrc) GetComment added in v2.0.3

func (f *SetSrc) GetComment() string

func (*SetSrc) Parse added in v2.0.3

func (f *SetSrc) Parse(parts []string, comment string) error

func (*SetSrc) String added in v2.0.3

func (f *SetSrc) String() string

type SetSrcPort added in v2.0.3

type SetSrcPort struct {
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*SetSrcPort) GetComment added in v2.0.3

func (f *SetSrcPort) GetComment() string

func (*SetSrcPort) Parse added in v2.0.3

func (f *SetSrcPort) Parse(parts []string, comment string) error

func (*SetSrcPort) String added in v2.0.3

func (f *SetSrcPort) String() string

type SetStatus

type SetStatus struct {
	Status   string
	Reason   string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetStatus) GetComment

func (f *SetStatus) GetComment() string

func (*SetStatus) Parse

func (f *SetStatus) Parse(parts []string, comment string) error

func (*SetStatus) String

func (f *SetStatus) String() string

type SetTos added in v2.0.3

type SetTos struct {
	Value    string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetTos) GetComment added in v2.0.3

func (f *SetTos) GetComment() string

func (*SetTos) Parse added in v2.0.3

func (f *SetTos) Parse(parts []string, comment string) error

func (*SetTos) String added in v2.0.3

func (f *SetTos) String() string

type SetURI

type SetURI struct {
	Fmt      string
	Cond     string
	CondTest string
	Comment  string
}

func (*SetURI) GetComment

func (f *SetURI) GetComment() string

func (*SetURI) Parse

func (f *SetURI) Parse(parts []string, comment string) error

Parse parses http-request set-uri <fmt> [ { if | unless } <condition> ]

func (*SetURI) String

func (f *SetURI) String() string

type SetVar

type SetVar struct {
	VarScope string
	VarName  string
	Expr     common.Expression
	Cond     string
	CondTest string
	Comment  string
}

func (*SetVar) GetComment

func (f *SetVar) GetComment() string

func (*SetVar) Parse

func (f *SetVar) Parse(parts []string, comment string) error

func (*SetVar) String

func (f *SetVar) String() string

type SilentDrop added in v2.0.3

type SilentDrop struct {
	Cond     string
	CondTest string
	Comment  string
}

func (*SilentDrop) GetComment added in v2.0.3

func (f *SilentDrop) GetComment() string

func (*SilentDrop) Parse added in v2.0.3

func (f *SilentDrop) Parse(parts []string, comment string) error

func (*SilentDrop) String added in v2.0.3

func (f *SilentDrop) String() string

type StrictMode added in v2.0.3

type StrictMode struct {
	Mode     string
	Cond     string
	CondTest string
	Comment  string
}

func (*StrictMode) GetComment added in v2.0.3

func (f *StrictMode) GetComment() string

func (*StrictMode) Parse added in v2.0.3

func (f *StrictMode) Parse(parts []string, comment string) error

func (*StrictMode) String added in v2.0.3

func (f *StrictMode) String() string

type Tarpit

type Tarpit struct {
	DenyStatus string
	Cond       string
	CondTest   string
	Comment    string
}

func (*Tarpit) GetComment

func (f *Tarpit) GetComment() string

func (*Tarpit) Parse

func (f *Tarpit) Parse(parts []string, comment string) error

func (*Tarpit) String

func (f *Tarpit) String() string

type TrackSc0

type TrackSc0 struct {
	Key      string
	Table    string
	Comment  string
	Cond     string
	CondTest string
}

func (*TrackSc0) GetComment

func (f *TrackSc0) GetComment() string

func (*TrackSc0) Parse

func (f *TrackSc0) Parse(parts []string, comment string) error

func (*TrackSc0) String

func (f *TrackSc0) String() string

type TrackSc1

type TrackSc1 struct {
	Key      string
	Table    string
	Comment  string
	Cond     string
	CondTest string
}

func (*TrackSc1) GetComment

func (f *TrackSc1) GetComment() string

func (*TrackSc1) Parse

func (f *TrackSc1) Parse(parts []string, comment string) error

func (*TrackSc1) String

func (f *TrackSc1) String() string

type TrackSc2

type TrackSc2 struct {
	Key      string
	Table    string
	Comment  string
	Cond     string
	CondTest string
}

func (*TrackSc2) GetComment

func (f *TrackSc2) GetComment() string

func (*TrackSc2) Parse

func (f *TrackSc2) Parse(parts []string, comment string) error

func (*TrackSc2) String

func (f *TrackSc2) String() string

type UnsetVar added in v2.0.3

type UnsetVar struct {
	Scope    string
	Name     string
	Cond     string
	CondTest string
	Comment  string
}

func (*UnsetVar) GetComment added in v2.0.3

func (f *UnsetVar) GetComment() string

func (*UnsetVar) Parse added in v2.0.3

func (f *UnsetVar) Parse(parts []string, comment string) error

func (*UnsetVar) String added in v2.0.3

func (f *UnsetVar) String() string

type UseService

type UseService struct {
	Name     string
	Cond     string
	CondTest string
	Comment  string
}

func (*UseService) GetComment

func (us *UseService) GetComment() string

func (*UseService) Parse

func (us *UseService) Parse(parts []string, comment string) error

Parse parses http-request user-service <name> [ { if | unless } <condition> ]

func (*UseService) String

func (us *UseService) String() string

type WaitForHandshake added in v2.0.3

type WaitForHandshake struct {
	Cond     string
	CondTest string
	Comment  string
}

func (*WaitForHandshake) GetComment added in v2.0.3

func (f *WaitForHandshake) GetComment() string

func (*WaitForHandshake) Parse added in v2.0.3

func (f *WaitForHandshake) Parse(parts []string, comment string) error

func (*WaitForHandshake) String added in v2.0.3

func (f *WaitForHandshake) String() string

Jump to

Keyboard shortcuts

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