waf

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CountAction

type CountAction struct {
	actionutils.ParentAction
}

func (*CountAction) RunPost

func (this *CountAction) RunPost(params struct{})

type CreateGroupPopupAction

type CreateGroupPopupAction struct {
	actionutils.ParentAction
}

func (*CreateGroupPopupAction) Init

func (this *CreateGroupPopupAction) Init()

func (*CreateGroupPopupAction) RunGet

func (this *CreateGroupPopupAction) RunGet(params struct {
	Type string
})

func (*CreateGroupPopupAction) RunPost

func (this *CreateGroupPopupAction) RunPost(params struct {
	FirewallPolicyId int64
	Type             string

	Name        string
	Description string
	IsOn        bool

	Must *actions.Must
})

type CreatePopupAction

type CreatePopupAction struct {
	actionutils.ParentAction
}

func (*CreatePopupAction) Init

func (this *CreatePopupAction) Init()

func (*CreatePopupAction) RunGet

func (this *CreatePopupAction) RunGet(params struct{})

func (*CreatePopupAction) RunPost

func (this *CreatePopupAction) RunPost(params struct {
	Name        string
	GroupCodes  []string
	Description string
	IsOn        bool

	Must *actions.Must
})

type CreateRulePopupAction

type CreateRulePopupAction struct {
	actionutils.ParentAction
}

func (*CreateRulePopupAction) Init

func (this *CreateRulePopupAction) Init()

func (*CreateRulePopupAction) RunGet

func (this *CreateRulePopupAction) RunGet(params struct {
	Type string
})

func (*CreateRulePopupAction) RunPost

func (this *CreateRulePopupAction) RunPost(params struct {
	RuleId           int64
	Prefix           string
	Operator         string
	Param            string
	ParamFiltersJSON []byte
	OptionsJSON      []byte
	Value            string
	Case             bool

	Must *actions.Must
})

type CreateSetPopupAction

type CreateSetPopupAction struct {
	actionutils.ParentAction
}

func (*CreateSetPopupAction) Init

func (this *CreateSetPopupAction) Init()

func (*CreateSetPopupAction) RunGet

func (this *CreateSetPopupAction) RunGet(params struct {
	FirewallPolicyId int64
	GroupId          int64
	Type             string
})

func (*CreateSetPopupAction) RunPost

func (this *CreateSetPopupAction) RunPost(params struct {
	GroupId int64

	Name      string
	RulesJSON []byte
	Connector string
	Action    string

	Must *actions.Must
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	FirewallPolicyId int64
})

type DeleteGroupAction

type DeleteGroupAction struct {
	actionutils.ParentAction
}

func (*DeleteGroupAction) RunPost

func (this *DeleteGroupAction) RunPost(params struct {
	FirewallPolicyId int64
	GroupId          int64
})

type DeleteSetAction

type DeleteSetAction struct {
	actionutils.ParentAction
}

func (*DeleteSetAction) RunPost

func (this *DeleteSetAction) RunPost(params struct {
	GroupId int64
	SetId   int64
})

type ExportAction

type ExportAction struct {
	actionutils.ParentAction
}

func (*ExportAction) Init

func (this *ExportAction) Init()

func (*ExportAction) RunGet

func (this *ExportAction) RunGet(params struct {
	FirewallPolicyId int64
})

func (*ExportAction) RunPost

