ipadmin

package
v1.3.9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowListAction

type AllowListAction struct {
	actionutils.ParentAction
}

func (*AllowListAction) Init

func (this *AllowListAction) Init()

func (*AllowListAction) RunGet

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

type CountriesAction added in v0.0.10

type CountriesAction struct {
	actionutils.ParentAction
}

func (*CountriesAction) Init added in v0.0.10

func (this *CountriesAction) Init()

func (*CountriesAction) RunGet added in v0.0.10

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

func (*CountriesAction) RunPost added in v0.0.10

func (this *CountriesAction) RunPost(params struct {
	FirewallPolicyId int64

	DenyCountryIds  []int64
	AllowCountryIds []int64

	ExceptURLPatternsJSON []byte
	OnlyURLPatternsJSON   []byte

	CountryHTML       string
	AllowSearchEngine bool

	Must *actions.Must
})

type DeleteIPAction

type DeleteIPAction struct {
	actionutils.ParentAction
}

func (*DeleteIPAction) RunPost

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

type DenyListAction

type DenyListAction struct {
	actionutils.ParentAction
}

func (*DenyListAction) Init

func (this *DenyListAction) Init()

func (*DenyListAction) RunGet

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

type GreyListAction added in v1.3.9

type GreyListAction struct {
	actionutils.ParentAction
}

func (*GreyListAction) Init added in v1.3.9

func (this *GreyListAction) Init()

func (*GreyListAction) RunGet added in v1.3.9

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

type ProvincesAction

type ProvincesAction struct {
	actionutils.ParentAction
}

func (*ProvincesAction) Init

func (this *ProvincesAction) Init()

func (*ProvincesAction) RunGet

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

func (*ProvincesAction) RunPost

func (this *ProvincesAction) RunPost(params struct {
	FirewallPolicyId int64

	DenyProvinceIds  []int64
	AllowProvinceIds []int64

	ExceptURLPatternsJSON []byte
	OnlyURLPatternsJSON   []byte

	ProvinceHTML string

	Must *actions.Must
})

type SelectCountriesPopupAction added in v1.2.1

type SelectCountriesPopupAction struct {
	actionutils.ParentAction
}

func (*SelectCountriesPopupAction) Init added in v1.2.1

func (this *SelectCountriesPopupAction) Init()

func (*SelectCountriesPopupAction) RunGet added in v1.2.1

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

type SelectProvincesPopupAction added in v1.2.1

type SelectProvincesPopupAction struct {
	actionutils.ParentAction
}

func (*SelectProvincesPopupAction) Init added in v1.2.1

func (this *SelectProvincesPopupAction) Init()

func (*SelectProvincesPopupAction) RunGet added in v1.2.1

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

type TestAction added in v0.0.10

type TestAction struct {
	actionutils.ParentAction
}

func (*TestAction) Init added in v0.0.10

func (this *TestAction) Init()

func (*TestAction) RunGet added in v0.0.10

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

func (*TestAction) RunPost added in v0.0.10

func (this *TestAction) RunPost(params struct {
	FirewallPolicyId int64
	Ip               string

	Must *actions.Must
})

type UpdateIPPopupAction

type UpdateIPPopupAction struct {
	actionutils.ParentAction
}

func (*UpdateIPPopupAction) Init

func (this *UpdateIPPopupAction) Init()

func (*UpdateIPPopupAction) RunGet

func (this *UpdateIPPopupAction) RunGet(params struct {
	ItemId int64
})

func (*UpdateIPPopupAction) RunPost

func (this *UpdateIPPopupAction) RunPost(params struct {
	ItemId int64

	Value      string
	ExpiredAt  int64
	Reason     string
	Type       string
	EventLevel string

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

Jump to

Keyboard shortcuts

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