actions

package
v2.0.0-dev5 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 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 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 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 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 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 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 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 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 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 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 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 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

Jump to

Keyboard shortcuts

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