func (this *ExportAction) RunPost(params struct {
	FirewallPolicyId int64
	InboundGroupIds  []int64
	OutboundGroupIds []int64

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type ExportDownloadAction

type ExportDownloadAction struct {
	actionutils.ParentAction
}

func (*ExportDownloadAction) Init

func (this *ExportDownloadAction) Init()

func (*ExportDownloadAction) RunGet

func (this *ExportDownloadAction) RunGet(params struct {
	Key string
})

type GroupAction

type GroupAction struct {
	actionutils.ParentAction
}

func (*GroupAction) Init

func (this *GroupAction) Init()

func (*GroupAction) RunGet

func (this *GroupAction) RunGet(params struct {
	FirewallPolicyId int64
	GroupId          int64
	Type             string
})

type GroupsAction

type GroupsAction struct {
	actionutils.ParentAction
}

func (*GroupsAction) Init

func (this *GroupsAction) Init()

func (*GroupsAction) RunGet

func (this *GroupsAction) RunGet(params struct {
	FirewallPolicyId int64
	Type             string
})

type Helper

type Helper struct {
}

func NewHelper

func NewHelper() *Helper

func (*Helper) BeforeAction

func (this *Helper) BeforeAction(actionPtr actions.ActionWrapper) (goNext bool)

type ImportAction

type ImportAction struct {
	actionutils.ParentAction
}

func (*ImportAction) Init

func (this *ImportAction) Init()

func (*ImportAction) RunGet

func (this *ImportAction) RunGet(params struct{})

func (*ImportAction) RunPost

func (this *ImportAction) RunPost(params struct {
	FirewallPolicyId int64
	File             *actions.File

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	Keyword string
})

type LogAction

type LogAction struct {
	actionutils.ParentAction
}

func (*LogAction) Init

func (this *LogAction) Init()

func (*LogAction) RunGet

func (this *LogAction) RunGet(params struct {
	Day              string
	RequestId        string
	FirewallPolicyId int64
	GroupId          int64
})

type PolicyAction

type PolicyAction struct {
	actionutils.ParentAction
}

func (*PolicyAction) Init

func (this *PolicyAction) Init()

func (*PolicyAction) RunGet

func (this *PolicyAction) RunGet(params struct {
	FirewallPolicyId int64
})

type SelectPopupAction

type SelectPopupAction struct {
	actionutils.ParentAction
}

func (*SelectPopupAction) Init

func (this *SelectPopupAction) Init()

func (*SelectPopupAction) RunGet

func (this *SelectPopupAction) RunGet(params struct{})

type SortGroupsAction

type SortGroupsAction struct {
	actionutils.ParentAction
}

func (*SortGroupsAction) RunPost

func (this *SortGroupsAction) RunPost(params struct {
	FirewallPolicyId int64
	Type             string
	GroupIds         []int64
})

type SortSetsAction

type SortSetsAction struct {
	actionutils.ParentAction
}

func (*SortSetsAction) RunPost

func (this *SortSetsAction) RunPost(params struct {
	GroupId int64
	SetIds  []int64
})

type TestAction

type TestAction struct {
	actionutils.ParentAction
}

func (*TestAction) Init

func (this *TestAction) Init()

func (*TestAction) RunGet

func (this *TestAction) RunGet(params struct{})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	FirewallPolicyId int64
})

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	FirewallPolicyId int64
	Name             string
	GroupCodes       []string
	BlockOptionsJSON []byte
	Description      string
	IsOn             bool

	Must *actions.Must
})

type UpdateGroupOnAction

type UpdateGroupOnAction struct {
	actionutils.ParentAction
}

func (*UpdateGroupOnAction) RunPost

func (this *UpdateGroupOnAction) RunPost(params struct {
	GroupId int64
	IsOn    bool
})

type UpdateGroupPopupAction

type UpdateGroupPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateGroupPopupAction) Init

func (this *UpdateGroupPopupAction) Init()

func (*UpdateGroupPopupAction) RunGet

func (this *UpdateGroupPopupAction) RunGet(params struct {
	GroupId int64
})

func (*UpdateGroupPopupAction) RunPost

func (this *UpdateGroupPopupAction) RunPost(params struct {
	GroupId     int64
	Name        string
	Description string
	IsOn        bool

	Must *actions.Must
})

type UpdateSetOnAction

type UpdateSetOnAction struct {
	actionutils.ParentAction
}

func (*UpdateSetOnAction) RunPost

func (this *UpdateSetOnAction) RunPost(params struct {
	SetId int64
	IsOn  bool
})

type UpdateSetPopupAction

type UpdateSetPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateSetPopupAction) Init

func (this *UpdateSetPopupAction) Init()

func (*UpdateSetPopupAction) RunGet

func (this *UpdateSetPopupAction) RunGet(params struct {
	FirewallPolicyId int64
	GroupId          int64
	Type             string
	SetId            int64
})

func (*UpdateSetPopupAction) RunPost

func (this *UpdateSetPopupAction) RunPost(params struct {
	GroupId int64
	SetId   int64

	Name      string
	RulesJSON []byte
	Connector string
	Action    string

	Must *actions.Must
})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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