Documentation ¶
Index ¶
- type CountAction
- type CreateGroupPopupAction
- type CreatePopupAction
- type CreateRulePopupAction
- type CreateSetPopupAction
- type DeleteAction
- type DeleteGroupAction
- type DeleteSetAction
- type ExportAction
- type ExportDownloadAction
- type GroupAction
- type GroupsAction
- type Helper
- type ImportAction
- type IndexAction
- type LogAction
- type PolicyAction
- type SelectPopupAction
- type SortGroupsAction
- type SortSetsAction
- type TestAction
- type TestRegexpAction
- type UpdateAction
- type UpdateGroupOnAction
- type UpdateGroupPopupAction
- type UpdateSetOnAction
- type UpdateSetPopupAction
- type UpgradeTemplateAction
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 })
type CreatePopupAction ¶
type CreatePopupAction struct {
actionutils.ParentAction
}
func (*CreatePopupAction) Init ¶
func (this *CreatePopupAction) Init()
func (*CreatePopupAction) RunGet ¶
func (this *CreatePopupAction) RunGet(params struct{})
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 })
type CreateSetPopupAction ¶
type CreateSetPopupAction struct {
actionutils.ParentAction
}
func (*CreateSetPopupAction) Init ¶
func (this *CreateSetPopupAction) Init()
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 PolicyId int64 })
type GroupAction ¶
type GroupAction struct {
actionutils.ParentAction
}
func (*GroupAction) Init ¶
func (this *GroupAction) Init()
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 (*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 ClusterId int64 })
type LogAction ¶
type LogAction struct {
actionutils.ParentAction
}
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
}
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 TestRegexpAction ¶ added in v0.3.7
type TestRegexpAction struct {
actionutils.ParentAction
}
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 })
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 })
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()
type UpgradeTemplateAction ¶ added in v0.3.3
type UpgradeTemplateAction struct {
actionutils.ParentAction
}
func (*UpgradeTemplateAction) RunPost ¶ added in v0.3.3
func (this *UpgradeTemplateAction) RunPost(params struct { PolicyId int64 })
Source Files ¶
- count.go
- createGroupPopup.go
- createPopup.go
- createRulePopup.go
- createSetPopup.go
- delete.go
- deleteGroup.go
- deleteSet.go
- export.go
- exportDownload.go
- group.go
- groups.go
- helper.go
- import.go
- index.go
- init.go
- log.go
- policy.go
- selectPopup.go
- sortGroups.go
- sortSets.go
- test.go
- testRegexp.go
- update.go
- updateGroupOn.go
- updateGroupPopup.go
- updateSetOn.go
- updateSetPopup.go
- upgradeTemplate.go
Click to show internal directories.
Click to hide internal directories.